/* ==========================================================================
   0. Design tokens — 8pt spacing system, color, type
   ========================================================================== */
:root {
  --bg: #1C1C1E;
  --bg-darker: #161618;
  --bg-elevated: #232325;
  --cyan: #00D4E0;
  --cyan-hover: #33dfe8;
  --cyan-alpha-08: rgba(0, 212, 224, 0.08);
  --cyan-alpha-12: rgba(0, 212, 224, 0.12);
  --cyan-alpha-20: rgba(0, 212, 224, 0.20);
  --gold: #D4AF37;
  --gold-alpha-15: rgba(212, 175, 55, 0.15);

  --text-1: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.52);
  --text-4: rgba(255, 255, 255, 0.34);

  --border-1: rgba(255, 255, 255, 0.10);
  --border-2: rgba(255, 255, 255, 0.20);
  --border-cyan: rgba(0, 212, 224, 0.35);

  --font-display: 'Poppins', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* 8pt spacing scale */
  --sp-1: 0.5rem;   /* 8px */
  --sp-2: 1rem;     /* 16px */
  --sp-3: 1.5rem;   /* 24px */
  --sp-4: 2rem;     /* 32px */
  --sp-5: 3rem;     /* 48px */
  --sp-6: 4rem;     /* 64px */
  --sp-7: 6rem;     /* 96px */
  --sp-8: 8rem;     /* 128px */

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 4.5rem;
}

/* ==========================================================================
   1. Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }
img, svg { display: block; max-width: 100%; }
section[id] { scroll-margin-top: var(--nav-height); }

/* Accessible focus */
:focus { outline: none; }
.focus-ring:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-2);
  background: var(--cyan);
  color: var(--bg);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--sp-2); }

/* ==========================================================================
   2. Loader
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader-mark {
  width: 3.5rem;
  animation: loaderPulse 1.1s ease-in-out infinite;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.6; }
}

/* ==========================================================================
   3. Ambient background glows + floating particles
   ========================================================================== */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.bg-glow-cyan { top: -10%; left: -10%; width: 32rem; height: 32rem; background: var(--cyan-alpha-20); }
.bg-glow-gold { bottom: -15%; right: -10%; width: 28rem; height: 28rem; background: var(--gold-alpha-15); }

.particles { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.35;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-120px) translateX(20px); opacity: 0; }
}

/* ==========================================================================
   4. Typography
   ========================================================================== */
