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

:root {
  --bg: #0d0f18;
  --surface: #151829;
  --surface2: #1e2238;
  --fg: #f0eee8;
  --fg-muted: #8a8fa8;
  --accent: #f5a623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --border: rgba(240, 238, 232, 0.08);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 6px;
}

html { font-size: 16px; scroll-behavior: smooth; }

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

/* Typography */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  width: 28px; height: 28px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-style: italic;
}
.nav-name { font-size: 17px; font-weight: 500; letter-spacing: 0.01em; }
.nav-tagline { font-size: 13px; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
  padding: 80px 64px 96px;
  min-height: 580px;
  background: linear-gradient(135deg, var(--bg) 0%, #12152a 100%);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 520px;
}
.hero-headline em { color: var(--accent); font-style: italic; }
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.7;
}
.callout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 16px;
}
.callout-stat {
  font-family: var(--serif);
  font-size: 3.2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  font-style: italic;
}
.callout-label {
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.5;
}
.callout-meta {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.callout-caption {
  font-size: 12px;
  color: var(--fg-muted);
  font-style: italic;
  font-family: var(--serif);
}

/* Section label */
.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

/* How it works */
.howitworks { padding: 80px 64px; border-top: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-num {
  font-size: 42px;
  font-family: var(--serif);
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 16px;
  font-style: italic;
}
.step h3 { font-size: 18px; margin-bottom: 10px; color: var(--fg); }
.step p { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* Stack */
.stack { padding: 80px 64px; background: var(--surface); }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.stack-item {
  background: var(--surface);
  padding: 28px 24px;
}
.stack-icon {
  color: var(--accent);
  margin-bottom: 14px;
}
.stack-item h4 { font-size: 15px; margin-bottom: 8px; font-family: var(--sans); font-weight: 500; }
.stack-item p { font-size: 13px; color: var(--fg-muted); line-height: 1.6; }

/* Manifesto */
.manifesto { padding: 96px 64px; border-top: 1px solid var(--border); }
.manifesto-inner { max-width: 720px; margin: 0 auto; }
.manifesto-stat {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 48px;
  text-align: center;
  font-style: italic;
}
.manifesto-sub { display: flex; flex-direction: column; gap: 20px; }
.manifesto-sub p { font-size: 15px; color: var(--fg-muted); line-height: 1.8; }

/* Closing */
.closing {
  padding: 96px 64px 112px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #0a0c14 100%);
}
.closing h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.closing p {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-muted); }
.footer-logo {
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--serif);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
  font-style: italic;
}
.footer-note { font-size: 12px; color: var(--fg-muted); letter-spacing: 0.04em; }

/* Responsive */
@media (max-width: 900px) {
  .nav, .hero, .howitworks, .stack, .manifesto, .closing, .footer { padding-left: 28px; padding-right: 28px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .nav-tagline { display: none; }
}
@media (max-width: 560px) {
  .stack-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 1.9rem; }
}