/* ==========================================================================
   Unritten — unritten.ai
   Brand: Ripple. Teal is the interviewer and Unritten; coral is the applicant.
   Load order: fonts.css → tokens.css → ripple.css → site.css
   ========================================================================== */

:root {
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 9vw, 112px);
  --head-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hairline: color-mix(in srgb, var(--ink) 14%, transparent);
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---- Layout primitives ------------------------------------------------- */
.shell { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--white { background: var(--surface-raised); border-block: 1px solid var(--border); }
.section--mist { background: var(--mist); }
.section--teal { background: var(--surface-stage); color: var(--ink-on-stage); overflow: hidden; }
.section--teal a:not(.btn) { color: var(--seafoam-300); }
.stack > * + * { margin-top: var(--stack, 20px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split--top { align-items: start; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }

/* ---- Type -------------------------------------------------------------- */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 7.4vw, 86px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.04em;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -.03em;
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.02em;
}
.heading { font-family: var(--font-display); font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.58; color: var(--ink); }
.muted { color: var(--ink-muted); }
.small { font-size: 14.5px; line-height: 1.55; }
.tiny { font-size: 12px; line-height: 1.45; }
.data { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.label { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.ink-accent { color: var(--accent-text); }
.period {
  display: inline-block;
  width: .15em;
  height: .15em;
  margin-left: .05em;
  border-radius: 50%;
  background: var(--coral-500);
  vertical-align: baseline;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--teal-900); color: #fff; }
.btn--primary:hover { background: var(--teal-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-raised); color: var(--ink); }
.btn--coral { background: var(--coral-500); color: var(--teal-900); }
.btn--coral:hover { background: #ff947c; color: var(--teal-900); }
.btn--light { background: var(--surface-raised); color: var(--teal-900); }
.btn--light:hover { background: var(--seafoam-100); color: var(--teal-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 16.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---- Header ------------------------------------------------------------ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--mist) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.site-head.is-scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--mist) 96%, transparent);
  box-shadow: 0 1px 0 rgba(11,61,58,.02);
}
.head-inner {
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 30px); }
.nav a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--teal-700); }
.nav a[aria-current="page"] { border-bottom-color: var(--coral-500); }
.head-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.head-actions .btn--quiet { min-height: 40px; padding: 8px 6px; color: var(--ink); font-weight: 700; text-decoration: none; }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--surface-raised);
}
.mobile-nav.is-open { display: block; }
.mobile-nav .shell { padding-block: 14px 20px; display: grid; gap: 2px; }
.mobile-nav a { display: block; padding: 12px 4px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .btn { margin-top: 14px; width: 100%; }

/* ---- Hero -------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(36px, 6vw, 76px); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero .display-1 { margin-top: 18px; }
.hero .lede { margin-top: 24px; max-width: 46ch; }
.hero .btn-row { margin-top: 32px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--ink-muted); font-size: 14px; }
.hero-note svg { width: 16px; height: 16px; color: var(--teal-500); }
.hero-rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .8; }

/* ---- Stage (the interview screen) ------------------------------------- */
.stage {
  position: relative;
  background: var(--surface-stage);
  color: var(--ink-on-stage);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(11,61,58,.10), 0 28px 64px -18px rgba(11,61,58,.45);
  border: 1px solid rgba(255,255,255,.10);
}
.stage--flat { box-shadow: 0 2px 4px rgba(11,61,58,.10), 0 18px 40px -20px rgba(11,61,58,.35); }
.stage__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-size: 12.5px;
  color: var(--ink-on-stage-muted);
}
.stage__bar strong { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 14px; }
.stage__body { padding: 24px 24px 6px; }
.stage__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  flex-wrap: wrap;
}
.stage__foot .tiny { color: var(--ink-on-stage-muted); }
.prompt__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-on-stage-muted); }
.prompt__q {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.26;
  font-weight: 500;
  letter-spacing: -.01em;
  max-width: 24ch;
}
.state { display: flex; align-items: center; gap: 9px; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-500); }
.state--asking { color: var(--seafoam-300); }
.state--quiet { color: var(--ink-on-stage-muted); }
.state__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: un-breathe 2.4s ease-in-out infinite; flex: none; }
.ripple-canvas { width: 100%; height: 148px; }
.ripple-canvas--short { height: 116px; }
.topics { display: flex; align-items: center; gap: 12px; color: var(--ink-on-stage-muted); font-size: 12.5px; }
.topics__track { display: flex; gap: 4px; }
.topics__seg { width: 22px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.20); }
.topics__seg.is-done { background: var(--seafoam-300); }
.topics__seg.is-now { background: var(--coral-500); }

