:root {
  --bg: #0d0d0f;
  --surface: #141418;
  --surface-2: #1c1c22;
  --fg: #f0f0f5;
  --fg-dim: #8888a0;
  --fg-muted: #55556a;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --red: #ff5f5f;
  --yellow: #ffd04f;
  --green: #00e5a0;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
}

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

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

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 52px;
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 160, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ── Hero ── */
.hero {
  padding: 5rem 2rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-headline {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.hero-accent { color: var(--accent); }
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 420px;
}

/* ── Code Window ── */
.code-window {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.code-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.code-window-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-left: 8px;
}
.code-body {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.75;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  white-space: pre;
}
.c-dim { color: var(--fg-muted); }
.c-ok { color: var(--green); }
.c-warn { color: var(--yellow); }
.c-err { color: var(--red); }
.c-white { color: var(--fg); }
.c-yellow { color: var(--yellow); }
.c-red { color: var(--red); }

/* ── Manifesto ── */
.manifesto {
  padding: 5rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--fg-dim);
  font-weight: 300;
}
.manifesto-action {
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fg);
  font-family: var(--font-mono);
}

/* ── Features ── */
.features { padding: 5rem 2rem; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.section-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 2.5rem;
}
.feature-icon {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.feature-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.65;
}
.mono { font-family: var(--font-mono); }

/* ── How ── */
.how { padding: 5rem 2rem; background: var(--surface); border-top: 1px solid rgba(255,255,255,0.06); }
.how-inner { max-width: 720px; margin: 0 auto; }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.how-step:last-child { border-bottom: none; }
.how-step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg-muted);
  line-height: 1;
  padding-top: 4px;
}
.how-step-content h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.how-step-content p {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.65;
}

/* ── Closing ── */
.closing { padding: 6rem 2rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); }
.closing-inner { max-width: 600px; margin: 0 auto; }
.closing-statement {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.closing-sub { font-size: 1rem; color: var(--fg-dim); }

/* ── Footer ── */
.footer { padding: 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; color: var(--fg); }
.footer-copy { font-size: 0.82rem; color: var(--fg-muted); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-code { order: -1; }
  .hero-lede { max-width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .how-step { grid-template-columns: 48px 1fr; gap: 1rem; }
  .how-step-num { font-size: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .manifesto-text { font-size: 1.05rem; }
  .manifesto-action { font-size: 1.1rem; }
}