:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e6e1;
  --fg-muted: #8a8880;
  --gold: #d4a853;
  --gold-dim: rgba(212, 168, 83, 0.15);
  --gold-glow: rgba(212, 168, 83, 0.08);
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { 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.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Landing Nav ── */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.landing-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-nav-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.landing-nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.landing-nav-links a {
  color: var(--fg-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.landing-nav-links a:hover { color: var(--fg); }

.landing-nav-cta {
  background: var(--gold);
  color: #0a0a0f !important;
  padding: 7px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: opacity 0.2s;
}

.landing-nav-cta:hover {
  opacity: 0.88;
  color: #0a0a0f !important;
}

@media (max-width: 600px) {
  .landing-nav-links a:not(.landing-nav-cta) { display: none; }
  .landing-nav-links .landing-nav-cta { display: inline-block; }
}

/* ── Hero ── */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  font-family: var(--font-body);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

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

.cta-link {
  display: inline-block;
  padding: 14px 24px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}

.cta-link:hover { color: var(--fg); }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

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

/* ── Section Common ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}

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

.section-subtitle {
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 56px;
}

/* ── Pipeline / How ── */
.how {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.pipeline-step {
  padding: 0 12px;
}

.pipeline-arrow {
  width: 32px;
  height: 2px;
  background: var(--gold-dim);
  margin-top: 28px;
  align-self: start;
  position: relative;
}

.pipeline-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--gold);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.pipeline-step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ── Numbers / Revenue Paths ── */
.numbers {
  position: relative;
}

.numbers::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

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

.path-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.3s;
}

.path-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
}

.path-icon {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.path-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.path-calc {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

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

/* ── Stack ── */
.stack {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stack-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s;
}

.stack-item:hover {
  border-color: rgba(212, 168, 83, 0.2);
}

.stack-category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 8px;
}

.stack-tools {
  font-size: 1rem;
  color: var(--fg);
  font-weight: 500;
}

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

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 100%;
  background: radial-gradient(ellipse at center top, var(--gold-glow) 0%, transparent 60%);
  pointer-events: none;
}

.closing .section-inner {
  padding: 0;
  position: relative;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

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

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-sub {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 12px;
}

.footer-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-links-row a {
  font-size: 0.83rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-row a:hover {
  color: var(--gold);
}

.footer-sep {
  color: var(--border);
  font-size: 0.83rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 12px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 60px 20px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding-top: 28px; }
  .hero-stat { flex-direction: row; align-items: baseline; gap: 12px; }

  .pipeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pipeline-arrow {
    width: 2px;
    height: 24px;
    margin: 0 auto;
  }
  .pipeline-arrow::after {
    right: auto;
    left: -4px;
    top: auto;
    bottom: 0;
    border: 5px solid transparent;
    border-top-color: var(--gold);
    border-left-color: transparent;
  }
  .pipeline-step { padding: 0; }

  .paths-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr 1fr; }

  .section-inner { padding: 60px 20px; }
  .closing { padding: 80px 20px; }
}

@media (max-width: 480px) {
  .stack-grid { grid-template-columns: 1fr; }
}