.headline-lg { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1.12; letter-spacing: -0.01em; }
.headline-md { font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; line-height: 1.2; letter-spacing: -0.01em; }
.subtitle { color: var(--text-2); font-size: 1rem; line-height: 1.6; }
.eyebrow {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
}
.text-cyan { color: var(--cyan); }
.text-gold { color: var(--gold); }
.text-faded { color: var(--text-3); }
.text-sm { font-size: 0.875rem; }
.text-gradient {
  background: linear-gradient(100deg, #3DD9C0 0%, var(--cyan) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 640px) {
  .headline-lg { font-size: 3rem; }
  .headline-md { font-size: 2.25rem; }
  .subtitle { font-size: 1.125rem; }
}
.br-desktop { display: none; }
@media (min-width: 640px) { .br-desktop { display: block; } }

/* ==========================================================================
   5. Layout utilities
   ========================================================================== */
.container { position: relative; z-index: 1; width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 var(--sp-3); }
@media (min-width: 640px) { .container { padding: 0 var(--sp-4); } }

.section { position: relative; padding: var(--sp-7) var(--sp-3); }
@media (min-width: 640px) { .section { padding: var(--sp-8) var(--sp-4); } }
.overflow-hidden { overflow: hidden; }
.bg-darker { background-color: var(--bg-darker); }
.section-head { max-width: 42rem; margin-bottom: var(--sp-6); }

.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mt-4 { margin-top: var(--sp-2); }
.mt-5 { margin-top: 1.25rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: var(--sp-4); }
.mt-16 { margin-top: var(--sp-6); }
.text-center { text-align: center; }
.w-fit { width: fit-content; }

.grid { display: grid; gap: var(--sp-3); }
.items-center { align-items: center; }
@media (min-width: 640px) {
  .cols-2 { grid-template-columns: repeat(2, 1fr); }
  .gap-md { gap: var(--sp-3); }
  .gap-lg { gap: var(--sp-6); }
}
@media (min-width: 768px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }

.hidden { display: none !important; }

/* ==========================================================================
   6. Buttons — premium, with shine sweep
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
  min-height: 44px;
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.65rem 1.35rem; font-size: 0.875rem; }
.btn span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: var(--sp-1); }
.btn svg { position: relative; z-index: 1; }

.btn-primary { background-color: var(--cyan); color: var(--bg); box-shadow: 0 8px 24px -8px rgba(0, 212, 224, 0.5); }
.btn-primary:hover { background-color: var(--cyan-hover); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(0, 212, 224, 0.65); }
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-primary:hover::before { transform: translateX(100%); }

.btn-outline { background: rgba(255,255,255,0.03); color: var(--text-1); border: 1px solid var(--border-2); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255,255,255,0.06); transform: translateY(-2px); }

@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: scale(0.97); }
}

.icon-sm { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-md { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ==========================================================================
   7. Brand wordmark
   ========================================================================== */
.seal-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; user-select: none; }
.seal-text {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.875rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text-1);
}
.brand-chevron { width: 1.5rem; margin: 0 -2px -4px -2px; }
.seal-subtext { margin-top: 0.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.35em; color: var(--cyan); }
.seal-wordmark-sm .seal-text { font-size: 1.5rem; }
.seal-wordmark-sm .brand-chevron { width: 1.25rem; }
.seal-wordmark-sm .seal-subtext { font-size: 0.625rem; }

/* ==========================================================================
   8. Navigation — glass, sticky, active-state
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(28, 28, 30, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-1);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.navbar.is-scrolled { background: rgba(28, 28, 30, 0.85); }

.nav-container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
@media (min-width: 640px) { .nav-container { padding: 0 var(--sp-4); } }

.nav-links { display: none; align-items: center; gap: var(--sp-5); font-weight: 500; font-size: 0.9rem; }
.nav-link {
  position: relative;
  color: var(--text-2);
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--text-1); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--text-1); }

.hidden-mobile { display: none; }
.mobile-menu-btn { color: var(--text-1); padding: var(--sp-1); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hidden-mobile { display: inline-flex; }
  .mobile-menu-btn { display: none; }
}

.mobile-nav {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: rgba(22, 22, 24, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  z-index: 99;
}
.mobile-link { color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; font-weight: 500; padding: var(--sp-1) 0; min-height: 44px; display: flex; align-items: center; }

/* ==========================================================================
   9. Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--sp-6)) var(--sp-3) var(--sp-7);
  overflow: hidden;
  text-align: center;
}
@media (min-width: 640px) { .hero { padding: calc(var(--nav-height) + var(--sp-8)) var(--sp-4) var(--sp-8); } }

.ambient-chevron { position: absolute; pointer-events: none; opacity: 0.08; z-index: 0; }
.ambient-chevron.top-right { top: -2.5rem; right: -4rem; width: 18rem; transform: rotate(12deg); }
.ambient-chevron.bottom-left { top: 50%; left: -6rem; width: 24rem; transform: rotate(-6deg); }

.hero-content { position: relative; z-index: 2; max-width: 56rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
}
.hero h1 { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1.14; letter-spacing: -0.01em; max-width: 48rem; margin: 0 auto; }
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }
.hero-subtitle { margin-top: var(--sp-3); font-size: 1.125rem; color: var(--text-2); max-width: 36rem; margin-inline: auto; }
@media (min-width: 640px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-buttons { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); width: 100%; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; width: auto; } }

.scroll-cue { position: relative; z-index: 2; margin: var(--sp-6) auto 0; width: 1.5rem; height: 2.5rem; border: 2px solid var(--border-2); border-radius: var(--radius-full); display: flex; justify-content: center; padding-top: 6px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: var(--radius-full); background: var(--cyan); animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 1; } 70% { opacity: 0.4; } 100% { transform: translateY(10px); opacity: 0; } }

/* ==========================================================================
   10. Problem / ratio illustration
   ========================================================================== */
