/* =========================================================
   YUEVA v2 — Dark, modern, longevity-genre
   Geist sans · IBM Plex Mono · sage accent kept from v1
   ========================================================= */
:root {
  /* Surfaces */
  --bg:           #0c0d0c;          /* near-black, slight warm-green undertone */
  --bg-elev:      #131513;          /* card / section lift */
  --bg-elev-2:    #1a1d1a;          /* hover / nested */
  --bg-light:     #f4f3ee;          /* contrast light section */
  --bg-light-2:   #e9e7df;
  --line:         #232623;
  --line-strong:  #2e3230;
  --line-light:   #d8d4c8;

  /* Text */
  --fg:           #f0efe8;          /* warm off-white */
  --fg-muted:     #9a9a93;
  --fg-faint:     #6a6a64;
  --fg-on-light:  #1a1c19;
  --fg-on-light-muted: #5d5f57;

  /* Accent — sage carried from v1, recalibrated for dark */
  --sage:         #B7D0B1;          /* lifted slightly for dark contrast */
  --sage-deep:    #94B49F;
  --sage-pale:    #d6e1cf;
  --sage-glow:    rgba(183, 208, 177, 0.18);

  /* Type */
  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);

  /* Scale — U.S. UX optimal: body 18px, lede 21px, never under 14px.
     Aligns with NN/g + Apple HIG + premium editorial baselines. */
  --fs-display-xl: clamp(3rem, 6.4vw, 6rem);       /* 48 → 96px */
  --fs-display-l:  clamp(2.25rem, 4.6vw, 3.75rem); /* 36 → 60px */
  --fs-display-m:  clamp(1.875rem, 3vw, 2.5rem);   /* 30 → 40px */
  --fs-display-s:  clamp(1.5rem, 2vw, 1.75rem);    /* 24 → 28px */
  --fs-body-l:     1.3125rem;       /* 21px lede */
  --fs-body:       1.125rem;        /* 18px standard body */
  --fs-body-s:     1rem;            /* 16px secondary body */
  --fs-caption:    0.875rem;        /* 14px caption / disclaimers */
  --fs-eyebrow:    0.8125rem;       /* 13px mono eyebrow (tracked uppercase) */

  --lh-display: 1.04;
  --lh-heading: 1.18;
  --lh-body:    1.58;               /* roomy line-height for 18px body */

  --ls-display:   -0.025em;          /* tight display tracking */
  --ls-heading:   -0.015em;
  --ls-eyebrow:   0.14em;
  --ls-mono:      -0.01em;

  /* Layout */
  --space-1:  0.5rem;
  --space-2:  1rem;
  --space-3:  1.5rem;
  --space-4:  2rem;
  --space-5:  3rem;
  --space-6:  4rem;
  --space-7:  6rem;
  --space-8:  8rem;
  --container-max: 1340px;
  --container-text: 680px;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-pill: 999px;

  --hairline:       1px solid var(--line);
  --hairline-strong: 1px solid var(--line-strong);
  --hairline-light: 1px solid var(--line-light);

  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:     220ms;
  --dur-slow: 480ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #ffffff; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'ss02';
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.shell { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(1.25rem, 3vw, 2rem); }
.shell--narrow { max-width: 980px; }

/* ============ Type primitives ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 var(--space-2);
  font-weight: 500;
}
.eyebrow .num { color: var(--sage); }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 var(--space-3);
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--sage);
}

.h-display-xl {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display-xl);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  margin: 0;
  text-wrap: balance;
}
.h-display-l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display-l);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  margin: 0;
  text-wrap: balance;
}
.h-display-m {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display-m);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  margin: 0;
  text-wrap: balance;
}
.h-display-s {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display-s);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  margin: 0;
}
.h-editorial { /* legacy — keep as muted body */
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--fg-muted);
  margin: 0;
}
.lede {
  font-size: var(--fs-body-l);
  color: var(--fg-muted);
  max-width: var(--container-text);
  line-height: var(--lh-body);
}
.text-muted { color: var(--fg-muted); }
.text-faint { color: var(--fg-faint); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-body-s);
  letter-spacing: -0.005em;
  text-transform: none;                          /* dark-mode genre uses sentence case */
  padding: 0.75rem 1.125rem;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: #0c0d0c;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--r-pill);
  line-height: 1;
}
.btn:hover { background: var(--sage-pale); border-color: var(--sage-pale); }
.btn .arrow { font-size: 1rem; transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--bg-elev); border-color: var(--fg-muted); color: var(--fg); }

.btn--on-dark { /* alias kept for v1 markup */
  background: var(--fg);
  color: var(--fg-on-light);
  border-color: var(--fg);
}
.btn--on-dark:hover { background: transparent; color: var(--fg); }

.btn--sage { /* alias kept */
  background: var(--sage); border-color: var(--sage); color: #0c0d0c;
}
.btn--sage:hover { background: var(--sage-pale); border-color: var(--sage-pale); }

.btn--block { width: 100%; }

.btn--link {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  letter-spacing: 0;
  cursor: pointer;
  border-radius: 0;
  text-transform: none;
}
.btn--link:hover { color: var(--sage); border-bottom-color: var(--sage); background: transparent; }

/* ============ Tags ============ */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  color: var(--fg-muted);
  background: rgba(12, 13, 12, 0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  font-weight: 500;
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--sage, .tag--waitlist { border-color: var(--sage); color: var(--sage); background: var(--sage-glow); }
.tag--paid { border-color: var(--sage); color: var(--sage); background: var(--sage-glow); }

/* ============ Pill divider (legacy) ============ */
.pill-divider { display: flex; align-items: center; gap: var(--space-3); color: var(--fg-faint); }
.pill-divider .line { flex: 1; height: 1px; background: var(--line); }
.pill-divider .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }

