/* ==========================================================================
   SECTION + COMPONENT STYLES — "Signal" system. Values come only from tokens.css.
   Mobile first (375–390px), then ≥760px and ≥1100px.
   Blocks: bar · hero · btn · chat · sec/split · queries · rows · stats ·
           compare/board/bars · formwrap/panel/field/tiles · steps/person · faq · foot · sticky
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: var(--fw-body) var(--fs-body)/var(--lh-body) var(--font);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
input, button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b { font-weight: 640; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); z-index: 50; }
.skip:focus { left: var(--s-4); top: var(--s-4); }

/* ---------- type roles ---------- */
.display {
  font-size: var(--fs-hero);
  font-weight: var(--fw-head);
  line-height: var(--lh-hero);
  letter-spacing: var(--track-hero);
  text-wrap: balance;
}
.display .hl { display: block; }
.hl--signal { color: var(--signal); }
h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-head);
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  text-wrap: balance;
}
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); max-width: 30ch; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-small); }

/* spec label: small uppercase, the "/ 01 — section" voice */
.label {
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--ink);
}
.label--named { color: var(--ink); }
.sec .split__head > .label:first-child,
.compare__head > .label:first-child,
.formwrap__intro > .label:first-child,
.hero__top > .label:first-child { display: flex; gap: var(--s-2); align-items: center; }
.sec .split__head > .label:first-child::before,
.compare__head > .label:first-child::before,
.formwrap__intro > .label:first-child::before,
.hero__top > .label:first-child::before { content: "/"; color: var(--signal); font-weight: 700; }

/* chip: square label box (never a rounded pill) */
.tag {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--ink);
  border: var(--rule);
  padding: 0.375rem 0.5rem;
}
.tag--strong { background: var(--signal); border-color: var(--signal); color: var(--paper); }

/* ---------- buttons: ink block + signal arrow cell ---------- */
.btn {
  display: inline-flex; align-items: stretch; justify-content: space-between;
  min-height: var(--btn-h);
  padding: 0 0 0 var(--s-5);
  border: 0; border-radius: var(--radius);
  font: var(--fw-mid) 1.0625rem/1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-fast) var(--ease);
}
.btn::before { /* hover wipe */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--signal);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.btn { align-items: center; gap: var(--s-5); }
.btn > span[aria-hidden] {
  align-self: stretch;
  display: grid; place-items: center;
  width: var(--btn-h);
  background: var(--signal); color: var(--paper);
  font-size: 1.25rem;
  transition: transform var(--t-med) var(--ease);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover::before { transform: scaleX(1); }
.btn--primary:hover > span[aria-hidden] { transform: translateX(0.375rem); }
.btn--ghost { background: transparent; color: var(--ink); border: var(--rule); padding: 0 var(--s-5); justify-content: center; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--wide { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: var(--hair); }
.bar__in { display: flex; align-items: center; gap: var(--s-5); height: 3.5rem; }
.wordmark {
  display: inline-flex; align-items: center; gap: 0.2rem;
  text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.035em;
}
.wordmark__mark { /* answer cursor */
  order: 2; width: 0.5rem; height: 1.05em; background: var(--signal); flex: none;
  animation: blink 1.1s steps(1) 4;
}
.bar__meta { display: none; color: var(--ink-3); }
.bar__cta {
  margin-left: auto;
  font-size: var(--fs-label); font-weight: 650; text-transform: uppercase; letter-spacing: var(--track-label);
  text-decoration: none; white-space: nowrap; color: var(--signal-deep);
  display: inline-flex; gap: var(--s-2);
}
.bar__cta::before { content: "/"; color: var(--ink); }
.bar__cta:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { padding: var(--s-6) 0 var(--s-8); }
.hero__grid { display: grid; gap: var(--s-6); }
.hero__top { display: grid; gap: var(--s-5); }
.hero__copy { display: grid; gap: var(--s-5); align-content: start; }
.hero__actions { display: grid; gap: var(--s-3); }
.hero__actions .btn { width: 100%; }
.hero__note { color: var(--ink-3); display: flex; gap: var(--s-2); align-items: center; }
.hero__note::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--signal); flex: none; }

