/* ========================================================================
   Coach Mantis — Home redesign
   Tokens · base · components · 3 direction variants
   ======================================================================== */

/* ----- 1. Reset & base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ----- 2. Tokens -------------------------------------------------------- */
:root {
  /* Brand */
  --teal-50:  #F0FDFA;
  --teal-100: #CCFBF1;
  --teal-200: #99F6E4;
  --teal-300: #5EEAD4;
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;
  --teal-600: #0F766E;
  --teal-700: #0D5F5A;
  --teal-800: #0A4A45;
  --teal-900: #134E4A;

  --gold-50:  #FFFBEB;
  --gold-400: #FBBF24;
  --gold-500: #F59E0B;
  --gold-600: #D97706;

  /* Neutrals — warm */
  --cream:        #FAFAF9;
  --cream-2:      #F5F5F4;
  --cream-3:      #EFEEEC;
  --paper:        #FFFFFF;
  --line:         #E7E5E4;
  --line-strong:  #D6D3D1;
  --ink:          #0F172A;
  --ink-2:        #475569;
  --ink-3:        #94A3B8;

  /* Warm dark */
  --night:        #0C0A09;
  --night-2:      #1C1917;
  --night-3:      #292524;
  --night-line:   #44403C;
  --night-line-2: #57534E;
  --night-text:   #FAFAF9;
  --night-text-2: #A8A29E;
  --night-text-3: #78716C;

  /* Semantic surfaces (defaulted; redeclared per section) */
  --bg: var(--cream);
  --surface: var(--paper);
  --surface-2: var(--cream-2);
  --border: var(--line);
  --border-2: var(--line-strong);
  --primary: var(--teal-600);
  --primary-hover: var(--teal-700);
  --accent: var(--gold-500);

  /* Type display tuning per direction */
  --display-weight: 700;
  --display-track:  -0.025em;
  --display-leading: 1.04;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 6px 14px -4px rgba(15,23,42,.08), 0 2px 6px -2px rgba(15,23,42,.05);
  --shadow-lg: 0 18px 30px -10px rgba(15,23,42,.12), 0 6px 12px -6px rgba(15,23,42,.06);
  --shadow-xl: 0 30px 60px -20px rgba(15,23,42,.20), 0 12px 24px -12px rgba(15,23,42,.08);

  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ----- 3. Layout helpers ------------------------------------------------ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.container--narrow { max-width: 960px; }
.container--read   { max-width: 720px; }
@media (max-width: 720px) { .container { padding: 0 22px; } }

.section { padding: 96px 0; position: relative; }
.section--lg { padding: 128px 0; }
.section--xl { padding: 160px 0; }
.section--sm { padding: 64px 0; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section--lg, .section--xl { padding: 88px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: rgba(15,118,110,.08); color: var(--primary);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  white-space: nowrap;
}
.badge-popular { white-space: nowrap; }
.eyebrow-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* ----- 4. Typography ---------------------------------------------------- */
.display {
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: var(--display-leading);
  text-wrap: balance;
}
.h1 { font-size: clamp(44px, 6.4vw, 80px); }
.h2 { font-size: clamp(36px, 4.6vw, 60px); }
.h3 { font-size: clamp(26px, 2.4vw, 36px); }
.h4 { font-size: clamp(20px, 1.8vw, 26px); }

.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 60ch;
}
.body  { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.small { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.tnum  { font-variant-numeric: tabular-nums; }

mark, .mark {
  background: linear-gradient(transparent 62%, rgba(245,158,11,.28) 62%);
  color: inherit; padding: 0 2px; border-radius: 2px;
}
.mark-strong {
  background: linear-gradient(transparent 60%, rgba(245,158,11,.5) 60%);
}
.accent-text { color: var(--accent); }
.primary-text { color: var(--primary); }

.pullquote {
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
}
.pullquote::before { content: "\201C"; }
.pullquote::after  { content: "\201D"; }

/* ----- 5. Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  border-radius: var(--r-md);
  transition: transform .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: #1a2435; }
.btn--accent {
  background: var(--accent);
  color: #2A1A04;
  box-shadow: 0 1px 2px rgba(217,119,6,.18), inset 0 -1px 0 rgba(120,53,15,.12);
}
.btn--accent:hover { background: var(--gold-600); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(217,119,6,.45); }
.btn--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid var(--border-2);
}
.btn--ghost:hover { background: rgba(15,23,42,.04); }
.on-dark .btn--ghost { border-color: rgba(255,255,255,.18); color: var(--night-text); }
.on-dark .btn--ghost:hover { background: rgba(255,255,255,.06); }
.btn--text {
  height: auto; padding: 4px 0;
  background: transparent; color: var(--primary);
  border-bottom: 1px solid currentColor; border-radius: 0;
}
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ----- 6. Dark section utility ----------------------------------------- */
.on-dark {
  background: var(--night);
  color: var(--night-text);
  --bg: var(--night);
  --surface: var(--night-2);
  --surface-2: var(--night-3);
  --border: var(--night-line);
  --border-2: var(--night-line-2);
  --ink: var(--night-text);
  --ink-2: var(--night-text-2);
  --ink-3: var(--night-text-3);
}
.on-dark .btn--primary { background: var(--cream); color: var(--ink); }
.on-dark .btn--primary:hover { background: #fff; }
.on-dark .eyebrow { color: var(--night-text-2); }
.on-dark .eyebrow-pill { background: rgba(94,234,212,.10); color: var(--teal-300); }
.on-dark .eyebrow-pill .dot { background: var(--teal-400); }
.on-dark .primary-text { color: var(--teal-300); }

/* ----- 7. Nav ---------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  padding: 16px 0;
  transition: background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .15s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta-group { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-login:hover { color: var(--ink); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.012em; font-size: 17px; }
.logo .logo-mark { width: 26px; height: 26px; flex: 0 0 auto; }
.logo .logo-mark path, .logo .logo-mark line, .logo .logo-mark circle { stroke: currentColor; }

/* ----- 8. Hero --------------------------------------------------------- */
.hero { padding: 152px 0 110px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }
.hero-headline { margin: 22px 0 22px; }
.hero-headline em { font-style: normal; }
.hero-headline .your {
  display: inline-block; font-style: normal;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subhead { margin-bottom: 36px; }
.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-cta-row + .small { margin-top: 16px; opacity: .8; }

/* hero "training room" backdrop */
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(900px 600px at 80% 30%, rgba(20,184,166,.10), transparent 60%),
    radial-gradient(700px 500px at 12% 90%, rgba(245,158,11,.08), transparent 60%);
}
.hero-bg-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1200px 700px at 50% 20%, #000 40%, transparent 80%);
}
.on-dark .hero-bg-lines {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
}
.hero > .container { position: relative; z-index: 1; }

/* Product mock frame (right side of hero) */
.mock-frame {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.on-dark .mock-frame { border-color: rgba(255,255,255,.08); background: #14110F; }
.mock-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.on-dark .mock-titlebar { background: #1A1614; border-color: rgba(255,255,255,.06); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot--r { background: #FF6259; }
.mock-dot--y { background: #FEBB2E; }
.mock-dot--g { background: #28C840; }
.mock-url {
  font-size: 12px; color: var(--ink-3);
  margin-left: 12px; padding: 4px 12px;
  background: var(--surface); border-radius: var(--r-pill);
  border: 1px solid var(--border);
  flex: 1; text-align: center;
}
.on-dark .mock-url { background: #0E0C0B; border-color: rgba(255,255,255,.06); }

/* ----- 9. Stat band (Section 2) ---------------------------------------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 64px 0 48px;
}
.stats-grid .stat {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
}
.stats-grid .stat:last-child { border-right: 0; }
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat:nth-child(2n) { border-right: 0; }
  .stats-grid .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
.stat-num {
  font-size: clamp(48px, 5.6vw, 72px); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.stat-label { font-size: 14px; color: var(--ink-2); line-height: 1.45; max-width: 22ch; }
.stat-source { font-size: 11px; color: var(--ink-3); margin-top: 10px; letter-spacing: .04em; text-transform: uppercase; }

/* ----- 10. Cards -------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.card--lg { padding: 36px; border-radius: var(--r-xl); }
.card--quiet { background: transparent; border-color: var(--border); }
.card--accent { border-color: rgba(245,158,11,.45); background: linear-gradient(180deg, rgba(245,158,11,.04), transparent); }
.card-eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-title { font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin: 10px 0 14px; }
.card-body { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.tick-list { margin: 16px 0 0; padding: 0; list-style: none; }
.tick-list li {
  display: flex; gap: 10px; align-items: flex-start; padding: 6px 0;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.5;
}
.tick-list li::before {
  content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px;
  background: var(--teal-100);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 6.2 L5 8 L9 4' fill='none' stroke='%230F766E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px 12px; background-position: center; background-repeat: no-repeat;
}

/* Coming-soon badge */
.badge-soon {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: rgba(15,23,42,.06); color: var(--ink-2);
  border: 1px solid var(--border);
}
.on-dark .badge-soon { background: rgba(255,255,255,.06); color: var(--night-text-2); border-color: rgba(255,255,255,.10); }
.badge-popular {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--accent); color: #2A1A04;
  white-space: nowrap;
}

/* ----- 11. Reframe (Section 3) ----------------------------------------- */
.reframe { text-align: center; padding: 140px 0; }
.reframe .h2 { max-width: 18ch; margin: 18px auto 26px; }
.reframe .body { max-width: 56ch; margin: 0 auto; font-size: 19px; line-height: 1.6; color: var(--ink); }
.reframe .body strong { font-weight: 600; }
.reframe .strike { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); text-decoration-thickness: 1px; }
.on-dark .reframe .strike { color: var(--night-text-3); }

/* ----- 12. Steps (How it works) ---------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 32px; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); position: relative; overflow: hidden; }
.step-num {
  font-size: 60px; font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  color: var(--accent); opacity: .9;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.step-title { font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 10px; }
.step-body { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ----- 13. Tools cards -------------------------------------------------- */
.tools-grid { display: flex; flex-direction: column; gap: 28px; margin-top: 56px; }
.tool-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 40px;
  border-radius: var(--r-2xl);
}
.tool-card:nth-child(even) { grid-template-columns: .95fr 1.05fr; }
.tool-card:nth-child(even) .tool-card-mock { order: 2; }
.tool-card:nth-child(even) .tool-card-text { order: 1; }
.tool-card .mock-frame { margin: 0; }
.tool-card-text { display: flex; flex-direction: column; }
.tool-card .card-title { font-size: 28px; letter-spacing: -.02em; }
.tool-card .card-body { font-size: 16px; }
@media (max-width: 880px) {
  .tool-card { grid-template-columns: 1fr !important; gap: 28px; padding: 28px; }
  .tool-card .tool-card-mock { order: 1 !important; }
  .tool-card .tool-card-text { order: 2 !important; }
}

/* ----- 14. Comparison table -------------------------------------------- */
.compare {
  margin-top: 48px;
  border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface);
}
.compare-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: 0; }
.compare-cell { padding: 18px 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; border-right: 1px solid var(--border); display: flex; align-items: center; }
.compare-cell:last-child { border-right: 0; }
.compare-row--head .compare-cell { font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); padding: 14px 22px; background: var(--surface-2); }
.compare-row--head .compare-cell:first-child { color: transparent; }
.compare-row .compare-cell:first-child { font-weight: 600; color: var(--ink); }
.compare-cell.col-cm {
  background: linear-gradient(180deg, rgba(15,118,110,.05), rgba(15,118,110,.02));
  color: var(--ink); font-weight: 500;
  border-left: 1px solid rgba(15,118,110,.18);
}
.compare-row--head .compare-cell.col-cm {
  background: var(--ink); color: var(--cream);
  font-weight: 700; letter-spacing: .04em;
}
.compare-cell .lesser { color: var(--ink-3); }
@media (max-width: 880px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-right: 0; border-bottom: 1px solid var(--border); padding: 14px 18px; }
  .compare-row--head { display: none; }
  .compare-cell::before { content: attr(data-h); display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
  .compare-cell:first-child::before { display: none; }
}

/* ----- 15. Moment cards (Section 8) ------------------------------------ */
.moments { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
@media (max-width: 880px) { .moments { grid-template-columns: 1fr; } }
.moment {
  padding: 36px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--cream-2), var(--paper));
  border: 1px solid var(--border);
}
.moment-title { font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin-bottom: 12px; }
.moment-body { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.moment-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--teal-100); color: var(--teal-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

/* ----- 16. Pricing summary (Section 9) --------------------------------- */
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 880px) { .pricing-cards { grid-template-columns: 1fr; } }
.price-card {
  padding: 32px;
  border: 1px solid var(--border); border-radius: var(--r-xl);
  background: var(--surface);
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
}
.price-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(245,158,11,.04), var(--paper));
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 880px) { .price-card--featured { transform: none; order: -1; } }
/* Pricing card popular badge */
.price-card { padding: 32px; }
.price-card .badge-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.price-name { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.price-num { font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price-num small { font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.price-tag { font-size: 14px; color: var(--ink-2); }

/* Compact pricing cards (home-page summary): hide the effective-price line. */
.pricing-cards--compact .price-effective { display: none; }

/* ----- 17. CTA band ----------------------------------------------------- */
.cta-band {
  padding: 120px 0;
  background: var(--ink); color: var(--cream);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 50% 20%, rgba(245,158,11,.14), transparent 60%),
    radial-gradient(900px 500px at 50% 100%, rgba(20,184,166,.10), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .lede { color: var(--night-text-2); margin: 18px auto 36px; }

/* ----- 19. Editorial layouts (Our Story etc.) -------------------------- */.section--editorial { padding: 140px 0; }
.section--editorial p { font-size: 19px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.section--editorial p strong { color: var(--ink); font-weight: 600; }

.stat-callout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-callout .stat-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.stat-callout .stat-cell:last-child { border-right: 0; }
.stat-callout .stat-num {
  font-size: clamp(56px, 6vw, 80px);
  margin: 0;
}
.stat-callout .stat-label { font-size: 16px; max-width: 28ch; color: var(--ink); line-height: 1.45; }
.stat-callout .stat-label strong { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .stat-callout { grid-template-columns: 1fr; }
  .stat-callout .stat-cell { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat-callout .stat-cell:last-child { border-bottom: 0; }
}

/* Principles — the typographic centerpiece */
.principles { display: flex; flex-direction: column; gap: 96px; margin-top: 80px; }
.principle {
  display: grid; grid-template-columns: 120px 1fr; gap: 48px;
  align-items: start;
}
@media (max-width: 720px) { .principle { grid-template-columns: 1fr; gap: 16px; } }
.principle-num {
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 700; letter-spacing: -.04em; line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  opacity: .85;
}
.principle-headline {
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.08;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.principle-body {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  max-width: 50ch;
}
.principle-body strong { color: var(--ink); font-weight: 600; }

/* Mission climax line — single oversized pullquote */
.mission-climax {
  margin: 64px 0 48px;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 600; letter-spacing: -.025em; line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
  max-width: 26ch;
}
.mission-climax em { font-style: normal; color: var(--accent); }

/* Five-tool plain list for Section 4 */
.tools-inline { display: flex; flex-direction: column; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; }
.tools-inline li {
  display: grid; grid-template-columns: 180px 1fr; gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 17px; line-height: 1.5; color: var(--ink-2);
}
.tools-inline li:last-child { border-bottom: 1px solid var(--border); }
.tools-inline li strong { color: var(--ink); font-weight: 600; font-size: 17px; }
.tools-inline .soon-tag {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-pill); margin-right: 8px; vertical-align: 1px;
  background: rgba(245,158,11,.14); color: var(--gold-600);
}
@media (max-width: 720px) {
  .tools-inline li { grid-template-columns: 1fr; gap: 6px; }
}

/* Hero variant: narrative (no CTA, no mock) */
.hero--narrative .hero-grid { grid-template-columns: 1fr; }
.hero--narrative .hero-mock-wrap { display: none; }
.hero--narrative .hero-headline { max-width: 22ch; margin-left: auto; margin-right: auto; text-align: center; }
.hero--narrative .hero-subhead { max-width: 56ch; margin-left: auto; margin-right: auto; text-align: center; }
.hero--narrative .eyebrow-pill { margin: 0 auto; }
.hero--narrative > .container { display: flex; flex-direction: column; align-items: center; }

/* ----- 20. Pricing ----------------------------------------------------- */
.pricing-toggle {
  display: inline-flex; align-items: center;
  padding: 4px; gap: 2px;
  background: var(--cream-2);
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  margin: 24px 0 0;
}
.pricing-toggle button {
  padding: 9px 18px;
  font-size: 14px; font-weight: 600; letter-spacing: -.005em;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  transition: background .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}
.pricing-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
}
.pricing-toggle button .save-tag {
  display: inline-block; margin-left: 6px;
  padding: 2px 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: var(--accent); color: #2A1A04;
  border-radius: var(--r-pill);
}
.pricing-toggle button[aria-pressed="true"] .save-tag { background: var(--accent); color: #2A1A04; }

.price-period-monthly,
.price-period-annual { display: none; }
body[data-billing="monthly"] .price-period-monthly { display: inline; }
body[data-billing="annual"]  .price-period-annual  { display: inline; }

.price-card .price-effective {
  font-size: 12.5px; color: var(--ink-3);
  margin-top: -4px;
}

.beta-band {
  margin-top: 32px;
  padding: 22px 28px;
  background: linear-gradient(180deg, rgba(245,158,11,.06), rgba(245,158,11,.02));
  border: 1px solid rgba(245,158,11,.30);
  border-radius: var(--r-lg);
  text-align: center;
  font-size: 15px; line-height: 1.55; color: var(--ink);
}
.beta-band strong { color: var(--accent); font-weight: 600; }

/* Compare table */
.compare-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 56px 0 0;
  font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer;
  background: transparent; border: 0; padding: 8px 0;
}
.compare-toggle::after {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-bottom: 3px;
  transition: transform .2s var(--ease);
}
.compare-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-bottom: -3px; }
.compare-table {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
}
.compare-table[hidden] { display: none; }
.compare-row-2 {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  border-bottom: 1px solid var(--border);
}
.compare-row-2:last-child { border-bottom: 0; }
.compare-row-2 > div {
  padding: 16px 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; border-right: 1px solid var(--border);
  display: flex; align-items: center;
}
.compare-row-2 > div:last-child { border-right: 0; }
.compare-row-2 > div:first-child { font-weight: 600; color: var(--ink); }
.compare-row-2 > .col-cm {
  background: linear-gradient(180deg, rgba(245,158,11,.06), rgba(245,158,11,.02));
  color: var(--ink); font-weight: 500;
  border-left: 1px solid rgba(245,158,11,.30);
}
.compare-row-2--head > div { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); background: var(--cream-2); padding: 14px 22px; font-weight: 700; }
.compare-row-2--head > div.col-cm { background: var(--accent); color: #2A1A04; }
.compare-row-2--head > div:first-child { color: transparent; background: var(--cream-2); }
@media (max-width: 720px) {
  .compare-row-2 { grid-template-columns: 1fr; }
  .compare-row-2 > div { border-right: 0; border-bottom: 1px solid var(--border); padding: 12px 18px; }
  .compare-row-2--head { display: none; }
  .compare-row-2 > div::before { content: attr(data-h); display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
  .compare-row-2 > div:first-child::before { display: none; }
}

/* FAQ accordion */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-size: 18px; font-weight: 600; letter-spacing: -.012em;
  color: var(--ink);
  background: transparent; border: 0;
  text-align: left;
  cursor: pointer;
}
.faq-q::after {
  content: "+";
  font-size: 24px; font-weight: 300;
  color: var(--ink-3);
  transition: transform .2s var(--ease);
  flex: 0 0 auto;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  padding: 0 0 22px;
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
  max-width: 64ch;
}
.faq-a strong { color: var(--ink); font-weight: 600; }
.faq-item[hidden-content] .faq-a { display: none; }

/* ----- 21. FAQ jump nav + group treatment ------------------------------ */
.jump-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin: 28px 0 0;
}
.jump-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  font-size: 13.5px; font-weight: 600; letter-spacing: -.005em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.jump-chip:hover { border-color: var(--accent); color: var(--accent); }
.jump-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.faq-group { padding: 80px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.faq-group:last-of-type { border-bottom: 0; }
.faq-group h2 {
  display: flex; align-items: center; gap: 16px;
  font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.022em; line-height: 1.1;
  margin: 0 0 32px;
}
.faq-group h2 .faq-group-num {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3);
  text-transform: uppercase;
  background: var(--cream-2);
  padding: 4px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--border);
}
.faq-group--privacy h2 .faq-group-num {
  background: rgba(245,158,11,.10);
  border-color: rgba(245,158,11,.30);
  color: var(--gold-600);
}
.faq-group .faq-q strong, .faq-group .faq-a strong { color: var(--ink); font-weight: 600; }

/* Lead-with-"No." emphasis */
.faq-a .no-lead {
  display: inline-block;
  font-weight: 700; color: var(--ink);
  margin-right: 6px;
}
.faq-group--privacy .faq-a .no-lead { color: var(--gold-600); }

/* Compact funnel placeholder for "what's coming" group */
.faq-funnel {
  margin-top: 32px;
  padding: 28px;
  background: var(--cream-2);
  border-radius: var(--r-xl);
  text-align: center;
  font-size: 14px; color: var(--ink-2);
}

/* ----- 22. Early Access ------------------------------------------------ */

/* Promise cards — 2x2 with card 01 elevated */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 720px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: 12px;
}
.promise-card--lead {
  border-color: rgba(245,158,11,.45);
  background: linear-gradient(180deg, rgba(245,158,11,.06), var(--paper));
  box-shadow: var(--shadow-md);
}
.promise-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream-2); color: var(--ink);
  margin-bottom: 4px;
}
.promise-card--lead .promise-card-icon {
  background: rgba(245,158,11,.16); color: var(--gold-600);
}
.promise-card-num {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.promise-card--lead .promise-card-num { color: var(--gold-600); }
.promise-card-title { font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin: 0; }
.promise-card-body { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.promise-card-body strong { color: var(--ink); font-weight: 600; }
.promise-card .badge-soon { display: inline-flex; align-items: center; }

/* Honest fit-check */
.fit-check {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 720px) { .fit-check { grid-template-columns: 1fr; } }
.fit-col {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.fit-col--yes {
  border-color: rgba(15,118,110,.30);
  background: linear-gradient(180deg, rgba(15,118,110,.04), var(--paper));
}
.fit-col h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -.012em;
  margin: 0 0 18px;
}
.fit-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fit-col li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15.5px; line-height: 1.5; color: var(--ink-2);
}
.fit-col li strong { color: var(--ink); font-weight: 600; }
.fit-col li::before {
  content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px;
  border-radius: 50%;
  background: var(--cream-2);
}
.fit-col--yes li::before {
  background: var(--teal-100);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 6.2 L5 8 L9 4' fill='none' stroke='%230F766E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px 12px; background-position: center; background-repeat: no-repeat;
}
.fit-col--later li::before {
  background-image: radial-gradient(circle, var(--ink-3) 25%, transparent 26%);
  background-size: 6px 6px; background-position: center; background-repeat: no-repeat;
}

/* Timeline — what happens next */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: 56px;
  position: relative;
}
@media (max-width: 720px) { .timeline { grid-template-columns: 1fr; gap: 16px; } }
.timeline::before {
  content: "";
  position: absolute; left: 32px; right: 32px; top: 20px; height: 2px;
  background: linear-gradient(to right, var(--border), var(--border-2), var(--border));
  z-index: 0;
}
@media (max-width: 720px) { .timeline::before { display: none; } }
.timeline-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.timeline-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: -.012em;
  font-variant-numeric: tabular-nums;
}
.timeline-step-title { font-size: 16px; font-weight: 600; color: var(--ink); margin: 6px 0 0; letter-spacing: -.012em; }
.timeline-step-body { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.timeline-step-body strong { color: var(--ink); font-weight: 600; }

/* Form panel */
.form-panel {
  max-width: 620px; margin: 56px auto 0;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-field label {
  font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: -.005em;
}
.form-field label .req { color: var(--accent); margin-left: 3px; }
.form-field label .opt { color: var(--ink-3); font-weight: 500; margin-left: 8px; font-size: 12px; }
.form-field input, .form-field textarea, .form-field select {
  font: inherit;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,158,11,.18);
}
.form-field textarea { min-height: 90px; resize: vertical; }
.form-segments { display: flex; gap: 0; }
.form-segments input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.form-segments label {
  flex: 1; text-align: center;
  padding: 12px 10px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.form-segments label:first-of-type { border-radius: var(--r-md) 0 0 var(--r-md); }
.form-segments label:last-of-type  { border-radius: 0 var(--r-md) var(--r-md) 0; border-left: 0; }
.form-segments label:not(:first-of-type):not(:last-of-type) { border-left: 0; }
.form-segments input[type="radio"]:checked + label {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.form-microcopy {
  font-size: 13px; color: var(--ink-3);
  text-align: center; margin: 12px 0 0;
}
.form-microcopy strong { color: var(--ink-2); font-weight: 600; }

/* ----- 23. For Investors (composed, corporate register) --------------- */

.investors-section { padding: 128px 0; }
.investors-section + .investors-section { border-top: 1px solid var(--border); }

.investors-pullquote {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; letter-spacing: -.028em; line-height: 1.04;
  color: var(--ink);
  margin: 14px 0 32px;
  text-wrap: balance;
  max-width: 22ch;
}
.investors-pullquote em {
  font-style: normal;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.investors-body {
  font-size: 19px; line-height: 1.65; color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.investors-body strong { color: var(--ink); font-weight: 600; }

/* Engine diagram */
.engine-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 64px;
  padding: 56px 40px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--cream-2), var(--paper));
}
@media (max-width: 720px) {
  .engine-diagram { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
}
.engine-product {
  text-align: center;
}
.engine-product-icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.engine-product--reverse .engine-product-icon { color: var(--teal-700); }
.engine-product--forward .engine-product-icon { color: var(--gold-600); }
.engine-product h4 {
  font-size: 17px; font-weight: 600; letter-spacing: -.015em;
  margin: 0 0 4px;
}
.engine-product p {
  font-size: 13.5px; color: var(--ink-2); margin: 0;
}

.engine-core {
  position: relative;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 18px 36px -16px rgba(15,23,42,.4);
}
.engine-core::before {
  content: "";
  position: absolute; inset: -12px;
  border: 1px dashed rgba(15,118,110,.4);
  border-radius: 50%;
  animation: engine-spin 30s linear infinite;
}
@keyframes engine-spin { to { transform: rotate(360deg); } }
.engine-core-label {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--night-text-3);
}
.engine-core-title {
  font-size: 22px; font-weight: 700; letter-spacing: -.018em;
  text-align: center;
}
.engine-core-sub {
  font-size: 11px; color: var(--night-text-2);
  margin-top: 8px; text-align: center; padding: 0 18px; line-height: 1.4;
  max-width: 22ch;
}

.engine-arrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
  text-align: center; margin-top: 8px;
}
.engine-arrow-svg { display: block; width: 100%; max-width: 180px; margin: 0 auto 8px; color: var(--ink-3); }

/* Investor CTA — restrained, not full-bleed accent */
.investors-cta {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.investors-cta h2 {
  margin: 0 0 18px;
}
.investors-cta p {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  max-width: 56ch; margin: 0 auto 36px;
  text-wrap: pretty;
}
.investors-cta-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
/* ----- 18. Footer ------------------------------------------------------- */
.footer { background: var(--night); color: var(--night-text-2); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 56px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
.footer-col h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-text-3); margin: 0 0 16px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 8px 0; }
.footer-col a { font-size: 14.5px; color: var(--night-text); }
.footer-col a:hover { color: var(--teal-300); }
.footer-tag { font-size: 14px; color: var(--night-text-2); margin: 14px 0 0; max-width: 28ch; }
.footer-base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12.5px; color: var(--night-text-3); }
.footer-sources { max-width: 70ch; }