.ratio-illustration { margin-top: var(--sp-5); max-width: 28rem; margin-inline: auto; display: grid; gap: var(--sp-3); }
.students { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem; }
.students svg { width: 1rem; height: 1rem; color: rgba(255, 255, 255, 0.25); }
.teacher { border-top: 1px solid var(--border-1); padding-top: var(--sp-2); display: flex; align-items: center; justify-content: center; gap: var(--sp-1); color: var(--text-3); font-size: 0.875rem; }

/* ==========================================================================
   11. Cards — glassmorphism + lift on hover
   ========================================================================== */
.card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.7s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--border-cyan);
  box-shadow: 0 20px 40px -20px rgba(0, 212, 224, 0.25);
}
.icon-box {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--cyan-alpha-12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3);
  transition: background-color 0.3s var(--ease);
}
.card:hover .icon-box { background: var(--cyan-alpha-20); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--text-1); }
.card-tagline { font-weight: 500; font-size: 0.875rem; color: var(--cyan); margin-top: 0.25rem; }
.features-list { margin-top: var(--sp-2); display: flex; flex-direction: column; gap: 0.625rem; }
.features-list li { display: flex; align-items: flex-start; gap: var(--sp-1); font-size: 0.875rem; color: var(--text-2); }
.features-list li svg { margin-top: 0.2rem; }

/* ==========================================================================
   12. Pricing cards
   ========================================================================== */
.pricing-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-1);
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.7s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0,0,0,0.5); }
.pricing-card-highlighted { border: 1.5px solid var(--cyan); background: rgba(0, 212, 224, 0.045); }
.pricing-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.pricing-card .features-list { flex: 1; }
.badge-highlight {
  position: absolute; top: -0.75rem; left: var(--sp-4);
  background: var(--cyan); color: var(--bg);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem; border-radius: var(--radius-full);
  text-transform: uppercase;
  box-shadow: 0 4px 12px -2px rgba(0, 212, 224, 0.5);
}

/* ==========================================================================
   13. Hologram visual (signature element)
   ========================================================================== */
.subject-list li { display: flex; align-items: flex-start; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.dot { margin-top: 0.375rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px 1px var(--gold-alpha-15); }
.bg-gold { background-color: var(--gold); }
.subject-list h4 { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.subject-list p { font-size: 0.875rem; color: var(--text-3); }

.hologram-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  transition: transform 1s var(--ease), opacity 1s var(--ease);
  transform-origin: center;
  will-change: transform;
}
.hologram-glow {
  position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at center, rgba(0,212,224,0.16) 0%, rgba(212,175,55,0.07) 45%, transparent 70%);
}
.holo-ring { position: absolute; border-radius: 50%; z-index: 2; }
.holo-ring-outer { inset: 2rem; border: 1px solid rgba(0,212,224,0.22); animation: spin 18s linear infinite; }
.holo-ring-inner { inset: 4rem; border: 1px solid rgba(212,175,55,0.22); animation: spinReverse 24s linear infinite; }
.holo-base {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  width: 10rem; height: 0.375rem; border-radius: var(--radius-full);
  background-color: var(--cyan); box-shadow: 0 0 24px rgba(0,212,224,0.75); z-index: 3;
}
.holo-content { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3rem; z-index: 4; }
.holo-chevron { width: 10rem; filter: drop-shadow(0 0 25px rgba(0,212,224,0.35)); animation: pulse 4s ease-in-out infinite; }
@media (min-width: 640px) { .holo-chevron { width: 12rem; } }
.holo-scanner-container { position: absolute; left: 2.5rem; right: 2.5rem; top: 2rem; bottom: 6rem; overflow: hidden; border-radius: var(--radius-md); z-index: 5; }
.holo-scanner-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background-color: var(--cyan); box-shadow: 0 0 14px 1px rgba(0,212,224,0.85);
  animation: scan 3s ease-in-out infinite;
}
.holo-radar-tag {
  position: absolute; top: 1rem; right: 1rem;
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em;
  color: rgba(0,212,224,0.75); z-index: 6;
  text-transform: uppercase;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } }
