:root {
  --bg: #0c0c0e;
  --bg-2: #131316;
  --fg: #f0ede6;
  --fg-muted: #8a8780;
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --border: rgba(240, 237, 230, 0.08);
  --code: #c4f0a4;
  --green: #4ade80;
  --amber: #F5A623;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
  color: var(--fg);
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
}

/* PIPELINE VIZ */
.pipeline-viz {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pipeline-step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 0;
}
.pipeline-step.done .step-icon { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.pipeline-step.active .step-icon { background: var(--accent-dim); color: var(--accent); }
.pipeline-step.pending .step-icon { background: rgba(255,255,255,0.05); color: var(--fg-muted); }
.step-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-body { flex: 1; }
.step-name { font-size: 0.88rem; font-weight: 600; color: var(--fg); margin-bottom: 0.15rem; }
.step-desc { font-size: 0.78rem; color: var(--fg-muted); line-height: 1.4; }
.step-badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  white-space: nowrap;
  height: fit-content;
  margin-top: 2px;
}
.step-badge.you { background: var(--accent-dim); color: var(--accent); }
.pipeline-connector {
  width: 1px;
  height: 16px;
  background: var(--border);
  margin-left: 14px;
}

/* HOW */
.how {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.how-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.how-card {
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid;
}
.how-card.old { background: rgba(255,255,255,0.03); border-color: var(--border); }
.how-card.new { background: var(--accent-dim); border-color: rgba(245, 166, 35, 0.25); }
.how-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.how-card.old .how-card-header { color: #f87171; }
.how-card.new .how-card-header { color: var(--accent); }
.how-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; margin-bottom: 1.2rem; }
.how-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: var(--fg-muted);
}
.tag-ai { background: rgba(74, 222, 128, 0.1); color: #4ade80; }

/* FEATURES */
.features {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.features-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(245, 166, 35, 0.3); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
}
.feature-card p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.65; }

/* STATS */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}
.stats-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat { flex: 1; text-align: center; }
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* MANIFESTO */
.manifesto {
  padding: 6rem 2rem;
  background: var(--bg-2);
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote-mark {
  font-size: 5rem;
  line-height: 0.5;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 1.5rem;
  display: block;
}
.manifesto-text {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.manifesto-text:last-of-type { color: var(--accent); font-weight: 700; }
.manifesto-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-top: 1.5rem;
}

/* CLOSING */
.closing {
  max-width: 1160px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  text-align: center;
}
.closing-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
}
.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; }
  .how-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { flex-direction: column; gap: 2.5rem; }
  .stat-divider { width: 60px; height: 1px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2rem; }
  .closing-headline { font-size: 1.8rem; }
  .manifesto { padding: 4rem 2rem; }
  .closing { padding: 4rem 2rem 3rem; }
}