/* style.css — design tokens + shared components for All-In CDL School */

:root,
[data-theme='light'] {
  /* ---- Surfaces (Phase 7 brand kit: Off-White) ---- */
  --color-bg: #f6f8fa;
  --color-surface: #ffffff;
  --color-surface-2: #eef1f5;
  --color-surface-offset: #e5e9ef;
  --color-surface-dynamic: #dbe1e9;
  --color-divider: #d7dce3;
  --color-border: #c5ccd6;

  /* ---- Text (Phase 7 brand kit: Graphite) ---- */
  --color-text: #242a33;
  --color-text-muted: #565f6b;
  --color-text-faint: #8b93a0;
  --color-text-inverse: #f6f8fa;

  /* ---- Headline ink: Deep Navy -- used for h1-h4 only, kept separate from
         --color-primary so headlines stay navy while links/buttons stay blue. ---- */
  --color-headline: #0b1d3a;

  /* ---- Primary: Electric Blue (Phase 7 brand kit) ---- */
  --color-primary: #1565ff;
  --color-primary-hover: #0f4ecc;
  --color-primary-active: #0a3899;
  --color-primary-highlight: #dbe8ff;

  /* ---- Hero surfaces (Phase 5 "Transformation" rebrand): light, athletic-brand
         base instead of the old dark-navy-heavy hero. Text/eyebrow colors flip to
         dark-on-light. --color-hero-bg-dark* retained as fixed-dark tokens for
         surfaces that intentionally stay dark regardless of theme (stat band,
         footer, mobile nav drawer). ---- */
  --color-hero-bg: #ffffff;
  --color-hero-bg-active: #eef1f4;
  --color-hero-text: #10202f;
  --color-hero-text-muted: #4d6072;
  --color-hero-text-faint: #647a8c;

  /* ---- Fixed-dark surfaces: footer, stat band, mobile nav drawer -- always dark
         navy regardless of light/dark theme, so white text stays legible ---- */
  --color-hero-bg-dark: #0b1d3a;
  --color-hero-bg-dark-active: #081527;

  /* ---- Phase 7: brand-kit Deep Navy surface. Used for hero, CTA bands,
         calculator/timeline HUD panels, and alternating dark sections --
         same navy family as the fixed-dark tokens above for a single
         consistent dark surface across the site. ---- */
  --color-black-surface: #0b1d3a;
  --color-black-surface-raised: #142b4d;
  --color-black-surface-line: #24405e;
  --color-on-black: #f6f8fa;
  --color-on-black-muted: #aab9cc;
  --color-on-black-faint: #71839c;

  /* ---- Accent: Safety Orange (Phase 7 brand kit, CTAs) ---- */
  --color-accent: #ff6a00;
  --color-accent-hover: #d95a00;
  --color-accent-active: #b84c00;
  --color-accent-highlight: #ffe0c2;

  /* ---- Punchier orange for use ON navy/dark surfaces only -- reads
         "energetic" against #0b1d3a. ---- */
  --color-accent-onblack: #ff7a1a;
  --color-accent-onblack-hover: #ff9142;

  /* ---- Amber (secondary highlight, badges) ---- */
  --color-amber: #d19900;
  --color-amber-hover: #b07a00;
  --color-amber-highlight: #f3e6bd;

  /* ---- Success (financing / trust checkmarks) ---- */
  --color-success: #2f7d46;
  --color-success-hover: #1f5c32;
  --color-success-highlight: #d6ead9;

  /* ---- Money Green: secondary energetic accent for pay figures / income
         calculator, reinforcing "new life, upward momentum, money, freedom" ---- */
  --color-money: #1f9d55;
  --color-money-hover: #16793f;
  --color-money-highlight: #d8f3e2;

  /* ---- Error ---- */
  --color-error: #b3261e;
  --color-error-hover: #8c1d17;
  --color-error-highlight: #f4d6d3;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;
  /* Phase 6: sharp/minimal-radius shape for primary CTA buttons and HUD
     panels -- blocky and "engineered" instead of a soft pill. */
  --radius-sharp: 4px;

  /* Transitions */
  --transition-interactive: 160ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.15 0.02 250 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.15 0.02 250 / 0.12);
  --shadow-lg: 0 16px 40px oklch(0.15 0.02 250 / 0.18);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  /* Phase 7 brand kit: Barlow Condensed for all headlines/eyebrows/.stat-huge --
     bold condensed type per brand handoff. Inter is the body font. */
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

