:root {
  --bg: #0B1628;
  --bg-surface: #101E35;
  --bg-card: #13243F;
  --fg: #E8EDF2;
  --fg-muted: #8A9BB5;
  --accent: #F4B942;
  --accent-dim: rgba(244, 185, 66, 0.15);
  --grade-a: #3DD68C;
  --grade-b: #7EC8E3;
  --grade-c: #F4B942;
  --grade-d: #F97316;
  --grade-f: #EF4444;
  --border: rgba(255,255,255,0.07);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav-tag {
  font-size: 12px;
  color: var(--fg-muted);
  background: var(--bg-surface);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* HERO */
.hero {
  position: relative;
  padding: 80px 48px 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(48px, 5vw, 72px);
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
  width: fit-content;
}

.hero-cta:hover { opacity: 0.85; }

.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(244,185,66,0.25);
  padding: 5px 12px;
  border-radius: 6px;
}

/* SCORECARD */
.hero-scorecard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.scorecard-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.scorecard-grade {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 80px;
  color: var(--grade-a);
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(61,214,140,0.3);
}

.scorecard-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.score-row {
  display: grid;
  grid-template-columns: 110px 1fr 32px;
  align-items: center;
  gap: 12px;
}

.score-name {
  font-size: 13px;
  color: var(--fg-muted);
}

.score-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--grade-a) 100%);
  border-radius: 2px;
  transition: width 0.3s;
}

.score-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  text-align: right;
}

.scorecard-footer {
  font-size: 11px;
  color: var(--fg-muted);
  opacity: 0.6;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}

/* HERO DECORATION */
.hero-decoration {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(244,185,66,0.06);
}

.deco-ring-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.deco-ring-2 { width: 400px; height: 400px; top: -100px; right: 50px; border-color: rgba(244,185,66,0.1); }
.deco-ring-3 { width: 200px; height: 200px; top: 20px; right: 150px; border-color: rgba(244,185,66,0.15); }

/* GRADE EXPLAINER */
.grade-explainer {
  background: var(--bg-surface);
  padding: 72px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grade-explainer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.grade-heading-block {
  margin-bottom: 48px;
}

.grade-section-title {
  font-size: 40px;
  margin-bottom: 14px;
}

.grade-section-sub {
  color: var(--fg-muted);
  max-width: 480px;
  font-size: 16px;
  line-height: 1.7;
}

.grade-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.grade-item {
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.grade-letter {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 48px;
  line-height: 1;
  margin-bottom: 14px;
}

.grade-a { color: var(--grade-a); }
.grade-b { color: var(--grade-b); }
.grade-c { color: var(--grade-c); }
.grade-d { color: var(--grade-d); }
.grade-f { color: var(--grade-f); }

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

/* FACTORS */
.factors {
  padding: 80px 48px;
}

.factors-title {
  font-size: 40px;
  margin-bottom: 14px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.factors-sub {
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}

.factors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.factor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  transition: border-color 0.2s;
}

.factor-card:hover {
  border-color: rgba(244,185,66,0.3);
}

.factor-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.factor-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.factor-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.factor-metric {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  padding: 6px 10px;
  background: var(--accent-dim);
  border-radius: 6px;
  line-height: 1.4;
}

/* WHY */
.why {
  background: var(--bg-surface);
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

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

.why-title {
  font-size: 36px;
  line-height: 1.3;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
}

.why-check {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(244,185,66,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--accent-dim);
}

/* CLOSING */
.closing {
  padding: 100px 48px;
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 20px;
  line-height: 1.25;
}

.closing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.closing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.stat {
  flex: 1;
  padding: 28px 24px;
  text-align: center;
}

.stat-number {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.footer-note {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .factors-grid { grid-template-columns: repeat(2, 1fr); }
  .grade-scale { grid-template-columns: repeat(3, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px 64px; }
  .grade-explainer { padding: 56px 24px; }
  .factors { padding: 56px 24px; }
  .factors-grid { grid-template-columns: 1fr; }
  .why { padding: 56px 24px; }
  .closing { padding: 64px 24px; }
  .footer { padding: 20px 24px; }
  .footer-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .grade-scale { grid-template-columns: repeat(2, 1fr); }
  .closing-stats { flex-direction: column; }
  .stat-divider { width: 100%; height: 1px; }
}