/* ============================================================
   EduImpact Website Stylesheet
   Design system v1 · May 2026
   ============================================================
   Layer rules:
   - Canvas: warm white (default), cream (one sub-canvas per page)
   - Structure: deep teal (headlines, logo, primary CTAs, rules)
   - Accent: copper (kicker labels, secondary CTAs, district color)
   - Body: charcoal
   - Footer: charcoal
   ============================================================ */

/* ---------- Fonts ----------
   Aleo (Google Fonts): logo "edu", display headlines
   Lora (Google Fonts): logo ".ai" italic
   Asta Sans (licensed, self-hosted): logo "impact", body, UI
   Georgia: fallback display serif
   ---------- */

@font-face {
  font-family: 'Asta Sans';
  src: url('/fonts/AstaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Asta Sans';
  src: url('/fonts/AstaSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Asta Sans';
  src: url('/fonts/AstaSans-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Color: structural */
  --teal: #1D7A6E;
  --teal-light: #3BB5A5;
  --copper: #C17A3E;
  --gold: #D4A855;
  --charcoal: #4A4A4A;

  /* Color: canvas */
  --warm-white: #FAFAF7;
  --cream: #E8E2D6;
  --border-soft: #E8E2D6;
  --border-cream: #D4C9B5;

  /* Text-on-dark token. Always the cream beige, regardless of theme.
     Used for text that sits on a dark background (footer, dark sub-canvas, etc).
     Distinct from --cream because --cream changes role in dark mode (becomes a dark surface). */
  --on-dark: #E8E2D6;
  --on-dark-muted: #d4cfc1;

  /* Color: text on dark (legacy aliases — primary/secondary used in older parts of CSS,
     muted is now the brighter version defined above) */
  --on-dark-primary: #FAFAF7;
  --on-dark-secondary: #C8DDD8;

  /* Color: text muted */
  --text-muted: #6A6A6A;
  --text-faint: #888;

  /* Type */
  --font-serif: 'Aleo', Georgia, 'Times New Roman', serif;
  --font-display: Georgia, 'Times New Roman', serif; /* used for large headlines */
  --font-italic: 'Lora', Georgia, serif;
  --font-sans: 'Asta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --max-content: 760px;
  --max-wide: 880px;
  --side-padding: 44px;
}

/* ---------- Dark theme ----------
   Two trigger paths:
   (1) OS prefers dark AND user hasn't overridden via [data-theme="light"]
   (2) User has explicitly chosen dark via [data-theme="dark"]
   Swaps the canvas + text + border tokens. Teal and copper accents stay the same
   because they read well on both dark and light backgrounds. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --warm-white: #1e1e1e;
    --cream: #2a2a2a;
    --charcoal: #e8e2d6;
    --border-soft: rgba(232, 226, 214, 0.10);
    --border-cream: rgba(232, 226, 214, 0.18);
    --text-muted: #b5b0a2;
    --text-faint: #888;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --warm-white: #1e1e1e;
  --cream: #2a2a2a;
  --charcoal: #e8e2d6;
  --border-soft: rgba(232, 226, 214, 0.10);
  --border-cream: rgba(232, 226, 214, 0.18);
  --text-muted: #b5b0a2;
  --text-faint: #888;
}

/* Nav logo: show light variant by default. Dark variant only shows in dark mode.
   :root specificity used so the dark-mode rules don't accidentally win in auto-light. */
:root .logo-img--dark { display: none; }
:root[data-theme="light"] .logo-img--dark { display: none !important; }
:root[data-theme="light"] .logo-img--light { display: block !important; }

/* Footer logo: always uses the dark variant (cream "impact") because the footer
   is always on a dark background, regardless of theme. The light variant is hidden
   in both modes; the dark variant is always shown. This bypasses the theme-based
   swap rules below. */
.footer__logo--light { display: none; }
.footer__logo--dark { display: block; }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Logo image (nav) ----------
   Two-line treatment: wordmark + tagline under it.
   Tagline visible on all screen sizes per Tony's pick. */
.logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.logo-img {
  display: block;
  width: auto;
  height: 32px;
}
.logo-tagline {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1;
}
@media (max-width: 768px) {
  .logo-img { height: 26px; }
  .logo-tagline { font-size: 10px; }
}

/* ---------- Logo wordmark (footer) ----------
   Same size as nav so the wordmark and motto align consistently in both places. */
.footer__logo {
  display: block;
  width: auto;
  height: 32px;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .footer__logo { height: 26px; }
}

/* Legacy: footer mark-only SVG (no longer used, kept for any other reference) */
.footer__mark {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

/* ---------- Logo wordmark (legacy text version) ----------
   Kept for any place we still want the typographic wordmark.
   Three typefaces, lowercase always.
   ---------- */
.wordmark { display: inline-flex; align-items: baseline; gap: 0; }
.wordmark__edu {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--teal);
}
.wordmark__impact {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--charcoal);
}
.wordmark__ai {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--copper);
  margin-left: 1px;
}
/* Nav size */
.wordmark--nav .wordmark__edu,
.wordmark--nav .wordmark__impact { font-size: 19px; }
.wordmark--nav .wordmark__ai { font-size: 17px; }
/* Footer size, dark variant */
.wordmark--footer .wordmark__edu { font-size: 16px; color: var(--teal-light); }
.wordmark--footer .wordmark__impact { font-size: 16px; color: var(--on-dark); }
.wordmark--footer .wordmark__ai { font-size: 14px; color: var(--copper); }

/* ---------- Navigation ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--side-padding);
  background: var(--warm-white);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 50;
  /* Subtle shadow appears once the nav is in sticky position so it lifts off
     content as the user scrolls. backdrop-filter on the bg adds a blur for
     content scrolling underneath when the nav has translucency. */
  backdrop-filter: saturate(1.05);
  -webkit-backdrop-filter: saturate(1.05);
}
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--charcoal);
}
.nav__links a:hover { color: var(--teal); }
.nav__links a.is-active {
  color: var(--teal);
  border-bottom: 1.5px solid var(--copper);
  padding-bottom: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.15s ease;
  border: none;
  font-family: inherit;
}
.btn:hover { opacity: 0.88; }
.btn--primary {
  background: var(--teal);
  color: var(--warm-white);
}
.btn--secondary {
  background: var(--warm-white);
  color: var(--teal);
  border: 1px solid var(--teal);
}
.btn--nav { padding: 9px 18px; font-size: 13px; }
.btn--cta { padding: 13px 26px; }

/* Underlined text-link */
.text-link {
  font-size: 14px;
  color: var(--teal);
  font-weight: 500;
  border-bottom: 1.5px solid var(--copper);
  padding-bottom: 2px;
  display: inline-block;
}
.text-link--teal { border-bottom-color: var(--teal); }
.text-link--copper { color: var(--copper); border-bottom-color: var(--copper); }

/* Arrow link, used in two-paths and inline */
.arrow-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 1px;
  display: inline-block;
}
.arrow-link--copper { color: var(--copper); border-bottom-color: var(--copper); }

/* ---------- Layout: page sections ----------
   Every page section uses .section as the row container,
   .container as the inner constrained width.
   ---------- */
