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

:root {
  --bg: #08090d;
  --surface: #0f1117;
  --accent: #d4ff00;
  --accent-dim: rgba(212, 255, 0, 0.12);
  --fg: #e8e8e8;
  --fg-dim: #6b6b6b;
  --border: rgba(212, 255, 0, 0.15);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.nav-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(212,255,0,0.03) 79px, rgba(212,255,0,0.03) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(212,255,0,0.03) 79px, rgba(212,255,0,0.03) 80px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: radial-gradient(ellipse 80% 50% at 60% 100%, rgba(212,255,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-text {}
.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.lede {
  font-size: 1.1rem;
  color: #a0a0a0;
  max-width: 44ch;
  line-height: 1.65;
}

/* LAYER STACK VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
}
.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 280px;
}
.layer {
  padding: 0.75rem 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.l1 { background: rgba(180, 60, 60, 0.15); border: 1px solid rgba(180, 60, 60, 0.4); color: #ff8080; }
.l2, .l3, .l4 { background: rgba(212,255,0,0.05); border: 1px solid rgba(212,255,0,0.15); color: var(--fg-dim); font-style: italic; }
.l5 { background: rgba(212,255,0,0.12); border: 1px solid rgba(212,255,0,0.4); color: var(--accent); font-weight: 600; letter-spacing: 0.05em; }
.l6 { background: rgba(20, 24, 35, 0.8); border: 1px solid rgba(255,255,255,0.1); color: #aaa; }
.x { color: #ff4040; font-weight: bold; }
.accent { color: var(--accent); }

/* MANIFESTO */
.manifesto {
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.sub {
  font-size: 1rem;
  color: var(--fg-dim);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ARCHITECTURE */
.architecture {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 4rem;
}
.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--fg);
  line-height: 1.15;
}
.arch-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.arch-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: start;
}
.arch-step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  padding-top: 0.25rem;
}
.step-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.step-content p {
  color: #888;
  font-size: 0.95rem;
  max-width: 52ch;
  line-height: 1.7;
}

/* OUTCOMES */
.outcomes {
  padding: 7rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.outcomes .section-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.outcome-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 5rem;
}
.outcome {}
.outcome-icon {
  margin-bottom: 1rem;
}
.outcome h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.outcome p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 38ch;
}

/* CLOSING */
.closing {
  padding: 8rem 2rem;
  text-align: center;
}
.closing-inner {}
.closing-statement {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.8;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--fg-dim);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .arch-step { grid-template-columns: 48px 1fr; gap: 1rem; }
  .step-num { font-size: 1.5rem; }
  .outcome-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .manifesto, .architecture, .outcomes, .closing { padding: 5rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 480px) {
  .headline { font-size: 2.2rem; }
  .statement { font-size: 1.3rem; }
  .closing-statement { font-size: 1.6rem; }
}