/* ---------- chat: the evidence object (our "imagery") ---------- */
.chat { background: var(--paper); border: var(--rule); display: grid; align-self: start; position: relative; }
.chat__head {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-3);
  background: var(--ink); color: var(--paper);
  padding: var(--s-3) var(--s-4);
}
.chat__head .label { color: var(--paper); }
.chat__head .tag { border-color: var(--paper); color: var(--paper); }
.chat__q {
  justify-self: end; max-width: 88%;
  margin: var(--s-5) var(--s-4) 0;
  background: var(--bone); padding: var(--s-3) var(--s-4);
  font-size: 0.9375rem; font-weight: var(--fw-mid);
}
.chat__a { display: grid; gap: var(--s-3); padding: var(--s-5) var(--s-4) var(--s-2); font-size: 0.9375rem; color: var(--ink-2); }
.chat__list { counter-reset: c; display: grid; }
.chat__list li {
  counter-increment: c;
  display: grid; grid-template-columns: 2.5rem 1fr; column-gap: var(--s-2);
  padding: var(--s-3) 0; border-top: var(--hair); color: var(--ink);
}
.chat__list li::before {
  content: counter(c); grid-row: span 2;
  font-size: 1.75rem; font-weight: var(--fw-head); line-height: 1; letter-spacing: -0.04em; color: var(--ink);
}
.chat__list small { color: var(--ink-3); font-size: var(--fs-small); }
.blur { filter: blur(5px); user-select: none; font-weight: 640; }
.named { color: var(--ink); font-weight: 680; }
.chat__foot {
  margin: 0 var(--s-4); padding: var(--s-4) 0;
  border-top: var(--rule);
  font-size: 1.0625rem; font-weight: 640; letter-spacing: -0.015em; color: var(--ink);
}
.chat__foot::after { /* blinking answer cursor */
  content: ""; display: inline-block; width: 0.45rem; height: 1em; margin-left: 0.3rem;
  vertical-align: -0.15em; background: var(--signal); animation: blink 1.1s steps(1) 6;
}
.chat--hero .chat__foot { color: var(--signal-deep); }

/* ---------- sections ---------- */
.sec { padding: var(--sec-y) 0; }
.sec + .sec { border-top: var(--hair); }
.split { display: grid; gap: var(--s-7); }
.split__head { display: grid; gap: var(--s-5); align-content: start; }
.split__head .muted { font-size: var(--fs-lead); line-height: 1.45; max-width: 34ch; }

/* typed patient queries */
.queries { display: grid; margin: var(--s-4) 0 var(--s-8); border-top: var(--rule); }
.queries li {
  font-size: 1.1875rem; font-weight: var(--fw-mid); letter-spacing: -0.02em; line-height: 1.3;
  padding: var(--s-4) 0; border-bottom: var(--hair);
}

/* numbered spec rows (sources, steps on mobile) */
.sources { border-top: var(--rule); margin-top: var(--s-4); }
.sources li { display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--s-3); padding: var(--s-5) 0; border-bottom: var(--hair); }
.sources p { color: var(--ink-2); margin-top: var(--s-1); }
.sources__n { font-size: 1.75rem; font-weight: var(--fw-head); letter-spacing: -0.04em; line-height: 1; text-transform: none; color: var(--ink-3); }

/* proof numbers: chip + giant figure + ink bar */
.stats { display: grid; gap: var(--s-8); margin-top: var(--sec-y); }
.stat { display: grid; gap: var(--s-4); justify-items: start; }
.stat dt { border: var(--rule); padding: 0.375rem 0.5rem; }
.stat dd { display: grid; gap: var(--s-4); justify-items: start; }
.stat__n {
  font-size: var(--fs-stat); font-weight: var(--fw-head); letter-spacing: -0.055em; line-height: 0.85;
  font-variant-numeric: tabular-nums;
  padding-bottom: var(--s-4);
  border-bottom: var(--bar) solid var(--ink);
}
.stat__ctx { color: var(--ink-2); max-width: 36ch; font-size: 1.0625rem; }
.stat__src { color: var(--ink-3); text-transform: none; letter-spacing: 0.01em; font-weight: 500; }