[data-theme='dark'] {
  --color-bg: #0c1620;
  --color-surface: #101f2d;
  --color-surface-2: #142735;
  --color-surface-offset: #182c3b;
  --color-surface-dynamic: #1d3344;
  --color-divider: #223a4b;
  --color-border: #2c4a5e;
  --color-text: #e7edf1;
  --color-text-muted: #a8bac7;
  --color-text-faint: #718a9a;
  --color-text-inverse: #10202f;
  --color-headline: #ffffff;
  --color-primary: #5b96ff;
  --color-primary-hover: #7ea9ff;
  --color-primary-active: #a3c1ff;
  --color-primary-highlight: #1a2f52;
  --color-accent: #ff8a33;
  --color-accent-hover: #ffa15c;
  --color-accent-active: #ffb883;
  --color-accent-highlight: #3a2a1a;
  --color-amber: #e8b93a;
  --color-amber-hover: #f0c65a;
  --color-amber-highlight: #3a3120;
  --color-success: #5fbb78;
  --color-success-hover: #7ccb92;
  --color-success-highlight: #1e3324;
  --color-money: #3ecb7c;
  --color-money-hover: #5fd693;
  --color-money-highlight: #163826;
  --color-error: #e2695f;
  --color-error-hover: #ea867d;
  --color-error-highlight: #3a201d;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);

  /* Hero surfaces flip dark in dark mode -- otherwise the light hero background
     never changes and text tokens set for the light hero (or generic --color-text)
     become illegible against it. */
  --color-hero-bg: #101f2d;
  --color-hero-bg-active: #0c1620;
  --color-hero-text: #e7edf1;
  --color-hero-text-muted: #a8bac7;
  --color-hero-text-faint: #718a9a;

  /* Phase 7: dark mode deepens the brand navy slightly further and
     light-content sections (.section--light) flip to a dark charcoal so
     dark mode still reads as meaningfully different from the light theme
     now that navy sections exist in "light" mode too. */
  --color-black-surface: #071229;
  --color-black-surface-raised: #0e1f3d;
  --color-black-surface-line: #1f3455;
  --color-on-black: #f6f8fa;
  --color-on-black-muted: #aab9cc;
  --color-on-black-faint: #71839c;
  --color-accent-onblack: #ff9142;
  --color-accent-onblack-hover: #ffa666;
}

/* ---------------- Type Scale ---------------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ---------------- Base Elements ---------------- */
body {
  overflow-x: hidden;
}

/* Phase 7 brand kit: headlines set in bold condensed Barlow Condensed,
   UPPERCASE, tight tracking, colored Deep Navy (--color-headline) so
   headings stay navy while links/buttons use the Electric Blue primary. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-headline);
}
h1, h2 {
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
h3 {
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 {
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
[data-theme="dark"] a:not(.btn) { color: var(--color-primary); }
/* These link groups already set explicit, theme-safe colors — keep them from being overridden by the rule above. */
[data-theme="dark"] .mobile-nav a { color: #fff; }
[data-theme="dark"] .site-footer a { color: #cddbe6; }
[data-theme="dark"] .lp-footer a { color: #cddbe6; }
[data-theme="dark"] .mobile-cta-bar a { color: #fff; }

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow { max-width: var(--content-default); }

section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.section-lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 62ch;
  margin-bottom: var(--space-8);
}

/* ---------------- Buttons (Phase 6: sharp/engineered shape language) ---------------- */
/* Primary CTA buttons are no longer soft rounded pills -- 4px radius reads
   "engineered," not "SaaS default." Badges/eyebrow chips keep pill shape
   elsewhere for contrast (see .badge, .hero__eyebrow, .urgency-line). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: var(--space-4) var(--space-6);
  /* Phase 7 brand kit: buttons use a moderate rounded corner (not the old
     sharp 4px, not a full pill) matching the UI kit's Enroll Now / Learn
     More / Call Now examples. */
  border-radius: var(--radius-md);
  min-height: 48px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.btn--accent {
  background: var(--color-accent);
  color: #fff;
}
.btn--accent:hover { background: var(--color-accent-hover); }
.btn--accent:active { background: var(--color-accent-active); }

/* On-navy surfaces (hero, CTA bands, dark HUD panels) use the punchier
   saturated orange so CTAs read energetic, not pastel, against #0b1d3a. */
.btn--accent-onblack {
  background: var(--color-accent-onblack);
  color: #0b1d3a;
}
.btn--accent-onblack:hover { background: var(--color-accent-onblack-hover); }

.btn--outline {
  /* Used on dark surfaces (cta-band accent bg, lp-hero image overlay) — stays light regardless of theme. */
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn--outline-hero {
  /* Homepage hero is now a black surface (Phase 6) — light outline on dark bg. */
  background: transparent;
  color: var(--color-on-black);
  border: 2px solid var(--color-on-black-muted);
}
.btn--outline-hero:hover { background: rgba(247, 247, 245, 0.1); border-color: var(--color-on-black); }
.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
[data-theme="dark"] .btn--outline-dark { color: var(--color-text); border-color: var(--color-border); }

.btn--primary {
  /* Fixed solid navy + white text — stays consistent regardless of theme. */
  background: var(--color-hero-bg-dark);
  color: #fff;
}
.btn--primary:hover { background: var(--color-hero-bg-dark-active); }

.btn--block { width: 100%; }
.btn--lg { padding: var(--space-5) var(--space-8); font-size: var(--text-base); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  min-height: 64px;
}
.site-header__logo { flex-shrink: 0; color: var(--color-text); }
.site-header__logo svg { width: clamp(150px, 20vw, 200px); height: auto; flex-shrink: 0; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.site-header__nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-2) 0;
  position: relative;
  white-space: nowrap;
}
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] {
  color: var(--color-accent);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-primary);
  white-space: nowrap;
}
[data-theme="dark"] .header-phone { color: var(--color-text); }
.header-phone svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-accent); }
.header-phone__short { display: none; }