@keyframes scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ==========================================================================
   14. Reduced motion — disable everything decorative
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .particle, .scroll-cue { display: none; }
}

/* ==========================================================================
   15. Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.reveal-scale { transform: scale(0.9); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================================================
   16b. Interior page hero (for standalone pages like College Licensing)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--sp-6)) var(--sp-3) var(--sp-6);
  text-align: center;
  overflow: hidden;
}
@media (min-width: 640px) { .page-hero { padding: calc(var(--nav-height) + var(--sp-7)) var(--sp-4) var(--sp-7); } }
.page-hero .headline-lg { max-width: 44rem; margin: 0 auto; }
.page-hero .subtitle { max-width: 38rem; margin: var(--sp-3) auto 0; }

/* ==========================================================================
   16c. Timeline (day-in-the-life / lecture tree)
   ========================================================================== */
.timeline { position: relative; display: grid; gap: var(--sp-4); counter-reset: step; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(var(--tl-cols, 4), 1fr); gap: var(--sp-3); }
  .timeline::before {
    content: "";
    position: absolute;
    top: 1.4rem; left: 5%; right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-2), transparent);
    z-index: 0;
  }
}
.timeline-step { position: relative; z-index: 1; }
.timeline-step .step-index {
  counter-increment: step;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: var(--sp-2);
}
.timeline-step .step-index::before { content: counter(step); }
.timeline-step h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.375rem; }
.timeline-step p { font-size: 0.9rem; color: var(--text-2); line-height: 1.55; }

/* ==========================================================================
   16d. Flow diagram (how the AI decides)
   ========================================================================== */
.flow-diagram { display: grid; gap: var(--sp-3); align-items: stretch; }
@media (min-width: 900px) { .flow-diagram { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; } }
.flow-node {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  backdrop-filter: blur(8px);
}
.flow-node h4 { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: var(--sp-1); }
.flow-node ul { display: flex; flex-direction: column; gap: 0.4rem; }
.flow-node li { font-size: 0.85rem; color: var(--text-2); padding-left: 0.9rem; position: relative; }
.flow-node li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-4); }
.flow-arrow svg { width: 1.5rem; height: 1.5rem; transform: rotate(90deg); }
@media (min-width: 900px) { .flow-arrow svg { transform: none; } }

/* ==========================================================================
   16e. Callout box (policy corrections / important notes)
   ========================================================================== */
.callout {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  background: var(--cyan-alpha-08);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
}
.callout svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--cyan); width: 1.25rem; height: 1.25rem; }
.callout p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.callout strong { color: var(--text-1); }

/* ==========================================================================
   16f. Qualitative comparison list (no fabricated numbers)
   ========================================================================== */
.compare-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 768px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.compare-col {
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  border: 1px solid var(--border-1);
  background: rgba(255,255,255,0.02);
}
.compare-col.is-seal { border-color: var(--border-cyan); background: var(--cyan-alpha-08); }
.compare-col h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: var(--sp-2); }
.compare-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.compare-col li { font-size: 0.9rem; color: var(--text-2); display: flex; gap: 0.5rem; align-items: flex-start; }
.compare-col li svg { flex-shrink: 0; margin-top: 0.2rem; width: 1rem; height: 1rem; }

/* ==========================================================================
   16g. Group cohort visual (AI-composed groups of ~10)
   ========================================================================== */
.cohort-visual { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; max-width: 22rem; margin: 0 auto; }
.cohort-dot { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--cyan-alpha-20); border: 1px solid var(--border-cyan); }
.cohort-dot.is-lead { background: var(--gold); border-color: var(--gold); }

