:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #161d2e;
  --bg-card-highlight: #0d2a1a;
  --fg-primary: #f0f2f5;
  --fg-secondary: #8b95a8;
  --fg-muted: #5a6478;
  --accent: #22c55e;
  --accent-dim: #16a34a;
  --accent-glow: rgba(34, 197, 94, 0.15);
  --border: #1e293b;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

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

.hero .lede {
  font-size: 1.2rem;
  color: var(--fg-secondary);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

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

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ========== PIPELINE ========== */
.pipeline {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.pipeline-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  margin-bottom: 3.5rem;
  max-width: 600px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: stretch;
}

.pipe-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: border-color 0.3s ease;
}

.pipe-card:hover {
  border-color: var(--accent-dim);
}

.pipe-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.pipe-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pipe-card p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

.pipe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--fg-muted);
}

/* ========== NUMBERS ========== */
.numbers {
  padding: 6rem 2rem;
}

.numbers-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.numbers-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: sticky;
  top: 3rem;
}

.numbers-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.number-block {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

.number-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.number-desc {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ========== EDGE ========== */
.edge {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.edge-inner {
  max-width: 900px;
  margin: 0 auto;
}

.edge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.edge-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.edge-item.highlight {
  background: var(--bg-card-highlight);
  border-color: rgba(34, 197, 94, 0.3);
}

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

.edge-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.edge-item p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* ========== CLOSING ========== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

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

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

.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: 1rem;
  font-weight: 600;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pipe-arrow {
    transform: rotate(90deg);
    font-size: 1.2rem;
    padding: 0.25rem 0;
  }

  .numbers-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .numbers-left h2 {
    position: static;
  }

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

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 4rem 1.25rem 3rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .pipeline,
  .numbers,
  .edge {
    padding: 4rem 1.25rem;
  }

  .closing {
    padding: 5rem 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}