:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --surface2: #1e1e1e;
  --fg: #f0ede6;
  --fg-muted: #9a9590;
  --accent: #e8a030;
  --accent-dim: #b87a20;
  --terminal-bg: #0a0a0a;
  --terminal-border: #2a2a2a;
  --ok: #4ade80;
  --warn: #fbbf24;
  --mono: 'DM Mono', monospace;
  --display: 'Syne', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

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

/* ── NAV ── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--terminal-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero { padding: 6rem 2rem 5rem; }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.8rem;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 3rem;
  font-weight: 400;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-number {
  font-family: var(--mono);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--terminal-border);
}

/* ── TERMINAL ── */
.terminal-frame {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 10px;
  overflow: hidden;
}
.terminal-bar {
  background: var(--surface);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--terminal-border);
}
.tb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--terminal-border); }
.tb-label { font-family: var(--mono); font-size: 0.68rem; color: var(--fg-muted); margin-left: 0.5rem; }
.terminal-body { padding: 1.2rem 1.4rem; }
.tline {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-muted);
  line-height: 2;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.t-ts { color: #555; flex-shrink: 0; }
.t-ok { color: var(--ok); }
.t-ghost { color: #333; }

/* ── MANIFESTO ── */
.manifesto { padding: 6rem 2rem; background: var(--surface); }
.manifesto-inner { max-width: 900px; margin: 0 auto; }
.m-label, .c-label, .h-label, .p-label, .v-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.m-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  max-width: 700px;
}
.m-body p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.m-quote {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  border-left: 3px solid var(--accent);
  background: var(--surface2);
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-style: italic;
}
.mq-mark { color: var(--accent); font-size: 1.5rem; }

/* ── CONTRAST ── */
.contrast { padding: 6rem 2rem; }
.contrast-inner { max-width: 1200px; margin: 0 auto; }
.c-header { margin-bottom: 3.5rem; }
.c-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.c-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 1.2rem;
}
.old { background: #2a1a0a; color: #f59e0b; }
.new { background: #0a1a0a; color: var(--ok); }
.c-list { list-style: none; }
.c-list li {
  font-size: 0.92rem;
  color: var(--fg-muted);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--terminal-border);
  line-height: 1.5;
}
.c-list li:last-child { border-bottom: none; }
.c-old { padding: 2.5rem; background: var(--surface); border-radius: 6px 0 0 6px; }
.c-new { padding: 2.5rem; background: var(--surface2); border-radius: 0 6px 6px 0; }

/* ── HOW ── */
.how { padding: 6rem 2rem; background: var(--surface); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.h-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
}
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.h-step {}
.h-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}
.h-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}
.h-desc { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.7; }

/* ── PRINCIPLES ── */
.principles { padding: 6rem 2rem; }
.principles-inner { max-width: 1200px; margin: 0 auto; }
.p-label { margin-bottom: 2.5rem; }
.p-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.p-card {
  padding: 2.2rem;
  background: var(--surface);
  border: 1px solid var(--terminal-border);
  border-radius: 6px;
  transition: border-color 0.2s;
}
.p-card:hover { border-color: var(--accent-dim); }
.p-icon {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.p-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.8rem; letter-spacing: -0.01em; }
.p-card p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.65; }

/* ── VISION ── */
.vision { padding: 7rem 2rem; background: var(--surface); }
.vision-inner { max-width: 900px; margin: 0 auto; }
.v-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--fg);
}
.v-body { font-size: 1rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 2.5rem; }
.v-statement {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.6;
  padding: 2rem 2.5rem;
  border: 1px solid var(--accent-dim);
  background: rgba(232,160,48,0.06);
  border-radius: 6px;
}

/* ── FOOTER ── */
.site-footer { padding: 3rem 2rem; border-top: 1px solid var(--terminal-border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; }
.footer-name { font-weight: 800; font-size: 1rem; display: block; margin-bottom: 0.4rem; }
.footer-tagline { font-size: 0.8rem; color: var(--fg-muted); display: block; max-width: 300px; text-align: right; }
.footer-meta { font-family: var(--mono); font-size: 0.68rem; color: #444; text-align: right; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { order: -1; }
  .c-grid { grid-template-columns: 1fr; }
  .c-old, .c-new { border-radius: 6px; }
  .h-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .p-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .footer-tagline { text-align: left; }
}
@media (max-width: 600px) {
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero-stats { gap: 1.2rem; }
  .manifesto, .how, .contrast, .principles, .vision { padding: 4rem 1.5rem; }
  .site-footer { padding: 2rem 1.5rem; }
}