/* ========================================================================
   PRODUCT UI MOCKS — placeholders in brand language
   ======================================================================== */
.mock-body { padding: 0; background: var(--paper); color: var(--ink); }
.on-dark .mock-body { background: #14110F; color: var(--night-text); }

/* -- Resume Review -- */
.rr { padding: 22px 24px 24px; }
.rr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.rr-crumb { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .02em; }
.rr-crumb .rr-sep { margin: 0 6px; opacity: .5; }
.rr-tabs { display: flex; gap: 4px; }
.rr-tab { font-size: 12px; padding: 6px 10px; border-radius: var(--r-pill); color: var(--ink-3); font-weight: 500; }
.rr-tab.is-active { background: var(--teal-50); color: var(--teal-700); }
.on-dark .rr-tab.is-active { background: rgba(94,234,212,.10); color: var(--teal-300); }

.rr-score-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 18px; }
.rr-score-card { padding: 18px; background: var(--cream-2); border-radius: var(--r-md); }
.on-dark .rr-score-card { background: rgba(255,255,255,.04); }
.rr-score-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.rr-score-num { font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 8px 0 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rr-score-num small { font-size: 16px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.rr-score-bar { height: 6px; background: rgba(15,23,42,.08); border-radius: var(--r-pill); overflow: hidden; }
.on-dark .rr-score-bar { background: rgba(255,255,255,.08); }
.rr-score-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-500), var(--teal-600)); border-radius: var(--r-pill); }
.rr-score-note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.rr-pill-stack { display: flex; flex-direction: column; gap: 6px; }
.rr-pill { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 12.5px; font-weight: 500; background: var(--cream-2); border-radius: var(--r-md); color: var(--ink-2); }
.on-dark .rr-pill { background: rgba(255,255,255,.04); }
.rr-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); flex: 0 0 auto; }
.rr-pill--warn .rr-pill-dot { background: var(--gold-500); }

