:root {
  --bg: #0f1623;
  --bg-card: #161d2e;
  --bg-surface: #1c2539;
  --fg: #f0f4ff;
  --fg-muted: #8899b4;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --border: rgba(240,244,255,0.08);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

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

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

/* Navigation */
.site-nav { padding: 20px 40px; border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.nav-logo { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--fg); letter-spacing: -0.02em; }
.nav-tag { font-size: 12px; color: var(--fg-muted); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-cta { margin-left: auto; font-size: 13px; font-weight: 600; color: #0f1623; background: var(--accent); padding: 8px 18px; border-radius: 8px; text-decoration: none; transition: background 0.15s; }
.nav-cta:hover { background: #d97706; }

/* Hero */
.hero { padding: 80px 40px 100px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 600; margin-bottom: 24px; }
.hero-headline { font-family: var(--font-head); font-size: clamp(42px, 5vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--fg); margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: var(--fg-muted); line-height: 1.7; max-width: 420px; }

/* Case card mockup */
.hero-visual { position: relative; }
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.case-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.case-badge { background: rgba(239,68,68,0.15); color: #f87171; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px; letter-spacing: 0.04em; }
.case-id { font-size: 12px; color: var(--fg-muted); font-family: monospace; }
.case-title { font-family: var(--font-head); font-size: 20px; font-weight: 500; margin-bottom: 16px; color: var(--fg); }
.case-meta { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.meta-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.meta-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); font-weight: 500; min-width: 80px; padding-top: 2px; }
.meta-val { font-size: 14px; color: var(--fg); }
.meta-ai { color: var(--accent); font-size: 13px; line-height: 1.5; }
.case-actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.action-chip { font-size: 12px; padding: 6px 14px; border-radius: 6px; border: 1px solid var(--border); color: var(--fg-muted); cursor: pointer; }
.action-chip.action-primary { background: var(--accent); color: #0f1623; border-color: var(--accent); font-weight: 600; }

/* Problem section */
.problem { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 40px; }
.problem-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.stat-number { font-family: var(--font-head); font-size: 56px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.stat-desc { font-size: 16px; color: var(--fg-muted); line-height: 1.6; }

/* Features */
.features { padding: 100px 40px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-headline { font-family: var(--font-head); font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 64px; color: var(--fg); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.feature-icon { width: 40px; height: 40px; background: var(--accent-dim); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 500; margin-bottom: 10px; color: var(--fg); }
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* How it works */
.how { padding: 100px 40px; background: var(--bg-surface); border-top: 1px solid var(--border); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
.how-step { border-left: 1px solid var(--border); padding-left: 32px; }
.step-number { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 16px; }
.step-content h3 { font-family: var(--font-head); font-size: 22px; font-weight: 500; margin-bottom: 12px; color: var(--fg); }
.step-content p { font-size: 15px; color: var(--fg-muted); line-height: 1.7; }

/* Manifesto */
.manifesto { padding: 100px 40px; }
.manifesto-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.manifesto-quote { font-family: var(--font-head); font-size: clamp(22px, 3vw, 32px); font-weight: 500; line-height: 1.5; color: var(--fg); letter-spacing: -0.01em; margin-bottom: 32px; }
.manifesto-quote p { font-style: italic; }
.manifesto-attribution { display: flex; flex-direction: column; gap: 4px; }
.attr-name { font-size: 15px; font-weight: 600; color: var(--fg); }
.attr-title { font-size: 13px; color: var(--fg-muted); }

/* Closing */
.closing { padding: 100px 40px; border-top: 1px solid var(--border); }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing h2 { font-family: var(--font-head); font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; color: var(--fg); }
.closing-sub { font-size: 20px; color: var(--fg-muted); max-width: 520px; line-height: 1.6; }

/* Footer */
.site-footer { padding: 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: var(--font-head); font-weight: 700; font-size: 18px; display: block; }
.footer-tagline { font-size: 12px; color: var(--fg-muted); display: block; margin-top: 2px; }
.footer-meta { font-size: 14px; color: var(--fg-muted); max-width: 400px; text-align: right; line-height: 1.5; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 60px 24px 80px; }
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .how-step { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-meta { text-align: center; }
  .site-nav { padding: 16px 24px; }
  .features, .how, .closing { padding: 60px 24px; }
  .manifesto { padding: 60px 24px; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}