/* RESEARCH page (research.html), rebuilt 2026-10-20 as one page with tabs: what Verified
   watches for, a real example, then the proof. Content sits in the centre column of the
   site's three-column hairline grid (layout.css); the rails stay empty. Full-width hairlines
   only at band boundaries, with a "+" where they cross the column lines.
   Colours from css/tokens.css: ink and greys; green (--signal) only for "Verified"; amber
   (--caution) only beside "Needs a look"; black only for the CTA. No red, no dark panels,
   no shadows. Pictures are black and white only. */

:root {
  --rs-pad-x: var(--sec-inset);   /* same inset from the rails as home sections and the header */
  --rs-band-y: var(--sec-pad-y);  /* same vertical rhythm as home sections */
  --rs-measure: 62ch;
}

/* ---------- Page grid ---------- */
.rs {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr) var(--rail-w);
}
.rs-col { grid-column: 2; min-width: 0; }

/* ---------- Shared type ---------- */
.rs-h2 {
  font-family: var(--font-body);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}
.rs-h3 {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.rs-h4 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.rs-lead {
  max-width: var(--rs-measure);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.rs-lead strong, .rs-intro strong { color: var(--ink); font-weight: 700; }
.rs-col a:not(.button):not(.rs-more-link) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.rs-col a:not(.button):hover { text-decoration-color: var(--ink); }
.rs-col ::selection { background: var(--ink); color: var(--white); }
.rs-col :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ---------- Bands and their hairlines ---------- */
.rs-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-48);
  padding: var(--rs-band-y) var(--rs-pad-x);
}
.rs-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(-1 * var(--rail-w));
  right: calc(-1 * var(--rail-w));
  height: var(--l-hair);
  background: var(--l-hair-color);
  pointer-events: none;
}
.rs-band::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -6px;
  width: calc(100% + 12px);
  height: 11px;
  background:
    linear-gradient(var(--l-mark), var(--l-mark)) 5px 0 / 1px 11px no-repeat,
    linear-gradient(var(--l-mark), var(--l-mark)) 0 5px / 11px 1px no-repeat,
    linear-gradient(var(--l-mark), var(--l-mark)) calc(100% - 5px) 0 / 1px 11px no-repeat,
    linear-gradient(var(--l-mark), var(--l-mark)) 100% 5px / 11px 1px no-repeat;
  pointer-events: none;
  z-index: 2;
}

/* ---------- Hero: exactly one screen (100svh with the header). Turret Road is used for the
   headline and the flip board only; every other heading on the page uses the body face.
   The board flips through the home hero's word list (SplitFlap.heroWords). ---------- */
.rs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: calc(100vh - var(--l-topbar-h, 56px));
  min-height: calc(100svh - var(--l-topbar-h, 56px));
  padding: clamp(24px, 5svh, 64px) var(--rs-pad-x);
  text-align: center;
}
.rs-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(16px, 2.8svh, 28px);
  width: 100%;
  min-width: 0;
}
.rs-eyebrow { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.rs-title {
  --hl-poster: clamp(32px, min(4.4vw, 7svh), 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.4svh, 16px);
  width: 100%;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}
.rs-title-line {
  display: block;
  font-size: var(--hl-poster);
  line-height: 1.05;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.rs-flap {
  --flap-w: clamp(28px, min(4.4vw, 7svh), 76px);
  --flap-h: calc(var(--flap-w) * 1.25);
  --flap-gap: calc(var(--flap-w) * .1333);
  --flap-pad: calc(var(--flap-w) / 6);
  contain-intrinsic-inline-size: calc(var(--flap-w) * 13 + var(--flap-gap) * 12);
  margin-top: clamp(4px, 1svh, 12px);
}
.rs-flap:not(.is-ready) { font-family: var(--font-display); font-size: var(--hl-poster); line-height: 1.25; }
.rs-where-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: clamp(4px, 1.6svh, 16px) 0 0; padding: 0; list-style: none; }
.rs-where-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.rs-ai { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; }
.rs-ai-note { font-size: 14px; color: var(--muted); }
@media (max-width: 639px) {
  .rs-title { --hl-poster: 8.4vw; }
  .rs-flap { --flap-w: 11vw; }
  .rs-title-line { white-space: normal; text-wrap: balance; }
  .rs-where-list { gap: 10px 16px; max-width: 340px; }
  .rs-where-list li { font-size: 14px; }
}

/* ---------- Badges: what the host sees ---------- */
.rs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 4px 12px 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  color: var(--ink);
  white-space: nowrap;
}
.rs-chip--look { border-color: var(--caution); color: var(--caution-ink); }
.rs-chip--cant { color: var(--muted); }
.rs-tick {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--signal); /* green: verified only */
}
.rs-tick::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 2.5px;
  width: 3.5px;
  height: 6.5px;
  border: solid var(--white);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.rs-dot { flex: none; width: 8px; height: 8px; margin: 0 3px; background: var(--caution); }