.section {
  padding: 56px var(--side-padding);
}
.section--hero { padding: 72px var(--side-padding) 52px; }
.section--cream { background: var(--cream); padding: 64px var(--side-padding); }
.section--bordered { border-top: 1px solid var(--border-soft); }
.container { max-width: var(--max-content); margin: 0 auto; }
.container--wide { max-width: var(--max-wide); margin: 0 auto; }

/* ---------- Hero pattern (consistent across all pages) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}
/* Variant: hero with no sidenote (e.g. About page).
   Drops the right column, lets the lede breathe to a comfortable read width. */
.hero--single {
  grid-template-columns: 1fr;
}
.hero--single .hero__lede {
  max-width: 680px;
}
.hero__eyebrow {
  font-size: 12px;
  color: var(--copper);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1.1;
  font-weight: 400;
  color: var(--charcoal);
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}
.hero__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0 0 36px;
  max-width: 540px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* ---------- Homepage hero audience doors ---------- */
.section--home-hero {
  background: var(--warm-white);
  padding-bottom: 56px;
}
.home-hero {
  max-width: var(--max-content);
  margin: 0 auto;
}
.section--home-hero .hero__eyebrow {
  color: var(--copper);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
}
.home-hero__title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.home-hero__emphasis {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}
.section--home-hero .hero__lede {
  max-width: 580px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 34px;
}
.audience-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin: 0 0 30px;
}
.audience-door {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 28px 28px 30px;
  color: var(--charcoal);
  transition: background-color 160ms ease;
}
.audience-door + .audience-door {
  border-left: 1px solid var(--border-soft);
}
.audience-door--educator:hover { background: rgba(29, 122, 110, 0.04); }
.audience-door--school:hover { background: rgba(193, 122, 62, 0.04); }
.audience-door:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}
.audience-door--school:focus-visible { outline-color: var(--copper); }
.audience-door__question {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.audience-door__eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.3;
}
.audience-door__eyebrow--teal { color: var(--teal); }
.audience-door__eyebrow--copper { color: var(--copper); }
.audience-door__title {
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}
.audience-door__subline {
  color: var(--text-faint);
  font-size: 13px;
  letter-spacing: 0.3px;
  line-height: 1.45;
}
.audience-door__body {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.audience-door__cta {
  align-items: center;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
}
.audience-door__cta--teal { color: var(--teal); }
.audience-door__cta--copper { color: var(--copper); }
.audience-door__cta-text {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.audience-door__arrow {
  display: inline-block;
  transition: transform 160ms ease;
}
.audience-door:hover .audience-door__arrow,
.audience-door:focus-visible .audience-door__arrow {
  transform: translateX(3px);
}
.home-hero__tagline {
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
  max-width: 600px;
}
.home-hero__tagline span { color: var(--teal); }

/* Sidenote (right column of hero) */
.sidenote {
  background: var(--warm-white);
  padding: 24px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--copper);
}
.sidenote__label {
  font-size: 11px;
  color: var(--copper);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.sidenote__value {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--teal);
  margin-bottom: 8px;
  line-height: 1.3;
}
.sidenote__detail {
  font-size: 12px;
  color: var(--charcoal);
  line-height: 1.55;
}

/* ---------- Section headers (universal pattern) ---------- */
.eyebrow {
  font-size: 12px;
  color: var(--copper);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.eyebrow--small { font-size: 11px; margin-bottom: 14px; }

/* Headline emphasis: the load-bearing phrase in teal, body in charcoal.
   Replaces the previous "whole headline in teal" pattern. */
.accent--teal { color: var(--teal); }
.accent--copper { color: var(--copper); }

.section__title {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 600px;
}
.section__title--small { font-size: 28px; margin-bottom: 22px; }
.section__lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 28px;
  max-width: 600px;
}

/* ---------- Stats list (rows with serif numbers) ---------- */
.stats { display: grid; gap: 0; }
.stat-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
}
.stat-row:last-child { border-bottom: 1px solid var(--border-soft); }
.stat-row__num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--teal);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-row__num .unit { font-size: 28px; }
.stat-row__label {
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 6px;
  font-weight: 600;
}
.stat-row__detail {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Source citation links (within stat-row__detail and elsewhere) */
.source-link {
  color: var(--teal);
  border-bottom: 1px solid var(--border-cream);
  transition: border-color 0.15s ease, color 0.15s ease;
  font-weight: 500;
}
.source-link:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.source-link--external::after {
  content: ' \2197';
  font-size: 0.85em;
  opacity: 0.6;
  margin-left: 1px;
}
.source-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
}
.source-list__primary {
  color: var(--teal);
  font-weight: 500;
}
.source-list__secondary {
  color: var(--text-faint);
  font-size: 12px;
}

/* Smaller stats variant for trust strip */
.stats-strip {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  text-align: left;
}
.stats-strip__num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--teal);
  font-weight: 400;
  line-height: 1;
}
.stats-strip__label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- Coaching moment (pull quote block) ---------- */
.coaching-quote {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.4;
  color: var(--teal);
  margin: 0 0 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 680px;
}
.coaching-response {
  border-left: 2px solid var(--teal);
  padding-left: 24px;
  max-width: 620px;
}
.coaching-response p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 12px;
}
.coaching-response p:last-of-type { margin-bottom: 18px; }
.coaching-response__attribution {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Product mock (chat session) ---------- */
.session {
  background: var(--warm-white);
  border-radius: 8px;
  border: 1px solid var(--border-cream);
  overflow: hidden;
}
.session__chrome {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.session__dot { width: 8px; height: 8px; border-radius: 50%; }
.session__dot--copper { background: var(--copper); }
.session__dot--gold { background: var(--gold); }
.session__dot--teal-light { background: var(--teal-light); }
.session__chrome-label {
  font-size: 12px;
  color: var(--text-faint);
  margin-left: 8px;
}
.session__body { padding: 28px 32px; }
.session__turn { margin-bottom: 24px; }
.session__turn:last-child { margin-bottom: 0; }
.session__role {
  font-size: 11px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.session__role--you { color: var(--text-faint); }
.session__role--ai { color: var(--teal); font-weight: 600; }
.session__user-msg {
  background: #F4F0E5;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--charcoal);
}
.session__ai-msg {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
}
.session__ai-msg p { margin: 0 0 12px; }
.session__ai-msg p:last-child { margin-bottom: 0; }
.session__ai-msg .quoted {
  padding-left: 16px;
  border-left: 2px solid var(--teal);
}
.session__ai-msg .closing {
  color: var(--teal);
  font-style: italic;
}
.session__actions {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  gap: 12px;
}
.session__action-btn {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
}
.session__action-btn--teal { color: var(--teal); border: 1px solid var(--teal); }
.session__action-btn--copper { color: var(--copper); border: 1px solid var(--copper); }
/* Coach review variant: shows reviewer */
.session__reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.session__reviewer-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}
.session__reviewer-name {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
}
.session__reviewer-time {
  font-size: 11px;
  color: var(--text-faint);
}
.session__reviewer-msg {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
  padding-left: 32px;
}
.session__reviewer-msg p { margin: 0 0 12px; }
.session__reviewer-msg p:last-child { margin-bottom: 0; }

/* ---------- Two-paths (label + content rows) ---------- */
.path-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 36px;
}
.path-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.path-row__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.path-row__label--teal { color: var(--teal); }
.path-row__label--copper { color: var(--copper); }
.path-row__sublabel {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.path-row__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--charcoal);
  margin: 0 0 12px;
  font-weight: 400;
  line-height: 1.3;
}
.path-row__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0 0 14px;
}

