/* SiteClosure — Dark brutalist, amber accent */
:root {
  --bg: #09090b;
  --bg-2: #0f0f11;
  --surface: #18181b;
  --surface-2: #27272a;
  --fg: #fafafa;
  --fg-muted: #a1a1aa;
  --fg-dim: #52525b;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --accent-border: rgba(245,158,11,0.25);
  --red: #ef4444;
  --border: rgba(255,255,255,0.06);
  --radius: 6px;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ─── HERO ─── */
.hero {
  padding: 100px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero-line {
  display: block;
}

.hero-line.accent {
  color: var(--accent);
  -webkit-text-stroke: 0px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 60px;
  font-weight: 400;
}

/* Pipeline diagram */
.pipeline-diagram {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 200px;
  flex: 1;
}

.step-icon { flex-shrink: 0; }

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 3px;
}

.step-desc {
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.4;
}

.pipeline-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ─── STATS ─── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 48px;
  background: var(--bg-2);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
}

.stat-item { flex: 1; }

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 200px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── HOW ─── */
.how {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 600px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.how-card {
  background: var(--bg);
  padding: 48px 40px;
}

.how-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  color: var(--fg-dim);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  line-height: 1;
}

.how-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

.how-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ─── FEATURES ─── */
.features {
  padding: 80px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features .section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 36px 28px;
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── WHY ─── */
.why {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-left .section-title { margin-bottom: 24px; }

.why-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.comparison-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.comp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.comp-col-head {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.comp-col-head.accent-col { color: var(--accent); }

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.comp-row:last-child { border-bottom: none; }
.comp-row:hover { background: rgba(255,255,255,0.02); }

.comp-label {
  font-size: 13px;
  color: var(--fg-muted);
}

.comp-val {
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
}

.comp-val.highlight {
  color: var(--accent);
  font-weight: 600;
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: 100px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  color: var(--fg);
  font-style: normal;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}

.manifesto-sub p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.manifesto-sub p:last-child { margin-bottom: 0; }

/* ─── CLOSING ─── */
.closing {
  padding: 120px 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  margin-bottom: 60px;
}

.neural-art {
  max-width: 600px;
  margin: 0 auto 48px;
}

.neural-svg {
  width: 100%;
  height: auto;
}

.closing-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--fg-muted);
  letter-spacing: -0.02em;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.footer-copy {
  font-size: 12px;
  color: var(--fg-dim);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 60px 24px 60px; }
  .how { padding: 60px 24px; }
  .features { padding: 60px 24px; }
  .why { padding: 60px 24px; }
  .manifesto { padding: 60px 24px; }
  .closing { padding: 80px 24px 60px; }
  .footer { padding: 20px 24px; }
  .stats { padding: 32px 24px; }

  .stats-inner { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .stat-label { max-width: 100%; }

  .how-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }

  .pipeline-diagram { flex-direction: column; align-items: stretch; }
  .pipeline-arrow { display: none; }
  .pipeline-step { min-width: unset; }

  .comp-header, .comp-row { grid-template-columns: 1fr 0.7fr 0.7fr; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 44px; }
  .closing-headline { font-size: 32px; }
}