.nav-toggle {
  display: none;
  padding: var(--space-2);
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--color-primary); }
[data-theme="dark"] .nav-toggle svg { color: var(--color-text); }

/* ---------------- Hero (Phase 5: light, athletic-brand base) ---------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--color-hero-bg) 0%, var(--color-hero-bg-active) 100%);
  color: var(--color-hero-text);
  overflow: hidden;
  border-bottom: 1px solid var(--color-divider);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-accent-highlight);
  color: var(--color-accent-active);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.hero h1 {
  font-size: var(--text-3xl);
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}
[data-theme="dark"] .hero h1 { color: var(--color-text); }
.hero p.hero__sub {
  font-size: var(--text-lg);
  color: var(--color-hero-text-muted);
  max-width: 56ch;
  margin-bottom: var(--space-8);
  font-family: var(--font-body);
  font-weight: 400;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.hero__stats--trust {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
}
.hero__stat {
  min-width: 130px;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero__stat span {
  font-size: var(--text-xs);
  color: var(--color-hero-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.page-hero {
  background: linear-gradient(180deg, var(--color-hero-bg) 0%, var(--color-hero-bg-active) 100%);
  color: var(--color-hero-text);
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
  border-bottom: 1px solid var(--color-divider);
}
.page-hero .eyebrow { color: var(--color-accent); }
.page-hero h1 { color: var(--color-primary); font-size: var(--text-2xl); margin-bottom: var(--space-3); }
[data-theme="dark"] .page-hero h1 { color: var(--color-text); }
.page-hero p { color: var(--color-hero-text-muted); max-width: 62ch; font-size: var(--text-base); }

/* Stripped LP hero variant with background image */
.lp-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, rgba(11,29,58,.86), rgba(11,29,58,.93));
  overflow: hidden;
}
.lp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.lp-hero__inner {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  text-align: center;
  max-width: var(--content-default);
  margin-inline: auto;
}
.lp-hero h1 {
  color: #fff;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
}
.lp-hero p.hero__sub {
  color: #dbe4ec;
  margin-inline: auto;
  text-align: center;
}
.lp-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* ---------------- Cards / Grids ---------------- */
.grid {
  display: grid;
  gap: var(--space-6);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
[data-theme="dark"] .card__icon { background: var(--color-surface-offset); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.card p { color: var(--color-text-muted); font-size: var(--text-sm); }

.card--accent {
  border-color: var(--color-accent);
  border-width: 2px;
}

/* Diff bullet list with orange checks */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
}
.check-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  margin-top: 2px;
}

/* ---------------- Stat band (fixed-dark surface, both themes) ---------------- */
.stat-band {
  background: var(--color-hero-bg-dark);
  color: #fff;
}
.stat-band .grid { text-align: center; }
.stat-band strong {
  display: block;
}
.stat-band strong:not(.stat-huge) {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
}
.stat-band span { font-size: var(--text-sm); color: #cddbe6; display: block; margin-top: var(--space-2); }

/* ---------------- Two-column content ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}
.split img, .split .media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split--reverse .split__media { order: 2; }

/* ---------------- Lead Form ---------------- */
.lead-form {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.lead-form h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.lead-form p.lead-form__sub {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}
.form-row { margin-bottom: var(--space-4); }
.form-row label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.form-row input, .form-row select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  min-height: 48px;
}
.form-row input:focus, .form-row select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-highlight);
}
.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
}
.trust-line {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-success);
  margin-top: var(--space-4);
}
.trust-line svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--color-success);
}
.urgency-line {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-amber);
  background: var(--color-amber-highlight);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-top: var(--space-5);
}
[data-theme="dark"] .urgency-line { color: #ffd88a; }
.form-success {
  display: none;
  background: var(--color-success-highlight);
  color: var(--color-success);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-top: var(--space-4);
}

.lead-form-section {
  background: var(--color-surface-offset);
}
.lead-form-section .container {
  max-width: var(--content-default);
}
.lead-form-section__intro { text-align: center; margin-bottom: var(--space-8); }
.lead-form-section__phone-hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}
.lead-form-section__phone-hint a { font-weight: 700; color: var(--color-accent); }