/* ---- Fact strip -------------------------------------------------------- */
.facts { border-block: 1px solid var(--border); background: color-mix(in srgb, var(--surface-raised) 62%, transparent); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 24px 26px 0; display: grid; gap: 5px; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--border); }
.fact__k { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.fact__k span { color: var(--accent-text); }
.fact__v { color: var(--ink-muted); font-size: 14px; line-height: 1.45; }

/* ---- Section head ------------------------------------------------------ */
.section-head { display: grid; gap: 14px; max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; max-width: 720px; }
.section-head .lede { max-width: 60ch; }
.section-head--center .lede { margin-inline: auto; }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 40px; max-width: none; flex-wrap: wrap; }

/* ---- Cards ------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 12px;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: 0 10px 30px -18px rgba(11,61,58,.28); }
.card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--seafoam-100);
  color: var(--teal-900);
  margin-bottom: 4px;
}
.card__icon svg { width: 21px; height: 21px; }
.card h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.card p { color: var(--ink-muted); font-size: 15.5px; line-height: 1.55; }
.card--plain { background: transparent; border: 0; padding: 0; }
.card--plain:hover { transform: none; box-shadow: none; }

/* ---- Steps ------------------------------------------------------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 30px 26px 30px 0; }
.step + .step { padding-left: 26px; }
.step::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--border-strong);
}
.step:first-child::before { left: 0; }
.step__num { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-muted); letter-spacing: .1em; }
.step__num::after { content: ""; display: block; width: 9px; height: 9px; margin-top: 10px; border-radius: 50%; background: var(--teal-900); }
.step:nth-child(3) .step__num::after { background: var(--coral-500); box-shadow: 0 0 0 5px rgba(255,122,92,.14); }
.step h3 { margin-top: 16px; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.step p { margin-top: 7px; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }

/* ---- Report card ------------------------------------------------------- */
.report {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-raised);
}
.report__head { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.report__name { font-family: var(--font-display); font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.report__meta { margin-top: 4px; color: var(--ink-muted); font-size: 13px; }
.report__scores { padding: 20px 24px 6px; display: grid; gap: 18px; }
.score__head { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.score__name { font-weight: 700; }
.score__num { font-family: var(--font-mono); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.score__track { margin-top: 6px; height: 7px; border-radius: 99px; background: var(--surface-sunken); overflow: hidden; }
.score__fill { display: block; height: 100%; border-radius: 99px; background: var(--teal-900); }
.score__ev { display: block; margin-top: 5px; font-size: 12.5px; color: var(--ink-muted); }
.report__turns { padding: 14px 24px 22px; border-top: 1px solid var(--border); margin-top: 16px; }
.turn { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 10px 0; }
.turn__who { display: grid; gap: 1px; align-content: start; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.turn--interviewer .turn__name { color: var(--teal-700); font-weight: 500; }
.turn--applicant .turn__name { color: var(--accent-text); font-weight: 500; }
.turn__time { color: var(--ink-muted); letter-spacing: 0; text-transform: none; }
.turn__said { font-size: 15.5px; line-height: 1.55; }
.turn--interviewer .turn__said { font-family: var(--font-display); font-weight: 500; }
.pause { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); white-space: nowrap; }
mark.evidence { background: linear-gradient(transparent 56%, rgba(255,122,92,.45) 56%); color: inherit; padding: 0 .12em; }
.evidence-tag { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; border: 1px solid var(--border-strong); border-radius: 99px; padding: 1px 8px; margin-left: 6px; color: var(--ink-muted); vertical-align: 1px; white-space: nowrap; }
.report-note { margin-top: 12px; color: var(--ink-muted); font-size: 13px; }

/* ---- Table ------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: var(--shadow-raised); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.table caption { text-align: left; padding: 18px 20px 14px; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.table th { text-align: left; padding: 10px 16px; background: var(--surface-sunken); border-block: 1px solid var(--border); font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.table td { padding: 13px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:first-child td { border-top: 0; }
.table tbody tr:hover td { background: color-mix(in srgb, var(--seafoam-100) 45%, transparent); }
.table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .strong { font-weight: 700; }
.table .row-note { color: var(--ink-muted); font-size: 12.5px; }

/* ---- Sample walkthrough ------------------------------------------------ */
.demo-shell { max-width: 880px; margin-inline: auto; }
.demo-stage .stage__body { min-height: 350px; display: grid; align-content: center; padding-top: 30px; padding-bottom: 24px; }
.demo-scene { display: none; }
.demo-scene.is-active { display: block; animation: un-fade 200ms ease-out both; }
.demo-scene .prompt__q { max-width: 30ch; }
.demo-note { margin-top: 18px; color: var(--ink-on-stage-muted); font-size: 13px; }
.demo-answer {
  margin-top: 4px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--seafoam-100);
  max-width: 46ch;
}
.demo-answer .speaker { display: block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-500); }
.demo-check { display: flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 14px; color: var(--seafoam-100); }
.demo-check svg { width: 17px; height: 17px; color: var(--seafoam-300); }
.demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.demo-dots { display: flex; gap: 7px; align-items: center; }
.demo-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--border-strong); cursor: pointer; transition: width .2s var(--ease), background-color .2s; }
.demo-dot.is-on { width: 26px; background: var(--coral-500); }
.demo-step-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.demo-actions { display: flex; gap: 10px; }
.demo-actions .btn { min-height: 42px; padding: 9px 18px; font-size: 14.5px; }

