/* ============================================================
   EDGEucation — shared stylesheet
   Apple / Linear / Stripe minimalism + EDGE brand-faithful palette
   Palette: EDGE cobalt + navy ink + warm gold accent + cream
   ============================================================ */

:root {
  /* Backgrounds */
  --bg:              #FAF7F2;
  --bg-elev:         #FFFFFF;
  --bg-soft:         #F4EFE6;
  --bg-deep:         #142B5C;

  /* Ink */
  --ink:             #142B5C;
  --ink-soft:        #4A3F37;
  --ink-mute:        #8A7B70;

  /* Brand anchor */
  --edge-blue:       #1F5BC9;
  --edge-blue-dk:    #163F8A;
  --edge-blue-lt:    #5B8FE0;

  /* Gold accent (pairs with annual pin recognition) */
  --gold:            #D4A547;
  --gold-dk:         #B0892F;
  --gold-lt:         #E8C57A;

  /* Rules */
  --rule:            #E2D6C4;
  --rule-soft:       #EFE6D6;

  /* Type */
  --serif:           'Lora', Georgia, 'Times New Roman', serif;
  --sans:            'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --mono:            'IBM Plex Mono', 'JetBrains Mono', SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --max:             1120px;
  --max-prose:       720px;
  --max-narrow:      640px;
  --pad-x:           clamp(20px, 4vw, 40px);

  /* Motion */
  --t-fast:          all 0.15s ease;
  --t-base:          all 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

::selection { background: var(--edge-blue-lt); color: #fff; }

/* ====== Typography ====== */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-top: 2.4em;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
  margin-top: 2em;
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.8em;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edge-blue);
  margin: 0 0 1.2em;
}
.eyebrow::before {
  content: '';
  width: 12px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  opacity: 0.6;
}

/* ====== Live status pill (SaaS-product signal) ====== */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  padding: 7px 14px 7px 12px;
  border-radius: 100px;
  text-decoration: none;
  margin-bottom: 1.8em;
  transition: var(--t-base);
}
.live-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px rgba(20, 43, 92, 0.15);
}
.live-pill .pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}
.live-pill .pulse::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #22C55E;
  opacity: 0.4;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.6); opacity: 0; }
}
.live-pill .arrow {
  color: var(--ink-mute);
  transition: var(--t-fast);
}
.live-pill:hover .arrow { color: var(--edge-blue); transform: translateX(2px); }

/* ====== Dot-grid background (Linear/Vercel signature) ====== */
.dot-grid {
  background-image:
    radial-gradient(circle, rgba(20, 43, 92, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 0 0;
}
.dot-grid-soft {
  background-image:
    radial-gradient(circle, rgba(20, 43, 92, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ====== Subtle fade-in on scroll (set via JS adding .in class) ====== */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ====== Mono small-caps utility (for stat labels, metadata) ====== */
.mono-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.1em;
}

.lede {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: var(--max-narrow);
}

strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

a {
  color: var(--edge-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--t-fast);
}
a:hover {
  color: var(--edge-blue-dk);
  border-bottom-color: currentColor;
}

ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: 0.5em; line-height: 1.6; color: var(--ink-soft); }
li::marker { color: var(--gold); }

hr {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 4em 0;
}

blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--edge-blue);
  margin: 2em 0;
  padding: 0.2em 0 0.2em 1.6em;
}

/* ====== Brand mark (wordmark + brushstroke peak) ====== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  border: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}
.brand:hover { color: var(--ink); border: none; }
.brand svg.peak { display: block; height: 28px; width: auto; }
.brand .b-edge { color: var(--ink); }
.brand .b-tail { color: var(--ink-mute); font-weight: 400; }

/* Larger brand mark (homepage hero / footer-brand) */
.brand-lg {
  font-size: 1.85rem;
  gap: 14px;
}
.brand-lg svg.peak { height: 44px; }

/* ====== Navigation ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--t-base);
}
.nav.scrolled { border-bottom-color: var(--rule); }

.nav-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-soft);
  border: none;
}
.nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--edge-blue);
  color: #fff !important;
  margin-left: 8px;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--edge-blue-dk) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 1.4rem;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 6px;
}
.nav-toggle:hover { background: var(--bg-soft); }

/* ====== Nav dropdown (Apply submenu) ====== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a .caret {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.75em;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover > a .caret,
.nav-dropdown.open > a .caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 280px;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 8px;
  margin: 0;
  list-style: none;
  box-shadow: 0 16px 40px -12px rgba(20, 43, 92, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px !important;
  border-radius: 8px;
  background: transparent !important;
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 0.94rem;
  border: none;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-soft) !important;
  color: var(--edge-blue) !important;
}
.nav-dropdown-menu .dd-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edge-blue);
  margin-bottom: 3px;
}
.nav-dropdown-menu .dd-desc {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-top: 2px;
  letter-spacing: 0;
}

/* ====== Role-page hero (with avatar slot) ====== */
.role-hero {
  padding: clamp(72px, 10vw, 120px) var(--pad-x) clamp(40px, 6vw, 64px);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--rule);
}
.role-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.role-hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0.4em 0 0.4em;
}
.role-hero-text .lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.role-hero-video {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px -16px rgba(20, 43, 92, 0.18);
}
.role-hero-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0, transparent 50%, rgba(31, 91, 201, 0.05) 100%);
}
.role-hero-video::after {
  content: '▶  Welcome — let me walk you through this';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 1rem;
  text-align: center;
  padding: 0 32px;
  line-height: 1.5;
}

