:root {
  --bg: #fafaf8;
  --bg-alt: #f3f2ef;
  --fg: #111111;
  --fg-muted: #6b6b6b;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --hero-bg: #111827;
  --hero-fg: #f9fafb;
  --hero-muted: #9ca3af;
  --nav-bg: #111827;
  --nav-fg: #f9fafb;
  --border: #e5e5e0;
}

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

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

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

/* NAV */
.nav {
  background: var(--nav-bg);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; }
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--nav-fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* HERO */
.hero {
  background: var(--hero-bg);
  color: var(--hero-fg);
  padding: 7rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  border: 1px solid rgba(245,158,11,0.3);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: var(--hero-fg);
}
.hero-headline-accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--hero-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* SHARED SECTION */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 3.5rem;
}

/* HOW IT WORKS */
.how-it-works { padding: 7rem 0; background: var(--bg); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.step {
  flex: 1;
  padding: 2rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1rem;
}
.step-number {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.step-icon { margin-bottom: 1.25rem; }
.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.step p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.65; }
.step-connector {
  width: 40px;
  flex-shrink: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  align-self: center;
  margin-top: -3rem;
}

/* FEATURES */
.features { padding: 6rem 0; background: var(--bg-alt); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem 2rem 2.5rem;
}
.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245,158,11,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--fg);
}
.feature-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* MANIFESTO */
.manifesto {
  padding: 6rem 0;
  background: var(--fg);
  color: var(--hero-fg);
}
.manifesto-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.manifesto-quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--hero-fg);
  margin-bottom: 1.5rem;
}
.manifesto-attribution {
  font-size: 0.85rem;
  color: var(--hero-muted);
  letter-spacing: 0.05em;
}

/* CLOSING */
.closing {
  padding: 7rem 0;
  background: var(--hero-bg);
  color: var(--hero-fg);
  text-align: center;
}
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--hero-fg);
}
.closing-accent { color: var(--accent); }
.closing-sub {
  font-size: 1.1rem;
  color: var(--hero-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* FOOTER */
.footer {
  background: #0d1117;
  color: var(--hero-muted);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--hero-fg);
  display: block;
  margin-bottom: 0.35rem;
}
.footer-tagline { font-size: 0.85rem; color: var(--hero-muted); }
.footer-note { font-size: 0.8rem; color: #4b5563; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .steps { flex-direction: column; gap: 1rem; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero { padding: 5rem 1.5rem 4rem; }
  .manifesto, .closing { padding: 5rem 0; }
}