/* ============ Photo placeholders ============ */
.photo-mat {
  display: block;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.photo-mat--warm, .photo-mat--dark { background: transparent; border: none; }

.photo-placeholder {
  position: relative;
  width: 100%;
  display: flex; align-items: flex-end;
  padding: 16px;
  color: rgba(255,255,255,0.62);
  font-family: var(--font-mono);
  font-size: 0.8125rem;             /* 13px (was 11px) */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  border-radius: var(--r-lg);
}
.photo-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px,
    transparent 1px, transparent 8px
  );
  pointer-events: none;
}
.photo-placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(at 30% 30%, rgba(183, 208, 177, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.photo-placeholder .ph-label { position: relative; z-index: 2; }

/* Photo tones — re-toned for dark UI */
.photo-hero {
  aspect-ratio: 5/6;
  background:
    radial-gradient(at 28% 18%, rgba(220, 200, 170, 0.35), transparent 55%),
    radial-gradient(at 80% 80%, rgba(46,46,45,0.6), transparent 60%),
    linear-gradient(160deg, #8a7e6c 0%, #4d4538 55%, #1f1c17 100%);
}
.photo-egg {
  aspect-ratio: 4/5;
  background:
    radial-gradient(at 70% 25%, rgba(225, 205, 175, 0.4), transparent 55%),
    linear-gradient(180deg, #6c5d4d 0%, #2e2820 100%);
}
.photo-ivf {
  aspect-ratio: 4/5;
  background:
    radial-gradient(at 30% 20%, rgba(180, 200, 210, 0.4), transparent 60%),
    linear-gradient(165deg, #4d5d68 0%, #1d262c 100%);
}
.photo-bio {
  aspect-ratio: 4/5;
  background:
    radial-gradient(at 50% 30%, rgba(220, 220, 210, 0.4), transparent 60%),
    linear-gradient(180deg, #5a564e 0%, #1f1d18 100%);
}
.photo-peri {
  aspect-ratio: 4/5;
  background:
    radial-gradient(at 35% 20%, rgba(230, 210, 180, 0.4), transparent 60%),
    linear-gradient(170deg, #6b5a44 0%, #2a221a 100%);
}
.photo-founder {
  aspect-ratio: 4/5;
  background:
    radial-gradient(at 30% 25%, rgba(230, 215, 190, 0.32), transparent 60%),
    linear-gradient(180deg, #595049 0%, #1f1c18 100%);
}
.photo-guide {
  aspect-ratio: 5/4;
  background:
    linear-gradient(160deg, #7a766c 0%, #2c2a25 100%);
}

/* ============ Nav (white surface, dark type) ============ */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: #ffffff;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: none;
  color: var(--fg-on-light);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: auto;
  min-height: 88px;
  padding-top: clamp(12px, 1.4vw, 20px);
  padding-bottom: clamp(12px, 1.4vw, 20px);
  gap: var(--space-3);
}
.nav .logo-lockup { color: var(--fg-on-light); }
.nav .logo-nav-img {
  display: block;
  height: 56px;
  width: auto;
}
@media (max-width: 640px) {
  .nav .logo-nav-img { height: 44px; }
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg-on-light-muted);
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.nav-links .nav-link {
  padding: 0.625rem 1rem;
  border-radius: var(--r-pill);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-links .nav-link:hover {
  color: var(--fg-on-light);
  background: rgba(0, 0, 0, 0.05);
}
.nav-cta {
  padding: 0.65rem 1.125rem;
  font-size: var(--fs-body);
  border-radius: var(--r-pill);
  /* Inverted on light: dark pill stands out as the primary action */
  background: var(--fg-on-light);
  border-color: var(--fg-on-light);
  color: var(--bg-light);
}
.nav-cta:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: #ffffff;
}
/* ============ Burger button + mobile drawer ============ */
.nav-burger {
  display: none;                       /* hidden on desktop */
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px;
  margin: -10px;                       /* expand hit area without shifting layout */
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  transition: background var(--dur) var(--ease);
}
.nav-burger:hover { background: rgba(0, 0, 0, 0.05); }
.nav-burger:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 2px;
}
.nav-burger__bar {
  display: block;
  width: 22px;
  height: 1.75px;
  background: var(--fg-on-light);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}
/* Animated X when open */
.nav-burger.is-open .nav-burger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.is-open .nav-burger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger.is-open .nav-burger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer + scrim — both hidden on desktop */
.nav-mobile {
  display: none;
}
.nav-mobile__scrim {
  position: fixed;
  inset: 0;
  background: rgba(12, 13, 12, 0.45);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
  z-index: 39;                         /* under .nav (z-40) */
}
.nav-mobile.is-open .nav-mobile__scrim {
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile__panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100dvh;
  background: #ffffff;
  color: var(--fg-on-light);
  padding: clamp(80px, 14vw, 104px) clamp(20px, 5vw, 32px) clamp(24px, 5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: -24px 0 64px -32px rgba(0, 0, 0, 0.28);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 41;                         /* above .nav so the panel covers it */
  overflow-y: auto;
}
.nav-mobile.is-open .nav-mobile__panel {
  transform: translateX(0);
}
.nav-mobile__link {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 5vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: var(--ls-heading);
  color: var(--fg-on-light);
  border-bottom: 1px solid var(--line-light);
  transition: color var(--dur) var(--ease);
}
.nav-mobile__link:hover,
.nav-mobile__link:focus-visible {
  color: var(--sage-deep);
}
.nav-mobile__cta {
  margin-top: clamp(20px, 4vw, 28px);
  align-self: flex-start;
  padding: 0.85rem 1.25rem;
  font-size: var(--fs-body);
  border-radius: var(--r-pill);
}

@media (max-width: 820px) {
  .nav-links { display: none; }        /* hide the whole desktop bar */
  .nav-burger { display: inline-flex; }/* show the burger */
  .nav-mobile { display: block; }      /* enable drawer markup */
}

/* ============ Logo (real YUEVA marks, currentColor) ============ */
.logo-lockup {
  display: inline-flex; align-items: center;
  color: var(--fg);
  line-height: 1;
}
.logo-lockup svg { display: block; flex-shrink: 0; }

/* Nav lockup: icon + wordmark inline, tight gap */
.logo--nav { gap: 9px; }
.logo--nav svg + svg { margin-top: 2px; } /* baseline-align wordmark with circle */

/* Full vertical lockup (footer): icon above wordmark */
.logo--full {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* ============ Section ============ */
.section {
  padding: clamp(4rem, 9vw, 8rem) 0;
  position: relative;
}
.section--bone { background: var(--bg); }       /* aliased to dark */
.section--warm { background: var(--bg-elev); }
.section--paper { background: var(--bg); }
.section--dark { background: var(--bg); }
.section--light {
  background: var(--bg-light);
  color: var(--fg-on-light);
}
.section--light .lede,
.section--light .text-muted { color: var(--fg-on-light-muted); }
.section--light .text-faint { color: #888; }
.section--light .section-eyebrow { color: var(--fg-on-light-muted); }
.section--light .section-eyebrow::before { background: var(--fg-on-light); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  max-width: 880px;
}

/* ============ Hero (dark base + soft mint/cream gradient) ============ */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  margin: clamp(12px, 1.4vw, 20px) clamp(12px, 1.6vw, 24px) clamp(20px, 2.2vw, 32px);
  border-radius: clamp(20px, 2.4vw, 32px);
  overflow: hidden;
  background:
    /* warm cream highlight, top-right */
    radial-gradient(ellipse 70% 55% at 88% 12%, rgba(240, 232, 215, 0.18), transparent 65%),
    /* mint glow, top-left */
    radial-gradient(ellipse 60% 60% at 8% 28%, rgba(183, 208, 177, 0.22), transparent 60%),
    /* deeper mint accent low-left, anchors the eye */
    radial-gradient(circle 700px at 12% 92%, rgba(149, 180, 159, 0.16), transparent 65%),
    /* subtle vertical lift so the bottom isn't pure black */
    linear-gradient(180deg, #0e1110 0%, #0c0d0c 60%, #0a0b0a 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* Soft film-grain / vignette so the gradient doesn't band on big screens */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.45), transparent 60%);
  filter: none;
  z-index: 0;
}
.hero::after {
  /* Hairline color rule at the bottom so the hero ends on a soft mint divider */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 208, 177, 0.35), transparent);
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1rem;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--fg-muted);
}
.hero-meta .sep { color: var(--fg-faint); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-4); }
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: clamp(1.5rem, 2.4vw, 2.25rem);
}
.hero-grid > div:first-child > .h-display-xl { margin-top: 0; }
.hero-grid > div:first-child > .lede {
  margin-top: clamp(1.75rem, 2.6vw, 2.5rem) !important;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(2rem, 3vw, 2.75rem);
}
.hero-cred {
  margin-top: clamp(2rem, 3vw, 2.75rem) !important;
}
.hero-meta {
  margin-top: clamp(1.5rem, 2.4vw, 2.25rem);
}
.hero-eyebrow-row .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 12px var(--sage-glow); }
.hero .h-display-xl {
  font-size: clamp(2rem, 4.2vw, 4rem); /* ~1/3 smaller than the global display-xl */
  font-weight: 400;
  letter-spacing: -0.018em;
}
.hero-media .photo-mat { box-shadow: 0 30px 80px -40px rgba(0,0,0,0.8); }

/* v2: framed editorial portrait, sitting on the gradient as foreground */
.hero-figure {
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 40px 100px -50px rgba(0,0,0,0.9);
}
.hero-figure::after {
  /* Subtle bottom vignette so the photo's lower edge has a soft anchor
     without losing the foreground "card" feel. */
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(12,13,12,0.45) 100%),
    linear-gradient(90deg, rgba(12,13,12,0.18), rgba(0,0,0,0) 25%);
  z-index: 1;
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(0.95) contrast(1.02);
}
.hero-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(240, 239, 232, 0.78);
}
.hero-caption__rule {
  flex: 1; max-width: 80px;
  height: 1px; background: rgba(240, 239, 232, 0.35);
}
@media (max-width: 880px) {
  .hero-figure { max-width: 520px; margin: 0 auto; }
}
.hero-stats {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  position: relative;
  z-index: 1;
}

/* Marquee variant — continuous right-to-left scroll, seamless loop */
.hero-stats-shell {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  z-index: 1;
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}
.hero-stats-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  /* Fade edges so items "disappear" and "reappear" softly */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.hero-stats-track {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  animation: hero-marquee 32s linear infinite;
  will-change: transform;
}
.hero-stats-marquee:hover .hero-stats-track { animation-play-state: paused; }
.hero-stats-track .hero-stat {
  flex: 0 0 auto;
  min-width: 280px;
  border-right: var(--hairline);
  border-bottom: none;
  padding: var(--space-3) var(--space-4);
}
.hero-stats-track .hero-stat__num {
  white-space: nowrap;
}
@keyframes hero-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stats-track { animation: none; }
  .hero-stats-marquee { overflow-x: auto; }
}
.hero-stat {
  padding: var(--space-3) var(--space-2);
  border-right: var(--hairline);
}
.hero-stat:last-child { border-right: none; }
.hero-stat__num {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.875rem;              /* 30px */
  letter-spacing: var(--ls-display);
  color: var(--fg);
  line-height: 1;
  margin: 0 0 8px;
}
.hero-stat__num .accent { color: var(--sage); }
.hero-stat__label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(-n+2) { border-bottom: var(--hairline); }
  .hero-stats-track .hero-stat { min-width: 240px; padding: var(--space-2) var(--space-3); }
  .hero-stats-track { animation-duration: 26s; }
}

