/* ═══════════════════════════════════════════════════════════════
   FLUENT 2 — THEME TOKENS
   All components reference semantic variables only.
   Light values live on :root; dark values override on [data-theme="dark"].
═══════════════════════════════════════════════════════════════ */

/* ── Shared structural tokens (never change with theme) ──────── */
:root {
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-pill:9999px;

  --font-base: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs:   11px;
  --font-size-sm:   13px;
  --font-size-base: 15px;
  --font-size-md:   17px;
  --font-size-lg:   20px;
  --font-size-xl:   24px;
  --font-size-2xl:  28px;
  --font-size-3xl:  36px;
  --font-size-4xl:  48px;
  --font-size-hero: clamp(40px, 5.5vw, 72px);

  --space-1:  4px;
  --space-2:  8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10:40px;
  --space-12:48px;
  --space-16:64px;
  --space-20:80px;
}

/* ── LIGHT THEME (default) ───────────────────────────────────── */
:root {
  color-scheme: light;

  /* Canvas */
  --bg-canvas:        #FFFFFF;
  --bg-surface:       #F5F7FA;
  --bg-raised:        #FFFFFF;
  --bg-overlay:       #EEF1F6;

  /* Foreground */
  --fg-1:             #111827;
  --fg-2:             #2D3748;
  --fg-3:             #4A5568;
  --fg-4:             #718096;
  --fg-on-brand:      #FFFFFF;
  --fg-on-dark:       rgba(255,255,255,.92);

  /* Borders */
  --border-subtle:    #E5E7EB;
  --border-default:   #D1D5DB;
  --border-strong:    #9CA3AF;

  /* Brand */
  --brand:            #0F6CBD;
  --brand-hover:      #115EA3;
  --brand-pressed:    #0C3B5E;
  --brand-subtle:     #EFF6FF;
  --brand-text:       #0F6CBD;

  /* Accent (gradient highlight) */
  --accent-from:      #3B82F6;
  --accent-to:        #8B5CF6;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.04);

  /* Cards */
  --card-bg:          #FFFFFF;
  --card-bg-hover:    #F9FAFB;
  --card-border:      #E5E7EB;
  --card-border-hover:#CBD5E1;

  /* Nav */
  --nav-glass-bg:     rgba(255,255,255,.85);
  --nav-glass-border: rgba(0,0,0,.08);

  /* Inputs */
  --input-bg:         #FFFFFF;
  --input-border:     #D1D5DB;

  /* Dark section (guidance) — constant across themes */
  --dark-section-bg:        #050E1B;
  --dark-section-gradient:  linear-gradient(160deg, #0A1628 0%, #071020 100%);
  --dark-card-bg:           rgba(255,255,255,.05);
  --dark-card-bg-hover:     rgba(255,255,255,.09);
  --dark-card-border:       rgba(255,255,255,.09);
  --dark-card-border-hover: rgba(255,255,255,.18);
  --dark-fg-1:              rgba(255,255,255,.95);
  --dark-fg-2:              rgba(255,255,255,.58);
  --dark-eyebrow:           #60AEFF;
  --dark-btn-bg:            rgba(255,255,255,.10);
  --dark-btn-bg-hover:      rgba(255,255,255,.16);
  --dark-btn-border:        rgba(255,255,255,.22);
}

/* ── DARK THEME ──────────────────────────────────────────────── */
[data-theme="dark"] {
  color-scheme: dark;

  --bg-canvas:        #0D1117;
  --bg-surface:       #161C25;
  --bg-raised:        #1C2430;
  --bg-overlay:       #222D3C;

  --fg-1:             #F0F2F5;
  --fg-2:             #C4CDD8;
  --fg-3:             #8D9DB0;
  --fg-4:             #5E7085;
  --fg-on-brand:      #FFFFFF;
  --fg-on-dark:       rgba(255,255,255,.92);

  --border-subtle:    #1E2A36;
  --border-default:   #2A3A4C;
  --border-strong:    #3D5268;

  --brand:            #4EADF5;
  --brand-hover:      #63BAFF;
  --brand-pressed:    #3499E0;
  --brand-subtle:     rgba(78,173,245,.12);
  --brand-text:       #63BAFF;

  --accent-from:      #60A5FA;
  --accent-to:        #A78BFA;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.3);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,.5), 0 2px 4px rgba(0,0,0,.2);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.6), 0 4px 8px rgba(0,0,0,.2);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.7), 0 8px 16px rgba(0,0,0,.2);

  --card-bg:          #1C2430;
  --card-bg-hover:    #222D3C;
  --card-border:      #2A3A4C;
  --card-border-hover:#3D5268;

  --nav-glass-bg:     rgba(13,17,23,.88);
  --nav-glass-border: rgba(255,255,255,.07);

  --input-bg:         #1C2430;
  --input-border:     #2A3A4C;
}

/* ═══════════════════════════════════════════════════════════════
   THEME TRANSITIONS
═══════════════════════════════════════════════════════════════ */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition:
    background-color .22s ease,
    border-color      .22s ease,
    color             .22s ease,
    box-shadow        .22s ease !important;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--fg-1);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 52px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav--scrolled {
  background: var(--nav-glass-bg);
  border-bottom-color: var(--nav-glass-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }

.nav-brand-ms {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255,255,255,.95);
  transition: color .3s;
}
.nav--scrolled .nav-brand-ms { color: var(--fg-1); }