/* ---------------- FAQ ---------------- */
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
[data-theme="dark"] .faq-item summary .plus { background: var(--color-surface-offset); }
.faq-item[open] summary .plus { background: var(--color-accent); color: #fff; }
.faq-item p {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  max-width: 68ch;
}

/* ---------------- Footer (fixed-dark surface, both themes) ---------------- */
.site-footer {
  background: var(--color-hero-bg-dark-active);
  color: #cddbe6;
  padding-block: var(--space-16) var(--space-24);
}
.site-footer h4 {
  color: #fff;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}
.site-footer a { color: #cddbe6; font-size: var(--text-sm); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-grid ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-logo svg { width: 170px; margin-bottom: var(--space-4); }
.footer-brand p { font-size: var(--text-sm); color: #a9bccb; max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid #2c4a5e;
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: #90a6b6;
}

.lp-footer {
  background: var(--color-hero-bg-dark-active);
  color: #cddbe6;
  padding-block: var(--space-10) var(--space-24);
}
.lp-footer .container { text-align: center; }
.lp-footer .footer-logo { display: flex; justify-content: center; margin-bottom: var(--space-4); }
.lp-footer p { font-size: var(--text-sm); margin-bottom: var(--space-2); }

/* ---------------- Sticky Mobile CTA Bar ---------------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  box-shadow: 0 -4px 16px oklch(0.1 0.02 250 / 0.15);
}
.mobile-cta-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  font-weight: 700;
  font-size: var(--text-sm);
}
.mobile-cta-bar a svg { width: 18px; height: 18px; }
.mobile-cta-bar__call {
  background: var(--color-accent);
  color: #fff;
}
.mobile-cta-bar__info {
  background: var(--color-hero-bg-dark);
  color: #fff;
}

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--color-amber-highlight);
  color: #7a5c00;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
[data-theme="dark"] .badge { color: var(--color-amber); }

.divider-strip {
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--color-accent) 0 16px, var(--color-hero-bg-dark) 16px 32px);
}

.cta-band {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: var(--text-xl); margin-bottom: var(--space-4); }
.cta-band p { color: #fff2ea; margin-bottom: var(--space-8); font-size: var(--text-base); }
.cta-band .hero__actions { justify-content: center; }

.source-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.source-note a { color: var(--color-text-faint); text-decoration: underline; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover { background: var(--color-surface-offset); }
.theme-toggle svg { width: 20px; height: 20px; }

img.rounded { border-radius: var(--radius-lg); }

/* Semantic NAP <address> blocks -- inherit normal (non-italic) text styling */
address.nap-block {
  display: inline;
  font-style: normal;
}
.nap-block__label { font-weight: 600; }
.lp-footer address.nap-block { display: inline; }
.site-header__bar address.nap-block,
.header-phone address.nap-block { display: inline; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-height: 340px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .site-header__nav { display: none; }
  .nav-toggle { display: inline-flex; }
  body { padding-bottom: 64px; }
  .mobile-cta-bar { display: block; }
  .site-header__actions { gap: var(--space-2); }
  .site-header__actions .header-phone__full { display: none; }
  .site-header__actions .header-phone__short { display: inline; }
  .site-header__actions .header-phone {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1.5px solid var(--color-accent);
    font-size: var(--text-xs);
    font-weight: 700;
  }
  .header-apply-btn { padding: 6px 10px; font-size: var(--text-xs); }
  .site-header__actions .theme-toggle { display: none; }
  .site-header__logo svg { width: 92px; }
  .site-header__actions { gap: var(--space-1); }
  .site-header__actions .header-phone,
  .site-header__actions .header-apply-btn,
  .site-header__actions .nav-toggle {
    flex-shrink: 0;
  }
  .nav-toggle { padding: var(--space-1); }
}

@media (max-width: 640px) {
  .grid--3, .grid--4, .grid--2, .grid--5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero__stats { gap: var(--space-4); justify-content: space-between; }
  .hero__stat { min-width: 100px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--color-hero-bg-dark-active);
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom, 0px));
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-8);
}
.mobile-nav__close svg { width: 28px; height: 28px; color: #fff; }
.mobile-nav__top { justify-content: space-between !important; }
.mobile-nav__theme { color: #fff; }
.mobile-nav__theme:hover { background: rgba(255,255,255,0.1); }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-size: var(--text-lg);
  font-weight: 700;
  padding: var(--space-4) 0;
  border-bottom: 1px solid #2c4a5e;
}
.mobile-nav__phone {
  margin-top: var(--space-8);
}

/* ---------------- Phase 3: Header Apply button + mobile nav apply ---------------- */
.header-apply-btn {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
  white-space: nowrap;
}
.mobile-nav__apply {
  display: block;
  text-align: center;
  margin-top: var(--space-4);
}

/* Reduce nav item spacing slightly so 7 links + actions fit at 1280px */
@media (min-width: 861px) and (max-width: 1360px) {
  .site-header__nav { gap: var(--space-4); }
  .site-header__nav a { font-size: var(--text-xs); }
  .header-phone span { display: none; }
}

/* ---------------- Phase 3: Checkbox form rows (TCPA consent) ---------------- */
.form-row--checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.form-row--checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-accent);
}
.form-row--checkbox label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ---------------- Phase 3: Footer legal links ---------------- */
.footer-legal-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
}
.footer-legal-links a { text-decoration: underline; }

/* ---------------- Phase 3: Big bold pay/price numbers ---------------- */
.big-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-2xl);
  color: var(--color-money);
  line-height: 1;
}
[data-theme="dark"] .big-number { color: var(--color-money); }
.big-number--accent { color: var(--color-accent); }

