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

:root {
  --bg: #f5f1ea;
  --card: #ffffff;
  --foreground: #1a1a1a;
  --muted: #8b8275;
  --accent: #b85c3c;
  --border: #e5dfd3;
  --warm-accent: #d4916e;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-heading: 'Newsreader', Georgia, serif;
}

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

/* ===== Nav ===== */
.nav {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}
.nav-link:hover { color: var(--foreground); }

.nav-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
  background: var(--foreground);
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
}
.nav-btn:hover { opacity: 0.9; }

/* ===== Hero ===== */
.hero {
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: var(--foreground);
  padding: 0.875rem 2rem;
  border-radius: 14px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.cta-btn:hover { opacity: 0.9; }

/* ===== Features ===== */
.features {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5e6d8;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  align-self: stretch;
  text-align: center;
}

.feature p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  align-self: stretch;
}

/* ===== How It Works ===== */
.how-it-works {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.how-it-works > h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--foreground);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.step p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
}

.cta-section p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.cta-section .cta-btn {
  margin-top: 1.5rem;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--foreground);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--foreground); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
