:root {
  --bg: #0d0d1a;
  --surface: #141428;
  --surface-2: #1e1e3a;
  --border: #2a2a4a;
  --fg: #f0f0f8;
  --fg-muted: #8888aa;
  --accent: #22c55e;
  --text-primary: #f8f8ff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ───────────────────────────────────── */
nav {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-cta:hover { opacity: 0.8; }

/* ── SECTION COMMON ────────────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

/* ── HERO ──────────────────────────────────── */
.hero {
  padding: 5rem 2rem 6rem;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-left {
  position: relative;
}
.elevation-viz {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.ev-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.elevation-svg {
  width: 100%;
  height: auto;
  display: block;
}
.ev-caption {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.75rem;
  text-align: center;
}
.hero-right h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-grade-ring {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  justify-content: center;
  box-shadow: 0 0 0 3px #ef444433, 0 0 0 6px #ef444411;
}
.grade-number {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #ef4444;
  line-height: 1;
}
.grade-unit {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ef4444;
  line-height: 1;
  margin-top: -2px;
}
.grade-label {
  font-size: 0.65rem;
  color: var(--fg-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── HOW IT WORKS ─────────────────────────── */
.how-it-works {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── GRADE SCALE ──────────────────────────── */
.grade-scale {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.scale-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.scale-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1.5rem;
  align-items: center;
}
.scale-bar {
  height: 36px;
  border-radius: 6px;
}
.scale-info {
  display: grid;
  grid-template-columns: 80px 100px 1fr;
  align-items: center;
  gap: 0.5rem;
}
.scale-range {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.scale-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.scale-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ── AUDIENCES ────────────────────────────── */
.audiences {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.aud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.aud-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.aud-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.aud-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.aud-card p {
  font-size: 0.83rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── CLOSING ──────────────────────────────── */
.closing {
  padding: 6rem 0;
  text-align: center;
}
.closing h2 {
  margin-bottom: 1.5rem;
}
.closing p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.closing-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 2rem;
}
.metric-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}
.metric-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* ── FOOTER ───────────────────────────────── */
footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .scale-info { grid-template-columns: 80px 1fr; }
  .scale-desc { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 1.25rem 4rem; }
  .aud-grid { grid-template-columns: 1fr; }
  .nav-inner, .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}