/* ---------------- Phase 3: Run Direct callout ---------------- */
.run-direct-callout {
  background: var(--color-money-highlight);
  border: 2px solid var(--color-money);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
[data-theme="dark"] .run-direct-callout { background: var(--color-surface-offset); }
.run-direct-callout h3 { color: var(--color-money); }
[data-theme="dark"] .run-direct-callout h3 { color: var(--color-money); }

/* On a Phase 6 black surface, the callout becomes a dark HUD card instead of
   a light mint highlight — keeps the green "money" association without the
   washed-out low-contrast look of a light card floating on black. */
.section--black .run-direct-callout {
  background: var(--color-black-surface-raised);
  border: 2px solid var(--color-money);
}
.section--black .run-direct-callout h3 { color: var(--color-money); }
.section--black .run-direct-callout p,
.section--black .run-direct-callout .section-lede { color: var(--color-on-black-muted); }
.section--black .run-direct-callout strong { color: var(--color-on-black); }
.section--black .run-direct-callout a { color: var(--color-accent-onblack); }

.disclaimer-box {
  background: var(--color-surface-offset);
  border-left: 4px solid var(--color-text-faint);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ---------------- Phase 3: Income Calculator ---------------- */
.income-calc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.income-calc__row {
  margin-bottom: var(--space-6);
}
.income-calc__row label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.income-calc__row label span[data-miles-value] {
  color: var(--color-accent);
  font-weight: 900;
}
.income-calc input[type="range"] {
  width: 100%;
  accent-color: var(--color-accent);
  height: 8px;
}
.income-calc__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.income-calc__result {
  background: var(--color-money-highlight);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
[data-theme="dark"] .income-calc__result { background: var(--color-surface-offset); }
.income-calc__result strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-xl);
  color: var(--color-money);
}
.income-calc__result span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.income-calc__disclaimer {
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---------------- Phase 3: Free Permit Test Quiz ---------------- */
.quiz {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.quiz__progress {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.quiz__question {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
}
.quiz__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.quiz__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-base);
  cursor: pointer;
}
.quiz__option:hover { border-color: var(--color-primary); }
.quiz__option.is-selected { border-color: var(--color-primary); background: var(--color-primary-highlight); }
.quiz__option.is-correct { border-color: var(--color-success); background: var(--color-success-highlight); }
.quiz__option.is-incorrect { border-color: var(--color-error); background: var(--color-error-highlight); }
.quiz__option:disabled { cursor: default; }
.quiz__nav {
  display: flex;
  justify-content: flex-end;
}
.quiz__result {
  text-align: center;
}
.quiz__score {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-3xl);
  color: var(--color-money);
  margin-bottom: var(--space-2);
}
.quiz__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
}
.quiz[hidden], .quiz__result[hidden] { display: none; }

/* ---------------- Phase 3: responsive tweaks for calculator/quiz ---------------- */
@media (max-width: 640px) {
  .income-calc, .quiz { padding: var(--space-5); }
  .income-calc__results { grid-template-columns: 1fr; }
}

/* ---------------- Phase 4: Reviews ---------------- */
.reviews-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  margin-top: var(--space-6);
}
.reviews-hero-stat .stars { color: var(--color-amber); font-size: var(--text-lg); letter-spacing: 0.05em; }
.reviews-hero-stat strong { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 900; color: var(--color-primary); font-variant-numeric: tabular-nums; }
.reviews-hero-stat span { color: var(--color-text-muted); font-size: var(--text-sm); }
.reviews-hero-stat a { color: var(--color-accent); text-decoration: underline; font-weight: 600; }

.stars {
  color: var(--color-amber);
  letter-spacing: 0.05em;
  font-size: var(--text-base);
  line-height: 1;
}
.stars[aria-hidden] { user-select: none; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.review-card__stars { display: flex; align-items: center; justify-content: space-between; }
.review-card__date { font-size: var(--text-xs); color: var(--color-text-faint); }
.review-card__quote {
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.6;
  flex-grow: 1;
}
.review-card__quote::before { content: "\201C"; }
.review-card__quote::after { content: "\201D"; }
.review-card__author {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-primary);
}
[data-theme="dark"] .review-card__author { color: var(--color-primary-hover); }

.reviews-cta-box {
  background: var(--color-surface-offset);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
}
.reviews-cta-box .stars { font-size: var(--text-2xl); display: block; margin-bottom: var(--space-3); }
.reviews-cta-box strong { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 900; font-variant-numeric: tabular-nums; color: var(--color-primary); }

@media (max-width: 1024px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .review-grid { grid-template-columns: 1fr; }
  .reviews-hero-stat { flex-wrap: wrap; }
}

/* =========================================================================
   PHASE 5 — "Transformation" Rebrand (Nike Training inspired)
   Light athletic-brand base + brand blue + energetic orange accent.
   New components: .stat-huge (scoreboard numbers), .program-timeline
   (signature component 2), .paycheck-calc (signature component 1 redesign).
   ========================================================================= */