.rr-rewrite { margin-top: 18px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.rr-rewrite-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.rr-rewrite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.rr-mini { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.rr-before p, .rr-after p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.rr-after { padding: 10px 12px; background: rgba(15,118,110,.06); border-radius: var(--r-sm); }
.rr-after p { color: var(--ink); }
.rr-after em { font-style: normal; font-weight: 600; background: rgba(245,158,11,.22); padding: 1px 3px; border-radius: 2px; }

/* -- Company Intel -- */
.ci { padding: 22px 24px 24px; }
.ci-head { display: flex; justify-content: space-between; align-items: center; }
.ci-org { font-size: 18px; font-weight: 700; letter-spacing: -.012em; }
.ci-tag { font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--teal-50); color: var(--teal-700); font-weight: 600; letter-spacing: .04em; }
.on-dark .ci-tag { background: rgba(94,234,212,.10); color: var(--teal-300); }
.ci-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.ci-card { padding: 14px; background: var(--cream-2); border-radius: var(--r-md); }
.on-dark .ci-card { background: rgba(255,255,255,.04); }
.ci-mini { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.ci-card h5 { margin: 8px 0 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.ci-followups { margin-top: 16px; }
.ci-chips { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ci-chip { padding: 7px 12px; font-size: 12px; font-weight: 500; border: 1px solid var(--border); border-radius: var(--r-pill); color: var(--ink-2); background: var(--surface); }

/* -- Interview Prep -- */
.ip { padding: 18px 22px 22px; }
.ip-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.ip-persona { display: flex; align-items: center; gap: 10px; }
.ip-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.ip-persona strong { display: block; font-size: 14px; font-weight: 600; }
.ip-persona small { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.ip-phase { font-size: 11px; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(245,158,11,.14); color: var(--gold-600); font-weight: 700; letter-spacing: .04em; }

.ip-chat { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.ip-bubble { padding: 12px 14px; border-radius: var(--r-lg); font-size: 13.5px; line-height: 1.5; max-width: 90%; }
.ip-bubble--them { background: var(--cream-2); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.on-dark .ip-bubble--them { background: rgba(255,255,255,.05); }
.ip-bubble--me { background: var(--ink); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 4px; }
.on-dark .ip-bubble--me { background: var(--teal-700); color: #fff; }

.ip-grade { margin-top: 8px; padding: 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.ip-grade-eyebrow { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.ip-grade-rows { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.ip-grade-row { display: grid; grid-template-columns: 80px 1fr 32px; gap: 12px; align-items: center; font-size: 12px; color: var(--ink-2); }
.ip-bar { height: 6px; background: rgba(15,23,42,.08); border-radius: var(--r-pill); overflow: hidden; }
.on-dark .ip-bar { background: rgba(255,255,255,.08); }
.ip-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal-500), var(--gold-500)); border-radius: var(--r-pill); }
.ip-grade-val { font-size: 12px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.ip-grade-actions { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.ip-action { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: var(--r-md); color: var(--ink-2); white-space: nowrap; }
.ip-action--primary { background: var(--ink); color: var(--cream); }
/* In on-dark hero, --ink resolves to cream too — pin literal colors so the
   button stays legible (dark text on a cream pill). */
.on-dark .ip-action--primary { background: #FAFAF9; color: #0F172A; }

/* -- Kit picker -- */
.kp { padding: 22px 24px 24px; }
.kp-step { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.kp-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 18px; }
.kp-field { margin-top: 14px; }
.kp-label { font-size: 11.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .04em; display: block; margin-bottom: 6px; }
.kp-input { display: flex; align-items: center; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: var(--r-md); background: var(--surface); }
.kp-input-mono { font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.kp-input-caret { width: 1px; height: 14px; background: var(--primary); margin-left: 6px; animation: caret 1.2s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.kp-drop { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed var(--border-2); border-radius: var(--r-md); font-size: 13px; color: var(--ink-2); background: rgba(245,158,11,.04); }
.kp-drop-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--gold-500); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.kp-actions { display: flex; gap: 10px; margin-top: 20px; }
.kp-btn { font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: var(--r-md); color: var(--ink-2); border: 1px solid var(--border-2); }
.kp-btn--primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.on-dark .kp-btn--primary { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* Compact mock frame for small contexts */
.mock-frame--compact .mock-titlebar { padding: 8px 10px; }
.mock-frame--compact .mock-dot { width: 8px; height: 8px; }
.mock-frame--compact .mock-url { font-size: 11px; padding: 3px 8px; }

@media (max-width: 720px) {
  .rr-score-row, .ci-cards, .rr-rewrite-grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   FUNNEL — orbital, the signature D-01 visual
   ======================================================================== */
.funnel {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 64px auto 0;
  color: var(--ink);
  aspect-ratio: 1100 / 620;
  isolation: isolate;
}
.funnel-svg { width: 100%; height: auto; display: block; }
.funnel-conn { transition: stroke-opacity .3s var(--ease), stroke-width .3s var(--ease); }
.funnel-conn.is-soon { stroke-dasharray: 4 5; opacity: .7; }

.funnel-nodes { position: absolute; inset: 0; pointer-events: none; }
.funnel-node {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
  font: inherit; color: inherit;
  text-align: left;
  min-width: 0;
}
.funnel-node:hover, .funnel-node:focus-visible {
  outline: none;
  transform: translate(-50%, calc(-50% - 3px));
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-500);
}
.funnel-node.is-active {
  border-color: var(--accent);
  box-shadow: 0 14px 28px -10px rgba(245,158,11,.45), 0 4px 10px -4px rgba(15,23,42,.08);
}
.funnel-node.is-soon { opacity: .72; }
.funnel-node.is-soon:hover { opacity: 1; }

.funnel-node-icon {
  width: 40px; height: 40px; flex: 0 0 auto;
  background: var(--teal-50); color: var(--teal-700);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.funnel-node.is-active .funnel-node-icon {
  background: rgba(245,158,11,.14); color: var(--gold-600);
}
.funnel-node-icon svg { width: 22px; height: 22px; }
.funnel-node-meta { display: flex; flex-direction: column; line-height: 1.1; }
.funnel-node-num {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  color: var(--ink-3); font-variant-numeric: tabular-nums;
}
.funnel-node-name {
  font-size: 14.5px; font-weight: 600; letter-spacing: -.012em;
  color: var(--ink); margin-top: 3px;
  display: inline-flex; align-items: center; gap: 8px;
}
.funnel-node-soon {
  font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 6px; border-radius: var(--r-pill);
  background: rgba(15,23,42,.06); color: var(--ink-2);
}

.funnel-verbs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin: 18px auto 0; max-width: 980px;
  padding: 0 24px;
}
.funnel-verb {
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); opacity: .35;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.funnel-verb.is-active { opacity: 1; color: var(--accent); }
.funnel-verb.is-soon { font-weight: 500; }

/* Centerpiece carousel — replaces the static "Your Context" anchor. */
.funnel-center {
  position: absolute;
  left: 50%;
  top: 73.2%;                   /* matches BOX_CY=410 / H=560 */
  transform: translate(-50%, -50%);
  width: 40%;                   /* matches BOX_HALF_W=220 → 440/1100 */
  max-width: 440px;
  min-width: 280px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  z-index: 2;
}
.on-dark .funnel-center { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.10); }

.funnel-center-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.funnel-center-body {
  margin: 0;
  font-size: 16px; line-height: 1.5; color: var(--ink);
  text-wrap: pretty;
  min-height: 4.5em;
}

.funnel-detail-soon {
  font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 8px; border-radius: var(--r-pill);
  background: rgba(245,158,11,.14); color: var(--gold-600);
}

.funnel-detail-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 18px;
}
.funnel-dot {
  width: 22px; height: 4px; padding: 0;
  background: var(--border-2);
  border: 0; border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.funnel-dot:hover { background: var(--ink-3); }
.funnel-dot.is-active {
  background: var(--accent);
  width: 40px;
}
.on-dark .funnel-dot { background: rgba(255,255,255,.18); }
.on-dark .funnel-dot:hover { background: rgba(255,255,255,.4); }

/* No animation — keep the anchor static; text just swaps when focus advances. */
.funnel-anchor-text { opacity: 1; }

/* Old below-funnel detail card no longer used (kept for compat / harmless). */
.funnel-detail { display: none; }

@media (max-width: 720px) {
  .funnel-center {
    position: relative;
    top: 0; left: 0; transform: none;
    width: auto; max-width: none; min-width: 0;
    margin: 24px 0 0;
  }
}

/* Mobile funnel: switch to vertical list */
@media (max-width: 880px) {
  .funnel { aspect-ratio: auto; max-width: 520px; }
  .funnel-svg { display: none; }
  .funnel-nodes { position: relative; inset: auto; display: flex; flex-direction: column; gap: 14px; padding: 0; }
  .funnel-node { position: relative; transform: none; left: 0 !important; top: 0 !important; width: 100%; }
  .funnel-node:hover, .funnel-node:focus-visible { transform: translateY(-2px); }
  .funnel-verbs { display: none; }
}

/* On-dark adjustments */
.on-dark .funnel-node { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.10); }
.on-dark .funnel-node-icon { background: rgba(94,234,212,.10); color: var(--teal-300); }
.on-dark .funnel-node-num { color: var(--night-text-3); }
.on-dark .funnel-node-name { color: var(--night-text); }
.on-dark .funnel-verb { color: var(--night-text); }
.on-dark .funnel-detail-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.10); }
.on-dark .funnel-detail-body { color: var(--night-text); }

/* ========================================================================
   DIRECTION VARIANTS
   ======================================================================== */

/* ---- Direction A — "Composed" (safe, clean, welcoming) ----------------- */
body[data-direction="composed"] {
  --bg: var(--cream);
  --display-weight: 700;
  --display-track: -0.025em;
  --display-leading: 1.06;
}
body[data-direction="composed"] .hero { background: var(--cream); }
body[data-direction="composed"] .hero .hero-bg-grid { opacity: .55; }

/* ---- Direction B — "Training Room" (bolder, premium) ------------------- */
body[data-direction="training-room"] {
  --bg: var(--cream);
  --display-weight: 700;
  --display-track: -0.035em;
  --display-leading: 1.02;
}
body[data-direction="training-room"] .hero.on-dark {
  background: linear-gradient(180deg, #0A0807 0%, #14110F 80%, #1A1614 100%);
}
body[data-direction="training-room"] .hero .h1 { font-size: clamp(52px, 7.5vw, 96px); }
body[data-direction="training-room"] .stat-num { font-size: clamp(56px, 6.8vw, 88px); }
body[data-direction="training-room"] .stakes.on-dark { background: #14110F; }

/* ---- Direction C — "Stillness" (experimental, editorial) --------------- */
body[data-direction="stillness"] {
  --bg: #F7F4EF;
  --surface: var(--paper);
  --display-weight: 600;
  --display-track: -0.04em;
  --display-leading: 1.0;
}
body[data-direction="stillness"] .hero { background: #F7F4EF; padding: 180px 0 100px; }
body[data-direction="stillness"] .hero-grid { grid-template-columns: 1fr; gap: 64px; }
body[data-direction="stillness"] .hero .h1 { font-size: clamp(64px, 9.5vw, 132px); max-width: 14ch; }
body[data-direction="stillness"] .hero-subhead { font-size: clamp(18px, 1.6vw, 22px); max-width: 48ch; }
body[data-direction="stillness"] .hero-mock-wrap { display: grid; grid-template-columns: 1fr; max-width: 920px; margin-left: auto; }
body[data-direction="stillness"] .h2 { font-size: clamp(44px, 6.2vw, 88px); letter-spacing: -.04em; line-height: 1.02; }
body[data-direction="stillness"] .section { padding: 140px 0; }
body[data-direction="stillness"] .reframe { padding: 200px 0; }
body[data-direction="stillness"] .reframe .h2 { font-size: clamp(56px, 8vw, 120px); max-width: 16ch; }
body[data-direction="stillness"] .stat-num { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 500; letter-spacing: -.02em; font-size: clamp(64px, 8vw, 112px); }
body[data-direction="stillness"] .pullquote-display {
  font-family: "Newsreader", "Iowan Old Style", Georgia, serif;
  font-weight: 400; font-style: italic; letter-spacing: -.02em;
}
body[data-direction="stillness"] .step-num { font-family: "Newsreader", "Iowan Old Style", Georgia, serif; font-weight: 400; }
body[data-direction="stillness"] .card { border-radius: 4px; }
body[data-direction="stillness"] .step { border-radius: 4px; }
body[data-direction="stillness"] .price-card { border-radius: 4px; }
body[data-direction="stillness"] .mock-frame { border-radius: 8px; }
body[data-direction="stillness"] .moment { border-radius: 4px; background: var(--paper); }

/* ========================================================================
   Micro-motifs (mantis characteristics: precision, patience, waiting)
   ======================================================================== */
.divider-precision {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 24px 0; color: var(--ink-3);
}
.divider-precision::before, .divider-precision::after {
  content: ""; flex: 1; max-width: 320px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-2), transparent);
}
.divider-precision .mark-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-3); opacity: .5;
}

/* "crosshair" precision marker */
.crosshair {
  width: 22px; height: 22px; position: relative;
  display: inline-block; vertical-align: middle;
}
.crosshair::before, .crosshair::after {
  content: ""; position: absolute; background: currentColor;
}
.crosshair::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-.5px); }
.crosshair::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-.5px); }
.crosshair-circle {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 10px;
  border: 1px solid currentColor; border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Animated subtle "stillness" pulse — for the eyebrow dot */
.pulse-dot {
  position: relative;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .4;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(.7); opacity: .6; }
  60% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
