:root {
  --bg: #fbf7f2;
  --surface: #ffffff;
  --surface-2: #f4ede4;
  --ink: #2a2733;
  --ink-2: #5d5866;
  --line: #e7dfd4;
  --accent: #e07a5f;
  --accent-ink: #ffffff;
  --feed: #e07a5f;
  --diaper: #6aa8c9;
  --pump: #b38bd1;
  --sleep: #5e6fb8;
  --appt: #7fb38a;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(42, 39, 51, .04), 0 12px 32px rgba(42, 39, 51, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17151c;
    --surface: #211e27;
    --surface-2: #2a2631;
    --ink: #f3eee8;
    --ink-2: #b4adbd;
    --line: #36313e;
    --accent: #ef8f74;
    --accent-ink: #1b1820;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #17151c; --surface: #211e27; --surface-2: #2a2631; --ink: #f3eee8; --ink-2: #b4adbd;
  --line: #36313e; --accent: #ef8f74; --accent-ink: #1b1820;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px/1 "Fraunces", Georgia, serif; }
.brand svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); }
.hero .lead { font-size: 20px; color: var(--ink-2); max-width: 32ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 500; font-size: 16px;
}
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.fine { font-size: 14px; color: var(--ink-2); }

/* Phone mock */
.phone {
  justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 14px;
  background: var(--ink); box-shadow: var(--shadow);
}
.screen { height: 100%; border-radius: 32px; background: var(--bg); padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.screen .baby { font: 600 20px/1.2 "Fraunces", Georgia, serif; }
.screen .age { font-size: 13px; color: var(--ink-2); margin-top: -6px; margin-bottom: 4px; }
.tile { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 12px; border: 1px solid var(--line); }
.dot { width: 36px; height: 36px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; }
.tile b { display: block; font-size: 14px; font-weight: 600; }
.tile span { font-size: 12.5px; color: var(--ink-2); }
.tile .ago { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.timer { background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 10px 12px; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { color: var(--ink-2); font-size: 18px; }
.alt { background: var(--surface-2); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .dot { margin-bottom: 16px; }
.feature h3 { font-size: 21px; }
.feature p { color: var(--ink-2); font-size: 16px; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 600; margin-bottom: 14px; }
.step h3 { font-size: 21px; }
.step p { color: var(--ink-2); margin: 0; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.plan.best { border: 2px solid var(--accent); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.price { font: 600 40px/1.1 "Fraunces", Georgia, serif; }
.price small { font: 400 16px "DM Sans", sans-serif; color: var(--ink-2); }
.plan ul { padding-left: 18px; color: var(--ink-2); margin: 16px 0 0; font-size: 15px; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--ink-2); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }

/* Legal / prose pages */
.page { padding: 32px 0 80px; }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); }
.prose h2 { font-size: 24px; margin-top: 2em; }
.prose h3 { font-size: 19px; margin-top: 1.5em; font-family: "DM Sans", sans-serif; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0 1.5em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
.prose td { color: var(--ink-2); }
.updated { font-size: 15px; color: var(--ink-2); }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.callout p:last-child { margin: 0; }

.contact-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0 8px; }
.contact-card a { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-card b { display: block; font-size: 17px; margin-bottom: 4px; }
.contact-card span { color: var(--ink-2); font-size: 15px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 15px; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .features, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .nav a.hide-sm { display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .hero { padding-top: 16px; }
}