/* ---------- dark chapter: the comparison ---------- */
.sec--deep { background: var(--night); color: var(--on-night); border-top: 0 !important; }
.sec--deep + .sec { border-top: 0; }
.sec--deep .label { color: var(--on-night); }
.sec--deep .compare__head > .label:first-child::before { color: var(--signal-night); }
.compare__head { display: grid; gap: var(--s-5); justify-items: start; margin-bottom: var(--s-7); }
.compare__head h2 { max-width: 14ch; }
.compare__teaser { font-size: var(--fs-lead); line-height: 1.45; color: var(--on-night-2); max-width: 34ch; }
.sec--deep .tag--strong { background: transparent; border-color: var(--signal-night); color: var(--signal-night); }
.compare { display: grid; gap: var(--s-5); }

.sec--deep .chat { background: var(--night-raise); border-color: var(--night-line); }
.sec--deep .chat__head { background: var(--paper); color: var(--ink); }
.sec--deep .chat__head .label { color: var(--ink); }
.sec--deep .chat__head .tag { border-color: var(--ink); color: var(--ink); }
.sec--deep .chat__q { background: var(--night-line); color: var(--on-night); }
.sec--deep .chat__a { color: var(--on-night-2); }
.sec--deep .chat__list li { border-top-color: var(--night-line); color: var(--on-night); }
.sec--deep .chat__list li::before { color: var(--on-night); }
.sec--deep .chat__list small { color: var(--on-night-2); }
.sec--deep .named { color: var(--on-night); }
.sec--deep .chat__foot { border-top-color: var(--on-night); }
.chat__foot--miss { color: var(--signal-night) !important; }

.board { background: var(--night-raise); border: 1px solid var(--night-line); padding: var(--s-5) var(--s-4); display: grid; gap: var(--s-5); align-content: start; }
.board__title { color: var(--on-night) !important; }
.board__title span { color: var(--on-night-2); }
.bars { display: grid; }
.bars__row, .bars__link { display: grid; grid-template-columns: 6.75rem 1fr 3rem; align-items: center; gap: var(--s-3); min-height: 3.75rem; }
.bars__row { border-top: 1px solid var(--night-line); }
.bars__name { font-weight: var(--fw-mid); font-size: 0.9375rem; }
.bars__track { height: 0.75rem; background: var(--night-line); position: relative; overflow: hidden; }
.bars__fill {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--on-night);
  transform-origin: left; transition: transform var(--t-slow) var(--ease);
}
.js .board:not(.is-in) .bars__fill { transform: scaleX(0); }
.bars__row:nth-child(2) .bars__fill { transition-delay: .12s; }
.bars__row:nth-child(3) .bars__fill { transition-delay: .24s; }
.bars__val { font-size: 1.125rem; font-weight: 640; text-align: right; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.bars__row--you { border-top: 1px solid var(--signal-night); border-bottom: 1px solid var(--signal-night); background: rgba(255, 106, 80, .07); }
.bars__link { grid-column: 1 / -1; grid-template-rows: auto auto; text-decoration: none; padding: var(--s-3) 0; row-gap: var(--s-2); }
.bars__link .bars__name { font-weight: 700; color: var(--signal-night); }
.bars__track--unknown { background: repeating-linear-gradient(90deg, var(--signal-night) 0 0.375rem, transparent 0.375rem 0.75rem); opacity: .55; height: 0.75rem; }
.bars__val--q { color: var(--signal-night); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.bars__go { grid-column: 1 / -1; color: var(--signal-night) !important; }
.bars__link:hover .bars__go { text-decoration: underline; }
.board__src { font-size: var(--fs-small); color: var(--on-night-2); display: grid; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--night-line); }

.compare__foot { display: grid; gap: var(--s-6); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--on-night); }
.compare__claim { font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2.25rem); font-weight: var(--fw-mid); line-height: 1.2; letter-spacing: -0.025em; max-width: 30ch; text-wrap: pretty; }
.sec--deep .btn--primary { background: var(--paper); color: var(--ink); }
.sec--deep .btn--primary:hover { color: var(--paper); }
.sec--deep .btn--primary > span[aria-hidden] { background: var(--signal); }
.proof { margin-top: var(--s-7); color: var(--on-night-2); font-size: var(--fs-small); max-width: 64ch; display: grid; gap: var(--s-2); }

