:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.12);
  --accent-glow: rgba(0, 255, 136, 0.25);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── HERO ─── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 255, 136, 0.06) 0%, transparent 70%),
    var(--bg);
}

.hero-container {
  max-width: 860px;
  text-align: center;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--accent);
  font-style: italic;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  min-width: 180px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* ─── PIPELINE ─── */
.pipeline {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pipeline-container {
  max-width: 1000px;
  margin: 0 auto;
}

.pipeline h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
}

.pipeline-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.pipe-step {
  flex: 1;
  max-width: 220px;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.pipe-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--accent);
  padding: 0 0.5rem;
  margin-top: 2.5rem;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.pipe-step h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ─── SIGNALS ─── */
.signals {
  padding: 6rem 2rem;
}

.signals-container {
  max-width: 960px;
  margin: 0 auto;
}

.signals h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.signal-card {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.signal-card:hover {
  border-color: rgba(0, 255, 136, 0.2);
}

.signal-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.signal-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ─── CLOSING ─── */
.closing {
  padding: 6rem 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-container {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-container {
  max-width: 700px;
  margin: 0 auto;
}

.footer-brand {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

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

.footer-text a {
  color: var(--accent);
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .pipeline-grid {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .pipe-arrow {
    transform: rotate(90deg);
    padding: 0.25rem 0;
    margin-top: 0;
  }
  .pipe-step {
    max-width: 100%;
    width: 100%;
  }
  .signals-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  .stat {
    width: 100%;
    max-width: 280px;
  }
  .hero {
    min-height: auto;
    padding: 4rem 1.5rem 3rem;
  }
}