:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --fg: #e8e4df;
  --fg-muted: #8a8580;
  --fg-dim: #5a5652;
  --accent: #e8712a;
  --accent-glow: #ff8c3a;
  --accent-dim: rgba(232, 113, 42, 0.15);
  --spark: #ffc857;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg-dim), transparent);
}

.hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  padding: 6px 14px;
  border: 1px solid rgba(232, 113, 42, 0.3);
  border-radius: 4px;
  background: var(--accent-dim);
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lede {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* ── STATS BAR ── */
.stats-bar {
  padding: 60px 40px;
  background: var(--bg-elevated);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.stat-label {
  font-size: 14px;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* ── WHAT IT DOES ── */
.what-it-does {
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.what-it-does h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 60px;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.capability {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  transition: border-color 0.3s;
}

.capability:hover {
  border-color: rgba(232, 113, 42, 0.3);
}

.capability-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.capability h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.capability p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 40px;
  background: var(--bg-elevated);
}

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

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.step {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.step:last-child {
  margin-bottom: 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  min-width: 50px;
  opacity: 0.7;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 16px;
}

/* ── CLOSING ── */
.closing {
  padding: 120px 40px;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg-dim), transparent);
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin: 0 auto 24px;
}

.closing h2 em {
  font-style: normal;
  color: var(--accent);
}

.closing p {
  color: var(--fg-muted);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
}

/* ── FOOTER ── */
footer {
  padding: 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

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

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

.footer-note {
  font-size: 13px;
  color: var(--fg-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 60px;
    min-height: 80vh;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    padding: 48px 24px;
  }

  .what-it-does {
    padding: 72px 24px;
  }

  .capabilities {
    grid-template-columns: 1fr;
  }

  .how-it-works {
    padding: 72px 24px;
  }

  .step {
    gap: 16px;
  }

  .step-num {
    font-size: 32px;
    min-width: 36px;
  }

  .closing {
    padding: 80px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 16px 48px;
  }

  .capability {
    padding: 24px;
  }
}