/* Base */
:root {
  --bg: #faf8f5;
  --bg-alt: #f0ece4;
  --fg: #1a1612;
  --fg-muted: #6b5f52;
  --accent: #b5832a;
  --accent-light: #d4a855;
  --border: #e2d9cc;
  --card-bg: #ffffff;
}

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

html { scroll-behavior: smooth; }

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

/* Typography */
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; line-height: 1.15; }

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-muted);
  background: var(--bg-alt);
  padding: 6px 14px;
  border-radius: 40px;
}

/* Hero */
.hero {
  padding: 100px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 32px;
  letter-spacing: -2px;
  font-style: italic;
}
.hero-lede {
  font-size: 20px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.stat {
  padding: 0 40px 0 0;
}
.stat:first-child { padding-left: 0; }
.stat-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin-right: 40px;
}

/* Sections */
.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -1px;
}
.section-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 680px;
}

/* What it does */
.what-it-does {
  background: var(--bg-alt);
  padding: 96px 48px;
}
.what-it-does .section-headline {
  max-width: 600px;
}
.what-it-does .section-body + .section-body {
  margin-top: 20px;
}

/* Features */
.features {
  padding: 96px 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
  margin-top: 56px;
}
.feature-card {
  background: var(--card-bg);
  padding: 40px 36px;
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 24px;
}
.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* How it works */
.how-it-works {
  background: var(--fg);
  color: #fff;
  padding: 96px 48px;
}
.how-it-works .section-label { color: var(--accent-light); }
.how-it-works .section-headline { color: #fff; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 56px;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-light);
  opacity: 0.4;
  margin-bottom: 20px;
  line-height: 1;
}
.step h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* Closing */
.closing {
  background: var(--bg-alt);
  padding: 80px 48px;
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-rule {
  width: 64px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 40px;
}
.closing-statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 400;
  font-style: italic;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 28px;
}
.closing-sub {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
}

/* Footer */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
.footer-legal {
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .hero { padding: 64px 24px 56px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat-divider { display: none; }
  .what-it-does, .features, .how-it-works, .closing { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-title { letter-spacing: -1px; }
  .hero-lede { font-size: 18px; }
}