/* ---------------- Stat-Huge: sports-scoreboard number treatment ---------------- */
/* Used everywhere a headline number appears: hero, pricing, job-placement,
   reviews, homepage stat band. Very large, bold, tight letter-spacing,
   tabular numerals, high visual weight, set apart from body copy. */
.stat-huge {
  font-family: var(--font-display);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-size: clamp(2.75rem, 2rem + 4vw, 5.5rem);
  color: var(--color-primary);
}
[data-theme="dark"] .stat-huge { color: var(--color-primary-hover); }
.stat-huge--accent { color: var(--color-accent); }
[data-theme="dark"] .stat-huge--accent { color: var(--color-accent); }
.stat-huge--money { color: var(--color-money); }
[data-theme="dark"] .stat-huge--money { color: var(--color-money); }

/* Medium variant for denser stat grids (pricing cards, job-placement cards) */
.stat-huge--md {
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
}

.stat-huge__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* Scoreboard-style stat card wrapper (used in stat grids) */
.stat-huge-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* ---------------- Signature Component 1: Paycheck Calculator (redesign) ------- */
.paycheck-calc {
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .paycheck-calc { border-color: var(--color-primary-active); }
.paycheck-calc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-weight: 800;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
[data-theme="dark"] .paycheck-calc__eyebrow { background: var(--color-surface-offset); }
.paycheck-calc__row {
  margin-bottom: var(--space-6);
}
.paycheck-calc__row label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.paycheck-calc__row label span[data-miles-value] {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 900;
  font-size: var(--text-lg);
  font-variant-numeric: tabular-nums;
}
.paycheck-calc input[type="range"] {
  width: 100%;
  accent-color: var(--color-accent);
  height: 8px;
}
.paycheck-calc__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.paycheck-calc__result {
  background: var(--color-money-highlight);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  text-align: center;
}
[data-theme="dark"] .paycheck-calc__result { background: var(--color-surface-offset); }
.paycheck-calc__result .stat-huge {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  color: var(--color-money);
}
[data-theme="dark"] .paycheck-calc__result .stat-huge { color: var(--color-money); }
.paycheck-calc__result span {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.paycheck-calc__disclaimer {
  margin-top: var(--space-6);
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-size: var(--text-xs);
  line-height: 1.6;
  color: var(--color-text-muted);
  background: var(--color-surface-offset);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}
.paycheck-calc__disclaimer svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--color-primary);
}

@media (max-width: 640px) {
  .paycheck-calc { padding: var(--space-5); }
  .paycheck-calc__results { grid-template-columns: 1fr; }
}

/* ---------------- Signature Component 2: Program Timeline / "Path" ----------- */
/* Single-view horizontal scale on desktop (no internal scrolling/carousel),
   collapses to a vertical stepper on mobile. All milestones visible at once. */
.program-timeline {
  position: relative;
}
.program-timeline__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  position: relative;
}
.program-timeline__track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-divider);
  border-radius: var(--radius-full);
  z-index: 0;
}
.program-timeline__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.program-timeline__marker {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--color-surface);
}
.program-timeline__step--final .program-timeline__marker {
  background: var(--color-accent);
}
.program-timeline__card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  flex-grow: 1;
  box-shadow: var(--shadow-sm);
}
.program-timeline__step--final .program-timeline__card {
  border-color: var(--color-accent);
  border-width: 2px;
}
.program-timeline__week {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.program-timeline__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.25;
}
.program-timeline__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .program-timeline__track {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .program-timeline__track::before {
    top: 0;
    bottom: 0;
    left: 22px;
    right: auto;
    width: 4px;
    height: auto;
  }
  .program-timeline__step {
    flex-direction: row;
    align-items: flex-start;
    padding-bottom: var(--space-6);
  }
  .program-timeline__step:last-child { padding-bottom: 0; }
  .program-timeline__marker { flex-shrink: 0; }
}

/* =========================================================================
   PHASE 6 — REAL Athletic-Brand Rebrand (Nike Training Club language)
   Corrects the Phase 5 color-swap pass. Changes actual visual LANGUAGE:
   near-black surface, bold condensed Clash Display type, sharp shapes,
   angled/duotone imagery, dark-HUD timeline + calculator, black/light
   section rhythm. All facts/compliance copy untouched -- visual only.
   ========================================================================= */

/* ---------------- Technical HUD grid background layer ---------------- */
/* Thin dashed crosshair/grid lines evoking a training-plan HUD. Applied as
   a background layer behind hero/stat sections via ::before so content
   stacks cleanly above it. */
.hud-grid {
  position: relative;
}
.hud-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,0.06) 39px 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,0.06) 39px 40px);
}
.hud-grid::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 32px;
  width: 34px;
  height: 34px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(90deg, transparent 15px, rgba(255,255,255,0.35) 15px 19px, transparent 19px),
    linear-gradient(0deg, transparent 15px, rgba(255,255,255,0.35) 15px 19px, transparent 19px);
  display: none;
}
@media (min-width: 640px) {
  .hud-grid::after { display: block; }
}
.hud-grid > * { position: relative; z-index: 1; }