/* ============ Problem ("The Gap" — white surface, editorial portrait right) ============ */
.problem {
  background: #ffffff;
  color: #0c0d0c;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  border-top: none;
}
.problem .section-eyebrow { color: #5d5f57; }
.problem .section-eyebrow::before { background: #0c0d0c; }
.problem-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.problem-text { max-width: 620px; }
.problem-text .h-display-l { color: #0c0d0c; margin-top: var(--space-3); }
.problem-callout {
  margin-top: clamp(2rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem); /* 20 → 24px */
  line-height: 1.45;
  color: #0c0d0c;
  letter-spacing: var(--ls-heading);
  font-weight: 400;
  text-wrap: pretty;
}
.problem-pull {
  margin-top: clamp(1.5rem, 2.4vw, 2rem);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: #5d5f57;
  font-weight: 400;
}
.problem-media {
  position: relative;
  align-self: stretch;
  min-height: 480px;
}
.problem-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: cover;
  object-position: center right;
  border-radius: clamp(16px, 1.8vw, 24px);
}
@media (max-width: 880px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-media { min-height: 320px; }
  .problem-media img { max-height: 520px; }
}

/* ============ Topic cards (dark cards, rounded) ============ */
.topics { background: var(--bg); }
.topics-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-5);
}
@media (max-width: 880px) {
  .topics-head { grid-template-columns: 1fr; }
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (max-width: 880px) {
  .topics-grid { grid-template-columns: 1fr; }
}

.topic-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg-elev);
  border: var(--hairline);
  border-radius: var(--r-lg);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.topic-card:hover { border-color: var(--line-strong); background: var(--bg-elev-2); }
.topic-card__media {
  position: relative;
  padding: 10px 10px 0;
}
.topic-card__media .photo-placeholder { aspect-ratio: 16/9; }
.topic-card__media .tag-row {
  position: absolute; top: 22px; left: 22px; right: 22px;
  display: flex; justify-content: space-between; gap: 8px;
}
.topic-card__body { padding: var(--space-3) var(--space-3) var(--space-2); display: flex; flex-direction: column; gap: 12px; }
.topic-card__num {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-faint);
  margin: 0;
}
.topic-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: var(--ls-heading);
  line-height: 1.15;
  margin: 0;
  color: var(--fg);
}
.topic-card__copy {
  font-size: var(--fs-body-s);
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}
.topic-card__best {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--fs-body-s);
  color: var(--fg-muted);
  margin: 0;
  padding-top: var(--space-2);
  border-top: var(--hairline);
}
.topic-card__best strong { font-weight: 500; color: var(--fg); }
.topic-card__foot {
  padding: var(--space-3);
  border-top: var(--hairline);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-2);
  background: rgba(0,0,0,0.2);
}
.topic-card__price {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-faint);
}
.topic-card__cta {
  font-family: var(--font-sans);
  font-size: var(--fs-body-s);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sage);
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.topic-card__cta:hover { color: var(--sage-pale); }
.topic-card__cta--sage { color: var(--sage); }
.topic-card__micro {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-faint);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.topic-card__micro:hover { color: var(--sage); }

.scope-note {
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  border-left: 2px solid var(--sage);
  background: var(--bg-elev);
  color: var(--fg-muted);
  font-size: var(--fs-body-s);
  line-height: 1.6;
  max-width: 820px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.scope-note strong { color: var(--fg); font-weight: 500; }

/* ============ Steps (how it works) ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.step {
  padding: var(--space-4);
  background: transparent;
  border: var(--hairline-light);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: var(--space-2);
  position: relative;
}
.section--light .step { border: var(--hairline-light); background: rgba(255,255,255,0.4); }
.step__num {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
}
.step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;              /* 22px */
  letter-spacing: var(--ls-heading);
  color: var(--fg-on-light);
  margin: 0;
  line-height: 1.2;
}
.step__copy {
  font-size: var(--fs-body-s);
  color: var(--fg-on-light-muted);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============ Studies (editorial research index) ============ */
.studies { padding: clamp(4rem, 9vw, 8rem) 0; }
.studies-head { max-width: 760px; margin-bottom: var(--space-5); }

.studies-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* Each card is itself a 2-column composition: image | text (or flipped) */
.study-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  background: var(--bg-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  min-height: 320px;
  transition: background var(--dur) var(--ease);
}
.study-card:nth-child(2n) { border-right: none; }

/* Flip composition for cards with image on the right */
.study-card[data-img="right"] .study-card__mat { order: 2; }
.study-card[data-img="right"] .study-card__body { order: 1; }

/* Image side */
.study-card__mat {
  margin: 0;
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.study-card__img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #ffffff;
}

/* Text side */
.study-card__body {
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-3);
  display: flex; flex-direction: column;
  gap: var(--space-3);
}
.study-card[data-img="right"] .study-card__body {
  padding: var(--space-4) var(--space-3) var(--space-4) var(--space-4);
}

.study-card__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
  margin: 0;
  display: inline-flex; align-items: center; gap: 10px;
}
.study-card__dot { color: var(--fg-on-light-muted); }

.study-card__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: var(--ls-heading);
  color: var(--fg-on-light);
  margin: 0;
  text-wrap: balance;
  flex: 1;
}

.study-card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-on-light);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--fg-on-light);
  align-self: flex-start;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.study-card__cta span { transition: transform var(--dur) var(--ease); }
.study-card:hover { background: rgba(255, 255, 255, 0.5); }
.study-card:hover .study-card__cta span { transform: translateX(4px); }
.study-card:hover .study-card__cta { color: var(--sage-deep); border-bottom-color: var(--sage-deep); }

.studies-foot {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
  text-align: center;
  margin: var(--space-4) auto 0;
  max-width: 720px;
}

