:root {
  --bg: #111111;
  --bg-alt: #1a1a1a;
  --fg: #f5f5f5;
  --fg-muted: #888888;
  --accent: #FF6B35;
  --accent-dim: rgba(255, 107, 53, 0.12);
  --border: #2a2a2a;
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* Nav */
.nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.nav-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--fg);
}
.nav-tag {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* Hero */
.hero {
  padding: 8rem 3rem 6rem;
  max-width: 1100px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 2rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 4rem;
  font-weight: 300;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}
.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* Section label */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* What */
.what { padding: 7rem 3rem; background: var(--bg-alt); }
.what-inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.what-body {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 1.2rem;
  line-height: 1.75;
  font-weight: 300;
}
.pipeline { display: flex; flex-direction: column; gap: 0; }
.pipeline-stage {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.pipeline-line {
  width: 1px;
  height: 28px;
  background: var(--border);
  margin-left: 4.5px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.stage-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}
.stage-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* How */
.how { padding: 7rem 3rem; }
.how-grid {
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.how-card {
  background: var(--bg);
  padding: 2rem 1.8rem;
}
.card-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-dim);
  margin-bottom: 1.5rem;
  line-height: 1;
}
.card-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.card-body {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Difference */
.difference { padding: 7rem 3rem; background: var(--bg-alt); }
.diff-inner { max-width: 1100px; }
.diff-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 0;
}
.compare-col { }
.col-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.col-foundry-header { color: var(--accent); }
.col-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.col-list li {
  font-size: 0.95rem;
  color: #888;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.col-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
  font-family: var(--font-mono);
}
.col-list-foundry li { color: #ccc; }
.col-list-foundry li::before { color: var(--accent-dim); }

/* Manifesto */
.manifesto { padding: 8rem 3rem; }
.manifesto-inner { max-width: 800px; }
.manifesto-quote {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.35;
  margin-bottom: 3rem;
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}
.manifesto-body {
  font-size: 1rem;
  color: #999;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem;
}
.footer-inner { max-width: 1100px; }
.footer-brand { margin-bottom: 2rem; }
.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--fg);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #444;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .hero-stat-divider { display: none; }
  .what { padding: 5rem 1.5rem; }
  .what-inner { grid-template-columns: 1fr; gap: 3rem; }
  .how { padding: 5rem 1.5rem; }
  .how-grid { grid-template-columns: 1fr; }
  .difference { padding: 5rem 1.5rem; }
  .diff-compare { grid-template-columns: 1fr; gap: 2.5rem; }
  .manifesto { padding: 5rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .nav { padding: 1.2rem 1.5rem; }
}