/* Two-paths anchor variant (compact, 2-col) */
.path-anchor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.path-anchor__col {
  padding: 24px 0;
  border-top: 2px solid var(--teal);
}
.path-anchor__col--copper { border-top-color: var(--copper); }
.path-anchor__col p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0 0 14px;
}

/* ---------- Pricing tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.tier {
  background: var(--warm-white);
  border: 1px solid var(--border-cream);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.tier--featured {
  border: 1px solid var(--teal);
  border-top: 3px solid var(--teal);
  position: relative;
}
.tier__featured-flag {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--teal);
  color: var(--warm-white);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.tier__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.tier__label--teal { color: var(--teal); }
.tier__label--copper { color: var(--copper); }
.tier__name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--charcoal);
  margin: 0 0 16px;
  font-weight: 400;
  line-height: 1.3;
}
.tier__price-row { margin-bottom: 16px; }
.tier__price {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--teal);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.tier__price--custom { font-size: 24px; letter-spacing: -0.01em; }
.tier__price-detail {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
}
.tier__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}
.tier__features {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.9;
  margin-bottom: 28px;
  flex: 1;
}
.tier__cta {
  text-align: center;
  padding: 11px 18px;
  font-size: 13px;
  border-radius: 4px;
  font-weight: 500;
}
.tier__cta--primary { background: var(--teal); color: var(--warm-white); }
.tier__cta--outline {
  background: var(--warm-white);
  color: var(--teal);
  border: 1px solid var(--teal);
}

.tier-note {
  margin-top: 32px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

/* ---------- Comparison table (pricing detail) ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-top: 1px solid var(--border-soft);
}
.compare-grid__header {
  padding: 16px 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}
.compare-grid__header--label { text-align: left; color: var(--text-muted); }
.compare-grid__header--teal { color: var(--teal); }
.compare-grid__header--copper { color: var(--copper); }
.compare-grid__header--featured { background: var(--warm-white); border-left: 1px solid var(--border-soft); border-right: 1px solid var(--border-soft); }
.compare-grid__cell {
  padding: 14px 12px;
  font-size: 14px;
  color: var(--charcoal);
  border-top: 1px solid var(--border-soft);
}
.compare-grid__cell--label { font-weight: 400; }
.compare-grid__cell--center { text-align: center; }
.compare-grid__cell--featured { background: var(--warm-white); border-left: 1px solid var(--border-soft); border-right: 1px solid var(--border-soft); }
.compare-grid__cell--highlight { color: var(--teal); font-weight: 600; }
.compare-grid__cell--empty { color: #B5B0A2; }
.compare-grid__cell--last { border-bottom: 1px solid var(--border-soft); }

/* ---------- FAQ list (label + answer rows) ---------- */
.faq-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--border-soft);
}
.faq-row:last-child { border-bottom: 1px solid var(--border-soft); }
.faq-row__q {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.4;
}
.faq-row__a {
  font-size: 14px;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0;
}

/* ---------- Team grid (about page) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--teal);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-white);
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  margin-bottom: 16px;
}
.team-card__name {
  font-size: 15px;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 4px;
}
.team-card__title {
  font-size: 12px;
  color: var(--copper);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.team-card__bio {
  font-size: 13px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}

/* Founder block (single large) */
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.founder__photo {
  width: 200px;
  height: 200px;
  background: var(--teal);
  border-radius: 4px;
  color: var(--warm-white);
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  object-fit: cover;
}
/* Letter-circle variant (when .founder__photo is a div with initials) */
div.founder__photo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder__caption { margin-top: 14px; }
.founder__name { font-size: 14px; color: var(--charcoal); font-weight: 600; }
.founder__role { font-size: 12px; color: var(--text-muted); }
.founder__body p {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 18px;
}
.founder__body p:last-child { margin-bottom: 0; }
.founder__heading {
  margin-top: 0;
  margin-bottom: 20px;
}

/* Advisor list (label + body rows) */
.advisor-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--border-soft);
}
.advisor-row:last-child { border-bottom: 1px solid var(--border-soft); }
.advisor-row__name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--teal);
  font-weight: 400;
  line-height: 1.3;
}
.advisor-row__role {
  font-size: 12px;
  color: var(--copper);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.advisor-row__bio {
  font-size: 14px;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0;
}

/* ---------- Three-up beliefs (why we exist) ---------- */
.belief-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}
.belief-row:last-child { margin-bottom: 0; }
.belief-row__title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--teal);
  font-weight: 400;
  line-height: 1.3;
}
.belief-row__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0;
}

/* ---------- Page-scoped: why v2 ---------- */
.page-why .eyebrow,
.page-why .hero__eyebrow {
  color: var(--charcoal);
  opacity: 0.6;
}
.page-why .nav__links a.is-active {
  border-bottom-color: var(--teal);
}
.page-why .logo-tagline {
  font-style: normal;
}
.page-why .text-link {
  border-bottom-color: var(--teal);
}
.page-why .hero--single {
  max-width: 760px;
}
.section--essay {
  padding-top: 32px;
}
.essay {
  max-width: 720px;
  border-left: 3px solid var(--copper);
  padding-left: 28px;
}
.essay__p {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 24px;
  font-style: normal;
}
.essay__p:last-child {
  margin-bottom: 0;
}
.section--why-chain {
  padding-top: 56px;
  padding-bottom: 56px;
}
.why-chain {
  margin: 24px 0 32px;
  max-width: 720px;
}
.why-chain__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
}
.why-chain__link {
  background: var(--warm-white);
  border: 0.5px solid rgba(74, 74, 74, 0.18);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
}
.why-chain__link--coach {
  border-top: 3px solid var(--copper);
}
.why-chain__link-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}
.why-chain__link--coach .why-chain__link-label {
  color: var(--copper);
}
.why-chain__link-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.why-chain__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(74, 74, 74, 0.45);
  font-size: 20px;
  font-weight: 300;
}
.why-chain__anchor-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  margin-top: 4px;
}
.why-chain__anchor {
  font-size: 11px;
  color: var(--copper);
  font-weight: 500;
  text-align: center;
  padding: 6px 4px;
  letter-spacing: 0.03em;
}
.why-chain__body {
  max-width: 720px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal);
  font-style: normal;
}
.why-chain__body p {
  margin: 0 0 20px;
}
.why-chain__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .essay {
    padding-left: 18px;
  }
  .essay__p {
    font-size: 17px;
  }
  .why-chain__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .why-chain__arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
  .why-chain__anchor-strip {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }
  .why-chain__anchor-strip > div:not(.why-chain__anchor) {
    display: none;
  }
  .why-chain__body {
    font-size: 16.5px;
  }
}