@media (max-width: 880px) {
  .studies-grid { grid-template-columns: 1fr; }
  .study-card { border-right: none; }
  .study-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .study-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .study-card[data-img="right"] .study-card__mat { order: 1; }
  .study-card[data-img="right"] .study-card__body { order: 2; }
  .study-card__mat { padding: var(--space-2); }
  .study-card__body,
  .study-card[data-img="right"] .study-card__body {
    padding: var(--space-3) var(--space-3) var(--space-4);
  }
  .study-card__img { aspect-ratio: 4 / 3; }
}
.boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.boundary__col {
  padding: var(--space-4);
  background: var(--bg-elev);
  border: var(--hairline);
  border-radius: var(--r-lg);
}
.boundary__col + .boundary__col { border-left: var(--hairline); }
.boundary__col--do { border-top: 1px solid var(--sage); }
.boundary__col--dont { border-top: 1px solid var(--line-strong); }
.boundary__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.boundary__col--do .boundary__label { color: var(--sage); }
.boundary__col--dont .boundary__label { color: var(--fg-muted); }
.boundary__label .bar { width: 16px; height: 1px; background: currentColor; }
.boundary__head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;                /* 24px */
  letter-spacing: var(--ls-heading);
  margin: 0 0 var(--space-3);
  color: var(--fg);
}
.boundary__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.boundary__list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: var(--fs-body-s);
  line-height: 1.55;
  color: var(--fg);
}
.boundary__col--dont .boundary__list li { color: var(--fg-muted); }
.boundary__list li::before {
  content: "+";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  color: var(--sage);
  font-weight: 500;
}
.boundary__col--dont .boundary__list li::before {
  content: "—";
  color: var(--fg-faint);
}
@media (max-width: 720px) {
  .boundary { grid-template-columns: 1fr; }
}

/* ============ Lead magnet ============ */
.lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.lead-form { display: flex; flex-direction: column; gap: var(--space-3); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
  font-weight: 500;
}
.section--dark .field label,
.section--bone .field label,
.section--warm .field label { color: var(--fg-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.6);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--fg-on-light);
  outline: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  border-radius: var(--r-md);
  -webkit-appearance: none;
  appearance: none;
}
.section--dark .field input,
.section--dark .field select,
.section--dark .field textarea,
.section--bone .field input,
.section--bone .field select,
.section--bone .field textarea,
.section--warm .field input,
.section--warm .field select,
.section--warm .field textarea {
  background: var(--bg-elev);
  border-color: var(--line-strong);
  color: var(--fg);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--sage);
  background: rgba(255,255,255,0.85);
}
.section--dark .field input:focus,
.section--bone .field input:focus,
.section--warm .field input:focus,
.section--dark .field select:focus,
.section--bone .field select:focus,
.section--warm .field select:focus { background: var(--bg-elev-2); }
.field input::placeholder { color: var(--fg-faint); }
.field--invalid input, .field--invalid select { border-color: #c47b7b; }
.field-error {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: #c47b7b;
  margin-top: 2px;
}
.field-help {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-top: 2px;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
}

.checkbox {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
  font-size: var(--fs-body-s);
  color: var(--fg-on-light);
  line-height: 1.5;
}
.section--dark .checkbox, .section--bone .checkbox, .section--warm .checkbox { color: var(--fg); }
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox .box {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1px solid var(--line-light);
  background: white;
  margin-top: 2px;
  position: relative;
  border-radius: 4px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.section--dark .checkbox .box,
.section--bone .checkbox .box,
.section--warm .checkbox .box { background: var(--bg-elev); border-color: var(--line-strong); }
.checkbox input:checked + .box { background: var(--sage); border-color: var(--sage); }
.checkbox input:checked + .box::after {
  content: "";
  position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #0c0d0c;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.checkbox .link-inline { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 3px; }
.section--light .checkbox .link-inline { text-decoration-color: rgba(0,0,0,0.3); }
.checkbox .link-inline:hover { text-decoration-color: var(--sage); }

.success {
  border: var(--hairline);
  background: var(--bg-elev);
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-2);
  border-radius: var(--r-lg);
  color: var(--fg);
}
.section--light .success { background: white; border: var(--hairline-light); color: var(--fg-on-light); }
.success__mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-flex; align-items: center; justify-content: center;
  color: #0c0d0c;
  font-size: 14px;
  font-weight: 600;
}

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

/* ============ Expert ============ */
.expert {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.expert-domains {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.expert-domain {
  padding: var(--space-3);
  border: var(--hairline);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-elev);
}
.expert-domain__num {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--sage);
}
.expert-domain__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: var(--ls-heading);
  color: var(--fg);
  line-height: 1.3;
}
@media (max-width: 720px) {
  .expert { grid-template-columns: 1fr; }
  .expert-domains { grid-template-columns: 1fr; }
}

/* ============ Founder ============ */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.founder-card {
  padding: var(--space-4);
  border: var(--hairline);
  background: var(--bg-elev);
  border-radius: var(--r-lg);
}
.founder-card + .founder-card { margin-top: var(--space-3); }
.founder-card__role {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 8px;
}
.founder-card__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-display-s);    /* 24 → 28px, token-based for consistency */
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-heading);
  margin: 0 0 var(--space-2);
  color: var(--fg);
}
.founder-card__copy {
  font-size: var(--fs-body);          /* 18px — matches site body scale */
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 880px) {
  .founder { grid-template-columns: 1fr; }
}

/* ============ Closing strip ============
   Boxed dark card with rounded corners + inset margins to match
   the hero / founder-section / testimonials treatment. */
.closing {
  background:
    radial-gradient(circle at 20% 40%, var(--sage-glow), transparent 50%),
    var(--bg);
  color: var(--fg);
  margin: clamp(12px, 1.4vw, 20px) clamp(12px, 1.6vw, 24px) clamp(20px, 2.2vw, 32px);
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}
.closing-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.closing h2 { color: var(--fg); }
.closing .text-muted { color: var(--fg-muted); }
.closing .btn--on-dark { background: var(--sage); color: #0c0d0c; border-color: var(--sage); }
.closing .btn--on-dark:hover { background: var(--sage-pale); border-color: var(--sage-pale); }
.closing .btn--ghost { color: var(--fg); border-color: var(--line-strong); }
.closing .btn--ghost:hover { background: var(--bg-elev); border-color: var(--fg-muted); }
@media (max-width: 720px) {
  .closing-grid { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.footer {
  background: var(--bg);
  color: var(--fg);
  padding: clamp(3rem, 6vw, 5rem) 0 var(--space-4);
  border-top: var(--hairline);
}
.footer a { color: var(--fg-muted); transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--sage); }
.footer-wordmark {
  display: block;
  height: 44px;
  width: auto;
}
.footer .footer-wordmark-link {
  display: inline-block;
  transition: opacity var(--dur) var(--ease);
}
.footer .footer-wordmark-link:hover,
.footer .footer-wordmark-link:focus-visible { opacity: 0.75; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: var(--hairline);
  margin-bottom: var(--space-4);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 500;
  margin: 0 0 var(--space-2);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: var(--fs-body-s); }
.footer-disclaimer {
  font-size: var(--fs-caption);
  color: var(--fg-faint);
  /* Span the width of the first two footer-grid columns (1.6fr + 1fr of 1.6fr+1fr+1fr) plus the gap between them */
  max-width: calc((100% - 2 * var(--space-5)) * 2.6 / 3.6 + var(--space-5));
  line-height: 1.6;
  margin-top: var(--space-3);
}
.footer-disclaimer strong { color: var(--fg); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  font-size: var(--fs-caption);
  color: var(--fg-faint);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.footer-bottom .links { display: flex; gap: var(--space-3); }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ Cookie ============ */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 60;
  max-width: 540px;
  background: var(--bg-elev);
  border: var(--hairline);
  padding: var(--space-3);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.8);
  display: grid;
  gap: var(--space-2);
  font-size: var(--fs-body-s);
  color: var(--fg);
  border-radius: var(--r-lg);
}
.cookie__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;              /* 18px */
  margin: 0;
  letter-spacing: var(--ls-heading);
}
.cookie__copy {
  font-size: var(--fs-caption);
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}
.cookie__copy a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie .btn { padding: 0.55rem 0.875rem; font-size: var(--fs-caption); }
.cookie .btn--link { padding: 0; font-size: var(--fs-eyebrow); }