/* ==========================================================================
   18. Dropdown nav (Platform / Company groups)
   ========================================================================== */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > button {
  display: inline-flex; align-items: center; gap: 0.3rem;
  color: var(--text-2); font-weight: 500; font-size: 0.9rem; padding: 0.4rem 0;
  transition: color 0.2s ease;
}
.nav-item-dropdown > button:hover,
.nav-item-dropdown.is-open > button { color: var(--text-1); }
.nav-item-dropdown > button svg { width: 0.85rem; height: 0.85rem; transition: transform 0.25s var(--ease); }
.nav-item-dropdown.is-open > button svg { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 15rem;
  background: rgba(22, 22, 24, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  padding: var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  box-shadow: 0 20px 48px -16px rgba(0,0,0,0.6);
  z-index: 110;
}
.nav-item-dropdown.is-open .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-2);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-panel a:hover { background: var(--cyan-alpha-08); color: var(--text-1); }
.dropdown-panel a small { display: block; color: var(--text-4); font-size: 0.75rem; margin-top: 0.1rem; }

/* ==========================================================================
   19. Spotlight cursor effect (desktop, pointer-fine only)
   ========================================================================== */
.spotlight {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(0,212,224,0.06), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.spotlight.is-active { opacity: 1; }

/* ==========================================================================
   20. FAQ accordion (native <details>, styled)
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.faq-item {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-1);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.85rem; height: 0.85rem;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-answer { padding: 0 var(--sp-3) var(--sp-3); color: var(--text-2); font-size: 0.95rem; line-height: 1.65; }

/* ==========================================================================
   21. Vision / big-quote cinematic section
   ========================================================================== */
.quote-block { max-width: 48rem; margin: 0 auto; text-align: center; }
.quote-block blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.35;
  color: var(--text-1);
}
@media (min-width: 640px) { .quote-block blockquote { font-size: 2.5rem; } }
.quote-block cite { display: block; margin-top: var(--sp-3); font-style: normal; font-size: 0.9rem; color: var(--text-3); }

/* ==========================================================================
   22. Careers "not hiring yet" honest state
   ========================================================================== */
.careers-empty {
  text-align: center;
  border: 1px dashed var(--border-2);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-4);
  max-width: 36rem;
  margin: 0 auto;
}
.careers-empty svg { width: 2.5rem; height: 2.5rem; color: var(--cyan); margin: 0 auto var(--sp-3); }

/* ==========================================================================
   23. 404 page
   ========================================================================== */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--sp-6)) var(--sp-3) var(--sp-6);
}
.error-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(100deg, #3DD9C0 0%, var(--cyan) 45%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 640px) { .error-code { font-size: 7rem; } }

/* ==========================================================================
   24. Legal content pages
   ========================================================================== */
.legal-content { max-width: 48rem; margin: 0 auto; }
.legal-content h2 { font-family: var(--font-display); font-size: 1.35rem; margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-2); font-size: 0.95rem; line-height: 1.75; }
.legal-content ul { padding-left: var(--sp-3); list-style: disc; display: flex; flex-direction: column; gap: 0.4rem; margin-top: var(--sp-1); }
.legal-content .legal-updated { color: var(--text-4); font-size: 0.8rem; margin-bottom: var(--sp-4); }

/* ==========================================================================
   26. Product mockups — phone / tablet / dashboard frames
   ========================================================================== */
.mock-caption { text-align: center; font-size: 0.75rem; color: var(--text-4); margin-top: var(--sp-3); letter-spacing: 0.02em; }