.nav-divider {
  width: 1px; height: 16px;
  background: rgba(255,255,255,.28);
  flex-shrink: 0;
  transition: background .3s;
}
.nav--scrolled .nav-divider { background: var(--border-default); }

.nav-brand-name {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: rgba(255,255,255,.68);
  white-space: nowrap;
  transition: color .3s;
}
.nav--scrolled .nav-brand-name { color: var(--fg-3); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
  transition: color .15s;
}
.nav--scrolled .nav-links a { color: var(--fg-2); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform .15s ease;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav--scrolled .nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: rgba(255,255,255,.85);
  transition: background .15s, border-color .15s, color .3s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.nav--scrolled .theme-toggle {
  background: var(--bg-surface);
  border-color: var(--border-default);
  color: var(--fg-2);
}
.nav--scrolled .theme-toggle:hover {
  background: var(--bg-overlay);
  color: var(--fg-1);
}

/* Icon visibility */
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  transition: color .3s, background .15s;
}
.nav--scrolled .nav-hamburger { color: var(--fg-2); }
.nav-hamburger:hover { background: rgba(255,255,255,.1); }
.nav--scrolled .nav-hamburger:hover { background: var(--bg-surface); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 52px; left: 0; right: 0;
  background: var(--nav-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-4) var(--space-8);
  z-index: 199;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { display: flex; flex-direction: column; }
.nav-mobile a {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--fg-1);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--brand); text-decoration: none; }

@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-hamburger{ display: flex; align-items: center; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 6px var(--space-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-base);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-brand {
  background: var(--brand);
  color: var(--fg-on-brand);
  border-color: var(--brand);
}
.btn-brand:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: var(--fg-on-brand);
  box-shadow: 0 0 0 3px var(--brand-subtle);
}

.btn-outline {
  background: transparent;
  color: var(--fg-1);
  border-color: var(--border-default);
}
.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--fg-1);
}

.btn-white {
  background: #fff;
  color: #0C3B5E;
  border-color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: #F0F6FF;
  color: #0C3B5E;
  box-shadow: var(--shadow-md);
}

.btn-ghost-white {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.55);
}

.btn-dark-outline {
  background: var(--dark-btn-bg);
  color: rgba(255,255,255,.82);
  border-color: var(--dark-btn-border);
}
.btn-dark-outline:hover {
  background: var(--dark-btn-bg-hover);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}

.btn-lg {
  padding: 10px var(--space-6);
  font-size: var(--font-size-base);
  line-height: 22px;
  border-radius: var(--radius-md);
}

/* ═══════════════════════════════════════════════════════════════
   HERO  — always dark, consistent across themes
═══════════════════════════════════════════════════════════════ */
.hero {
  background: #060F1E;
  padding: 136px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(59,130,246,.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 15% 70%, rgba(139,92,246,.12) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 0%,  rgba(15,108,189,.25) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: rgba(255,255,255,.72);
  margin-bottom: var(--space-6);
  letter-spacing: .4px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px rgba(52,211,153,.7);
  flex-shrink: 0;
}

.hero-title {
  font-size: var(--font-size-hero);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -2px;
  color: #FFFFFF;
  margin-bottom: var(--space-5);
}

.hero-accent {
  background: linear-gradient(110deg, #60A5FA 0%, #A78BFA 55%, #C4B5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-md);
  line-height: 1.7;
  color: rgba(255,255,255,.60);
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat { display: flex; flex-direction: column; gap: 3px; }
.stat-value {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,.44);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}
.stat-sep {
  width: 1px; height: 32px;
  background: rgba(255,255,255,.10);
  flex-shrink: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual img {
  border-radius: var(--radius-xl);
  max-width: 100%;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.55));
}

@media (max-width: 900px) {
  .hero { padding: 120px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: var(--space-6); flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero-title { letter-spacing: -1px; }
  .hero-stats { gap: var(--space-5); }
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════════════ */
.section        { padding: var(--space-16) 0; }
.section-tinted { background: var(--bg-surface); }

.section-dark {
  background: var(--dark-section-bg);
  background-image: var(--dark-section-gradient);
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.section-header { margin-bottom: var(--space-10); }

.section-eyebrow {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--brand-text);
  margin-bottom: var(--space-2);
}
.section-dark .section-eyebrow { color: var(--dark-eyebrow); }

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg-1);
  margin-bottom: var(--space-3);
  letter-spacing: -.6px;
}
.section-dark .section-title { color: var(--dark-fg-1); }

.section-desc {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--fg-3);
  max-width: 560px;
}
.section-dark .section-desc { color: var(--dark-fg-2); }