/* ---------- form chapter ---------- */
.sec--form { border-top: 0 !important; }
.formwrap { display: grid; gap: var(--s-7); }
.formwrap__intro { display: grid; gap: var(--s-5); align-content: start; }
.ticks { display: grid; border-top: var(--rule); }
.ticks li {
  display: grid; grid-template-columns: 2rem 1fr; padding: var(--s-4) 0; border-bottom: var(--hair);
  font-size: 1.0625rem; font-weight: var(--fw-mid); letter-spacing: -0.01em;
}
.ticks li::before { content: "+"; color: var(--signal); font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.trust { display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--s-4); align-items: center; font-size: var(--fs-small); color: var(--ink-2); }
.trust b { color: var(--ink); font-weight: 650; }
.trust__photo { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 700; letter-spacing: 0.04em; font-size: 0.9375rem; }
.trust__tel { display: inline-block; margin-top: var(--s-1); color: var(--ink); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.panel { background: var(--paper); border: 2px solid var(--ink); border-top-width: var(--bar); padding: var(--s-5) var(--s-4) var(--s-6); }
.progress { height: 0.25rem; background: var(--bone-deep); margin-bottom: var(--s-3); position: relative; }
.progress::before, .progress::after { content: ""; position: absolute; top: 0; bottom: 0; width: 0.25rem; background: var(--paper); z-index: 1; }
.progress::before { left: calc(33.333% - 0.125rem); }
.progress::after { left: calc(66.666% - 0.125rem); }
.progress__fill { display: block; height: 100%; width: 33.333%; background: var(--signal); transition: width var(--t-med) var(--ease); }
.progress__label { margin-bottom: var(--s-5); color: var(--ink-3); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--s-5); }
.step__title { font-size: var(--fs-step); font-weight: var(--fw-head); letter-spacing: var(--track-head); line-height: 1.05; padding: 0; margin-bottom: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field > label, .field__label { font-size: var(--fs-label); font-weight: 650; text-transform: uppercase; letter-spacing: var(--track-label); }
.field .muted { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-3); }
input[type=text], input[type=tel], input[type=email] {
  width: 100%; min-height: var(--tap);
  padding: 0 var(--s-4);
  font: var(--fw-mid) 1.0625rem var(--font);
  color: var(--ink);
  background: var(--bone);
  border: 0; border-bottom: 2px solid var(--ink);
  border-radius: var(--radius);
  appearance: none;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
input::placeholder { color: var(--ink-3); font-weight: 400; }
input:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); }
.field.is-invalid input { border-bottom-color: var(--error); box-shadow: inset 0 0 0 2px var(--error); }
.field__err { font-size: var(--fs-small); font-weight: 600; color: var(--error); }
.field__err:empty { display: none; }

