@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --midnight: #0B1220;
  --steel: #1C2733;
  --platinum: #D7DCE2;
  --porcelain: #F7F9FB;
  --jewel: #2DD4BF;
  --jewel-dim: rgba(45, 212, 191, 0.35);
  --platinum-dim: rgba(215, 220, 226, 0.25);
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w: 72rem;
  --transition: 0.35s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { opacity: 0.85; }

.surface-midnight { background: var(--midnight); color: var(--porcelain); }
.surface-porcelain { background: var(--porcelain); color: var(--midnight); }
.surface-steel { background: var(--steel); color: var(--porcelain); }
.surface-jewel { background: var(--jewel); color: var(--midnight); }

.container { width: min(100% - 2.5rem, var(--max-w)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jewel);
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.375rem; font-weight: 500; margin-bottom: 0.5rem; }
p { margin: 0 0 1.25rem; }
.text-jewel { color: var(--jewel); }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary { background: var(--jewel); color: var(--midnight); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-outline {
  background: transparent;
  color: var(--porcelain);
  border-color: var(--platinum-dim);
}
.btn-outline:hover { border-color: var(--jewel); color: var(--jewel); }
.surface-porcelain .btn-outline { color: var(--midnight); border-color: rgba(11, 18, 32, 0.25); }
.surface-porcelain .btn-outline:hover { border-color: var(--jewel); color: var(--midnight); }

/* Header — transparent on hero, sticky porcelain after scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(247, 249, 251, 0.97);
  backdrop-filter: blur(10px);
  color: var(--midnight);
  border-bottom-color: var(--platinum-dim);
}
.site-header.is-scrolled .logo span { color: var(--jewel); }
.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a[aria-current="page"] { color: var(--jewel); }
.site-header.is-scrolled .nav-toggle { border-color: rgba(11, 18, 32, 0.2); color: var(--midnight); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}
.logo span { color: var(--jewel); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--platinum-dim);
  color: inherit;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.75rem;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.88;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; color: var(--jewel); }

/* Hero — LAUNCH CONSOLE */
.hero-launch {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 5rem;
}
.hero-launch-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-launch-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-launch-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.55) 45%, rgba(11, 18, 32, 0.35) 100%);
}
.hero-launch-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 0 4.5rem;
}
.hero-launch-content .container { max-width: 52rem; }
.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--jewel);
  margin-bottom: 1rem;
}
.hero-headline { margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.125rem; max-width: 34rem; opacity: 0.88; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.trust-strip {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: 0.72;
  padding-top: 1.5rem;
  border-top: 1px solid var(--platinum-dim);
  color: var(--platinum);
}

.launch-badge {
  position: absolute;
  top: 6rem;
  right: clamp(1rem, 4vw, 3rem);
  z-index: 2;
  background: rgba(247, 249, 251, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid var(--platinum-dim);
  padding: 1rem 1.25rem;
  min-width: 200px;
}
.launch-badge-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 0.75rem;
}
.track-rail {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.track-tick {
  flex: 1;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--platinum);
  position: relative;
  padding-top: 0.5rem;
}
.track-tick::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--jewel-dim);
}
.track-tick.is-active::before { background: var(--jewel); }
.track-tick.is-active { color: var(--jewel); }

.stat-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stat-card {
  background: rgba(247, 249, 251, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid var(--platinum-dim);
  padding: 2rem 1.5rem;
  text-align: center;
}
.surface-porcelain .stat-card {
  background: var(--porcelain);
  border-color: var(--platinum-dim);
  box-shadow: 0 1px 0 rgba(11, 18, 32, 0.04);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--jewel);
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.875rem; opacity: 0.85; }

.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.stage-card {
  border: 1px solid var(--platinum-dim);
  padding: 2rem;
  position: relative;
}
.stage-card .stage-num {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--jewel);
  margin-bottom: 0.75rem;
}

.syllabus-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  position: relative;
}
.syllabus-rail::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--jewel) 0%, var(--jewel-dim) 100%);
  z-index: 0;
}
.syllabus-item {
  position: relative;
  z-index: 1;
  background: inherit;
  padding-top: 2rem;
}
.syllabus-item::before {
  content: '';
  position: absolute;
  top: 1.125rem;
  left: 1rem;
  width: 10px;
  height: 10px;
  background: var(--jewel);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--steel);
}
.surface-porcelain .syllabus-item::before { box-shadow: 0 0 0 3px var(--porcelain); }
.syllabus-item h3 { font-size: 1.125rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.launch-card {
  border: 1px solid var(--platinum-dim);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
}
.surface-porcelain .launch-card { background: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.figure-caption { font-size: 0.8125rem; opacity: 0.7; margin-top: 0.75rem; font-style: italic; }

.page-hero { padding: 7rem 0 3rem; border-bottom: 1px solid var(--platinum-dim); }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead { font-size: 1.125rem; max-width: 40rem; opacity: 0.85; }

.faq-list { list-style: none; padding: 0; margin: 0; }
.faq-item { border-bottom: 1px solid var(--platinum-dim); padding: 1.75rem 0; }
.faq-item h3 { margin-bottom: 0.75rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; margin-bottom: 0.375rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--platinum-dim);
  background: #fff;
  color: var(--midnight);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-check { display: flex; gap: 0.75rem; align-items: flex-start; }
.form-check input { width: auto; margin-top: 0.25rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--platinum-dim);
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jewel);
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { text-decoration: none; opacity: 0.85; }
.footer-disclaimer {
  font-size: 0.8125rem;
  opacity: 0.75;
  line-height: 1.6;
  padding-top: 2rem;
  border-top: 1px solid var(--platinum-dim);
  margin-bottom: 1.5rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  opacity: 0.65;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--steel);
  color: var(--porcelain);
  padding: 1.5rem;
  border-top: 1px solid var(--platinum-dim);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner { max-width: var(--max-w); margin: 0 auto; }
.cookie-inner p { font-size: 0.875rem; margin-bottom: 1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-custom { display: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--platinum-dim); }
.cookie-custom.is-open { display: block; }
.cookie-custom label { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.875rem; }

.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .cookie-banner { transition: none; }
}

.legal-prose h2 { font-size: 1.375rem; margin-top: 2.5rem; }
.legal-prose h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.legal-prose ul { padding-left: 1.25rem; margin-bottom: 1.25rem; }

.program-card { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--platinum-dim); }
.program-meta { font-size: 0.875rem; color: var(--jewel); margin-bottom: 0.5rem; letter-spacing: 0.06em; }

.error-page { min-height: 60vh; display: flex; align-items: center; text-align: center; padding-top: 6rem; }

.service-card {
  border: 1px solid var(--platinum-dim);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.service-price { font-family: var(--font-head); color: var(--jewel); font-size: 0.9375rem; margin-bottom: 0.5rem; }

@media (max-width: 900px) {
  .hero-launch { min-height: 82vh; }
  .launch-badge { top: 5.5rem; right: 1rem; min-width: 160px; }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .stat-trio { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 1rem 0; }
  .header-inner { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .launch-badge { position: relative; top: auto; right: auto; margin-bottom: 1.5rem; }
}
