:root {
  --bg: #0b1120;
  --bg-card: #111827;
  --bg-card-alt: #0f1b2e;
  --fg: #e8edf5;
  --fg-muted: #8b99ad;
  --accent: #b4ff3b;
  --accent-dim: rgba(180, 255, 59, 0.12);
  --ring-bg: #1e2d42;
  --ring-fill: #b4ff3b;
  --warn: #ff6b35;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
  font-weight: 700;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* HERO */
.hero {
  padding: 100px 64px 80px;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero-sub {
  font-size: 20px;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 56px;
  font-weight: 300;
  line-height: 1.5;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat {
  padding: 0 40px;
}

.hero-stat:first-child {
  padding-left: 0;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
}

/* SCORECARD */
.scorecard {
  padding: 0 64px 80px;
}

.scorecard-inner {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 40px;
  max-width: 860px;
}

.scorecard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.scorecard-label {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.scorecard-badge {
  background: rgba(180, 255, 59, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 32px;
}

.ring-svg {
  width: 100%;
  height: 100%;
}

.ring-bg {
  fill: none;
  stroke: var(--ring-bg);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--ring-fill);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease;
}

.ring-score {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breakdown-row {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  align-items: center;
  gap: 16px;
}

.breakdown-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
}

.breakdown-bar {
  height: 6px;
  background: var(--ring-bg);
  border-radius: 100px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
}

.bar-fill-warn {
  background: var(--warn);
}

.breakdown-score {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

/* HOW IT WORKS */
.howitworks {
  padding: 80px 64px;
  background: var(--bg-card-alt);
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-bottom: 56px;
}

.steps {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 860px;
}

.step {
  flex: 1;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}

.step-arrow {
  color: var(--fg-muted);
  flex-shrink: 0;
}

/* DISCIPLINES */
.disciplines {
  padding: 80px 64px;
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  max-width: 960px;
}

.discipline-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px;
}

.disc-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.disc-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.disc-metric {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.disc-detail {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.discipline-card-cta {
  background: var(--accent-dim);
  border: 1px solid rgba(180, 255, 59, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.disc-cta-text {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.disc-cta-sub {
  font-size: 13px;
  color: var(--fg-muted);
}

/* CLOSING */
.closing {
  padding: 100px 64px;
  background: var(--bg-card-alt);
}

.closing-inner {
  max-width: 720px;
}

.closing-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.6;
}

/* FOOTER */
.footer {
  padding: 48px 64px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-mark {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-left: 8px;
}

/* HERO CTA BUTTON */
.hero-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 16px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 48px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.hero-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.hero-cta:active { transform: translateY(0); }

/* QUIZ MODAL */
.quiz-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.quiz-modal.quiz-open { display: flex; }

.quiz-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.quiz-panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 48px 44px 40px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  margin: 16px;
}

.quiz-progress-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 20px 20px 0 0;
  transition: width 0.3s ease;
  width: 0%;
}

.quiz-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--fg-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.15s;
}
.quiz-close-btn:hover { color: var(--fg); }

.quiz-step-hidden { display: none !important; }

/* Intro step */
.quiz-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.quiz-headline {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.quiz-sub {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Question step */
.quiz-q-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.quiz-q-text {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 28px;
}
.quiz-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.quiz-choice {
  text-align: left;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--fg);
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.quiz-choice:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); }
.quiz-choice-selected {
  background: var(--accent-dim);
  border-color: rgba(180,255,59,0.4);
  color: var(--fg);
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Buttons */
.quiz-btn-primary {
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.quiz-btn-primary:hover { opacity: 0.88; }
.quiz-btn-primary.quiz-btn-disabled { opacity: 0.35; cursor: not-allowed; }
.quiz-btn-primary.quiz-btn-sm { padding: 10px 20px; font-size: 14px; }
.quiz-btn-ghost {
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.15s;
}
.quiz-btn-ghost:hover { color: var(--fg); }
.quiz-retake { margin-top: 24px; display: block; }

/* Results step */
.quiz-results-score-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
}
.quiz-score-ring {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.quiz-ring-fill { transition: stroke-dasharray 1.2s cubic-bezier(.4,0,.2,1); }
.quiz-result-grade {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 6px;
}
.quiz-result-grade-sub {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Breakdown */
.quiz-breakdown {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.quiz-bd-row {}
.quiz-bd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.quiz-bd-name { font-size: 13px; font-weight: 500; color: var(--fg-muted); }
.quiz-bd-score {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.quiz-bd-warn { color: var(--warn); }
.quiz-bd-bar-wrap {
  height: 5px;
  background: var(--ring-bg);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 7px;
}
.quiz-bd-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.8s ease;
}
.quiz-bd-bar-warn { background: var(--warn); }
.quiz-bd-diagnosis {
  font-size: 12px;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.5;
}

/* Next action */
.quiz-next-action {
  background: var(--accent-dim);
  border: 1px solid rgba(180,255,59,0.18);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 28px;
}
.quiz-action-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.quiz-action-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
}

/* Email capture */
.quiz-email-wrap {
  background: var(--bg-card-alt);
  border: 1px solid rgba(180,255,59,0.18);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 16px;
}
.quiz-email-label {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.quiz-email-sub {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.quiz-email-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.quiz-email-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 11px 16px;
  color: var(--fg);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
}
.quiz-email-input::placeholder { color: var(--fg-muted); }
.quiz-email-input:focus {
  outline: none;
  border-color: rgba(180,255,59,0.4);
}
.quiz-btn-email {
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.quiz-btn-email:hover { opacity: 0.88; }
.quiz-btn-email:disabled { opacity: 0.5; cursor: not-allowed; }
.quiz-email-privacy {
  font-size: 11px;
  color: var(--fg-muted);
  opacity: 0.6;
  margin: 0;
  line-height: 1.4;
}
.quiz-email-sent {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  padding: 12px 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 60px 24px 48px; }
  .hero-headline { font-size: 40px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-stat-divider { display: none; }
  .scorecard { padding: 0 24px 48px; }
  .scorecard-inner { padding: 24px; }
  .howitworks { padding: 48px 24px; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .disciplines { padding: 48px 24px; }
  .closing { padding: 60px 24px; }
  .footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .footer-tagline { margin-left: 0; }
  .breakdown-row { grid-template-columns: 90px 1fr 40px; }
  .quiz-panel { padding: 40px 24px 32px; margin: 8px; }
  .quiz-headline { font-size: 26px; }
  .quiz-q-text { font-size: 17px; }
  .quiz-results-score-wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .quiz-email-row { flex-direction: column; }
}