/* PerthTek: the working pages (book, partner program, partner page, admin). Builds on site.css's variables. */

:root {
  --good: #30d158;
  --warn: #ffd60a;
  --bad: #ff453a;
  --field: #1c1c1e;
  --radius: 14px;
}

.app-main {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 80px)) var(--gutter) clamp(72px, 10vw, 120px);
}

.app-main.is-narrow {
  max-width: calc(680px + 2 * var(--gutter));
}

.app-head {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.app-head.is-centred {
  text-align: center;
}

.app-title {
  margin-top: 12px;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.app-lede {
  max-width: 600px;
  margin-top: 16px;
  color: var(--text-2);
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.45;
}

.is-centred .app-lede {
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

/* ---------- Panels */

.panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.panel + .panel {
  margin-top: 20px;
}

.panel-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.panel-note {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 15px;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}

.muted {
  color: var(--text-2);
}

.small {
  font-size: 14px;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- Forms */

.form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field > span,
.legend {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}

.field > span i {
  color: var(--text-3);
  font-style: normal;
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 112px;
  line-height: 1.45;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.25);
}

.field input[type="color"] {
  padding: 4px;
  cursor: pointer;
}

.hint {
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.4;
}

.hint.is-good {
  color: var(--good);
}

.hint.is-bad {
  color: var(--bad);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
}

/* Elite / Limitless */
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--field);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.choice-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.choice-price {
  color: var(--text-2);
  font-size: 15px;
}

.choice input:checked + .choice-body {
  border-color: var(--text);
  background: #232325;
}

.choice input:focus-visible + .choice-body {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

/* Buttons: site.css has the white pill; these add the quiet and small ones. */
button.button {
  font-family: inherit;
  cursor: pointer;
}

.button.is-quiet {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button.is-quiet:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button.is-danger {
  border-color: rgba(255, 69, 58, 0.5);
  background: transparent;
  color: var(--bad);
}

.button.is-danger:hover {
  background: rgba(255, 69, 58, 0.12);
}

.button.is-small {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.button[disabled] {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}

.link-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* A message above a form or a page. */
.notice {
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--text);
  font-size: 15px;
}

.notice.is-bad {
  border-color: rgba(255, 69, 58, 0.5);
  color: #ff8a82;
}

.notice.is-good {
  border-color: rgba(48, 209, 88, 0.45);
  color: #7ee79a;
}

/* ---------- Done states */

.done {
  text-align: center;
}

.done-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.14);
  color: var(--good);
}

.done-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.done h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.done p {
  max-width: 480px;
  margin: 12px auto 0;
  color: var(--text-2);
}

.done .actions {
  justify-content: center;
  margin-top: 28px;
}

/* A code or a link with a Copy button. */
.copy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--field);
}

.copy-row + .copy-row {
  margin-top: 10px;
}

