:root {
  --bg: #F7F6F3;
  --fg: #1A1A1A;
  --accent: #22C55E;
  --accent-dim: rgba(34, 197, 94, 0.12);
  --surface: #FFFFFF;
  --surface-alt: #F0EFEB;
  --border: #E2E1DC;
  --muted: #6B6A65;
  --red: #EF4444;
  --yellow: #EAB308;
  --green: #22C55E;
  --dark: #0F1117;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
}

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

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

/* Nav */
.nav {
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Hero */
.hero {
  padding: 80px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 480px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.stat {
  padding: 20px 28px;
  flex: 1;
}
.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 4px;
  line-height: 1.3;
}
.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
}

/* Dashboard widget */
.dashboard-widget {
  background: var(--dark);
  border-radius: 16px;
  padding: 24px;
  font-family: var(--font-mono);
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.06);
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.widget-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.widget-live {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  background: rgba(34, 197, 94, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}
.project-row {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.project-row:last-of-type { border-bottom: none; }
.project-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.project-row--green .project-dot { background: var(--green); }
.project-row--yellow .project-dot { background: var(--yellow); }
.project-row--red .project-dot { background: var(--red); }
.project-name {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.project-status {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 4px;
}
.status-green { color: var(--green); background: rgba(34, 197, 94, 0.12); }
.status-yellow { color: var(--yellow); background: rgba(234, 179, 8, 0.12); }
.status-red { color: var(--red); background: rgba(239, 68, 68, 0.12); }
.project-days {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-align: right;
}
.widget-alert {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 8px;
  padding: 12px;
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert-icon {
  font-size: 12px;
  flex-shrink: 0;
}
.alert-text {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
.widget-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.widget-update { font-size: 10px; color: rgba(255,255,255,0.3); }
.widget-agent { font-size: 10px; color: var(--accent); }

/* Section shared */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-label {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
}
.section-body {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* How it works */
.how-it-works {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 0 24px 0 0; }
.step-connector {
  display: flex;
  align-items: center;
  padding-top: 20px;
}
.step-connector::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  width: 100%;
}
.step-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
}
.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Outcomes */
.outcomes {
  padding: 80px 0;
  background: var(--dark);
}
.outcomes .section-label { color: rgba(255,255,255,0.4); }
.outcomes .section-headline { color: #FFFFFF; }
.outcomes .section-body { color: rgba(255,255,255,0.5); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.outcome {
  padding: 36px 32px;
  background: var(--dark);
}
.outcome-icon {
  margin-bottom: 20px;
}
.outcome-title {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.outcome-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* Manifesto */
.manifesto {
  padding: 100px 0;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
}
.manifesto-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 34px);
  font-style: italic;
  color: var(--fg);
  line-height: 1.45;
  max-width: 760px;
  margin-bottom: 24px;
}
.manifesto-source {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--muted);
}

/* Footer */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
}
.footer-tagline {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.footer-left { display: flex; flex-direction: column; }
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero { padding: 60px 24px; }
  .section-inner { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }
  .nav { padding: 16px 24px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 100%; height: 1px; }
}