/* Jai — Pêssego palette (tokens from docs/decisoes.md). Night = warm amber dark. */
:root {
  --bg: #FFF7F1;
  --surface: #FFFFFF;
  --ink: #3A2A25;
  --muted: #7F6B62;
  --line: #F1E4DB;
  --accent: #E2876A;
  --accent-ink: #3A2A25;
  --link: #A9563D;
  --peach: #F9DCCB;
  --feed: #F3A39B;
  --bottle: #F5C67B;
  --diaper: #9ED2B6;
  --sleep: #B6A4E0;
  --growth: #8DC2E5;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #140F0D;
    --surface: #211915;
    --ink: #E6D3C6;
    --muted: #94806F;
    --line: #2A201B;
    --accent: #B8735B;
    --accent-ink: #140F0D;
    --link: #E0A387;
    --peach: #2A201B;
    --feed: #A9706A;
    --bottle: #A88A58;
    --diaper: #668F7A;
    --sleep: #867BAA;
    --growth: #5E87A0;
  }
}
:root[data-theme="dark"] {
  --bg: #140F0D; --surface: #211915; --ink: #E6D3C6; --muted: #94806F; --line: #2A201B;
  --accent: #B8735B; --accent-ink: #140F0D; --link: #E0A387; --peach: #2A201B;
  --feed: #A9706A; --bottle: #A88A58; --diaper: #668F7A; --sleep: #867BAA; --growth: #5E87A0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
a { color: var(--link); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.25rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 8px 10px; border-radius: 10px; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--peach); }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 40px; text-align: center; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 8px 28px rgba(226, 135, 106, .25); }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.15; margin: 20px 0 10px; font-weight: 800; letter-spacing: -.01em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px;
  border-radius: 16px; font-weight: 800; text-decoration: none; background: var(--accent); color: var(--accent-ink);
}
.btn.ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.soon { display: block; margin-top: 14px; color: var(--muted); font-size: .92rem; }

/* Cards */
.section { padding-top: 32px; padding-bottom: 32px; }
.section h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 18px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 16px; }
.card h3 { margin: 10px 0 4px; font-size: 1.08rem; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }
.dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; }
.dot.feed { background: var(--feed); } .dot.bottle { background: var(--bottle); } .dot.diaper { background: var(--diaper); }
.dot.sleep { background: var(--sleep); } .dot.growth { background: var(--growth); } .dot.brand { background: var(--peach); }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pricing ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.pricing .price { font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 14px; }

/* Legal / document pages */
.doc { max-width: 820px; margin: 0 auto; padding: 32px 16px 56px; }
.doc h1 { font-size: 1.9rem; margin: 0 0 4px; line-height: 1.25; font-weight: 800; }
.doc h2 { font-size: 1.25rem; margin-top: 2em; border-bottom: 1px solid var(--line); padding-bottom: 6px; line-height: 1.3; font-weight: 800; }
.doc h3 { font-size: 1.05rem; margin: 1.5em 0 .3em; font-weight: 800; }
.meta { color: var(--muted); font-size: .92rem; margin-bottom: 1.5em; }
.meta strong { color: var(--ink); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; background: var(--surface); }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--peach); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 32px; padding: 24px 0 40px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; gap: 8px 20px; flex-wrap: wrap; justify-content: space-between; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@font-face {
  font-family: "Nunito";
  src: url("nunito-variable.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

/* Store buttons. "is-soon" = not published yet. */
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; min-width: 190px; padding: 8px 18px;
  border-radius: 16px; background: var(--ink); color: var(--bg); text-decoration: none; text-align: left;
}
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store > span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.1rem; line-height: 1.15; }
.store small { font-weight: 600; font-size: .72rem; opacity: .85; }
.store.is-soon { background: var(--surface); color: var(--muted); border: 1px dashed var(--accent); cursor: default; }
.store.is-soon > span { color: var(--ink); }
a.store:hover { filter: brightness(1.08); }

/* Compact hero: features visible on first load */
.hero.compact { padding-top: 28px; padding-bottom: 8px; }
.hero.compact img.icon { width: 72px; height: 72px; border-radius: 18px; }
.hero.compact h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); margin: 12px 0 6px; }
.hero.compact p.lead { font-size: 1.05rem; margin-bottom: 0; }
.hero.compact + .section { padding-top: 20px; }