/* ---------- Pull quote ---------- */
.pull-quote {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.35;
  color: var(--teal);
  margin: 0 0 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-style: italic;
}
.pull-quote--small { font-size: 28px; line-height: 1.4; }
.pull-quote__attribution { font-size: 13px; color: var(--text-muted); }

/* ---------- Closing CTA ---------- */
.closing {
  padding: 52px var(--side-padding) 64px;
  background: var(--warm-white);
  border-top: 1px solid var(--border-soft);
}
.closing__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.closing__title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.25;
  color: var(--charcoal);
  margin: 0 0 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.closing__sub {
  font-size: 15px;
  color: var(--charcoal);
  margin: 0 0 28px;
  line-height: 1.6;
}
.closing__actions {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

/* ---------- Footer ---------- */
.footer {
  padding: 32px var(--side-padding);
  background: var(--charcoal);
  color: var(--on-dark);
}
.footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  justify-items: center;
}
.footer__inner > div { width: 100%; }
.footer__tagline {
  font-size: 12px;
  color: var(--on-dark-muted);
  line-height: 1.5;
  max-width: 240px;
  margin-top: 10px;
}
.footer__col-label {
  font-size: 11px;
  color: var(--on-dark-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer__col-links {
  font-size: 12px;
  color: var(--on-dark);
  line-height: 1.9;
}
.footer__col-links a { display: block; }
.footer__col-links a:hover { color: var(--teal-light); }

/* Footer social icon row */
.footer__social {
  max-width: var(--max-content);
  margin: 24px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(232, 226, 214, 0.12);
  display: flex;
  justify-content: center;
  gap: 14px;
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(232, 226, 214, 0.20);
  color: var(--on-dark);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.footer__social-link:hover {
  color: var(--warm-white);
  background: var(--copper);
  border-color: var(--copper);
  transform: translateY(-2px);
}
.footer__social-link svg { display: block; }

/* ---------- Role grid (district pane: teachers / coaches / leadership) ----------
   Compact 3-column variant. Replaces stacked path-rows where vertical space is at a premium.
   Same reading rhythm as the team-grid on About. ---------- */
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.role-grid__card {
  border-top: 2px solid var(--teal);
  padding-top: 18px;
}
.role-grid__card--copper { border-top-color: var(--copper); }
.role-grid__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.role-grid__card--copper .role-grid__label { color: var(--copper); }
.role-grid__sublabel {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.role-grid__title {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--charcoal);
  margin: 0 0 10px;
  font-weight: 400;
  line-height: 1.3;
}
.role-grid__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}

/* ---------- Page-scoped: how-it-works ----------
   This page runs longer than other pages because it carries the dual-persona
   content. Tighter section padding only on this page; other pages keep the
   default rhythm. ---------- */
.page-how-it-works .section { padding: 40px var(--side-padding); }
.page-how-it-works .section--cream { padding: 48px var(--side-padding); }
.page-how-it-works .section--hero { padding: 48px var(--side-padding) 28px; }
.page-how-it-works .closing { padding: 40px var(--side-padding) 48px; }
.page-how-it-works .section__title { margin-bottom: 20px; }
.page-how-it-works .section__lede { margin-bottom: 24px; }
.page-how-it-works .container,
.page-how-it-works .container--wide { max-width: var(--max-content); }
.page-how-it-works .eyebrow,
.page-how-it-works .hero__eyebrow {
  color: var(--charcoal);
  opacity: 0.6;
}
.page-how-it-works .audience-pane > .section,
.page-how-it-works .audience-pane > .closing {
  border-top: 1px solid rgba(74, 74, 74, 0.12);
}
.page-how-it-works .section--stats,
.page-how-it-works .section--chain {
  background: rgba(74, 74, 74, 0.025);
}
.section--how-hero { padding-bottom: 20px; }
.page-how-it-works--district .section--how-hero {
  padding-top: 34px;
  padding-bottom: 18px;
}
.page-how-it-works--district .section--how-hero .hero {
  display: none;
}
.page-how-it-works--district .toggle-row {
  margin-bottom: 0;
}
.page-how-it-works--district #pane-district > .section:first-child {
  border-top: 1px solid rgba(74, 74, 74, 0.12);
  padding-top: 42px;
}
.section--picker { padding-top: 36px; }
.screen-explainer {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(74, 74, 74, 0.12);
}
.screen-explainer .section__title {
  margin-bottom: 12px;
}
.screen-explainer__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 12px;
  max-width: 620px;
}
.screen-explainer__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  max-width: 620px;
}
.screen-explainer__note strong {
  color: var(--teal);
  font-weight: 600;
}
.toggle-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 28px;
}
.toggle-pills {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(74, 74, 74, 0.05);
  border-radius: 999px;
}
.toggle-pill {
  font-family: inherit;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--charcoal);
}
.toggle-pill.is-active,
.toggle-pill[aria-selected="true"] {
  background: var(--teal);
  color: var(--warm-white);
}
.picker__label {
  font-size: 12px;
  color: var(--charcoal);
  opacity: 0.65;
  margin-bottom: 10px;
}
.picker__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.picker__btn {
  font-family: inherit;
  text-align: left;
  padding: 12px 16px;
  background: var(--warm-white);
  border: 0.5px solid rgba(74, 74, 74, 0.2);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.picker__btn:hover { border-color: rgba(29, 122, 110, 0.5); }
.picker__btn.is-active,
.picker__btn[aria-selected="true"] {
  border-color: var(--teal);
  background: rgba(29, 122, 110, 0.04);
}
.picker__btn:focus-visible,
.toggle-pill:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.picker__eyebrow {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 500;
  min-width: 130px;
  flex-shrink: 0;
}
.picker__text {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.45;
}
.chrome-label-reviewed {
  color: var(--teal);
  font-weight: 500;
  opacity: 0.85;
}
.turn { margin-bottom: 24px; }
.turn:last-child { margin-bottom: 0; }
.turn__role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}
.turn__role--you { color: var(--copper); }
.turn__role--ai { color: var(--teal); }
.turn__message {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
}
.turn__message p { margin: 0 0 12px; }
.turn__message p:last-child { margin-bottom: 0; }
.turn__quoted {
  border-left: 2px solid rgba(193, 122, 62, 0.25);
  padding-left: 16px;
}
.turn__closing-line {
  color: var(--teal);
  font-style: normal;
}
.turn--staged {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.turn--visible {
  opacity: 1;
  transform: translateY(0);
}
.typing-indicator {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 18px 0;
}
.typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.35;
  animation: typing-bounce 900ms infinite ease-in-out;
}
.typing-indicator span:nth-child(2) { animation-delay: 120ms; }
.typing-indicator span:nth-child(3) { animation-delay: 240ms; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-4px); opacity: 0.85; }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.stat-card {
  background: var(--warm-white);
  border: 0.5px solid rgba(74, 74, 74, 0.2);
  border-radius: 8px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  color: var(--teal);
  line-height: 1;
}
.stat-card__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
}
.stat-card__detail {
  font-size: 12px;
  color: var(--charcoal);
  opacity: 0.7;
  line-height: 1.5;
  margin-top: 4px;
}
.trust-strip {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(74, 74, 74, 0.03);
  border-radius: 6px;
  font-size: 12px;
  color: var(--charcoal);
  opacity: 0.85;
  line-height: 1.55;
  text-align: center;
}
.trust-strip strong {
  color: var(--teal);
  font-weight: 500;
  opacity: 1;
}
.role-grid__card--coach-anchor {
  border-top: 2px solid var(--copper);
  padding-top: 17px;
}
.role-grid__label--copper {
  color: var(--copper);
  opacity: 1;
}
.chain {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 20px;
}
.chain__step {
  background: var(--warm-white);
  border: 0.5px solid rgba(74, 74, 74, 0.2);
  border-radius: 8px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
}
.chain__role {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
}
.chain__role--teal { color: var(--teal); }
.chain__action {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 6px;
}
.chain__detail {
  font-size: 12px;
  color: var(--charcoal);
  opacity: 0.75;
  line-height: 1.5;
  margin-top: auto;
}
.chain__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  opacity: 0.4;
  font-size: 16px;
}
.chain__footer {
  margin-top: 14px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--copper);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .turn--staged,
  .turn--visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .typing-indicator span { animation: none; }
}

