/* Baby Generator AI — marketing site
   Plain CSS, no build step. Palette matched to the in-app screens
   (warm cream background, terracotta accent, dark brown text). */

:root {
  --bg: #fdf1e8;
  --bg-card: #ffffff;
  --text: #3a2a22;
  --text-muted: #7a6a60;
  --accent: #e4623f;
  --accent-soft: #f6cdb9;
  --accent-dark: #c94f2f;
  --border: #f0dccb;
  --pink: #e0668a;
  --blue: #5b8ec4;
  --radius: 20px;
  --radius-sm: 12px;
  --max-width: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.site {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}
.brand .dot {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
}
nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 600;
}
nav.main-nav a { color: var(--text-muted); }
nav.main-nav a:hover { color: var(--accent-dark); text-decoration: none; }

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.98rem;
  white-space: nowrap;
}
.cta-button:hover { background: var(--accent-dark); text-decoration: none; }
.cta-button.secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent-soft);
}
.cta-button.secondary:hover { background: var(--accent-soft); }

/* Hero */
.hero {
  padding: 56px 0 40px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero .pitch {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 42ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual img {
  border-radius: 28px;
  box-shadow: 0 24px 60px -20px rgba(58, 42, 34, 0.35);
  max-width: 300px;
}

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-lead { color: var(--text-muted); max-width: 60ch; margin: 0 0 32px; font-size: 1.05rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-muted); }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.examples-grid figure {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.examples-grid img { width: 100%; height: auto; }
.examples-grid figcaption {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.price-card .amount { font-size: 2rem; font-weight: 800; margin: 6px 0 4px; }
.price-card .amount small { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.price-card ul { padding-left: 18px; color: var(--text-muted); margin: 14px 0 0; }
.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--text-muted); }

/* Comparison table */
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.compare th, table.compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
table.compare th { background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td.us { font-weight: 700; }

/* App store badge */
.store-badge img { height: 48px; }

/* Footer */
footer.site {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}
footer.site .footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site nav a { color: var(--text-muted); }

/* Page hero (interior pages) */
.page-hero { padding: 44px 0 8px; }
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 14px; font-weight: 800; }
.page-hero .pitch { color: var(--text-muted); font-size: 1.05rem; max-width: 60ch; margin: 0 0 20px; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); }

.inline-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin: 36px 0;
}
.inline-cta h3 { margin: 0 0 10px; }
.inline-cta p { color: var(--text-muted); margin: 0 0 18px; }

.genetics-fact {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.genetics-fact .icon {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.genetics-fact h3 { margin: 0 0 6px; font-size: 1.02rem; }
.genetics-fact p { margin: 0; color: var(--text-muted); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3, .examples-grid, .price-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  nav.main-nav { display: none; }
  header.site .wrap { justify-content: space-between; }
}
