:root {
  --bg: #F9F6F0;
  --bg-alt: #EFE9DF;
  --fg: #1A1A2E;
  --fg-muted: #6B6B80;
  --accent: #E07A1F;
  --accent-soft: #FFF0E4;
  --border: #DDD6CC;
  --white: #FFFFFF;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 246, 240, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--fg);
  text-decoration: none;
}
nav {
  display: flex;
  gap: 32px;
}
nav a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
nav a:hover { color: var(--fg); }
.btn-nav {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
.btn-nav:hover { background: #c96010 !important; }

/* Auth buttons in header */
.btn-header-primary {
  background: var(--accent);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s;
  display: inline-block;
  margin-left: 8px;
}
.btn-header-primary:hover { background: #c96010; color: var(--white); }

.btn-header-ghost {
  background: transparent;
  color: var(--fg-muted);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  margin-left: 4px;
}
.btn-header-ghost:hover { background: var(--bg-alt); color: var(--fg); }

/* ── Hero ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
}
.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26, 26, 46, 0.12);
}
.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ── Features ── */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  border-top: 1px solid var(--border);
}
.features-intro {
  max-width: 540px;
  margin-bottom: 56px;
}
.features-intro h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.features-intro p {
  color: var(--fg-muted);
  font-size: 16px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 40px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ── Stats ── */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.stats-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(26, 26, 46, 0.10);
}
.stats-content h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.stats-lede {
  color: var(--fg-muted);
  font-size: 16px;
  margin-bottom: 40px;
}
.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
}

/* ── Proof ── */
.proof {
  background: var(--bg-alt);
  padding: 80px 32px;
}
.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.proof-phone-stack img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 56px rgba(26, 26, 46, 0.10);
}
.proof-text blockquote {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  margin-bottom: 20px;
}
.proof-attribution {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.proof-note {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.7;
  font-style: italic;
}

/* ── Manifesto ── */
.manifesto {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}
.manifesto-inner {
  max-width: 680px;
}
.manifesto-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.manifesto-body h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  line-height: 1.2;
}
.manifesto-body p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.manifesto-body p:last-child { margin-bottom: 0; }

/* ── Closing ── */
.closing {
  background: var(--fg);
  padding: 100px 32px;
  text-align: center;
}
.closing-inner {
  max-width: 600px;
  margin: 0 auto;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--bg);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.closing p {
  color: rgba(249, 246, 240, 0.65);
  font-size: 18px;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  background: var(--fg);
  border-top: 1px solid rgba(249, 246, 240, 0.1);
  padding: 40px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand .wordmark {
  color: var(--bg);
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  color: rgba(249, 246, 240, 0.5);
  font-size: 14px;
}
.footer-note {
  color: rgba(249, 246, 240, 0.35);
  font-size: 13px;
  max-width: 280px;
  text-align: right;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero, .stats, .proof-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { padding: 60px 24px; }
  .features { padding: 60px 24px; }
  .stats { padding: 60px 24px; }
  .proof { padding: 60px 24px; }
  .manifesto { padding: 60px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-note { text-align: left; }
  nav { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .manifesto-body h2, .closing h2 { font-size: 30px; }
  .stat-number { font-size: 32px; }
}