/* ====== Step indicator (4-step process visualization) ====== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 3em 0;
  counter-reset: stp;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  counter-increment: stp;
}
.step::before {
  content: counter(stp, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--edge-blue);
  letter-spacing: 0.12em;
  margin-bottom: 0.8em;
}
.step h3 { font-size: 1.1rem; margin: 0 0 0.5em; }
.step p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* Large path-card variant (for /apply parent) */
.apply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 3em 0 1em;
}
.apply-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--edge-blue);
  border-radius: 14px;
  padding: 36px 32px 32px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: var(--t-base);
  position: relative;
  overflow: hidden;
}
.apply-card:nth-child(2) { border-top-color: var(--gold); }
.apply-card:nth-child(3) { border-top-color: var(--edge-blue-dk); }
.apply-card:hover {
  transform: translateY(-4px);
  color: var(--ink);
  box-shadow: 0 20px 48px -20px rgba(20, 43, 92, 0.22);
  border-color: var(--ink);
}
.apply-card .card-num {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--edge-blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.4em;
}
.apply-card:nth-child(2) .card-num { color: var(--gold-dk); }
.apply-card:nth-child(3) .card-num { color: var(--edge-blue-dk); }
.apply-card h3 { font-size: 1.5rem; margin: 0 0 0.5em; }
.apply-card p { font-size: 1rem; color: var(--ink-soft); margin: 0 0 1.6em; flex: 1; }
.apply-card .card-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  margin-bottom: 1.2em;
  text-transform: uppercase;
}
.apply-card .card-arrow {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--t-fast);
}
.apply-card:hover .card-arrow { gap: 10px; color: var(--edge-blue-dk); }

@media (max-width: 880px) {
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-soft);
    margin-top: 4px;
    padding: 4px 8px;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .role-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .role-hero-video { aspect-ratio: 16/9; max-width: 100%; }
}

/* ====== Sections ====== */
.section { padding: clamp(72px, 12vw, 140px) var(--pad-x); }
.section-tight { padding: clamp(48px, 8vw, 88px) var(--pad-x); }

.container { max-width: var(--max); margin: 0 auto; }
.container-prose { max-width: var(--max-prose); margin: 0 auto; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; }

/* ====== Hero (home) ====== */
.hero {
  padding: clamp(80px, 14vw, 160px) var(--pad-x) clamp(56px, 8vw, 96px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(20, 43, 92, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 60% at center 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center 40%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-mark {
  margin: 0 auto 2em;
  display: flex;
  justify-content: center;
}
.hero-mark svg { height: 88px; width: auto; }
.hero h1 {
  margin-bottom: 0.4em;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
}
.hero .lede {
  margin: 0 auto 2em;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.hero-cta-row {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Avatar video placeholder */
.hero-video {
  margin: clamp(56px, 8vw, 96px) auto 0;
  max-width: 920px;
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(20, 43, 92, 0.18);
}
.hero-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0, transparent 40%, rgba(31, 91, 201, 0.04) 100%);
}
.hero-video::after {
  content: '▶  Welcome video — coming soon';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 1.05rem;
  gap: 12px;
}

/* ====== Inner-page hero ====== */
.page-hero {
  padding: clamp(80px, 12vw, 140px) var(--pad-x) clamp(48px, 6vw, 72px);
  text-align: center;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}
.page-hero .eyebrow { margin-bottom: 1em; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 auto 0.5em;
  max-width: 18ch;
}
.page-hero .lede { margin: 0 auto; max-width: var(--max-narrow); }

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: var(--t-base);
  cursor: pointer;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--edge-blue);
  color: #fff;
  border-color: var(--edge-blue);
}
.btn-primary:hover {
  background: var(--edge-blue-dk);
  border-color: var(--edge-blue-dk);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(31, 91, 201, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--bg-soft);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: transparent;
  padding: 13px 8px;
}
.btn-ghost::after { content: '→'; margin-left: 8px; transition: var(--t-fast); }
.btn-ghost:hover { color: var(--ink); background: transparent; }
.btn-ghost:hover::after { transform: translateX(3px); }

/* ====== Path cards ====== */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 3em 0 1em;
}
.path-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--edge-blue);
  border-radius: 12px;
  padding: 32px 28px 28px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: var(--t-base);
}
.path-card:nth-child(2) { border-top-color: var(--gold); }
.path-card:nth-child(3) { border-top-color: var(--edge-blue-dk); }
.path-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  color: var(--ink);
  box-shadow: 0 16px 40px -16px rgba(20, 43, 92, 0.18);
}
.path-card:hover { border-top-width: 3px; }
.path-card:nth-child(1):hover { border-top-color: var(--edge-blue); }
.path-card:nth-child(2):hover { border-top-color: var(--gold); }
.path-card:nth-child(3):hover { border-top-color: var(--edge-blue-dk); }
.path-card .card-num {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--edge-blue);
  margin-bottom: 1.2em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.path-card:nth-child(2) .card-num { color: var(--gold-dk); }