.phone-mock {
  width: 230px;
  margin: 0 auto;
  border-radius: 2.25rem;
  background: linear-gradient(160deg, #232326, #1a1a1c);
  border: 1px solid var(--border-2);
  padding: 0.6rem;
  box-shadow: 0 40px 70px -24px rgba(0,0,0,0.65);
  position: relative;
}
.phone-mock::before {
  content: "";
  position: absolute;
  top: 0.85rem; left: 50%; transform: translateX(-50%);
  width: 34%; height: 1rem;
  background: #0f0f10;
  border-radius: 999px;
  z-index: 2;
}
.mock-screen {
  background: linear-gradient(180deg, #1b1b1d, #131315);
  border-radius: 1.65rem;
  padding: 1.9rem 0.9rem 1rem;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}

.tablet-mock {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  background: linear-gradient(160deg, #232326, #1a1a1c);
  border: 1px solid var(--border-2);
  padding: 0.85rem;
  box-shadow: 0 40px 70px -24px rgba(0,0,0,0.65);
}
.tablet-mock .mock-screen {
  border-radius: 0.9rem;
  padding: 1rem;
  min-height: 280px;
}

.dashboard-mock {
  width: 100%;
  border-radius: 1rem;
  background: linear-gradient(160deg, #232326, #1a1a1c);
  border: 1px solid var(--border-2);
  padding: 0.6rem;
  box-shadow: 0 40px 70px -24px rgba(0,0,0,0.65);
}
.dashboard-mock .mock-titlebar { display: flex; gap: 0.4rem; padding: 0.4rem 0.6rem; }
.dashboard-mock .mock-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(255,255,255,0.15); }
.dashboard-mock .mock-screen { border-radius: 0.6rem; padding: var(--sp-3); min-height: 260px; }

/* Shared mock UI atoms */
.mock-app-header { display: flex; align-items: center; justify-content: space-between; }
.mock-app-title { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--text-1); }
.mock-app-sub { font-size: 0.6rem; color: var(--text-4); }
.mock-avatar { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--cyan-alpha-20); border: 1px solid var(--border-cyan); }

.mock-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-1);
  border-radius: 0.6rem;
  padding: 0.5rem 0.65rem;
}
.mock-row-label { font-size: 0.65rem; color: var(--text-2); white-space: nowrap; }
.mock-bar-track { height: 4px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; flex: 1; }
.mock-bar-fill { height: 100%; border-radius: 999px; background: var(--cyan); }
.mock-bar-fill.is-gold { background: var(--gold); }
.mock-pct { font-size: 0.6rem; color: var(--text-3); width: 2rem; text-align: right; flex-shrink: 0; }

.mock-tag { font-size: 0.55rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 999px; border: 1px solid var(--border-cyan); color: var(--cyan); background: var(--cyan-alpha-08); white-space: nowrap; }
.mock-tag.is-gold { border-color: rgba(212,175,55,0.4); color: var(--gold); background: var(--gold-alpha-15); }
.mock-tag-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.mock-ring-wrap { display: flex; align-items: center; gap: var(--sp-2); }
.mock-ring { width: 4.2rem; height: 4.2rem; flex-shrink: 0; }
.mock-ring circle { fill: none; stroke-width: 4; }
.mock-ring .ring-track { stroke: rgba(255,255,255,0.08); }
.mock-ring .ring-fill { stroke: var(--cyan); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.mock-ring-label { font-family: var(--font-display); font-size: 1rem; font-weight: 700; fill: var(--text-1); }

.mock-grid-dots { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.mock-dot-user { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--cyan-alpha-20); border: 1px solid var(--border-cyan); }
.mock-dot-user.is-flag { background: var(--gold); border-color: var(--gold); }

.mock-list { display: flex; flex-direction: column; gap: 0.4rem; }
.mock-list-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.62rem; color: var(--text-2); }
.mock-list-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }

.mock-stat-card { background: rgba(255,255,255,0.035); border: 1px solid var(--border-1); border-radius: 0.6rem; padding: 0.6rem 0.7rem; }
.mock-stat-card .label { font-size: 0.6rem; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.06em; }
.mock-stat-card .value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text-1); margin-top: 0.15rem; }

/* ==========================================================================
   27. Vertical animated flow (diagnostic → plan → practice → progress...)
   ========================================================================== */
.vertical-flow { max-width: 30rem; margin: 0 auto; }
.vflow-step { position: relative; display: flex; gap: var(--sp-3); padding-bottom: var(--sp-5); }
.vflow-step:last-child { padding-bottom: 0; }
.vflow-node {
  position: relative; z-index: 1;
  width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-cyan);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.vflow-line { position: absolute; left: 1.375rem; top: 2.75rem; bottom: 0; width: 2px; background: var(--border-1); overflow: hidden; }