/* ═══════════════════════════════════════════════════════════════
   BENTO GRID  (single full-width featured card)
═══════════════════════════════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.bento-featured {
  background: linear-gradient(135deg, #0A2340 0%, #0F3C70 45%, #1558A0 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  min-height: 280px;
}
.bento-featured::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(147,197,253,.15), transparent 65%);
  pointer-events: none;
}
.bento-featured::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 30%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(167,139,250,.10), transparent 65%);
  pointer-events: none;
}
.bento-featured:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
  text-decoration: none;
  color: #fff;
}

.bento-content { position: relative; z-index: 1; }

.bento-featured-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: -.4px;
}

.bento-featured-desc {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: rgba(255,255,255,.68);
  margin-bottom: var(--space-6);
}

.bento-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-chips {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.bento-chip {
  padding: 10px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,.80);
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.bento-chip strong {
  display: block;
  color: #fff;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
  opacity: .6;
}

@media (max-width: 768px) {
  .bento-featured {
    grid-template-columns: 1fr;
    padding: var(--space-8);
    min-height: auto;
  }
  .bento-visual { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   CARD GRID
═══════════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) {
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .card-grid, .card-grid-4 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   CARD
═══════════════════════════════════════════════════════════════ */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
  background: var(--card-bg-hover);
  text-decoration: none;
}

.section-dark .card {
  background: var(--dark-card-bg);
  border-color: var(--dark-card-border);
  color: var(--dark-fg-1);
}
.section-dark .card:hover {
  background: var(--dark-card-bg-hover);
  border-color: var(--dark-card-border-hover);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg-1);
}
.section-dark .card-title { color: var(--dark-fg-1); }

.card-desc {
  font-size: var(--font-size-sm);
  line-height: 1.65;
  color: var(--fg-3);
  flex: 1;
}
.section-dark .card-desc { color: var(--dark-fg-2); }

.card-cta { margin-top: var(--space-2); }

/* ═══════════════════════════════════════════════════════════════
   PROGRAM LIST
═══════════════════════════════════════════════════════════════ */
.program-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.program-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  transition: background .15s ease, padding-left .15s ease;
}
.program-item:hover {
  background: var(--bg-surface);
  padding-left: var(--space-6);
  text-decoration: none;
  color: inherit;
}
.program-item:hover .program-arrow { color: var(--brand-text); transform: translateX(5px); }
.program-item:hover .program-num   { color: var(--border-default); }

.program-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--border-subtle);
  line-height: 1;
  letter-spacing: -1px;
  transition: color .15s;
  font-variant-numeric: tabular-nums;
}

.program-body { display: flex; flex-direction: column; gap: var(--space-1); }

.program-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--fg-1);
}

.program-desc {
  font-size: var(--font-size-sm);
  color: var(--fg-3);
  line-height: 1.6;
  max-width: 520px;
}

.program-arrow {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--fg-4);
  white-space: nowrap;
  transition: color .15s, transform .15s;
}

@media (max-width: 768px) {
  .program-item { grid-template-columns: 48px 1fr; gap: var(--space-4); }
  .program-arrow { display: none; }
  .program-num { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   STORIES GRID
═══════════════════════════════════════════════════════════════ */
.stories-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-4);
}
.stories-secondary {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.story-featured {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  background: linear-gradient(145deg, var(--brand-subtle) 0%, var(--bg-raised) 100%);
  border: 1px solid var(--brand);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s ease, transform .18s ease;
}
[data-theme="dark"] .story-featured {
  background: linear-gradient(145deg, rgba(78,173,245,.10) 0%, var(--bg-raised) 100%);
}
.story-featured:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.story-featured .card-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  line-height: 1.25;
}
.story-featured .card-desc { font-size: var(--font-size-base); }

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

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: #060F1E;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: var(--space-8) 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}
.footer-brand { display: flex; align-items: center; gap: var(--space-3); }
.footer-logo  { height: 28px; width: auto; opacity: .75; }
.footer-brand-text {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: rgba(255,255,255,.55);
}
.footer-copy {
  font-size: var(--font-size-xs);
  color: rgba(255,255,255,.30);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: .00s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .35s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .container    { padding: 0 var(--space-6); }
  .nav-inner    { padding: 0 var(--space-6); }
  .footer-inner { padding: 0 var(--space-6); }
  .hero-inner   { padding: 0 var(--space-6); }
  .section      { padding: var(--space-12) 0; }
}
