/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  --bg: #0e0e11;
  --bg-2: #16161b;
  --bg-3: #1e1e26;
  --fg: #f0ece4;
  --fg-2: #9e9a92;
  --fg-3: #5c5954;
  --accent: #f59e0b;
  --accent-dim: #92680a;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #f87171;
  --border: #2a2a34;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: 'Syne', sans-serif; }

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--accent); font-size: 20px; }
.brand-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.5px; }
.nav-status { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.status-label { font-size: 12px; color: var(--fg-2); text-transform: uppercase; letter-spacing: 0.08em; }

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  padding: 80px 48px 60px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
.hero-left { }
.hero-eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent);
  margin-bottom: 20px; font-weight: 500;
}
.hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-visual { margin-top: 8px; }

/* Terminal block */
.terminal-block {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 440px;
}
.terminal-bar {
  background: var(--bg-3);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-3); }
.t-dot:first-child { background: #f87171; }
.t-dot:nth-child(2) { background: #fbbf24; }
.t-dot:nth-child(3) { background: #4ade80; }
.t-title { font-size: 11px; color: var(--fg-3); margin-left: 8px; font-family: 'DM Sans', monospace; }
.terminal-body { padding: 18px 20px; }
.t-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.t-row:last-child { border-bottom: none; }
.t-label { color: var(--fg-2); }
.t-val { font-family: 'Syne', sans-serif; font-weight: 600; color: var(--fg); }
.t-green { color: var(--green); }
.t-amber { color: var(--amber); }
.t-spacer { margin-top: 12px; }
.t-cursor { color: var(--accent); font-family: monospace; animation: blink 1s step-end infinite; }
.t-prompt { color: var(--fg-2); font-size: 12px; }
@keyframes blink { 50% { opacity: 0; } }

/* Hero right */
.hero-right { padding-top: 20px; }
.hero-quote {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 28px;
}
.quote-mark { font-size: 48px; color: var(--accent); line-height: 1; margin-bottom: 8px; font-family: serif; }
.hero-quote p { font-size: 15px; color: var(--fg-2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.qa-name { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 14px; }
.qa-role { font-size: 12px; color: var(--fg-3); margin-top: 2px; }

/* === STATS === */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px; }
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.stat-item {
  background: var(--bg-2);
  padding: 32px 28px;
  text-align: center;
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; }

/* === MANIFESTO === */
.manifesto { padding: 100px 48px; }
.manifesto-inner { max-width: 720px; margin: 0 auto; }
.manifesto-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 20px; font-weight: 500;
}
.manifesto-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}
.manifesto-body { font-size: 18px; color: var(--fg-2); line-height: 1.75; margin-bottom: 20px; }

/* === FEATURES === */
.features { padding: 0 48px 100px; }
.features-header { max-width: 1400px; margin: 0 auto 80px; }
.features-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 16px; font-weight: 500;
}
.features-headline {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -1.5px;
  max-width: 600px;
}
.feature-row {
  max-width: 1400px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }
.feature-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.feature-desc { font-size: 16px; color: var(--fg-2); line-height: 1.75; max-width: 480px; }

/* Feature visuals */
.fv-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.fv-proposal { }
.fv-label { font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.fv-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.fv-progress { height: 4px; background: var(--bg-3); border-radius: 2px; margin-bottom: 12px; }
.fp-bar { height: 100%; background: var(--accent); border-radius: 2px; }
.fv-meta { font-size: 13px; color: var(--fg-3); }

.fh-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.fh-row:last-child { border-bottom: none; }
.fh-name { font-size: 14px; }
.fh-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.fh-green { background: rgba(74,222,128,0.12); color: var(--green); }
.fh-amber { background: rgba(251,191,36,0.12); color: var(--amber); }

.fu-bar-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.fu-eng { font-size: 13px; width: 60px; color: var(--fg-2); }
.fu-bar { flex: 1; height: 8px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.fu-fill { height: 100%; background: var(--green); border-radius: 4px; }
.fu-full { background: var(--accent); }
.fu-amber { background: var(--amber); }
.fu-pct { font-size: 12px; color: var(--fg-3); width: 36px; text-align: right; }

/* === PROCESS === */
.process { padding: 80px 48px; background: var(--bg-2); border-top: 1px solid var(--border); }
.process-header { max-width: 1400px; margin: 0 auto 60px; }
.process-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 16px; font-weight: 500; }
.process-headline { font-size: 32px; font-weight: 700; letter-spacing: -1px; }
.process-steps { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { }
.step-num { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.step-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; margin-bottom: 12px; }
.step-desc { font-size: 14px; color: var(--fg-2); line-height: 1.7; }

/* === CLOSING === */
.closing { padding: 100px 48px; border-top: 1px solid var(--border); }
.closing-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 28px;
}
.closing-body { font-size: 18px; color: var(--fg-2); line-height: 1.75; max-width: 600px; margin: 0 auto; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-tagline { font-size: 14px; color: var(--fg-2); flex: 1; }
.footer-note { font-size: 12px; color: var(--fg-3); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 40px; }
  .hero-right { order: -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row-reverse { direction: ltr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .nav { padding: 20px 24px; }
  .manifesto, .features, .closing { padding-left: 24px; padding-right: 24px; }
  .process { padding-left: 24px; padding-right: 24px; }
  .footer { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}