.vflow-line-fill { position: absolute; inset: 0; background: linear-gradient(var(--cyan), var(--gold)); transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease); }
.vflow-step.visible .vflow-line-fill { transform: scaleY(1); }
.vflow-content { padding-top: 0.25rem; }
.vflow-content h4 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--text-1); margin-bottom: 0.25rem; }
.vflow-content p { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; }

/* Micro-interaction: staggered "populate in" for repeated small dots */
.ratio-illustration.visible .students svg,
.cohort-visual.visible .cohort-dot {
  animation: dotPop 0.4s var(--ease) backwards;
}
.ratio-illustration .students svg:nth-child(1) { animation-delay: 0.02s; } .ratio-illustration .students svg:nth-child(2) { animation-delay: 0.04s; }
.ratio-illustration .students svg:nth-child(3) { animation-delay: 0.06s; } .ratio-illustration .students svg:nth-child(4) { animation-delay: 0.08s; }
.ratio-illustration .students svg:nth-child(5) { animation-delay: 0.10s; } .ratio-illustration .students svg:nth-child(6) { animation-delay: 0.12s; }
.ratio-illustration .students svg:nth-child(7) { animation-delay: 0.14s; } .ratio-illustration .students svg:nth-child(8) { animation-delay: 0.16s; }
.ratio-illustration .students svg:nth-child(9) { animation-delay: 0.18s; } .ratio-illustration .students svg:nth-child(10) { animation-delay: 0.20s; }
.ratio-illustration .students svg:nth-child(n+11) { animation-delay: 0.22s; }
.cohort-visual .cohort-dot:nth-child(1) { animation-delay: 0.03s; } .cohort-visual .cohort-dot:nth-child(2) { animation-delay: 0.06s; }
.cohort-visual .cohort-dot:nth-child(3) { animation-delay: 0.09s; } .cohort-visual .cohort-dot:nth-child(4) { animation-delay: 0.12s; }
.cohort-visual .cohort-dot:nth-child(5) { animation-delay: 0.15s; } .cohort-visual .cohort-dot:nth-child(n+6) { animation-delay: 0.18s; }
@keyframes dotPop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* ==========================================================================
   28. Architecture diagram nodes (reuses flow-node, adds emphasis variant)
   ========================================================================== */
.flow-node.is-engine { border-color: var(--border-cyan); background: var(--cyan-alpha-08); }
.flow-node.is-engine h4 { color: var(--gold); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-2);
  color: var(--text-3);
  background: rgba(255,255,255,0.03);
}
.status-badge.is-roadmap { border-color: rgba(212,175,55,0.4); color: var(--gold); background: var(--gold-alpha-15); }
.status-badge .dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.status-badge.is-roadmap .dot-live { background: var(--gold); }

.narrative-lead {
  max-width: 40rem;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-1);
}
@media (min-width: 640px) { .narrative-lead { font-size: 1.4rem; } }

.footer { position: relative; border-top: 1px solid var(--border-1); padding: var(--sp-6) var(--sp-3) var(--sp-4); background-color: var(--bg); }
@media (min-width: 640px) { .footer { padding: var(--sp-6) var(--sp-4) var(--sp-4); } }
.footer-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }
.footer-tagline { font-size: 0.875rem; color: var(--text-3); max-width: 20rem; margin-top: var(--sp-2); }
.footer-nav h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-4); margin-bottom: var(--sp-2); text-transform: uppercase; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav a { font-size: 0.875rem; color: var(--text-2); transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--text-1); }
.footer-bottom {
  margin-top: var(--sp-6); padding-top: var(--sp-3); border-top: 1px solid var(--border-1);
  display: flex; flex-direction: column; gap: var(--sp-2);
  font-size: 0.75rem; color: var(--text-4);
  align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-legal { display: flex; gap: var(--sp-3); }
.footer-legal a:hover { color: var(--text-2); }