.copy-row code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.big-code {
  font-family: var(--mono);
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* ---------- Numbers */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.stat {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.stat-label {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}

.stat-value {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-note {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 13px;
}

.meter {
  height: 6px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.meter b {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--text);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.grid-2 > .panel + .panel {
  margin-top: 0;
}

/* ---------- Steps and rate cards on the partner program page */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.step {
  padding: 26px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.step-n {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.step h3 {
  margin-top: 28px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 16px;
}

.rates {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.rates th,
.rates td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: right;
}

.rates th:first-child,
.rates td:first-child {
  text-align: left;
}

.rates thead th {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rates tbody tr:last-child td {
  border-bottom: 0;
}

.rates td:not(:first-child) {
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ---------- Tables */

.table-wrap {
  overflow-x: auto;
  margin: 0 calc(-1 * clamp(20px, 3vw, 32px));
  padding: 0 clamp(20px, 3vw, 32px);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table td.num,
.table th.num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table .sub {
  display: block;
  margin-top: 2px;
  color: var(--text-3);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.table .question {
  max-width: 340px;
  margin-top: 6px;
  color: var(--text-2);
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.empty {
  padding: 28px 0 8px;
  color: var(--text-3);
  font-size: 15px;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.badge.is-good {
  background: rgba(48, 209, 88, 0.14);
  color: var(--good);
}

.badge.is-warn {
  background: rgba(255, 214, 10, 0.14);
  color: var(--warn);
}

.badge.is-bad {
  background: rgba(255, 69, 58, 0.14);
  color: var(--bad);
}

.badge.is-blue {
  background: rgba(41, 151, 255, 0.16);
  color: var(--accent);
}

/* ---------- Tabs (admin) */

.tabs {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 980px;
  background: var(--bg-raised);
}

.tab {
  position: relative;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 980px;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.tab:hover {
  color: var(--text);
}

.tab[aria-selected="true"] {
  background: var(--text);
  color: #000;
}

.tab .count {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 980px;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  border-color: var(--text);
  color: var(--text);
}

/* A payout to make: everything needed for the bank transfer, each piece one click to copy. */
.transfer {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.transfer:last-child {
  border-bottom: 0;
}

.transfer dt {
  color: var(--text-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transfer dd {
  margin: 4px 0 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.transfer dl {
  margin: 0;
}

.copyable {
  padding: 0;
  border: 0;
  border-bottom: 1px dashed var(--line-strong);
  background: none;
  color: inherit;
  font: inherit;
  font-family: var(--mono);
  cursor: copy;
}

.copyable:hover {
  border-bottom-color: var(--text);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 980px;
  background: rgba(40, 40, 42, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--text);
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}

.toast.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.is-bad {
  border-color: rgba(255, 69, 58, 0.6);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.switch input {
  position: relative;
  width: 44px;
  height: 26px;
  margin: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.18);
  appearance: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s var(--ease);
}

.switch input:checked {
  background: var(--good);
}

.switch input:checked::after {
  transform: translateX(18px);
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.checklist li {
  display: flex;
  gap: 10px;
  color: var(--text-2);
}

.checklist li::before {
  content: "○";
  color: var(--text-3);
}

.checklist li.is-done {
  color: var(--text);
}

.checklist li.is-done::before {
  content: "●";
  color: var(--good);
}

.section-gap {
  margin-top: 28px;
}

@media (max-width: 820px) {
  .form-row,
  .grid-2,
  .steps {
    grid-template-columns: 1fr;
  }

  .transfer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .choices {
    grid-template-columns: 1fr;
  }

  .actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Dialogs (admin) */

.dialog {
  width: min(460px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #1c1c1e;
  color: var(--text);
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.dialog h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dialog p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
}

.dialog .form {
  margin-top: 20px;
  gap: 16px;
}

.dialog .actions {
  justify-content: flex-end;
  margin-top: 8px;
}

.setup {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 15px;
}

.setup b {
  color: var(--text);
  font-weight: 500;
}

.setup a {
  color: var(--accent);
}

/* Grid and flex children may shrink below their content, so a long link never widens the page. */
.grid-2 > *,
.stats > *,
.steps > *,
.form-row > *,
.copy-row,
.panel {
  min-width: 0;
}

@media (max-width: 820px) {
  /* Wide tables scroll sideways inside their panel instead of squeezing every column. */
  .table-wrap .table {
    min-width: 560px;
  }

  #recent .table,
  #payouts .table {
    min-width: 0;
  }
}

/* The app download panel on the partner program page. */
.app-get {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px 40px;
  align-items: center;
}

.app-get-side {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.app-get .checklist li {
  color: var(--text-2);
}

@media (max-width: 820px) {
  .app-get {
    grid-template-columns: 1fr;
  }
}

/* Admin: the search box in a panel's head, and the bot's problems list. */
.finder {
  flex: 1;
  min-width: 180px;
  max-width: 360px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 980px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.finder:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.25);
}

.finder::placeholder {
  color: var(--text-3);
}

.problems {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.problems li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  overflow-wrap: anywhere;
}

/* Admin: the wide dialog (everything about one partner) and the activity list. */
.dialog.is-wide {
  width: min(820px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.dialog .detail {
  margin-top: 20px;
}

.dialog .detail .table-wrap {
  margin: 0;
  padding: 0;
}

.dialog .detail .empty {
  padding: 12px 0;
  text-align: left;
}

.activity {
  max-height: 420px;
  overflow-y: auto;
}

/* The partner program's rules. */
.rules {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 16px;
}

.rules li::marker {
  color: var(--text-3);
}

/* Booking page: what each service is, the loyalty note, the additional services, reviews */
.choice-text {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.45;
}

.callout {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--good);
  border-radius: 14px;
  background: var(--field);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}

.callout strong {
  color: var(--text);
  font-weight: 600;
}

.extras-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.choice.is-small .choice-body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-color: var(--line);
  border-radius: 12px;
  color: var(--text-2);
  font-size: 14px;
}

.choice.is-small input:checked + .choice-body {
  border-color: var(--text);
  color: var(--text);
}

.extras-list strong {
  color: var(--text);
  font-weight: 600;
}

.reviews {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
}

.reviews-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.6);
  animation: live-pulse 2s var(--ease) infinite;
}

@keyframes live-pulse {
  70% { box-shadow: 0 0 0 9px rgba(48, 209, 88, 0); }
  100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

.reviews-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-align: center;
}

.reviews-note {
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

/* Cards of different heights (some carry a screenshot), packed in columns. */
.reviews-list {
  columns: 3 300px;
  column-gap: 14px;
  margin-bottom: 24px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-raised);
  break-inside: avoid;
}

.review-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-face {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  object-fit: cover;
}

.review-who div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-who strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-who span {
  color: var(--text-3);
  font-size: 12.5px;
}

.review-text {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.review-shot {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.review-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.reviews .actions {
  justify-content: center;
}

/* The benchmarks page: results are wide graphs, so two columns and the whole picture. */
.benchmarks {
  margin-top: 40px;
}

.reviews-list.is-wide {
  columns: 2 440px;
}

.reviews-list.is-wide .review-shot img {
  max-height: none;
  object-fit: contain;
}

.reviews-list.is-wide .review {
  padding: 14px;
}

/* Benchmarks page: the customer benchmarks and the customer reviews, side by side. */
.feeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  align-items: start;
  margin-top: clamp(56px, 8vw, 96px);
}

.feed {
  min-width: 0;
}

.feed-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.feed-note {
  margin: 8px 0 24px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
}

.feed .reviews-note {
  max-width: none;
  margin: 0 0 16px;
  text-align: left;
}

.feed .reviews-list,
.feed .reviews-list.is-wide {
  columns: 1;
}

@media (max-width: 820px) {
  .feeds {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* A callout without the coloured edge. */
.callout.is-plain {
  border-left: 1px solid var(--line-strong);
}

/* One feed on its own page (reviews.html, benchmarks.html since 23 Nov 2026). */
.feeds.is-one {
  grid-template-columns: 1fr;
}

/* A feed on a page of its own: reviews three wide, benchmark results two wide (23 Nov 2026). */
.feeds.is-one .feed .reviews-list {
  columns: 3 280px;
}

.feeds.is-one .feed .reviews-list.is-wide {
  columns: 2 440px;
}

.reviews-few {
  margin-top: 8px;
}