/* ---------- Session carousel (how-it-works educator pane) ----------
   Three coaching session mocks displayed as a horizontal carousel.
   Mobile: native CSS scroll-snap (no JS needed for the swipe).
   Desktop: prev/next arrows + clickable dots, JS-driven smooth scroll.
   ---------- */
.session-carousel { position: relative; }
.session-carousel__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.session-carousel__label {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  flex: 1;
}
.session-carousel__nav {
  display: flex;
  gap: 8px;
}
.session-carousel__nav-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-cream);
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.session-carousel__nav-btn:hover {
  background: var(--cream);
  border-color: var(--teal);
}
.session-carousel__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.session-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.session-carousel__track::-webkit-scrollbar { display: none; }
.session-carousel__slide {
  scroll-snap-align: start;
  min-width: 0;
}
.session-carousel__slide-eyebrow {
  font-size: 11px;
  color: var(--copper);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.session-carousel__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.session-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-cream);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.session-carousel__dot.is-active {
  background: var(--teal);
  transform: scale(1.2);
}
.session-carousel__dot:hover { background: var(--text-muted); }

/* ---------- Audience toggle (how-it-works) ----------
   Two pill buttons that swap which .audience-pane is active.
   Educator default. ---------- */
.audience-toggle {
  display: inline-flex;
  background: var(--warm-white);
  border: 1px solid var(--border-cream);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-top: 8px;
}
.audience-toggle__btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  letter-spacing: 0.01em;
}
.audience-toggle__btn:hover { color: var(--charcoal); }
.audience-toggle__btn.is-active {
  background: var(--teal);
  color: var(--warm-white);
}
.audience-toggle__helper {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.audience-pane { display: none; }
.audience-pane.is-active { display: block; }

/* ---------- Coach Leverage Calculator ---------- */
.calc {
  background: var(--warm-white);
  border: 1px solid var(--border-cream);
  border-radius: 8px;
  padding: 32px;
  margin-top: 32px;
}
.calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.calc__inputs { display: grid; gap: 20px; }
.calc__input-group label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13px;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 10px;
}
.calc__input-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--teal);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.calc__range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border-cream);
  border-radius: 2px;
  outline: none;
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--teal);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.calc__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--teal);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.calc__output {
  background: var(--cream);
  border-radius: 8px;
  padding: 24px;
  display: grid;
  gap: 20px;
}
.calc__output-row {
  border-bottom: 1px solid var(--border-cream);
  padding-bottom: 16px;
}
.calc__output-row:last-child { border-bottom: none; padding-bottom: 0; }
.calc__output-label {
  font-size: 11px;
  color: var(--copper);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.calc__output-value {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--teal);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.calc__output-value .calc__output-unit {
  font-size: 16px;
  color: var(--text-muted);
  margin-left: 6px;
}
.calc__output-detail {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.55;
}
.calc__gap-callout {
  background: var(--warm-white);
  border-left: 3px solid var(--copper);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--charcoal);
}
.calc__gap-callout strong { color: var(--teal); font-weight: 600; }
.calc__sources {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Mobile nav toggle ----------
   Hidden on desktop, visible on mobile. The button itself is in markup
   on every page; opening is handled by JS adding .nav--open to .nav. */
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  font-family: inherit;
}
.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav--open .nav__toggle-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Tablet (769–1024px) ---------- */
@media (max-width: 1024px) {
  :root { --side-padding: 32px; }
  .tier-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tier-grid > .tier:nth-child(3) { grid-column: 1 / -1; max-width: calc(50% - 9px); }
  /* Footer: 3 equal columns at tablet, same as desktop */
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 46px; }
  .sidenote { max-width: 420px; }
  .stats-grid { grid-template-columns: 1fr; }
  .chain {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .chain__arrow { display: none; }
}