/* treatment choice: square tiles with a check box, not pills */
.pills { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.pill span {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: 3.25rem; height: 100%; padding: var(--s-2) var(--s-3);
  border: 1px solid var(--bone-deep); background: var(--bone);
  font-size: 0.9375rem; font-weight: var(--fw-mid); line-height: 1.2;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.pill span::before { content: ""; width: 0.875rem; height: 0.875rem; border: 1.5px solid currentColor; flex: none; transition: background-color var(--t-fast) var(--ease); }
.pill input:hover + span { border-color: var(--ink); }
.pill input:disabled + span { opacity: .4; cursor: not-allowed; }
.pill input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill input:checked + span::before { background: var(--signal); border-color: var(--signal); }
.pill input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

.check { display: grid; grid-template-columns: 1.375rem 1fr; gap: var(--s-3); font-size: var(--fs-small); color: var(--ink-2); cursor: pointer; }
.check input { width: 1.375rem; height: 1.375rem; margin: 0.05rem 0 0; accent-color: var(--ink); }
.form__nav { display: flex; gap: var(--s-2); margin-top: var(--s-6); }
.form__nav .btn--primary { flex: 1; }
.form__reassure { margin-top: var(--s-4); color: var(--ink-3); }

.thanks { display: grid; gap: var(--s-4); justify-items: start; }
.thanks:focus { outline: none; }
.thanks > .label:first-child { color: var(--signal-deep); }
.thanks__title { font-size: var(--fs-step); font-weight: var(--fw-head); letter-spacing: var(--track-head); line-height: 1.05; }
.thanks__q { font-weight: 650; }
.rule { width: 100%; border: 0; border-top: var(--hair); margin: var(--s-2) 0; }

/* ---------- what's next + person ---------- */
.sec--next { background: var(--bone); border-top: 0 !important; }
.steps { margin-top: var(--s-4); display: grid; }
.steps li { display: grid; gap: var(--s-2); padding: var(--s-5) 0; border-top: var(--rule); }
.steps li:last-child { border-bottom: var(--rule); }
.steps li > .label { font-size: 2.5rem; font-weight: var(--fw-head); letter-spacing: -0.05em; line-height: 1; text-transform: none; color: var(--ink); }
.steps li:nth-child(1) > .label { color: var(--signal); }
.steps p { color: var(--ink-2); margin-top: var(--s-1); }

.person { display: grid; gap: var(--s-5); align-content: start; grid-template-columns: 8.5rem 1fr; }
.person__photo {
  aspect-ratio: 4 / 5; background: var(--ink);
  display: grid; place-items: center; position: relative;
}
.person__initials { font-size: 2.75rem; font-weight: var(--fw-head); letter-spacing: -0.04em; color: var(--paper); }
.person__photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--paper); color: var(--ink); font-size: 0.625rem; padding: 0.3rem 0.4rem; }
.person__text { display: grid; gap: var(--s-2); align-content: start; }
.person__name { font-weight: var(--fw-head); font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.1; }
.person__text p:last-child { color: var(--ink-2); font-size: 0.9375rem; }
.legal-note { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--ink-2); border-top: var(--rule); padding-top: var(--s-4); display: grid; gap: var(--s-2); }

/* ---------- faq ---------- */
.faq { border-top: var(--rule); }
.faq details { border-bottom: var(--hair); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: var(--s-5) 3rem var(--s-5) 0;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { /* drawn plus → minus */
  content: ""; position: absolute; right: 0.25rem; top: 50%; width: 1.125rem; height: 2px; background: var(--ink);
  transition: transform var(--t-med) var(--ease), background-color var(--t-fast) var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover::before, .faq summary:hover::after { background: var(--signal); }
.faq details p { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: 60ch; font-size: 1.0625rem; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-night); padding: var(--s-8) 0 calc(var(--s-6) + 5rem); overflow: hidden; }
.foot .label { color: var(--on-night-2); }
.foot__grid { display: grid; gap: var(--s-7); }
.foot__tag { color: var(--on-night-2); margin-top: var(--s-4); max-width: 30ch; font-size: 1.0625rem; }
.foot__co { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
.foot__co dd { margin-top: var(--s-1); font-size: var(--fs-small); }
.foot__legal { color: var(--on-night-2); border-top: 1px solid var(--night-line); padding-top: var(--s-4); }
.wordmark--inv { color: var(--on-night); }
.foot__giant {
  grid-column: 1 / -1;
  font-size: clamp(2.75rem, 11.2vw, 11.5rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8;
  white-space: nowrap; color: var(--on-night);
  display: flex; align-items: flex-end; gap: 0.04em;
}
.foot__giant::after { content: ""; width: 0.14em; height: 0.72em; background: var(--signal); flex: none; }

/* privacy policy page */
.policy { max-width: 46rem; display: grid; gap: var(--s-4); }
.policy__h { font-size: var(--fs-h2); font-weight: var(--fw-head); letter-spacing: var(--track-head); line-height: var(--lh-head); }
.policy h2 { font-size: var(--fs-h3); margin-top: var(--s-5); letter-spacing: -0.015em; }
.policy p { color: var(--ink-2); }

/* cookie consent */
.consent { position: fixed; z-index: 40; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); max-width: 30rem; background: var(--paper); border: 2px solid var(--ink); padding: var(--s-4); display: grid; gap: var(--s-3); }
.consent__btns { display: flex; gap: var(--s-2); }
.consent__btns .btn { flex: 1; padding: 0 var(--s-3); font-size: var(--fs-small); min-height: 3rem; justify-content: center; }
.consent__btns .btn > span[aria-hidden] { display: none; }

/* sticky mobile CTA */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: var(--s-2) var(--s-2) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: var(--paper); border-top: var(--rule);
  transform: translateY(110%); transition: transform var(--t-med) var(--ease);
}
.sticky.is-on { transform: none; }

/* ---------- motion: scroll reveal (motion.js adds .js + .is-in) ---------- */
@keyframes blink { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise)); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(var(--rise)); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.chat--hero .chat__list li { animation: rise var(--t-med) var(--ease) both; }
.chat--hero .chat__list li:nth-child(1) { animation-delay: .35s; }
.chat--hero .chat__list li:nth-child(2) { animation-delay: .5s; }
.chat--hero .chat__list li:nth-child(3) { animation-delay: .65s; }

