:root {
  --bg: #0c0c0f;
  --bg-elevated: #14141a;
  --bg-card: #1a1a24;
  --fg: #e8e6e1;
  --fg-muted: #9a9790;
  --fg-dim: #5a5850;
  --accent: #d4a843;
  --accent-glow: rgba(212, 168, 67, 0.15);
  --accent-soft: #b8922e;
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
  --radius: 12px;
  --max-w: 1100px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: var(--accent-glow);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: var(--space-md);
}

.hero h1 .accent {
  color: var(--accent);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.hero-subjects {
  display: flex;
  gap: var(--space-xs);
  justify-content: center;
  flex-wrap: wrap;
}

.subject-tag {
  padding: 0.35rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}

.grid-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
}

/* ---- METRICS ---- */
.metrics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) var(--space-md);
}

.metrics-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.metric-label {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

/* ---- FEATURES ---- */
.features {
  padding: var(--space-2xl) var(--space-md);
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.features-header {
  margin-bottom: var(--space-xl);
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.features-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 500px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
}

.feature-card--large {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212, 168, 67, 0.04) 100%);
}

.feature-icon {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--fg);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ---- HOW ---- */
.how {
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
  background: var(--bg-elevated);
}

.how-inner {
  max-width: 700px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
  text-align: center;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.how-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  width: 1px;
  height: 32px;
  background: rgba(212, 168, 67, 0.15);
  margin-left: 20px;
}

/* ---- CLOSING ---- */
.closing {
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.closing-inner {
  max-width: 750px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-lg) var(--space-md);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}

.footer-text {
  font-size: 0.8rem;
  color: var(--fg-dim);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-column: 1;
  }

  .metrics-inner {
    flex-direction: column;
    gap: var(--space-md);
  }

  .metric-divider {
    width: 48px;
    height: 1px;
  }

  .hero {
    min-height: 70vh;
    padding-top: var(--space-lg);
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .how-step {
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .hero-subjects {
    gap: 0.3rem;
  }

  .subject-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
  }
}