/* ---- Badges ------------------------------------------------------------ */
.badges { display: flex; flex-wrap: wrap; gap: 9px; }
.badge {
  display: inline-flex; align-items: center;
  padding: 6px 13px;
  border-radius: 99px;
  background: var(--seafoam-100);
  color: var(--teal-900);
  font-size: 13.5px;
  font-weight: 700;
}
.badge--stage { background: rgba(255,255,255,.10); color: var(--seafoam-100); border: 1px solid rgba(255,255,255,.16); }
.badge--status { background: var(--positive-tint); color: var(--positive); font-size: 12.5px; }

/* ---- Principles -------------------------------------------------------- */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.principle { padding: 22px 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.principle svg { width: 21px; height: 21px; color: var(--teal-500); margin-top: 3px; }
.principle h3 { font-family: var(--font-display); font-size: 18.5px; font-weight: 600; letter-spacing: -.01em; }
.principle p { margin-top: 5px; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
.section--teal .principle { border-top-color: rgba(255,255,255,.16); }
.section--teal .principle svg { color: var(--seafoam-300); }
.section--teal .principle p { color: var(--ink-on-stage-muted); }

/* ---- Checklist --------------------------------------------------------- */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-size: 16px; line-height: 1.5; }
.checks svg { width: 19px; height: 19px; color: var(--teal-500); margin-top: 3px; }
.section--teal .checks svg { color: var(--seafoam-300); }
.section--teal .checks li { color: var(--seafoam-100); }

/* ---- Quote / statement ------------------------------------------------- */
.section--teal .lede,
.section--teal .lede.muted { color: var(--seafoam-100); }
.statement { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.16; font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
.statement em { font-style: normal; color: var(--accent-text); }
.section--teal .statement em { color: var(--coral-500); }

/* ---- FAQ --------------------------------------------------------------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 13px; height: 13px; flex: none;
  margin-top: 5px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 13px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 13px no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; color: var(--ink-muted); font-size: 15.5px; line-height: 1.6; max-width: 68ch; }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--surface-stage); color: var(--ink-on-stage); }
.cta-band__inner { position: relative; z-index: 1; padding-block: clamp(72px, 9vw, 120px); display: grid; justify-items: center; text-align: center; gap: 24px; }
.cta-band .display-2 { max-width: 16ch; }
.cta-band p { color: var(--seafoam-100); max-width: 52ch; }
.cta-rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-band .btn--coral { color: #10201e; }

/* ---- Page hero --------------------------------------------------------- */
.page-hero { padding-block: clamp(48px, 7vw, 84px) clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.page-hero + .section { padding-top: clamp(32px, 5vw, 56px); }
.page-hero .display-2 { margin-top: 0; max-width: 18ch; }
.page-hero .lede { margin-top: 20px; max-width: 58ch; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero--stage { background: var(--surface-stage); color: var(--ink-on-stage); }
.page-hero--stage .lede { color: var(--seafoam-100); }
.crumb { display: flex; gap: 8px; align-items: center; color: var(--ink-muted); font-size: 13px; margin-bottom: 18px; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* ---- Prose (privacy and long-form) ------------------------------------ */
.prose { max-width: 68ch; }
.prose h2 { margin: 44px 0 12px; font-family: var(--font-display); font-size: 27px; line-height: 1.22; font-weight: 600; letter-spacing: -.015em; }
.prose h3 { margin: 28px 0 8px; font-family: var(--font-display); font-size: 20px; line-height: 1.3; font-weight: 600; }
.prose p, .prose li { color: var(--ink-muted); font-size: 16.5px; line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 7px; }
.prose li::marker { color: var(--teal-500); }
.prose a { font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
.note {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ---- Footer ------------------------------------------------------------ */
.site-foot { background: var(--teal-900); color: var(--ink-on-stage-muted); padding-block: 56px 32px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 34px; width: auto; }
.foot-brand p { margin-top: 16px; max-width: 30ch; font-size: 14px; line-height: 1.55; color: var(--ink-on-stage-muted); }
.foot-col h3 { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--seafoam-300); }
.foot-col ul { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.foot-col a { color: var(--ink-on-stage-muted); text-decoration: none; font-size: 14.5px; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-on-stage-muted); }
.foot-bottom a { color: inherit; }

/* ---- Skip link --------------------------------------------------------- */
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--surface-raised); color: var(--ink); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---- Reveal ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }

/* ---- Utility ----------------------------------------------------------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }
.tint-box { background: var(--seafoam-100); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.stage-light { background: var(--surface-stage); color: var(--ink-on-stage); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.stage-light__title { font-family: var(--font-display); font-size: 18.5px; line-height: 1.25; font-weight: 600; color: #fff; }
.toc-title { font-family: var(--font-display); font-size: 17px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lede { max-width: 58ch; }
  .stage { max-width: 640px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step { padding-right: 24px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .head-actions .btn--quiet { display: none; }
  .menu-btn { display: inline-flex; }
  .split { grid-template-columns: 1fr; }
  .split--wide { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(3), .fact:nth-child(4) { border-top: 1px solid var(--border); }
  .principle { grid-template-columns: 26px 1fr; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .head-actions .btn--primary { display: none; }
  .cards, .cards--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0; }
  .step::before { left: 0; }
  .step:not(:first-child)::before { top: 0; }
  .step h3 { margin-top: 12px; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 18px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--border); }
  .turn { grid-template-columns: 1fr; gap: 2px; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .report__head, .report__scores, .report__turns { padding-left: 18px; padding-right: 18px; }
  .stage__body { padding: 20px 18px 4px; }
  .stage__bar, .stage__foot { padding-left: 18px; padding-right: 18px; }
  .cta-band .btn-row { width: 100%; flex-direction: column; }
  .cta-band .btn { width: 100%; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .faq summary { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .state__dot { animation: none; }
  .card, .btn, .link-arrow svg { transition: none; }
  .card:hover { transform: none; }
}