/* ---------- ≥ 760px ---------- */
@media (min-width: 760px) {
  .bar__in { height: 4rem; }
  .bar__meta { display: inline; margin-left: var(--s-6); }
  .hero { padding: var(--s-8) 0 var(--s-9); }
  .hero__actions .btn { width: auto; min-width: 22rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
  .compare { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .board, .sec--deep .chat { padding-bottom: var(--s-2); }
  .board { padding: var(--s-6); }
  .panel { padding: var(--s-7) var(--s-7) var(--s-7); }
  .foot { padding-bottom: var(--s-6); }
  .foot__grid { grid-template-columns: 1.2fr 1.5fr; }
  .foot__legal { grid-column: 1 / -1; }
  .person { grid-template-columns: 11rem 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); border-bottom: var(--rule); }
  .steps li { border-top: var(--rule); padding: var(--s-5) var(--s-5) var(--s-6) 0; }
  .steps li + li { padding-left: var(--s-5); border-left: var(--hair); }
  .steps li:last-child { border-bottom: 0; }
  .pills { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1100px) {
  .hero { padding-top: var(--s-8); }
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "top chat" "copy chat";
    grid-template-rows: auto 1fr;
    column-gap: var(--s-9); row-gap: var(--s-6);
  }
  .hero__top { grid-area: top; }
  .hero__top .display { font-size: clamp(4.5rem, 1rem + 4.6vw, 6rem); }
  .hero__copy { grid-area: copy; }
  .chat--hero { grid-area: chat; margin-top: var(--s-7); }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-9); }
  .split__head { position: sticky; top: 7rem; align-self: start; }
  .formwrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-9); }
  .formwrap__intro { position: sticky; top: 7rem; align-self: start; }
  .sticky { display: none; }
  .compare__foot { grid-template-columns: 1fr auto; align-items: end; }
  /* "what's next": steps go full width under the heading, person moves beside */
  .sec--next .split { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); }
  .sec--next .split__head { position: static; }
  .sec--next .person { grid-template-columns: 1fr; }
  .sec--next .person__photo { max-width: 15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   FINAL (v2 copy × Signal design): the real Warsaw measurement components.
   rank (hero evidence card) · lb (leaderboard rows, light + dark) · meas/shot ·
   qs (the 26 questions) · turn · flow · cites. Tokens only.
   ========================================================================== */

/* hero: the v2 H1 is longer than the design draft's, so one notch smaller; lead runs wider */
.hero--v2 .display { font-size: clamp(2.5rem, 1.45rem + 4.6vw, 6rem); }
.hero--v2 .lead { max-width: 36ch; }

/* hero card: the real list is the evidence object (chat language: ink strip + numbered rows) */
.rank__q { margin: var(--s-4) var(--s-4) 0; font-size: 0.9375rem; color: var(--ink-2); }
.rank__q b { color: var(--ink); font-weight: 650; }
.rank .lb { padding: var(--s-3) var(--s-4) 0; }
.rank__more {
  margin: 0 var(--s-4); padding: var(--s-4) 0; border-top: var(--rule);
  font-size: var(--fs-label); font-weight: 650; text-transform: uppercase; letter-spacing: var(--track-label);
  text-decoration: none; color: var(--ink); display: flex; justify-content: space-between;
}
.rank__more span { color: var(--signal); }
.rank__more:hover { color: var(--signal-deep); }

/* leaderboard rows: big numeral · name · score, thin bar underneath */
.lb { display: grid; counter-reset: r; }
.lb__row {
  counter-increment: r;
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; grid-template-rows: auto auto;
  column-gap: var(--s-2); row-gap: var(--s-2); align-items: baseline;
  padding: var(--s-3) 0; border-top: var(--hair);
}
.lb__row::before {
  content: counter(r); grid-row: span 2;
  font-size: 1.75rem; font-weight: var(--fw-head); line-height: 1; letter-spacing: -0.04em; color: var(--ink);
}
.lb__name { font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.015em; overflow-wrap: anywhere; text-decoration: none; }
.lb__val { font-size: 0.9375rem; font-weight: 640; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.lb__track { grid-column: 2 / -1; height: 0.375rem; background: var(--bone-deep); position: relative; overflow: hidden; }
.lb__fill {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--ink);
  transform-origin: left; transition: transform var(--t-slow) var(--ease);
}
.lb__row--hid .lb__name { filter: blur(6px); user-select: none; color: var(--ink-2); }
.lb__row--hid::before, .lb__row--hid .lb__val { color: var(--ink-3); }
.lb__row--hid .lb__fill { background: var(--ink-3); }
.lb__row--you { border-top: 2px solid var(--signal); }
.lb__row--you::before { content: "?"; color: var(--signal); font-weight: 700; }
.lb__row--you .lb__name, .lb__row--you .lb__val { color: var(--signal-deep); font-weight: 700; }
.lb__row--you .lb__name:hover { text-decoration: underline; }
.lb__row--you .lb__track { background: repeating-linear-gradient(90deg, var(--signal) 0 0.375rem, transparent 0.375rem 0.75rem); opacity: .6; }
.rank .lb__row { animation: rise var(--t-med) var(--ease) both; }
.rank .lb__row:nth-child(1) { animation-delay: .3s; }
.rank .lb__row:nth-child(2) { animation-delay: .42s; }
.rank .lb__row:nth-child(3) { animation-delay: .54s; }
.rank .lb__row--you { animation-delay: .66s; }
.rank .lb__row--hid { animation: none; }

/* dark chapter variants */
.sec--deep .lb__row { border-top-color: var(--night-line); }
.sec--deep .lb__row::before, .sec--deep .lb__name, .sec--deep .lb__val { color: var(--on-night); }
.sec--deep .lb__track { background: var(--night-line); }
.sec--deep .lb__fill { background: var(--on-night); }
.sec--deep .lb__row--hid::before, .sec--deep .lb__row--hid .lb__val, .sec--deep .lb__row--hid .lb__name { color: var(--on-night-2); }
.sec--deep .lb__row--hid .lb__fill { background: var(--on-night-2); opacity: .45; }
.sec--deep .lb__row--you { border-top: 1px solid var(--signal-night); border-bottom: 1px solid var(--signal-night); background: rgba(255, 106, 80, .07); }
.sec--deep .lb__row--you::before, .sec--deep .lb__row--you .lb__name, .sec--deep .lb__row--you .lb__val { color: var(--signal-night); }
.sec--deep .lb__row--you .lb__track { background: repeating-linear-gradient(90deg, var(--signal-night) 0 0.375rem, transparent 0.375rem 0.75rem); opacity: .55; }
.js .board:not(.is-in) .lb__fill { transform: scaleX(0); }
.board .lb__row:nth-child(2) .lb__fill { transition-delay: .08s; }
.board .lb__row:nth-child(3) .lb__fill { transition-delay: .16s; }
.board .lb__row:nth-child(n+4) .lb__fill { transition-delay: .24s; }

/* measurement chapter */
.meas__head h2 { max-width: 16ch; }
.meas__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.sec--deep .meas__meta .tag { border-color: var(--on-night-2); color: var(--on-night); }
.meas { display: grid; gap: var(--s-5); }
.board__note { font-size: var(--fs-small); color: var(--on-night-2); padding-top: var(--s-4); border-top: 1px solid var(--night-line); }
.shot { display: grid; align-content: start; background: var(--night-raise); border: 1px solid var(--night-line); }
.shot__frame { background: var(--paper); overflow: hidden; }
.shot__frame img { width: 100%; height: auto; }
.shot figcaption { padding: var(--s-4); font-size: var(--fs-small); color: var(--on-night-2); }

/* the 26 questions: an accordion in the FAQ voice, rows in the spec-sheet voice */
.qs { margin-top: var(--s-7); border-top: 1px solid var(--on-night); border-bottom: 1px solid var(--night-line); }
.qs summary {
  list-style: none; cursor: pointer; position: relative;
  padding: var(--s-5) 3rem var(--s-5) 0;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
}
.qs summary::-webkit-details-marker { display: none; }
.qs summary::before, .qs summary::after {
  content: ""; position: absolute; right: 0.25rem; top: 50%; width: 1.125rem; height: 2px; background: var(--on-night);
  transition: transform var(--t-med) var(--ease), background-color var(--t-fast) var(--ease);
}
.qs summary::after { transform: rotate(90deg); }
.qs[open] summary::after { transform: rotate(0deg); }
.qs summary:hover::before, .qs summary:hover::after { background: var(--signal-night); }
.qs ol { counter-reset: q; padding-bottom: var(--s-5); column-gap: var(--s-7); }
.qs li {
  counter-increment: q; break-inside: avoid;
  display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--s-2);
  padding: var(--s-3) 0; border-top: 1px solid var(--night-line);
  font-size: 0.9375rem; font-weight: var(--fw-mid); line-height: 1.35; color: var(--on-night);
}
.qs li::before { content: counter(q, decimal-leading-zero); font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--track-label); color: var(--on-night-2); padding-top: 0.15rem; font-variant-numeric: tabular-nums; }