/* ============ Modal ============ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-3);
  animation: fadein 0.2s var(--ease);
}
.modal {
  background: var(--bg-elev);
  width: 100%;
  max-width: 520px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  border: var(--hairline);
  border-radius: var(--r-lg);
  max-height: 92vh;
  overflow-y: auto;
  color: var(--fg);
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: transparent; border: none; cursor: pointer;
  font-size: 1.25rem; color: var(--fg-muted);
  line-height: 1;
  border-radius: var(--r-pill);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.modal__close:hover { color: var(--fg); background: var(--bg-elev-2); }
.modal__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 var(--space-2);
  font-style: normal;
}
.modal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.875rem;              /* 30px */
  line-height: 1.18;
  letter-spacing: var(--ls-display);
  margin: 0 0 var(--space-2);
}
.modal__copy {
  color: var(--fg-muted);
  font-size: var(--fs-body-s);
  margin: 0 0 var(--space-3);
}
.modal .lead-form .field input,
.modal .lead-form .field select { background: var(--bg); border-color: var(--line-strong); color: var(--fg); }
.modal .lead-form .field label { color: var(--fg-muted); }
.modal .checkbox { color: var(--fg); }
.modal .checkbox .box { background: var(--bg); border-color: var(--line-strong); }

@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ Hero credibility row ============ */
.hero-cred {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.hero-cred li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0;
}
.hero-cred li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-block;
}

/* ============ Symptom recognition (coverflow carousel) ============ */
.symptom {
  padding: clamp(4rem, 9vw, 8rem) 0;
  overflow: hidden;
  margin: clamp(12px, 1.4vw, 20px) clamp(12px, 1.6vw, 24px);
  border-radius: clamp(20px, 2.4vw, 32px);
}
.symptom-shell {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.symptom-head { max-width: 620px; }

/* Coverflow stage */
.symptom-coverflow {
  position: relative;
  width: 100%;
  min-width: 0;
  outline: none;
}
.coverflow-stage {
  position: relative;
  height: clamp(420px, 50vw, 580px);
  perspective: 1800px;
  transform-style: preserve-3d;
}
/* All 4 cards visible in a fan, active in front; the rest fan out behind */
.coverflow-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(260px, 55%, 380px);
  height: 90%;
  margin: 0;
  border-radius: var(--r-lg);
  background: #1a1d1a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transform-origin: center center;
  transform: translate(-50%, -50%) translateX(0) translateZ(0) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 5;
  transition:
    transform 600ms var(--ease),
    opacity 600ms var(--ease),
    box-shadow 600ms var(--ease),
    filter 600ms var(--ease);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    0 24px 48px -20px rgba(0, 0, 0, 0.20),
    0 56px 100px -40px rgba(0, 0, 0, 0.28);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}
.coverflow-card[data-offset="-1"] {
  transform: translate(-50%, -50%) translateX(-32%) translateZ(-120px) rotateY(16deg) scale(0.86);
  opacity: 0.92;
  z-index: 4;
  filter: saturate(0.9) brightness(0.92);
  box-shadow:
    0 14px 28px -14px rgba(0, 0, 0, 0.18),
    0 32px 56px -24px rgba(0, 0, 0, 0.22);
}
.coverflow-card[data-offset="1"] {
  transform: translate(-50%, -50%) translateX(32%) translateZ(-120px) rotateY(-16deg) scale(0.86);
  opacity: 0.92;
  z-index: 4;
  filter: saturate(0.9) brightness(0.92);
  box-shadow:
    0 14px 28px -14px rgba(0, 0, 0, 0.18),
    0 32px 56px -24px rgba(0, 0, 0, 0.22);
}
.coverflow-card[data-offset="-2"] {
  transform: translate(-50%, -50%) translateX(-58%) translateZ(-240px) rotateY(26deg) scale(0.72);
  opacity: 0.6;
  z-index: 3;
  filter: saturate(0.7) brightness(0.85);
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.20);
}
.coverflow-card[data-offset="2"] {
  transform: translate(-50%, -50%) translateX(58%) translateZ(-240px) rotateY(-26deg) scale(0.72);
  opacity: 0.6;
  z-index: 3;
  filter: saturate(0.7) brightness(0.85);
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.20);
}
.coverflow-card[data-offset="-3"],
.coverflow-card[data-offset="3"] {
  transform: translate(-50%, -50%) translateX(0) translateZ(-420px) rotateY(0deg) scale(0.5);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.coverflow-card.is-active {
  cursor: default;
  /* Flatten the active card out of the 3D pipeline so text rasterizes sharp.
     Inactive cards keep their preserve-3d transforms for the fan effect. */
  transform-style: flat;
  transform: translate(-50%, -50%);
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}
.coverflow-card.is-active .coverflow-card__panel,
.coverflow-card.is-active .coverflow-card__title,
.coverflow-card.is-active .coverflow-card__list,
.coverflow-card.is-active .coverflow-card__list li {
  transform: none;
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
}

/* Image fills entire card. */
.coverflow-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #1a1d1a;
  display: block;
}
/* Dark gradient overlay so the bottom of the image always reads under white text */
.coverflow-card__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0,0,0,0)   0%,
    rgba(0,0,0,0)  40%,
    rgba(0,0,0,0.55) 72%,
    rgba(0,0,0,0.85) 100%);
}
.coverflow-card__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-4);
  color: #ffffff;
  display: flex; flex-direction: column; gap: 14px;
  z-index: 2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.coverflow-card__title,