/* ---------------- Black/light alternating section rhythm ---------------- */
/* Applied per-section down a page: black hero -> light content -> black
   stat/CTA band -> light content -> black footer. Both classes are
   theme-stable in light mode (that's the point of this phase) but in dark
   mode .section--light also flips dark so the toggle still does something
   meaningfully different. */
.section--black {
  background: var(--color-black-surface);
  color: var(--color-on-black);
}
.section--black h1, .section--black h2, .section--black h3, .section--black h4 {
  color: var(--color-on-black);
}
.section--black p { color: var(--color-on-black-muted); }
.section--black .eyebrow { color: var(--color-accent-onblack); }
.section--black .section-lede { color: var(--color-on-black-muted); }
.section--black a:not(.btn) { color: var(--color-accent-onblack); }
.section--black a:not(.btn):hover { color: var(--color-accent-onblack-hover); }

.section--light {
  background: var(--color-surface);
  color: var(--color-text);
}
[data-theme="dark"] .section--light {
  background: var(--color-surface);
  color: var(--color-text);
}

/* ---------------- Hero (Phase 7: Deep Navy brand-kit surface) ------ */
.hero {
  background: linear-gradient(165deg, var(--color-black-surface) 0%, var(--color-black-surface-line) 100%);
  color: var(--color-on-black);
  border-bottom: 1px solid var(--color-black-surface-line);
}
.hero__eyebrow {
  background: rgba(255, 122, 26, 0.16);
  color: var(--color-accent-onblack);
  border-radius: var(--radius-full);
}
.hero h1 {
  color: var(--color-on-black);
  font-size: var(--text-3xl);
}
[data-theme="dark"] .hero h1 { color: var(--color-on-black); }
.hero p.hero__sub {
  color: var(--color-on-black-muted);
}
.hero__stats--trust {
  border-top: 1px solid var(--color-black-surface-line);
}
.hero__stat strong {
  color: var(--color-accent-onblack);
}
.hero__stat span {
  color: var(--color-on-black-faint);
}

.page-hero {
  background: linear-gradient(165deg, var(--color-black-surface) 0%, var(--color-black-surface-line) 100%);
  color: var(--color-on-black);
  border-bottom: 1px solid var(--color-black-surface-line);
}
.page-hero .eyebrow { color: var(--color-accent-onblack); }
.page-hero h1 { color: var(--color-on-black); }
[data-theme="dark"] .page-hero h1 { color: var(--color-on-black); }
.page-hero p { color: var(--color-on-black-muted); }

/* ---------------- Imagery treatment: angled + duotone campaign shoot ---- */
/* Replaces "stock photo in a rounded card" with a full-bleed, diagonally
   clipped, duotone-filtered treatment -- reads like a unified campaign
   shoot, not individual stock photography. */
.media-angled {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
  box-shadow: none;
}
.media-angled img {
  filter: contrast(1.15) saturate(1.1);
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.media-angled::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(11,29,58,0.55) 0%, rgba(11,29,58,0.05) 45%, rgba(255,106,0,0.22) 100%);
  pointer-events: none;
}
.media-angled:hover img { transform: scale(1.04); }

.media-angled--reverse {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 92%);
}

.hero__media.media-angled {
  aspect-ratio: 4/3;
}

/* ---------------- Stat-huge: scoreboard/HUD readout (Phase 6 refinement) */
/* Sits on a black chip with a thin orange underline beneath the number --
   not plain colored text on a white card -- regardless of the page's own
   background, so it always reads as a HUD readout. */
.stat-huge {
  font-family: var(--font-display);
  text-transform: uppercase;
}
.stat-huge-card {
  background: var(--color-black-surface);
  border: 1px solid var(--color-black-surface-line);
  border-radius: var(--radius-sharp);
  position: relative;
  padding-bottom: calc(var(--space-6) + 6px);
}
.stat-huge-card .stat-huge {
  color: var(--color-on-black);
}
.stat-huge-card .stat-huge--accent { color: var(--color-accent-onblack); }
.stat-huge-card .stat-huge--money { color: #3ecb7c; }
.stat-huge-card .stat-huge__label {
  color: var(--color-on-black-faint);
}
.stat-huge-card::after {
  content: "";
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  bottom: var(--space-4);
  height: 3px;
  background: var(--color-accent-onblack);
}

/* ---------------- Stat band + CTA band: punchier orange on black -------- */
.stat-band strong:not(.stat-huge) {
  color: var(--color-accent-onblack);
}

.cta-band {
  background: var(--color-black-surface);
  color: var(--color-on-black);
}
.cta-band h2 { color: var(--color-on-black); }
.cta-band p { color: var(--color-on-black-muted); }

/* ---------------- Signature Component 2 (Phase 6): Dark HUD Timeline ---- */
/* Restyled from soft white cards + blue circle markers into a dark
   "training plan" HUD -- black card background, orange progress
   connector, bold condensed uppercase week labels, orange checkmark
   marker on the final step. Facts/milestones unchanged from Phase 5. */
.program-timeline {
  background: var(--color-black-surface);
  color: var(--color-on-black);
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}
.program-timeline .eyebrow { color: var(--color-accent-onblack); }
.program-timeline .section-title { color: var(--color-on-black); }
.program-timeline .section-lede { color: var(--color-on-black-muted); }

.program-timeline__track::before {
  background: var(--color-black-surface-line);
}
.program-timeline__marker {
  background: var(--color-black-surface-raised);
  color: var(--color-accent-onblack);
  border: 4px solid var(--color-black-surface);
  box-shadow: 0 0 0 1px var(--color-accent-onblack);
  font-family: var(--font-display);
}
.program-timeline__step--final .program-timeline__marker {
  background: var(--color-accent-onblack);
  color: #0b1d3a;
  box-shadow: 0 0 0 1px var(--color-accent-onblack);
}
.program-timeline__card {
  background: var(--color-black-surface-raised);
  border: 1px solid var(--color-black-surface-line);
  border-radius: var(--radius-sharp);
  border-top: 3px solid var(--color-accent-onblack);
}
.program-timeline__step--final .program-timeline__card {
  border-color: var(--color-accent-onblack);
  border-width: 1px;
  border-top-width: 3px;
}
.program-timeline__week {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-onblack);
}
.program-timeline__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-on-black);
}
.program-timeline__desc {
  color: var(--color-on-black-muted);
}