/* ---------- Mobile (≤768px) ---------- */
@media (max-width: 768px) {
  :root { --side-padding: 22px; }

  /* Nav: collapse links into a hamburger drawer */
  .nav {
    flex-wrap: wrap;
    gap: 0;
    padding: 16px var(--side-padding);
    position: relative;
  }
  .nav__toggle { display: flex; }
  .nav .btn--nav { display: none; }
  .nav__links {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    display: none;
  }
  .nav--open .nav__links { display: flex; }
  .nav--open .nav__links a {
    padding: 10px 0;
    font-size: 15px;
  }
  .nav--open .nav__links a.is-active { padding-bottom: 10px; }
  /* Drawer also surfaces the primary CTA as a real link so it's reachable on phones */
  .nav--open .btn--nav {
    display: block;
    order: 4;
    width: 100%;
    margin-top: 8px;
    padding: 11px 18px;
    background: var(--teal);
    color: var(--warm-white);
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
  }

  /* Section spacing */
  .section { padding: 40px var(--side-padding); }
  .section--cream { padding: 44px var(--side-padding); }
  .section--hero { padding: 44px var(--side-padding) 32px; }
  .closing { padding: 40px var(--side-padding) 48px; }
  .footer { padding: 28px var(--side-padding); }

  /* Hero */
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero__title { font-size: 34px; margin-bottom: 20px; }
  .hero__lede { font-size: 16px; margin-bottom: 24px; }
  .hero__eyebrow { margin-bottom: 18px; }
  .section--home-hero { padding-bottom: 40px; }
  .home-hero__title { font-size: 34px; }
  .section--home-hero .hero__lede { font-size: 16px; }
  .audience-doors { grid-template-columns: 1fr; margin-bottom: 24px; }
  .audience-door { padding: 24px 0; }
  .audience-door + .audience-door {
    border-left: none;
    border-top: 1px solid var(--border-soft);
  }
  .home-hero__tagline { font-size: 20px; }

  /* Section headers */
  .section__title { font-size: 26px; margin-bottom: 20px; }
  .section__title--small { font-size: 22px; margin-bottom: 16px; }
  .section__lede { margin-bottom: 20px; }

  /* Two-column row patterns collapse */
  .stat-row,
  .belief-row,
  .path-row,
  .advisor-row,
  .faq-row { grid-template-columns: 1fr; gap: 10px; }
  .stat-row { padding: 20px 0; }
  .stat-row__num { font-size: 40px; }
  .path-row { padding-bottom: 28px; margin-bottom: 28px; }

  /* Pricing tiers */
  .tier-grid { grid-template-columns: 1fr; gap: 16px; }
  .tier-grid > .tier:nth-child(3) { max-width: none; }
  .tier { padding: 22px; }
  .tier__featured-flag { right: 16px; }

  /* Team grid */
  .team-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Founder */
  .founder { grid-template-columns: 1fr; gap: 20px; }
  .founder__photo { width: 140px; height: 140px; font-size: 44px; }
  .founder__caption { margin-top: 10px; }
  .founder__body p { font-size: 16px; }

  /* Footer: stacked columns on mobile */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Comparison grid: stack into per-tier cards */
  .compare-grid {
    display: block;
    border-top: none;
  }
  .compare-grid__header { display: none; }
  .compare-grid__header--label { display: none; }
  .compare-grid__cell {
    display: block;
    border: none;
    padding: 0;
    text-align: left;
  }
  .compare-grid__cell--label {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 8px;
  }
  .compare-grid__cell--center { text-align: left; padding-left: 0; }
  /* Show each cell with the column it belongs to */
  .compare-grid__cell:not(.compare-grid__cell--label)::before {
    content: attr(data-col) ': ';
    color: var(--text-muted);
    font-size: 13px;
    margin-right: 6px;
  }
  .compare-grid__cell { padding: 4px 0; font-size: 14px; }
  .compare-grid__cell--featured { background: transparent; border-left: none; border-right: none; }

  /* Coaching mock + quotes */
  .coaching-quote { font-size: 22px; }
  .pull-quote { font-size: 22px; }
  .pull-quote--small { font-size: 20px; }
  .session__body { padding: 20px 18px; }
  .session__user-msg, .session__ai-msg, .session__reviewer-msg { font-size: 14px; }
  .turn__message { font-size: 14px; }
  .picker__btn {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .picker__eyebrow { min-width: 0; }
  .toggle-pills { width: 100%; }
  .toggle-pill { flex: 1; }

  /* Path anchor */
  .path-anchor { grid-template-columns: 1fr; gap: 20px; }

  /* Audience toggle */
  .audience-toggle {
    display: flex;
    width: 100%;
  }
  .audience-toggle__btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
    text-align: center;
  }

  /* Calculator */
  .calc { padding: 22px; }
  .calc__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .calc__output-value { font-size: 26px; }

  /* Session carousel */
  .session-carousel__header { flex-direction: column; gap: 12px; }
  .session-carousel__nav { display: none; } /* Mobile uses native swipe instead */
  .session-carousel__track { gap: 16px; }
  .session-carousel__label { font-size: 18px; }

  /* Role grid */
  .role-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Page-scoped mobile overrides for how-it-works */
@media (max-width: 768px) {
  .page-how-it-works .section { padding: 32px var(--side-padding); }
  .page-how-it-works .section--cream { padding: 36px var(--side-padding); }
  .page-how-it-works .section--hero { padding: 36px var(--side-padding) 28px; }
  .page-how-it-works .closing { padding: 32px var(--side-padding) 36px; }
}

/* ============================================================
   DARK THEME — component overrides
   Two trigger paths, mirroring the token-swap block at top of file:
   (1) OS prefers dark AND user hasn't explicitly chosen light
   (2) User has explicitly chosen dark via [data-theme="dark"]
   Placed at end of file so they cascade correctly over base component rules.
   ============================================================ */

/* Path 1: OS prefers dark, no override */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) img.founder__photo { border: 1px solid var(--border-cream); }
  :root:not([data-theme="light"]) .session__user-msg { background: #2f2a22; color: var(--charcoal); }
  :root:not([data-theme="light"]) .calc__output { background: #2a2a2a; }
  :root:not([data-theme="light"]) .calc__gap-callout { background: #1e1e1e; }
  :root:not([data-theme="light"]) .tier { background: #262626; }
  :root:not([data-theme="light"]) .tier--featured { background: #2a2a2a; }
  :root:not([data-theme="light"]) .btn--secondary { background: transparent; color: var(--teal); border-color: var(--teal); }
  :root:not([data-theme="light"]) .tier__cta--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
  :root:not([data-theme="light"]) .compare-grid__header--featured,
  :root:not([data-theme="light"]) .compare-grid__cell--featured { background: #262626; }
  :root:not([data-theme="light"]) .session-carousel__nav-btn:hover { background: #2a2a2a; }
  :root:not([data-theme="light"]) .audience-toggle { background: #262626; }
  :root:not([data-theme="light"]) .logo-img--light { display: none; }
  :root:not([data-theme="light"]) .logo-img--dark { display: block; }
  :root:not([data-theme="light"]) .source-link { border-bottom-color: rgba(232, 226, 214, 0.25); }
  :root:not([data-theme="light"]) .footer { background: #141414; }
  :root:not([data-theme="light"]) .footer__col-links a:hover { color: var(--teal-light); }
  :root:not([data-theme="light"]) .page-why .why-chain__link {
    background: #262626;
    border-color: rgba(232, 226, 214, 0.22);
    box-shadow: inset 0 1px 0 rgba(232, 226, 214, 0.04);
  }
  :root:not([data-theme="light"]) .page-why .why-chain__link--coach {
    border-top-color: var(--copper);
    box-shadow: inset 0 1px 0 rgba(232, 226, 214, 0.04), 0 -1px 0 rgba(193, 122, 62, 0.35);
  }
  :root:not([data-theme="light"]) .page-why .why-chain__link-label { color: rgba(232, 226, 214, 0.72); }
  :root:not([data-theme="light"]) .page-why .why-chain__link--coach .why-chain__link-label,
  :root:not([data-theme="light"]) .page-why .why-chain__anchor { color: #d9904d; }
  :root:not([data-theme="light"]) .page-why .why-chain__link-name { color: var(--charcoal); }
  :root:not([data-theme="light"]) .page-why .why-chain__arrow { color: rgba(232, 226, 214, 0.45); }
}

/* Path 2: explicit data-theme="dark" override (works regardless of OS preference) */
:root[data-theme="dark"] img.founder__photo { border: 1px solid var(--border-cream); }
:root[data-theme="dark"] .session__user-msg { background: #2f2a22; color: var(--charcoal); }
:root[data-theme="dark"] .calc__output { background: #2a2a2a; }
:root[data-theme="dark"] .calc__gap-callout { background: #1e1e1e; }
:root[data-theme="dark"] .tier { background: #262626; }
:root[data-theme="dark"] .tier--featured { background: #2a2a2a; }
:root[data-theme="dark"] .btn--secondary { background: transparent; color: var(--teal); border-color: var(--teal); }
:root[data-theme="dark"] .tier__cta--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
:root[data-theme="dark"] .compare-grid__header--featured,
:root[data-theme="dark"] .compare-grid__cell--featured { background: #262626; }
:root[data-theme="dark"] .session-carousel__nav-btn:hover { background: #2a2a2a; }
:root[data-theme="dark"] .audience-toggle { background: #262626; }
:root[data-theme="dark"] .logo-img--light { display: none; }
:root[data-theme="dark"] .logo-img--dark { display: block; }
:root[data-theme="dark"] .source-link { border-bottom-color: rgba(232, 226, 214, 0.25); }
:root[data-theme="dark"] .footer { background: #141414; }
:root[data-theme="dark"] .footer__col-links a:hover { color: var(--teal-light); }
:root[data-theme="dark"] .page-why .why-chain__link {
  background: #262626;
  border-color: rgba(232, 226, 214, 0.22);
  box-shadow: inset 0 1px 0 rgba(232, 226, 214, 0.04);
}
:root[data-theme="dark"] .page-why .why-chain__link--coach {
  border-top-color: var(--copper);
  box-shadow: inset 0 1px 0 rgba(232, 226, 214, 0.04), 0 -1px 0 rgba(193, 122, 62, 0.35);
}
:root[data-theme="dark"] .page-why .why-chain__link-label { color: rgba(232, 226, 214, 0.72); }
:root[data-theme="dark"] .page-why .why-chain__link--coach .why-chain__link-label,
:root[data-theme="dark"] .page-why .why-chain__anchor { color: #d9904d; }
:root[data-theme="dark"] .page-why .why-chain__link-name { color: var(--charcoal); }
:root[data-theme="dark"] .page-why .why-chain__arrow { color: rgba(232, 226, 214, 0.45); }

/* ============================================================
   DEV-ONLY THEME TOGGLE
   Floating button bottom-left. Cycles auto → light → dark → auto.
   Persists choice in localStorage as "eduimpact-theme".
   REMOVE BEFORE DEPLOY: delete this CSS block, the theme-toggle.js script,
   and the .theme-toggle markup on each page.
   ============================================================ */
.theme-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warm-white);
  border: 1px solid var(--border-cream);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.15s ease;
}
.theme-toggle:hover { transform: translateY(-1px); }
.theme-toggle__icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
}
.theme-toggle__label {
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ============================================================
   COACH LEVERAGE CALCULATOR
   Ported from /site (May 2026). Scoped under .clc-* selectors.
   Uses website 2 design tokens; light/dark via existing :root.
   ============================================================ */

.clc-section {
  background: var(--warm-white);
}

.clc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .clc-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Input panel ── */
.clc-inputs {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

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

@media (max-width: 480px) { .clc-inputs { padding: 20px; } }

.clc-inputs-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.clc-input-group { margin-bottom: 18px; }

.clc-input-group label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.clc-hint {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.clc-input-row { display: flex; align-items: center; gap: 12px; }

input[type="range"].clc-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--border-soft);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  min-width: 0;
}

input[type="range"].clc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(29, 122, 110, 0.12);
  transition: box-shadow 0.2s;
  border: none;
}

input[type="range"].clc-range::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 5px rgba(29, 122, 110, 0.12);
}

input[type="range"].clc-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 8px rgba(29, 122, 110, 0.18);
  outline: 2px solid var(--copper);
}

.clc-range-val {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  min-width: 64px;
  text-align: right;
  flex-shrink: 0;
}

.clc-divider {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 22px 0 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-soft);
}

/* ── Results column ── */
.clc-results { display: flex; flex-direction: column; gap: 14px; }

.clc-card {
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.clc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--teal);
  border-radius: 3px 0 0 3px;
}

.clc-card--caution::before { background: var(--copper); }
.clc-card--warning::before { background: var(--copper); opacity: 0.85; }

.clc-card-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 6px;
}

.clc-card-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.clc-card--caution .clc-card-value { color: var(--copper); }
.clc-card--warning .clc-card-value  { color: var(--copper); }

.clc-card-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.clc-card-sub strong { color: var(--charcoal); font-weight: 600; }

.clc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 12px;
}

.clc-badge--good {
  background: rgba(29, 122, 110, 0.10);
  color: var(--teal);
  border: 1px solid var(--border-soft);
}
.clc-badge--caution {
  background: rgba(193, 122, 62, 0.10);
  color: var(--copper);
  border: 1px solid var(--border-soft);
}
.clc-badge--danger {
  background: rgba(193, 122, 62, 0.10);
  color: var(--copper);
  border: 1px solid rgba(193, 122, 62, 0.3);
}

.clc-desert {
  display: none;
  background: rgba(193, 122, 62, 0.08);
  border-left: 3px solid var(--copper);
  border-radius: 0 4px 4px 0;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 12px;
}

.clc-desert.clc-visible { display: block; }
.clc-desert strong { font-weight: 700; color: var(--charcoal); }

.clc-card--dark {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 4px 12px rgba(29, 122, 110, 0.18);
}

.clc-card--dark::before { background: rgba(255, 255, 255, 0.3); }
.clc-card--dark .clc-card-label { color: rgba(255, 255, 255, 0.7); }
.clc-card--dark .clc-card-value { color: #fff; }
.clc-card--dark .clc-card-sub { color: rgba(255, 255, 255, 0.78); }
.clc-card--dark .clc-card-sub strong { color: #fff; }

.clc-cost-vs {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.55;
}

.clc-cost-pill {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Methodology drawer ── */
.clc-method {
  margin-top: 24px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  overflow: hidden;
  background: var(--warm-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.clc-method-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: left;
  gap: 16px;
  transition: background 0.15s ease;
}

.clc-method-toggle:hover { background: rgba(0, 0, 0, 0.02); }
.clc-method-toggle:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: -2px;
}

.clc-method-left { display: flex; align-items: center; gap: 12px; }

.clc-method-icon {
  width: 26px; height: 26px;
  border-radius: 4px;
  background: rgba(29, 122, 110, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--teal);
  flex-shrink: 0;
  font-weight: 700;
}

.clc-chevron {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.clc-chevron--open { transform: rotate(180deg); }

.clc-method-body {
  display: none;
  padding: 0 24px 24px;
  border-top: 1px solid var(--border-soft);
}

.clc-method-body--open { display: block; }

.clc-method-intro {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 16px 0 22px;
}

.clc-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
}

.clc-step:last-of-type { border-bottom: none; }

.clc-step-letter {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  padding-top: 2px;
  letter-spacing: 0.05em;
}

.clc-step-content h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 6px;
}

.clc-step-content p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 10px;
}

.clc-formula {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--text-muted);
  line-height: 1.7;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.clc-formula em { color: var(--teal); font-style: normal; font-weight: 700; }

.clc-sources {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-soft);
}

.clc-sources-title {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.clc-source {
  display: flex;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  align-items: baseline;
}

.clc-source-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 6px;
  opacity: 0.7;
}

.clc-source strong { color: var(--charcoal); font-weight: 600; }
.clc-source em { font-style: italic; color: var(--charcoal); }

@media (max-width: 480px) {
  .clc-card { padding: 18px; }
  .clc-method-toggle { padding: 14px 16px; }
  .clc-method-body { padding: 0 16px 16px; }
  .clc-range-val { min-width: 56px; font-size: 12px; }
}

/* ---------- Register page typography (Aleo + Lora only; no Asta Sans) ----------
   Markup: <body class="register-page"> on register.html only.
   ---------- */
body.register-page {
  font-family: var(--font-serif);
}

body.register-page .nav__links {
  font-family: var(--font-serif);
}

body.register-page .btn {
  font-family: var(--font-serif);
}

body.register-page .footer,
body.register-page .footer__col-label,
body.register-page .footer__col-links,
body.register-page .footer__tagline {
  font-family: var(--font-serif);
}

body.register-page .theme-toggle {
  font-family: var(--font-serif);
}

body.register-page .logo-tagline {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
}

/* ============================================================
   Beta application — single-page register (Planning handoff)
   Editorial layout; tokens match site system (see register_preview.html).
   ============================================================ */

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

.apply-register__page {
  padding-top: 48px;
  padding-bottom: 96px;
}

.apply-register {
  max-width: 680px;
  font-family: var(--font-serif);
}

.apply-register .hero__eyebrow {
  margin-bottom: 16px;
}

.apply-register__title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.15;
  font-weight: 400;
  color: var(--charcoal);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.apply-register__subhead {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 620px;
}

.apply-register__free-callout {
  background: #fff;
  border-left: 4px solid var(--copper);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin: 0 0 16px;
  padding: 16px 20px;
}

.apply-register__free-callout strong {
  color: var(--teal);
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.apply-register__free-callout p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.apply-register__price-note {
  color: var(--charcoal);
}

.apply-register__leader-routing {
  align-items: center;
  background: rgba(193, 122, 62, 0.06);
  border: 1px solid rgba(193, 122, 62, 0.2);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  line-height: 1.55;
  margin: 0 0 32px;
  padding: 16px 18px;
}

.apply-register__leader-icon {
  align-items: center;
  background: rgba(193, 122, 62, 0.15);
  border-radius: 50%;
  color: var(--copper);
  display: flex;
  flex: 0 0 32px;
  font-size: 16px;
  font-weight: 600;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.apply-register__leader-text {
  color: var(--charcoal);
  flex: 1;
  font-size: 16px;
}

.apply-register__leader-text strong {
  color: var(--copper);
  font-weight: 600;
}

.apply-register__leader-text a {
  border-bottom: 1px solid rgba(193, 122, 62, 0.4);
  color: var(--copper);
  font-weight: 700;
  transition: border-color 0.15s ease;
}

.apply-register__leader-text a:hover {
  border-bottom-color: var(--copper);
}

.apply-register__ask-block {
  margin: 0 0 32px;
}

.apply-register__ask-block h2 {
  color: var(--teal);
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  margin: 0 0 10px;
}

.apply-register__ask-block p {
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 8px;
}

.apply-register__ask-block p:last-child {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.apply-register__panel {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 24px;
}

.apply-register__form-title {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 18px;
}

.apply-register__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.apply-register__field label {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

.apply-register__req {
  color: var(--copper);
  font-weight: 400;
  margin-left: 2px;
}

.apply-register__hint {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin: -4px 0 0;
}

.apply-register__field-error {
  font-size: 13px;
  color: var(--copper);
  margin: -4px 0 0;
  min-height: 1.25em;
}

.apply-register__field-error:empty {
  display: none;
}

.apply-register__control {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--warm-white);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 11px 12px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apply-register__control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29, 122, 110, 0.12);
}

.apply-register__control--select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4A4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.apply-register__textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.55;
}

.apply-register__textarea::placeholder {
  color: var(--text-faint);
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
}

.apply-register__consent-group {
  border-top: 1px solid var(--border-soft);
  margin-top: 18px;
  margin-bottom: 8px;
  padding-top: 18px;
}

.apply-register__consent {
  background: var(--warm-white);
  border-radius: 6px;
  margin-bottom: 8px;
  padding: 8px 10px;
}

.apply-register__consent--highlight {
  background: rgba(29, 122, 110, 0.06);
  border: 1px solid rgba(29, 122, 110, 0.2);
}

.apply-register__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.55;
  color: var(--charcoal);
  cursor: pointer;
}

.apply-register__consent-label input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--teal);
}

.apply-register__consent-text a {
  color: var(--teal);
  border-bottom: 1px solid var(--border-cream);
  transition: border-color 0.15s ease;
}

.apply-register__consent-text a:hover {
  border-bottom-color: var(--teal);
}

.apply-register__form-alert {
  font-size: 14px;
  color: var(--copper);
  margin: 0 0 20px;
  line-height: 1.5;
}

.apply-register__form-alert[hidden] {
  display: none !important;
}

.apply-register__submit.btn {
  margin-top: 16px;
  padding-left: 28px;
  padding-right: 28px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
}

.apply-register__next-line {
  color: var(--text-muted);
  font-family: var(--font-italic);
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
  margin: 12px 0 0;
  text-align: center;
}

.apply-register__footnote {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
}

.apply-register__success {
  padding-top: 8px;
}

.apply-register__success-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0 0 16px;
  max-width: 620px;
}

.apply-register__success-extra {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0 0 12px;
  max-width: 620px;
}

.apply-register__success-extra--muted {
  color: var(--text-muted);
}

.apply-register__success-extra[hidden] {
  display: none !important;
}

.apply-register__signoff {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 600;
  font-size: 17px;
  color: var(--charcoal);
  margin: 24px 0 0;
}

.apply-register__panel[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .apply-register__page {
    padding-top: 40px;
    padding-bottom: 80px;
  }
  .apply-register__title {
    font-size: 32px;
  }
  .apply-register__subhead {
    font-size: 17px;
  }
  .apply-register__leader-routing {
    align-items: flex-start;
  }
  .apply-register__panel {
    padding: 20px;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .apply-register__free-callout,
  :root:not([data-theme="light"]) .apply-register__panel {
    background: #242424;
  }
  :root:not([data-theme="light"]) .apply-register__control--select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8e2d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  }
  :root:not([data-theme="light"]) .apply-register__control {
    background: #1e1e1e;
    border-color: var(--border-soft);
  }
}

/* ============================================================
   MOBILE "APPLY FOR BETA" FLOATING CTA (FAB)
   Homepage only. Visible <=768px (nav-collapse breakpoint).
   Reuses .btn--primary colors (teal/warm-white). Hidden when the
   nav drawer is open (.nav--open) and when the closing CTA scrolls
   into view (.fab-apply--hide) to avoid a duplicate CTA.
   ============================================================ */
.fab-apply {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  align-items: center;
  gap: 7px;
  background: var(--teal);
  /* Pinned light value, not --warm-white: that token swaps to dark in dark mode,
     and the pill is teal in BOTH themes, so its text must stay light. */
  color: #FAFAF7;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-apply:hover { opacity: 0.92; }
.fab-apply__icon { font-size: 16px; line-height: 1; }

@media (max-width: 768px) {
  .fab-apply { display: inline-flex; }
  .nav--open ~ .fab-apply,
  .fab-apply--hide { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-apply { transition: none; }
}

:root[data-theme="dark"] .apply-register__control--select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8e2d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}
:root[data-theme="dark"] .apply-register__free-callout,
:root[data-theme="dark"] .apply-register__panel {
  background: #242424;
}
:root[data-theme="dark"] .apply-register__control {
  background: #1e1e1e;
  border-color: var(--border-soft);
}