.coverflow-card__list li {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.coverflow-card__title {
  /* Always-readable label chip */
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: var(--ls-heading);
  line-height: 1.18;
  color: var(--fg-on-light);
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.coverflow-card__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.coverflow-card__list li {
  font-size: var(--fs-body-s);
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.coverflow-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 8px var(--sage-glow);
}

/* Controls (re-used styles) */
.symptom-controls {
  margin-top: var(--space-4);
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-3);
}
.symptom-nav {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: transparent;
  color: var(--fg-on-light);
  font-size: 1.125rem;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.symptom-nav:hover {
  background: var(--fg-on-light);
  color: var(--bg-light);
  border-color: var(--fg-on-light);
}
.symptom-nav:active { transform: scale(0.96); }

.symptom-dots {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; align-items: center; gap: 10px;
}
.symptom-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
.symptom-dot:hover { background: rgba(0, 0, 0, 0.4); }
.symptom-dot.is-active {
  background: var(--sage-deep);
  width: 22px;
  border-radius: 4px;
}

/* CTA below the headline column */
.symptom-head .symptom-cta {
  margin-top: var(--space-4);
  display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center;
}
.symptom-cta .btn {
  background: var(--fg-on-light);
  border-color: var(--fg-on-light);
  color: var(--bg-light);
}
.symptom-cta .btn:hover {
  background: transparent;
  color: var(--fg-on-light);
}
.symptom-cta__note {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
  margin: 0;
}

@media (max-width: 980px) {
  .symptom-shell { grid-template-columns: 1fr; }
  .symptom-head { max-width: 100%; }
  .coverflow-stage { height: clamp(420px, 90vw, 540px); }
  .coverflow-card { width: clamp(260px, 70%, 380px); }
}
@media (max-width: 560px) {
  .coverflow-card { width: clamp(240px, 78%, 320px); height: 88%; }
  .coverflow-card__panel { padding: var(--space-3); }
  .coverflow-card__title { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .coverflow-card { transition: opacity var(--dur) var(--ease); }
}

/* ============ Clarity Session block ============ */
.clarity {
  padding: clamp(4rem, 9vw, 8rem) 0;
  margin: clamp(12px, 1.4vw, 20px) clamp(12px, 1.6vw, 24px);
  border-radius: clamp(20px, 2.4vw, 32px);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, var(--sage-glow), transparent 55%),
    var(--bg);
  border-top: var(--hairline);
}
.clarity-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.clarity-lede {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.clarity-lede > * + * { margin-top: clamp(1.25rem, 1.8vw, 1.75rem); }
/* Push the price block (and everything after it) to the bottom of the
   left column so it baselines with the "Best for" card on the right. */
.clarity-lede .clarity-price { margin-top: auto; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.clarity-meta {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--sage);
}
.clarity-subnote {
  margin: var(--space-3) 0 0;
  padding-top: var(--space-2);
  border-top: var(--hairline);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-faint);
}
.clarity-price {
  margin: var(--space-4) 0 var(--space-3);
  display: flex; align-items: baseline; gap: 14px;
  flex-wrap: wrap;
}
.clarity-price__num {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: var(--ls-display);
  color: var(--sage);
  line-height: 1;
}
.clarity-price__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.clarity-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-2); }
.clarity-note {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: var(--hairline);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-faint);
}
.clarity-cards {
  display: grid; gap: var(--space-3);
}
.clarity-card {
  padding: var(--space-4);
  background: var(--bg-elev);
  border: var(--hairline);
  border-radius: var(--r-lg);
}
.clarity-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 var(--space-3);
}
.clarity-card__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.clarity-card__list li {
  padding-left: 22px; position: relative;
  font-size: var(--fs-body-s);      /* now 16px via token */
  color: var(--fg);
  line-height: 1.55;
}
.clarity-card__list li::before {
  content: "+";
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono);
  color: var(--sage);
  font-weight: 500;
}
.clarity-card__list--soft li { color: var(--fg-muted); }
.clarity-card__list--soft li::before { content: "·"; color: var(--fg-faint); font-size: 1.25rem; line-height: 1; top: 2px; }

/* "You leave with" deliverables table */
.clarity-card--table { padding: 0; overflow: hidden; }
.clarity-card--table .clarity-card__label {
  padding: var(--space-4) var(--space-4) 0;
  margin-bottom: var(--space-3);
}
.clarity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-body-s);
  color: var(--fg);
}
.clarity-table thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-faint);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  padding: 10px var(--space-3);
}
.clarity-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--fg);
  font-family: var(--font-sans);
  padding: 14px var(--space-3);
  vertical-align: top;
  width: 48%;
  line-height: 1.45;
}
.clarity-table tbody td {
  color: var(--fg-muted);
  padding: 14px var(--space-3);
  vertical-align: top;
  line-height: 1.55;
  border-left: var(--hairline);
}
.clarity-table tbody tr + tr th,
.clarity-table tbody tr + tr td {
  border-top: var(--hairline);
}
@media (max-width: 560px) {
  .clarity-table tbody th { width: 42%; padding: 12px var(--space-2); }
  .clarity-table tbody td { padding: 12px var(--space-2); }
  .clarity-table thead th { padding: 8px var(--space-2); }
  .clarity-card--table .clarity-card__label { padding: var(--space-3) var(--space-3) 0; }
}
@media (max-width: 880px) {
  .clarity-grid { grid-template-columns: 1fr; }
}

/* ============ Guide inside list ============ */
.guide-inside {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.guide-inside li {
  padding-left: 24px;
  position: relative;
  font-size: var(--fs-body-s);      /* now 16px */
  color: var(--fg-on-light);
  line-height: 1.6;
}
.section--warm .guide-inside li { color: var(--fg); }
.guide-inside li::before {
  content: "+";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--sage);
}