/* turn: the chapter's closing ask */
.turn__copy { display: grid; gap: var(--s-4); }
.turn__h { font-size: var(--fs-h2); font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--track-head); color: var(--signal-night); }
.turn .turn__p { font-size: var(--fs-lead); line-height: 1.45; color: var(--on-night-2); max-width: 44ch; font-weight: var(--fw-body); letter-spacing: 0; }

/* what it costs: patient flow + the cited sources as proof numbers */
.cites { margin-top: var(--s-8); display: grid; gap: var(--s-5); }
.cites__label { display: flex; gap: var(--s-2); align-items: center; }
.cites__label::before { content: "/"; color: var(--signal); font-weight: 700; }
.cites .stats { margin-top: var(--s-2); }
.stat__of { font-size: 0.42em; letter-spacing: -0.03em; color: var(--ink-3); margin-left: 0.04em; }
.cites__note { color: var(--ink-2); font-size: 1.0625rem; max-width: 52ch; padding-top: var(--s-4); border-top: var(--hair); }

/* the form now follows a white chapter: keep a hairline between them */
.sec + .sec.sec--form { border-top: var(--hair) !important; }

@media (max-width: 759px) {
  /* phone fold: H1 + CTA + the card's first row on one screen */
  .hero--v2 { padding-top: var(--s-5); }
  .hero--v2 .hero__grid { gap: var(--s-5); }
  .hero--v2 .hero__copy { gap: var(--s-4); }
  .rank__q { margin-top: var(--s-3); }
  .rank .lb__row { padding: var(--s-2) 0; }
  .rank .lb__row--hid { display: none; }
  .meas .shot { order: -1; }
}
@media (max-width: 379px) {
  .bar__in { gap: var(--s-3); }
  .bar__cta { font-size: 0.6875rem; letter-spacing: 0.04em; gap: var(--s-1); }
}
@media (min-width: 760px) {
  .meas { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-6); }
  .qs ol { columns: 2; }
  .cites .stats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .hero--v2 .hero__top .display { font-size: clamp(3.75rem, 0.6rem + 4.2vw, 5.5rem); }
  .rank { grid-area: chat; margin-top: var(--s-6); }
  .turn { grid-template-columns: 1fr auto; }
  .board { padding: var(--s-6) var(--s-6) var(--s-5); }
}
