/* FeedMyBaby — official site styles (brand palette from src/constants/theme.ts) */
:root {
  --bg: #fff9f6;
  --card: #f4eae6;
  --card-border: #f2dfd7;
  --text: #2d3142;
  --text-secondary: #7c809b;
  --primary: #ff9b85;
  --primary-dark: #f2765d;
  --breast: #f7a8b8;
  --bottle: #8cd1ca;
  --solid: #ffd97d;
  --lavender: #c5a3ff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--card-border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-row { display: flex; align-items: center; gap: 12px; }
.header-logo { width: 36px; height: 36px; border-radius: 9px; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: 0.2px; }
nav { margin-left: auto; display: flex; gap: 20px; }
nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
nav a:hover { color: var(--primary-dark); }

/* Hero */
.hero { text-align: center; padding: 72px 0 48px; }
.hero-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(255, 155, 133, 0.35);
  margin-bottom: 24px;
}
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.5px; }
.hero .tagline {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 14px auto 0;
}
.badge-row { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  opacity: 0.85;
}
.store-badge small { font-weight: 500; opacity: 0.8; }
.store-badge .lucide { width: 20px; height: 20px; }

/* Lucide-style inline icons (each SVG carries explicit width/height attrs) */
.lucide {
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* Tinted icon chips for feature cards */
.icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-chip .lucide { width: 24px; height: 24px; }
.chip-breast   { background: rgba(247, 168, 184, 0.18); color: #e0698a; }
.chip-bottle   { background: rgba(140, 209, 202, 0.20); color: #2f9c92; }
.chip-insights { background: rgba(255, 217, 125, 0.25); color: #bd8a00; }
.chip-baby     { background: rgba(255, 155, 133, 0.16); color: #f2765d; }
.chip-night    { background: rgba(197, 163, 255, 0.18); color: #8b5cf6; }
.chip-zap      { background: rgba(255, 155, 133, 0.16); color: #f2765d; }

/* Sections */
section { padding: 40px 0; }
h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--text-secondary); margin-bottom: 28px; }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { font-size: 14px; color: var(--text-secondary); }
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

/* Privacy highlight strip */
.strip {
  background: linear-gradient(120deg, #ffb199, #f7a8b8);
  border-radius: 24px;
  color: #fff;
  padding: 32px;
  text-align: center;
}
.strip h2 { color: #fff; }
.strip p { max-width: 560px; margin: 8px auto 0; }
.strip a { color: #fff; font-weight: 700; }

/* Long-form content (privacy / support) */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: 34px; margin-bottom: 6px; }
.doc .meta { color: var(--text-secondary); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 15.5px; color: var(--text); }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc .card { margin: 18px 0; }
.doc a { color: var(--primary-dark); }

/* FAQ */
.faq h3 { font-size: 16px; margin-bottom: 6px; }
.faq .card + .card { margin-top: 14px; }

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  padding: 28px 0 40px;
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 14px;
}
.footer-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--text-secondary); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--primary-dark); }
.footer-spacer { margin-left: auto; }