.rs-ring { flex: none; width: 12px; height: 12px; margin: 0 1px; border: 2px solid var(--muted-2); border-radius: 50%; }

/* ---------- Tabs ---------- */
.rs-watch { gap: 0; }
.rs-watch > .rs-h2 { margin-bottom: var(--sp-32); }
.rs-tabs-wrap {
  position: sticky;
  top: var(--l-topbar-h, 56px);
  z-index: 5;
  margin: 0 calc(-1 * var(--rs-pad-x));
  padding: 0 var(--rs-pad-x);
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
}
.rs-tabs-wrap[hidden] { display: none; }
.rs-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.rs-tabs::-webkit-scrollbar { display: none; }
.rs-tab {
  position: relative;
  flex: 1 0 auto;
  min-height: 56px;
  padding: 0 14px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition: color var(--dur-fast) var(--ease-out);
}
.rs-tab::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease-snap);
}
.rs-tab:hover { color: var(--ink); }
.rs-tab[aria-selected="true"] { color: var(--ink); }
.rs-tab[aria-selected="true"]::after { transform: scaleX(1); }
.rs-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 8px; }
.rs-tab--next .px-icon { vertical-align: -4px; margin-right: 6px; }

/* ---------- Panels ---------- */
.rs-panel { display: grid; gap: 48px; padding-top: 56px; scroll-margin-top: 140px; }
.rs-panel[hidden] { display: none; }
.rs-panel:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; border-radius: 8px; }
/* Without JavaScript the panels stack, each under its own name and a hairline. */
html:not(.rs-tabs-on) .rs-panel + .rs-panel { margin-top: 56px; border-top: 1px solid var(--line-strong); }
.rs-panel-head { display: grid; justify-items: start; gap: 16px; }
.rs-panel-icon { display: grid; place-items: center; width: 72px; height: 72px; color: var(--ink); }
.rs-panel-icon .rs-art { width: 72px; height: 72px; }
.rs-panel-icon .px-icon { --px-size: 40px; }
.rs-panel-tab { font-size: 13px; font-weight: 600; color: var(--muted); }
html.rs-tabs-on .rs-panel-tab {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rs-panel-title {
  font-family: var(--font-body);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}
.rs-promise {
  max-width: var(--rs-measure);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.rs-research-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 4px 12px 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- Proof: big percentage, raw count in small text beneath ---------- */
.rs-proof { display: grid; gap: 28px; }
.rs-proof-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.rs-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.rs-stats > .rs-stat { flex: 0 1 300px; }
.rs-stats > .rs-stat.is-head { flex-basis: 100%; }
.rs-stat { display: grid; align-content: start; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line-strong); min-width: 0; }
.rs-stat.is-head { grid-column: 1 / -1; gap: 10px; border-top-color: var(--ink); }
.rs-stat-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 2px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rs-stat.is-head .rs-stat-value { font-size: clamp(64px, 9vw, 112px); }
.rs-stat-pre {
  flex-basis: 100%;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.rs-stat.is-head .rs-stat-pre { font-size: 16px; }
.rs-stat-pct { font-size: .6em; letter-spacing: 0; }
.rs-count { display: inline-block; }
.rs-stat-label { max-width: 40ch; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.rs-stat.is-head .rs-stat-label { max-width: 46ch; font-size: clamp(18px, 1.7vw, 21px); }
.rs-stat-small { max-width: var(--rs-measure); font-size: 13px; line-height: 1.5; color: var(--muted); }
.rs-stat.is-pending { padding: 16px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.rs-pending { font-size: 12px; font-weight: 700; color: var(--muted); }
.rs-pic { display: grid; justify-items: center; gap: 8px; padding: 10px 0 4px; max-width: 100%; }
.rs-tiles, .rs-people { display: block; max-width: 100%; height: auto; }
.rs-tile.is-hit { fill: var(--ink); }
.rs-tile.is-miss { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.rs-people .rs-tile { fill: var(--ink-2); }
.rs-pic-cap { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- Test record: each result in plain words with its raw count, how sure we are
   about that result, then what was tested and when. Always shown. ---------- */
.rs-record {
  display: grid;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  text-align: left;
  overflow: hidden;
}
.rs-record-kicker { padding: 16px 24px 0; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.rs-record-results { display: grid; margin: 0; padding: 4px 0 2px; list-style: none; }
.rs-record .rs-rr { display: grid; gap: 6px; padding: 14px 24px; }
.rs-rr + .rs-rr { border-top: 1px solid var(--line); }
.rs-rr-main { font-size: 17px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; font-variant-numeric: tabular-nums; }
.rs-rr-main strong { font-weight: 700; color: var(--ink); }
.rs-rr-sure { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.rs-rr-sure-k { display: inline-block; margin-right: 6px; padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ink); }
.rs-record-meta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); background: var(--tile-2); }
.rs-record-meta > div { display: grid; align-content: start; gap: 4px; padding: 14px 24px 16px; min-width: 0; }
.rs-record-meta > div + div { border-left: 1px solid var(--line); }
.rs-record-meta dt { font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.rs-record-meta dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; text-wrap: pretty; }
@media (max-width: 759px) {
  .rs-record-kicker { padding: 14px 16px 0; }
  .rs-record .rs-rr { padding: 12px 16px; }
  .rs-rr-main { font-size: 16px; }
  .rs-record-meta { grid-template-columns: minmax(0, 1fr); }
  .rs-record-meta > div { padding: 12px 16px 14px; }
  .rs-record-meta > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* How it was tested: shown in full */
.rs-method { display: grid; gap: 4px; text-align: left; }
.rs-method-title { font-family: var(--font-body); font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.rs-details-list { display: grid; margin: 0; }
.rs-details-list > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
}
.rs-details-list > div:last-child { border-bottom: 1px solid var(--line); }
.rs-details-list dt { font-weight: 600; color: var(--ink); }
.rs-details-list dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
/* ---------- Coming up ---------- */
.rs-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.rs-next-item { display: grid; align-content: start; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line-strong); min-width: 0; }
.rs-next-title { font-family: var(--font-body); font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.rs-next-text { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.rs-stats--inline { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 8px; }
.rs-stats--inline .rs-stat { border-top: 1px dashed var(--line-strong); }
.rs-stats--inline .rs-stat-value { font-size: clamp(32px, 3.4vw, 40px); }
.rs-today { display: grid; gap: 16px; padding: 28px; border-radius: 16px; background: var(--tile-2); }
.rs-today-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rs-today-list li { position: relative; max-width: var(--rs-measure); padding-left: 22px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.rs-today-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border: 1px solid var(--ink-2); }

/* ---------- Promises ---------- */
.rs-promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.rs-promises li { display: grid; align-content: start; gap: 14px; }
.rs-promises .px-icon { --px-size: 40px; color: var(--ink); }
.rs-promises-title { font-family: var(--font-body); font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.rs-promises p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.rs-shield { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; }
.rs-shield .px-icon[data-icon="shield"] { --px-size: 40px; }
.rs-shield-check { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); opacity: 0; }
.rs-shield.is-on .rs-shield-check { opacity: 1; }

/* ---------- Availability ---------- */
.rs-avail { justify-items: start; gap: var(--sp-32); }
.button.cta-glass.rs-cta-button { width: auto; min-height: 48px; padding: 0 24px; font-size: 15px; justify-self: center; }

/* ---------- How we test + footnote ---------- */
.rs-end { gap: var(--sp-64); }
.rs-how { display: grid; gap: var(--sp-32); }
.rs-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-32); max-width: 760px; margin: 0; padding: 0; list-style: none; }
.rs-trust li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; }
.rs-trust p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.rs-foot { display: grid; gap: var(--sp-16); width: 100%; max-width: 760px; justify-self: center; text-align: center; } /* centred on the page line like the rest of the band */
.rs-consent-note { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; max-width: var(--rs-measure); font-size: 14px; line-height: 1.6; color: var(--muted); }
.rs-updated, .rs-updated time { font-size: 12px; }
.rs-more-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.rs-more-link:hover { border-color: var(--ink); background: var(--tile-2); }

/* Icons with no sequence of their own: a two-step pixel blink. */
.px-icon.rs-px-pop { animation: rs-px-pop .36s steps(2, jump-none) 2; }
@keyframes rs-px-pop { 0% { opacity: 1; } 100% { opacity: .2; } }

/* ---------- Motion: reveal from an already-laid-out state ---------- */
html.rs-anim .rs-reveal:not(.is-in) { opacity: 0; transform: translateY(14px); }
html.rs-anim .rs-reveal { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
html.rs-anim .rs-reveal .rs-tile { transition: opacity .2s var(--ease-out) calc(var(--i, 0) * 12ms + .15s); }
html.rs-anim .rs-reveal:not(.is-in) .rs-tile { opacity: 0; }

/* ---------- Responsive ---------- */
/* 900-959px: slightly tighter tabs so the one-row strip fits without scrolling. */
@media (max-width: 959px) { .rs-tab { padding: 0 10px; } }
@media (max-width: 899px) {
  .rs-promises, .rs-trust { grid-template-columns: minmax(0, 1fr); }
  /* Phones and tablets: every tab visible, wrapped onto two rows (no sideways strip). */
  .rs-tabs { flex-wrap: wrap; overflow: visible; gap: 0 2px; }
  .rs-tab { flex: 1 1 auto; padding: 0 10px; font-size: 14px; min-height: 46px; }
  .rs-next { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  :root { --rs-pad-x: var(--sp-8); }
  .rs-band { gap: var(--sp-32); padding-block: var(--sp-96) var(--sp-64); }  /* phones: same as home sections */
  .rs-panel { gap: 36px; padding-top: 40px; }
  .rs-stats { gap: 24px; }
  .rs-stats > .rs-stat { flex-basis: 100%; }
  .rs-today { padding: 20px; }
  .rs-details-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rs-more-link { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html.rs-anim .rs-reveal:not(.is-in) { opacity: 1; transform: none; }
  html.rs-anim .rs-reveal:not(.is-in) .rs-tile { opacity: 1; }
  .rs-tab::after, .px-icon.rs-px-pop { transition: none; animation: none; }
}

.rs-contact a, .footer-contact a { display: inline-block; min-height: 24px; line-height: 24px; }  /* .rs-more-link keeps its own 64px row (was squashed to 24px here) */

/* Pictures are black and white only (2026-10-12) */
.rs img, .rs picture, .rs video, .rs canvas { filter: grayscale(1); }
.rs-stat--text .rs-stat-label { font-size: 18px; font-weight: 700; line-height: 1.4; }
.rs-stat-of { margin-left: .25em; font-size: .42em; letter-spacing: 0; color: var(--ink-2); }

/* Big plain phrase (e.g. "87 in 100") */
.rs-stat-phrase { white-space: nowrap; }
/* What you get in the beta today */
.rs-today-get { display: grid; gap: 14px; width: 100%; }
.rs-get { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rs-get li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.rs-get .px-icon { color: var(--ink); margin-top: 2px; }

/* Split bar for big samples */
.rs-split { display: grid; gap: 10px; width: min(100%, 560px); }
.rs-split-bar { display: flex; gap: 2px; height: 16px; }
.rs-split-seg { display: block; min-width: 4px; }
.rs-split-seg.is-0, .rs-split-key .is-0 .rs-split-sw { background: var(--ink); }
.rs-split-seg.is-1, .rs-split-key .is-1 .rs-split-sw { background: var(--muted-2); }
.rs-split-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.rs-split-key li { display: inline-flex; align-items: center; gap: 8px; }
.rs-split-sw { width: 10px; height: 10px; }

/* Coming up status chips */
.rs-next-status { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 3px 10px 3px 6px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.rs-next-status.is-testing { border-color: var(--ink); color: var(--ink); }
.rs-next-status .px-icon { --px-size: 14px; }
/* CTA: store link + calm access line */
.rs-avail .rs-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.rs-access { font-size: 15px; color: var(--ink-2); }
.rs-access-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); cursor: pointer; }
.rs-access-link:hover { text-decoration-color: var(--ink); }
.rs-access-note { margin-top: -12px; font-size: 14px; color: var(--muted); }

.rs-device-note { font-size: 14px; font-weight: 600; color: var(--muted); }
.rs-report { font-size: 15px; color: var(--ink-2); }

/* ======================================================================
   Centred reading line (QA 2026-10-21): section titles, tabs, each tab's icon, title,
   body and device note are centred; the scene and the proof sit as centred blocks.
   ====================================================================== */
.rs-band > .rs-h2, .rs-band > .rs-lead, .rs-how > .rs-h3 { text-align: center; justify-self: center; }
.rs-tabs { justify-content: flex-start; }
.rs-tab { flex: 0 0 auto; }
/* Centred with auto margins, not justify-content: center, so that if the strip ever
   overflows, its start stays reachable by scrolling (auto margins collapse to 0). */
.rs-tabs > .rs-tab:first-child { margin-left: auto; }
.rs-tabs > .rs-tab:last-child { margin-right: auto; }
/* If the strip scrolls sideways, fade the edge that has more tabs past it. */
.rs-tabs-wrap.has-more-right .rs-tabs { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.rs-tabs-wrap.has-more-left .rs-tabs { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
.rs-tabs-wrap.has-more-left.has-more-right .rs-tabs { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.rs-panel-head { justify-items: center; text-align: center; }
.rs-panel-head .rs-promise { margin-inline: auto; }
.rs-proof { width: 100%; max-width: 920px; justify-self: center; }
.rs-proof-head { justify-content: center; text-align: center; }
.rs-stat { justify-items: center; text-align: center; }
.rs-stat-value { justify-content: center; }
.rs-stat-label, .rs-stat-small { margin-inline: auto; }
.rs-pic { justify-items: center; }
.rs-next { width: 100%; max-width: 920px; justify-self: center; }
.rs-promises li { justify-items: center; text-align: center; }
.rs-avail { justify-items: center; }
.rs-today-get { max-width: 640px; }
.rs-today-get > .rs-h4, .rs-today-get > .rs-device-note { text-align: center; }
.rs-access, .rs-access-note, .rs-report { text-align: center; }
.rs-how { justify-items: center; }
.rs-trust { width: 100%; justify-self: center; }
@media (max-width: 899px) {
  /* Wrapped rows cannot overflow, so plain centring is safe here. */
  .rs-tabs { justify-content: center; }
  .rs-tab { flex: 0 1 auto; }
  .rs-tabs > .rs-tab:first-child, .rs-tabs > .rs-tab:last-child { margin-inline: 0; }
}

/* ======================================================================
   Example scenes: one drawn video call per tab. Left, the person's side ("Their screen" /
   "Their room"); right, "What your team sees" (the Verified panel). Generic call window:
   square window dots, participant tiles with the drawn made-up people, a round control bar.
   Light surfaces, ink lines, no shadows; amber only beside "Needs a look", green only for
   "Verified". ====================================================================== */
.rs-scene { display: grid; gap: 16px; width: 100%; max-width: 1040px; margin: 0; justify-self: center; }
.rs-scene-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; text-align: left; }
.rs-scene-col { display: grid; align-content: start; gap: 10px; min-width: 0; }
.rs-scene-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 18px; color: var(--muted); }
.rs-scene-label::before { content: ''; width: 8px; height: 8px; background: var(--ink); }

.rs-scene-screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--tile-2);
}
.rs-px { display: block; width: 14px; height: 14px; fill: currentColor; flex: none; }

/* Call window */
.rs-cw { flex: 1 1 auto; min-width: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); overflow: hidden; }
.rs-cw-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.rs-cw-bar i { width: 6px; height: 6px; background: var(--line-strong); }
.rs-cw-bar span { margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
.rs-cw-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; background: var(--tile); }
.rs-cw-stage.is-one { grid-template-columns: minmax(0, 1fr); }
.rs-cw-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--tile-2); }
.rs-cw-tile.is-target { outline: 2px dashed var(--ink); outline-offset: -2px; }
.rs-cw-face { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.rs .rs-cw-face { filter: none; }
.rs-cw-name { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 4px; background: var(--paper); font-size: 11px; font-weight: 700; line-height: 14px; color: var(--ink); }
.rs-cw-ctl { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px; border-top: 1px solid var(--line); }
.rs-cw-btn { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink-2); }
.rs-cw-btn.is-leave { width: 40px; border-color: var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); }

/* Small app windows on the person's screen */
.rs-app { flex: none; min-width: 0; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper); overflow: hidden; }
.rs-app-bar { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.rs-app-bar i { width: 5px; height: 5px; background: var(--ink-2); }
.rs-app-bar span { margin-left: 4px; font-size: 11px; font-weight: 700; line-height: 14px; color: var(--ink); white-space: nowrap; }
.rs-app-lines { display: grid; gap: 6px; padding: 10px; }
.rs-app-lines i { display: block; height: 4px; background: var(--line-strong); }
.rs-app-lines i:nth-child(2) { width: 82%; }
.rs-app-lines i:nth-child(4) { width: 58%; }
.rs-app-body { display: grid; justify-items: center; gap: 6px; padding: 12px 14px; font-size: 11px; font-weight: 600; color: var(--ink-2); text-align: center; }
.rs-app-body.is-face { grid-template-columns: auto auto auto; align-items: center; gap: 6px; padding: 10px; }
.rs-app-body .rs-cw-face.is-small { width: 64px; height: 48px; border-radius: 4px; }
.rs-app-play { width: 22px; height: 22px; color: var(--ink); }
.rs-app-play.is-mid { width: 14px; height: 14px; }
.rs-cw-arrow { flex: none; width: 28px; height: 10px; fill: var(--ink); }

/* Hidden AI helper: the answer window floats over the call */
.rs-scene--helper { display: block; }
.rs-app--helper { position: absolute; top: 22%; right: 3%; width: 44%; }
.rs-scene-tag { display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 16px); margin: 0 8px 8px; padding: 4px 8px; border-radius: 999px; background: var(--ink); font-size: 11px; font-weight: 700; line-height: 14px; color: var(--white); }
.rs-scene-tag .rs-px { width: 12px; height: 12px; }
.rs-scene-tag.is-plain { margin: 0; white-space: nowrap; background: none; border: 1px dashed var(--muted-2); color: var(--ink-2); }

/* Someone off camera */
.rs-scene--speaker .rs-cw { flex: 0 1 62%; }
.rs-offcam { display: grid; justify-items: center; gap: 10px; flex: none; }
.rs-offcam-fig { display: flex; align-items: center; gap: 6px; padding: 14px; border: 1px dashed var(--muted-2); border-radius: 12px; }
.rs-offcam-person { width: 40px; height: 40px; color: var(--muted); }
.rs-offcam-wave { width: 22px; height: 22px; color: var(--ink); transform: scaleX(-1); }

/* Camera software / face swap app feeding Sam's tile */
.rs-scene--camera .rs-app, .rs-scene--swap .rs-app { order: 0; }
.rs-scene--camera .rs-cw-arrow, .rs-scene--swap .rs-cw-arrow { order: 1; }
.rs-scene--camera .rs-cw, .rs-scene--swap .rs-cw { order: 2; }

/* The Verified panel */
.rs-vp { display: grid; align-content: start; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper); }
.rs-vp-head { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink); }
.rs-vp-who { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.rs-vp-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tile); color: var(--ink-2); }
.rs-vp-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.rs-vp-role { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.rs-vp-row { display: grid; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.rs-vp-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.rs-vp-lead.has-chip { flex-direction: column; align-items: flex-start; gap: 8px; }
.rs-vp-text { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.rs-vp-row.is-coming .rs-vp-text { color: var(--muted); }
.rs-vp-row .px-icon { color: var(--ink); }
.rs-vp-proof { display: grid; gap: 4px; margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--tile-2); }
.rs-vp-proof > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; font-size: 12px; line-height: 1.45; }
.rs-vp-proof dt { font-weight: 600; color: var(--muted); }
.rs-vp-proof dd { margin: 0; color: var(--ink-2); }
.rs-vp-compare { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: var(--tile-2); font-size: 13px; font-weight: 600; color: var(--muted); }

.rs-scene-cap { display: grid; justify-items: center; gap: 2px; text-align: center; }
.rs-scene-title { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); text-wrap: balance; }
.rs-scene-note { font-size: 12px; line-height: 1.4; color: var(--muted); }
.rs-sc-capture { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--tile-2); }
.rs-sc-capture .rs-ex-media { display: block; width: 100%; height: auto; }

@media (max-width: 899px) {
  .rs-scene-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 759px) {
  .rs-scene-screen { padding: 16px 12px; gap: 10px; }
  .rs-scene--camera, .rs-scene--swap { flex-direction: column; }
  .rs-scene--camera .rs-cw-arrow, .rs-scene--swap .rs-cw-arrow { transform: rotate(90deg); }
  .rs-scene--camera .rs-cw, .rs-scene--swap .rs-cw { width: 100%; }
  .rs-scene--speaker { flex-direction: column; }
  .rs-scene--speaker .rs-cw { flex: none; width: 100%; }
  .rs-app--helper { top: 18%; width: 54%; right: 2%; }
  .rs-cw-btn { width: 24px; height: 24px; }
  .rs-cw-btn.is-leave { width: 34px; }
}