/* ============ Full success state (guide) ============ */
.success--full {
  background: var(--bg-elev);
  border-color: var(--line-strong);
}
.success__next {
  margin: 0;
  color: var(--fg-muted);
  font-size: var(--fs-body-s);
  line-height: 1.55;
}
.success__ctas {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: var(--space-2) 0;
}
.journey-head { max-width: 720px; margin: 0 auto; text-align: center; align-items: center; }
.journey-head .section-eyebrow { justify-content: center; }
.journey-ladder {
  list-style: none;
  padding: 0;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.journey-step {
  position: relative;
  padding: var(--space-4);
  background: rgba(255,255,255,0.5);
  border: var(--hairline-light);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.journey-step:hover {
  transform: translateY(-3px);
  background: white;
  border-color: rgba(0,0,0,0.18);
}
.journey-step__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 4px;
}
.journey-step__num {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
}
.journey-step__pill {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--sage);
  color: #0c0d0c;
  font-weight: 500;
}
.journey-step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: var(--ls-heading);
  color: var(--fg-on-light);
  margin: 0;
}
.journey-step__copy {
  font-size: var(--fs-body-s);
  color: var(--fg-on-light-muted);
  line-height: 1.55;
  margin: 0;
}
.journey-step__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans);
  font-size: var(--fs-body-s);
  font-weight: 500;
  color: var(--fg-on-light);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.journey-step__cta:hover { color: #5d7d62; border-bottom-color: #5d7d62; }
.journey-step__arrow {
  position: absolute;
  top: 50%;
  right: -16px;
  width: 10px; height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid rgba(0,0,0,0.22);
  border-right: 1px solid rgba(0,0,0,0.22);
  z-index: 2;
  background: transparent;
}
.journey-foot {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
}
@media (max-width: 1080px) {
  .journey-ladder { grid-template-columns: 1fr 1fr; }
  .journey-step:nth-child(2) .journey-step__arrow { display: none; }
}
@media (max-width: 620px) {
  .journey-ladder { grid-template-columns: 1fr; }
  .journey-step__arrow { display: none; }
}

/* ============ Trust signals strip ============ */
.trust {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--bg);
  border-bottom: var(--hairline);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.trust-stat {
  padding: var(--space-3) var(--space-4);
  border: var(--hairline);
  border-radius: var(--r-lg);
  background: var(--bg-elev);
}
.trust-stat__num {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: var(--ls-display);
  color: var(--fg);
  line-height: 1;
  margin: 0 0 8px;
}
.trust-stat__num .accent { color: var(--sage); }
.trust-stat__label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ============ Testimonials ============ */
.testimonials {
  /* Boxed dark surface with rounded corners, matching the hero
     and guide-section treatment. */
  background: var(--bg);
  color: var(--fg);
  margin: clamp(12px, 1.4vw, 20px) clamp(12px, 1.6vw, 24px);
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: none;
  overflow: hidden;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.testimonial {
  /* Warm bone-grey card from the styleguide palette. */
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  color: var(--fg-on-light);
  /* Subtle scale-up on hover, restrained per styleguide motion rules. */
  transition:
    transform 320ms var(--ease),
    background 320ms var(--ease),
    border-color 320ms var(--ease),
    box-shadow 320ms var(--ease);
}
.testimonial:hover {
  transform: scale(1.02) translateY(-2px);
  background: #ffffff;
  border-color: var(--sage-pale);
  box-shadow: 0 18px 40px -24px rgba(12, 13, 12, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .testimonial,
  .testimonial:hover { transform: none; transition: none; }
}
.testimonial__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1875rem;             /* 19px */
  line-height: 1.55;
  color: var(--fg-on-light);
  margin: 0;
  letter-spacing: var(--ls-heading);
  text-wrap: pretty;
}
.testimonial__quote::before {
  content: "";
  display: block;
  width: 18px; height: 1px;
  background: var(--sage-deep);
  margin-bottom: var(--space-2);
}
.testimonial__attr {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
  margin: 0;
}
.testimonial__attr strong { color: var(--fg-on-light); font-weight: 500; }
@media (max-width: 880px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}


/* =========================================================
   TYPE ALIGNMENT HELPERS
   Minimal class rules to back the JSX strip of inline
   fontSize / width / textAlign / color overrides. Every rule
   below replaces a specific inline style that was previously
   hand-set on a per-element basis. Goal: lock every component
   to the six type tokens defined at the top of this file.
   ========================================================= */

/* TYPE FIX — Hero
   Replaces inline color:rgb(255,255,255) on .eyebrow/.lede/.hero-cred and
   inline fontSize:19px on the lede. Color uses 0.78-0.86 alpha for proper
   contrast over the dark gradient without being pure-white blowout. */
.hero .hero-eyebrow {
  margin: 0;
  color: rgba(240, 239, 232, 0.78);
}
.hero .hero-lede {
  /* token --fs-body-l = 21px (was inline 19px) */
  font-size: var(--fs-body-l);
  color: rgba(240, 239, 232, 0.82);
  margin-top: clamp(1.5rem, 2.4vw, 2rem);
  max-width: 56ch;
}
.hero .hero-cred { color: rgba(240, 239, 232, 0.72); }

/* TYPE FIX — Symptom section
   Replaces inline width:750px (broke mobile) and textAlign:justify
   (per styleguide: left-aligned body). */
.symptom-head { max-width: 620px; }
.symptom-head .h-display-l { margin-top: var(--space-3); }
.symptom-head__lede {
  margin-top: 1rem;
  text-align: left;
}

/* TYPE FIX — Coverflow card title
   Replaces inline fontSize:18 / fontWeight:400. Card title sized via
   --fs-body-l (21px) with styleguide weight 500. */
.coverflow-card__title {
  font-size: var(--fs-body-l);
  font-weight: 500;
}

/* TYPE FIX — Problem "The Gap"
   Replaces inline fontSize:18 / color:rgb(93,95,87) / textAlign:justify
   on .problem-callout, and inline textAlign:justify / fontWeight:500
   on .problem-pull. Sizes routed through tokens; left-aligned per styleguide. */
.problem-callout {
  font-family: var(--font-display);
  font-weight: 400;
  /* matches --fs-display-s curve but tuned slightly down for body callouts */
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: #0c0d0c;
  letter-spacing: var(--ls-heading);
  text-align: left;
  text-wrap: pretty;
}
.problem-pull {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--fg-on-light-muted);
  font-weight: 400;
  text-align: left;
}

/* TYPE FIX — Clarity section
   Replaces inline color:rgb(255,255,255) on lede/subnote/price meta/list
   and inline fontWeight:500 on meta/card label. Routes through tokens. */
.clarity-meta {
  font-weight: 500;
  font-size: var(--fs-body);
  margin: 8px 0 0;
}
.clarity-lede__body {
  margin-top: 1.25rem;
  color: rgba(240, 239, 232, 0.86);
}
.clarity-subnote { color: rgba(240, 239, 232, 0.72); }
.clarity-price__meta { color: rgba(240, 239, 232, 0.72); }
.clarity-card__list--soft,
.clarity-card__list--soft li { color: rgba(240, 239, 232, 0.86); }


/* =========================================================
   GUIDE PAGE — boxed dark section sitting on the white body bg.
   Two-column layout: copy + CTA on the left, full cover image on the right.
   ========================================================= */
.guide-section {
  background: var(--bg);
  color: var(--fg);
  margin: clamp(12px, 1.4vw, 20px) clamp(12px, 1.6vw, 24px) clamp(20px, 2.2vw, 32px);
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: clamp(3rem, 7vw, 6rem) 0;
  overflow: hidden;
}
.guide-section .section-eyebrow { color: var(--fg-muted); }
.guide-section .section-eyebrow::before { background: var(--sage); }
.guide-section .lede,
.guide-section .guide-lede { color: var(--fg-muted); }
.guide-section .guide-inside li { color: var(--fg); }
.guide-section .guide-form-note { color: var(--fg-faint); }


/* =========================================================
   ABOUT PAGE — founders portrait
   White boxed section sitting inset on the surrounding bg,
   rounded corners matching the hero treatment.
   ========================================================= */
.founder-section {
  background: #ffffff;
  color: var(--fg-on-light);
  margin: clamp(12px, 1.4vw, 20px) clamp(12px, 1.6vw, 24px) clamp(20px, 2.2vw, 32px);
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: clamp(3rem, 7vw, 6rem) 0;
  overflow: hidden;
}
.founder-section .section-eyebrow { color: var(--fg-on-light-muted); }
.founder-section .section-eyebrow::before { background: var(--sage-deep); }
.founder-section .h-display-l,
.founder-section .founder-subhead { color: var(--fg-on-light); }
.founder-section .lede,
.founder-section .founder-lede { color: var(--fg-on-light-muted); }
.founder-section .founder-card {
  background: var(--bg-light);
  border-color: var(--line-light);
}
.founder-section .founder-card__role { color: var(--sage-deep); }
.founder-section .founder-card__name { color: var(--fg-on-light); }
.founder-section .founder-card__copy { color: var(--fg-on-light-muted); }
.founder-section .founder-approach { border-top-color: var(--line-light); }
.founder-media {
  position: relative;
  align-self: stretch;
}
.founder-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-lg);
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.7),
    0 12px 24px -16px rgba(0, 0, 0, 0.3);
}
@media (max-width: 880px) {
  .founder-img { max-height: 520px; }
}

/* New About content blocks — founder bio paragraphs, founders grid, approach */
.founder-copy { max-width: 620px; }
.founder-copy .h-display-l { margin-top: 16px; }
.founder-subhead {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-body-l);
  line-height: 1.45;
  color: var(--fg);
  letter-spacing: var(--ls-heading);
}
.founder-lede {
  margin-top: 16px;
}
.founder-lede + .founder-lede { margin-top: 12px; }

.founder-team {
  margin-top: clamp(48px, 8vw, 96px);
}
.founder-team .section-eyebrow { margin-bottom: 32px; }
.founder-team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}
.founder-team .founder-card + .founder-card { margin-top: 0; }
.founder-team .founder-card .founder-card__copy + .founder-card__copy {
  margin-top: 12px;
}