.path-card:nth-child(3) .card-num { color: var(--edge-blue-dk); }
.path-card h3 { margin: 0 0 0.5em; font-size: 1.25rem; }
.path-card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0 0 1.4em; flex: 1; }
.path-card .card-arrow {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--t-fast);
}
.path-card:hover .card-arrow { gap: 10px; color: var(--edge-blue-dk); }

/* ====== Feature rows ====== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin: 3em 0;
}
.feature h3 { font-size: 1.2rem; margin: 0 0 0.6em; }
.feature .feature-num {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--edge-blue);
  margin-bottom: 0.6em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.feature p { font-size: 0.98rem; margin: 0; }

/* ====== Stat block ====== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 4em 0;
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-family: var(--sans);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--edge-blue);
  margin-bottom: 0.2em;
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ====== Tables ====== */
.table-wrap { margin: 2em 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
thead th {
  font-family: var(--sans);
  font-weight: 700;
  text-align: left;
  padding: 14px 14px;
  border-bottom: 2px solid var(--edge-blue);
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
tbody td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-soft);
  line-height: 1.5;
}
tbody tr:last-child td { border-bottom: none; }

/* ====== Callout ====== */
.callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 2em 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout .callout-label {
  display: block;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 0.6em;
}

/* ====== FAQ ====== */
.faq { margin: 2em 0; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.8em 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin: 0 0 0.7em; font-size: 1.18rem; letter-spacing: -0.015em; }
.faq-item p { margin: 0 0 0.6em; color: var(--ink-soft); }
.faq-item p:last-child { margin-bottom: 0; }

/* ====== Timeline ====== */
.timeline { margin: 3em 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 110px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--rule);
}
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 14px 0;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 105px;
  top: 22px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--edge-blue);
}
.timeline-when {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--edge-blue);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 18px;
}
.timeline-what { padding: 14px 0; }
.timeline-what h4 { margin: 0 0 0.3em; font-size: 1.08rem; color: var(--ink); }
.timeline-what p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }

/* ====== Final CTA (dark block) ====== */
.final-cta {
  margin: 0;
  padding: clamp(72px, 12vw, 120px) var(--pad-x);
  background: var(--bg-deep);
  color: var(--bg);
  text-align: center;
}
.final-cta .eyebrow { color: var(--gold-lt); }
.final-cta h2 {
  color: #fff;
  margin: 0 auto 0.5em;
  max-width: 16ch;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
.final-cta p {
  color: rgba(250, 247, 242, 0.75);
  max-width: 560px;
  margin: 0 auto 2em;
  font-size: 1.1rem;
}
.final-cta .btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.final-cta .btn-primary:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  color: var(--ink);
}
.final-cta .btn-secondary {
  color: var(--bg);
  border-color: rgba(250, 247, 242, 0.25);
}
.final-cta .btn-secondary:hover {
  border-color: var(--bg);
  color: var(--bg);
  background: rgba(250, 247, 242, 0.08);
}

/* ====== Footer ====== */
.site-footer {
  background: var(--bg);
  color: var(--ink-soft);
  padding: 72px var(--pad-x) 32px;
  border-top: 1px solid var(--rule);
}
.footer-row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer-brand .brand { font-size: 1.25rem; margin-bottom: 1em; }
.footer-brand p {
  color: var(--ink-mute);
  font-size: 0.94rem;
  margin: 0;
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1.4em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.75em; }
.footer-col a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  border-bottom: none;
}
.footer-col a:hover { color: var(--edge-blue); border-bottom: none; }

.footer-bottom {
  max-width: var(--max);
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); border-bottom: none; }
.footer-bottom a:hover { color: var(--edge-blue); }
.footer-areaa-mark {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

/* ====== Responsive ====== */
@media (max-width: 880px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .nav-toggle { display: inline-block; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .timeline::before { left: 6px; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .timeline-item::before { left: 0; top: 8px; }
  .timeline-when { padding-top: 0; }
  .timeline-what { padding: 0 0 1em; }
  .footer-row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-row { grid-template-columns: 1fr; gap: 32px; }
  .path-grid { grid-template-columns: 1fr; }
}

/* ====== Print ====== */
@media print {
  .nav, .site-footer, .final-cta, .hero-video { display: none; }
  body { background: #fff; }
  .section { padding: 24px 0; }
}