/* ---------------- Signature Component 1 (Phase 6): Dark Console Calculator */
/* Restyled as a dark console/HUD panel -- big Clash Display readout,
   thicker custom slider track with a bold orange thumb. Compliance
   disclaimer text is unchanged wording, restyled container only. */
.paycheck-calc {
  background: var(--color-black-surface);
  border: 1px solid var(--color-black-surface-line);
  border-radius: var(--radius-sharp);
  color: var(--color-on-black);
}
[data-theme="dark"] .paycheck-calc { border-color: var(--color-black-surface-line); }
.paycheck-calc__eyebrow {
  background: rgba(255, 122, 26, 0.16);
  color: var(--color-accent-onblack);
}
[data-theme="dark"] .paycheck-calc__eyebrow { background: rgba(255, 122, 26, 0.16); }
.paycheck-calc__row label {
  color: var(--color-on-black);
}
.paycheck-calc__row label span[data-miles-value],
.paycheck-calc__row label span[data-rate-value] {
  color: var(--color-accent-onblack);
}

/* Custom range slider: thick dark track, bold sharp-edged orange thumb --
   not the default browser slider look. */
.paycheck-calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: var(--radius-sharp);
  background: var(--color-black-surface-raised);
  border: 1px solid var(--color-black-surface-line);
  accent-color: unset;
}
.paycheck-calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sharp);
  background: var(--color-accent-onblack);
  border: 2px solid #0b1d3a;
  box-shadow: 0 0 0 2px rgba(255,122,26,0.35);
  cursor: pointer;
}
.paycheck-calc input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sharp);
  background: var(--color-accent-onblack);
  border: 2px solid #0b1d3a;
  box-shadow: 0 0 0 2px rgba(255,122,26,0.35);
  cursor: pointer;
}
.paycheck-calc input[type="range"]::-moz-range-track {
  height: 10px;
  border-radius: var(--radius-sharp);
  background: var(--color-black-surface-raised);
}

.paycheck-calc__results {
  border-top: 1px solid var(--color-black-surface-line);
}
.paycheck-calc__result {
  background: var(--color-black-surface-raised);
  border-radius: var(--radius-sharp);
  border: 1px solid var(--color-black-surface-line);
}
[data-theme="dark"] .paycheck-calc__result { background: var(--color-black-surface-raised); }
.paycheck-calc__result .stat-huge {
  color: var(--color-accent-onblack);
}
[data-theme="dark"] .paycheck-calc__result .stat-huge { color: var(--color-accent-onblack); }
.paycheck-calc__result span {
  color: var(--color-on-black-faint);
}

/* Disclaimer: unchanged wording, restyled to sit legibly on the dark
   console -- light-colored small text on the dark panel, WCAG AA checked. */
.paycheck-calc__disclaimer {
  color: var(--color-on-black-muted);
  background: var(--color-black-surface-raised);
  border-left: 4px solid var(--color-accent-onblack);
}
.paycheck-calc__disclaimer svg {
  color: var(--color-accent-onblack);
}
.paycheck-calc__disclaimer strong { color: var(--color-on-black); }

/* ---------------- Badges/eyebrow chips: keep pill shape for contrast ---- */
/* Per brief: badges/eyebrows can keep a small pill IF paired with sharp
   primary CTA buttons elsewhere -- .badge and .urgency-line intentionally
   remain --radius-full (unchanged), giving deliberate contrast against the
   now-sharp .btn shapes. */

/* ---------------- Header: keep functional, slightly sharpen accents ----- */
.header-apply-btn {
  border-radius: var(--radius-sharp);
}

/* ---------------- Responsive: HUD grid off on very small screens for perf */
@media (max-width: 480px) {
  .hud-grid::before { opacity: 0.35; }
}