.founder-approach {
  margin-top: clamp(48px, 8vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: var(--hairline);
  max-width: 880px;
  /* Left-align the block to the container edge, not centered */
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.founder-approach .h-display-l { margin-top: 16px; }

/* Make sure all founder text content is left-aligned */
.founder-copy,
.founder-copy *,
.founder-team,
.founder-team *,
.founder-approach,
.founder-approach * { text-align: left; }

@media (max-width: 880px) {
  .founder-team__grid { grid-template-columns: 1fr; }
}
.guide-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.guide-copy { max-width: 620px; }
.guide-copy .h-display-l { margin-top: 16px; }
.guide-lede { margin-top: 16px; }
.guide-inside {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: var(--fs-body-s);
  line-height: 1.55;
  color: var(--fg);
}
.guide-inside li {
  position: relative;
  padding-left: 22px;
}
/* Matches .hero-cred li::before — small sage dot for visual consistency. */
.guide-inside li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}
.guide-form-embed {
  margin-top: 32px;
  /* (legacy) — Typeform inline embed slot. Kept for backwards compat
     in case the embedded variant is restored. */
  min-height: 0;
}
.guide-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.guide-form-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* Cover image — top-aligned with the headline, no mat (the cover
   artwork already has its own framing). Drop shadow lifts it off
   the dark warm background. */
.guide-media {
  margin: 0;
  /* Use sticky on tall viewports so the cover stays visible while
     the form is filled out. Falls back gracefully on short screens. */
  position: sticky;
  top: 96px;
  align-self: start;
}
.guide-cover {
  display: block;
  width: 100%;
  height: auto;
  max-width: 520px;
  margin-left: auto;
  border-radius: var(--r-lg);
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.7),
    0 12px 24px -16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 880px) {
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .guide-media {
    position: static;
    order: -1; /* cover first on mobile, then text + form */
  }
  .guide-cover {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* =========================================================
   v3 TYPE PASS — Site-wide enforcement of the YUEVA type system.
   Every headline follows the Hero pattern (weight 400 on display
   sizes) and every size is locked to a token:
     --fs-display-xl   hero headline only
     --fs-display-l    section headlines (h2)
     --fs-display-m    sub-heads / card-section heads / callouts /
                       modal titles / large numeric displays
     --fs-body-l       in-grid card titles & ledes (w500 for titles)
     --fs-body         body
     --fs-body-s       secondary body
     --fs-caption      14px fine print
     --fs-eyebrow      13px mono uppercase eyebrow (special)
   ========================================================= */
.h-display-xl,
.h-display-l,
.h-display-m,
.h-display-s { font-weight: 400; }

.h-display-s {
  font-size: var(--fs-display-m);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

.problem-callout {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: 0;
  color: var(--fg-on-light-muted);
}
.boundary__head,
.founder-card__name,
.modal__title,
.cs-caption__title {
  font-family: var(--font-display);
  font-size: var(--fs-display-m);
  font-weight: 400;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

/* Study card headlines moved from display-m → body-l w500 so each
   card (and its accompanying image) shrinks to a calmer editorial scale. */
.study-card__headline {
  font-family: var(--font-display);
  font-size: var(--fs-body-l);
  font-weight: 500;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

.topic-card__title,
.step__title,
.coverflow-card__title,
.journey-step__title {
  font-family: var(--font-display);
  font-size: var(--fs-body-l);
  font-weight: 500;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}
@media (max-width: 720px) {
  .coverflow-card__title { font-size: var(--fs-body-l); }
}

.testimonial__quote,
.h-editorial,
.founder-subhead {
  font-family: var(--font-display);
  font-size: var(--fs-body-l);
  font-weight: 400;
  line-height: 1.45;
}

.clarity-price__num {
  font-family: var(--font-sans);
  font-size: var(--fs-display-m);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--ls-display);
}

.cookie__title,
.expert-domain__name {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: var(--ls-heading);
}

.hero .h-display-xl { font-weight: 400; }


/* =========================================================
   ARTICLE PAGE — long-form research review.
   Stays within the YUEVA type system (no new sizes); the page
   reads as one centered editorial column. Body text uses
   --fs-body with a slightly more generous line-height than the
   global body for sustained reading.
   ========================================================= */
.shell--article {
  max-width: 760px;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
  margin: 0 auto;
}

.article {
  background: #ffffff;
  color: var(--fg-on-light);
}

.article__head {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 2.5vw, 2rem);
}
.article__crumb {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
  margin: 0 0 var(--space-3);
}
.article__crumb a {
  color: var(--fg-on-light);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.article__crumb a:hover { color: var(--sage-deep); border-bottom-color: var(--sage-deep); }
.article__title {
  margin: 0 0 var(--space-3);
  color: var(--fg-on-light);
  text-wrap: balance;
}
.article__byline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
}
.article__byline em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-display);
  font-size: var(--fs-body-s);
  color: var(--fg-on-light);
}

.article__hero {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.article__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* Take-home callout — sage-glow tinted card */
.article__takeaways {
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}
.article__takeaways .shell--article {
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-left: 2px solid var(--sage-deep);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  max-width: 760px;
}
.article__takeaways .section-eyebrow { margin: 0 0 var(--space-3); }
.article__takeaways-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.article__takeaways-list li {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--fg-on-light);
  padding-left: 18px;
  position: relative;
}
.article__takeaways-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.75em;
  width: 8px; height: 1px;
  background: var(--sage-deep);
}
.article__takeaways-list strong {
  font-weight: 500;
  color: var(--fg-on-light);
}

/* Body */
.article__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.article__body p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--fg-on-light);
}
.article__lede {
  font-size: var(--fs-body-l) !important;
  line-height: 1.55 !important;
  color: var(--fg-on-light);
}
.article__body strong {
  font-weight: 500;
  color: var(--fg-on-light);
}
.article__body em {
  font-style: italic;
  color: var(--fg-on-light);
}
.article__body a {
  color: var(--fg-on-light);
  border-bottom: 1px solid var(--sage-deep);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease);
}
.article__body a:hover { color: var(--sage-deep); }
.article__h2 {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 var(--space-1);
  font-family: var(--font-display);
  font-size: var(--fs-display-m);
  font-weight: 400;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--fg-on-light);
  text-wrap: balance;
}

/* Inline citation reference — small superscript chip linking to bottom list */
.article__ref {
  font-size: 0.65em;
  margin-left: 1px;
  vertical-align: super;
  line-height: 0;
}
.article__ref a {
  color: var(--sage-deep);
  border-bottom: none !important;
  padding: 0 2px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 500;
}
.article__ref a:hover { color: var(--fg-on-light); text-decoration: underline; }

/* Citations list */
.article__citations {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line-light);
}
.article__citations .section-eyebrow { margin: 0 0 var(--space-3); }
.article__cite-list {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article__cite-list li {
  font-size: var(--fs-caption);
  line-height: 1.6;
  color: var(--fg-on-light-muted);
  padding-left: 6px;
}
.article__cite-list li::marker {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  color: var(--sage-deep);
}
.article__cite-list a {
  color: var(--fg-on-light);
  border-bottom: 1px solid var(--line-light);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.article__cite-list a:hover { color: var(--sage-deep); border-bottom-color: var(--sage-deep); }
.article__cite-list em { font-style: italic; color: var(--fg-on-light); }

@media (max-width: 640px) {
  .article__hero img { max-height: 360px; }
  .article__h2 { margin-top: var(--space-3); }
}

/* =========================================================
   LEGAL PAGE — adds a TOC, sub-section h3s, and tighter
   spacing to the long-form article shell. Stays inside the
   YUEVA type system.
   ========================================================= */
.legal .article__h2 {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line-light);
}
.legal .article__h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.legal__h3 {
  font-family: var(--font-display);
  font-size: var(--fs-body-l);
  font-weight: 500;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  color: var(--fg-on-light);
  margin: var(--space-3) 0 6px;
}
.legal__list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--fg-on-light);
}
.legal__list li::marker { color: var(--sage-deep); }

/* TOC */
.legal__toc {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4vw, 3rem);
}
.legal__toc-list {
  list-style: none;
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--bg-light);
  border: 1px solid var(--line-light);
  border-left: 2px solid var(--sage-deep);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
  counter-reset: legal-toc;
}
.legal__toc-list li {
  counter-increment: legal-toc;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-on-light-muted);
}
.legal__toc-list li::before {
  content: counter(legal-toc, decimal-leading-zero) " · ";
  color: var(--sage-deep);
  margin-right: 4px;
}
.legal__toc-list a {
  color: var(--fg-on-light);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 1px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.legal__toc-list a:hover { color: var(--sage-deep); border-bottom-color: var(--sage-deep); }

/* Ensure anchor jumps land below the sticky nav */
.legal [id] { scroll-margin-top: 100px; }

/* =========================================================
   Study card — stretched-link pattern.
   `.study-card` is the only positioned ancestor in the subtree,
   so the absolute ::before on the CTA anchors to the card and
   makes every part of the card a click target for the article.
   ========================================================= */
.study-card { position: relative; }
.study-card__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Keep selectable text above the overlay */
.study-card__body,
.study-card__mat { position: relative; z-index: 2; }
/* CTA caret stays interactive */
.study-card__cta { position: static; }
.study-card__cta span { position: relative; z-index: 2; }
