/* BurpNap site: the app's own palette and rounded type, light and dark. */
:root {
  --bg: #f8e9db;
  --ink: #064b58;
  --ink-soft: #3f5f63;
  --ink-muted: #6b8285;
  --teal: #087b80;
  --card: rgba(255, 251, 247, 0.78);
  --card-line: rgba(255, 255, 255, 0.9);
  --feed: #ffe3d1;
  --sleep: #ece6fa;
  --diaper: #ddf1ea;
  --health: #fbe4e9;
  --glow-mint: #bde5d8;
  --glow-lavender: #ddd3f3;
  --glow-peach: #ffd7be;
  --shadow: 0 24px 60px -28px rgba(92, 74, 58, 0.45);
  --radius: 28px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10282d;
    --ink: #e4f2ee;
    --ink-soft: #c2d6d3;
    --ink-muted: #8fa9a7;
    --teal: #6fd0c4;
    --card: rgba(28, 54, 60, 0.82);
    --card-line: rgba(120, 160, 160, 0.25);
    --feed: #51403a;
    --sleep: #3c3c56;
    --diaper: #274c46;
    --health: #503c48;
    --glow-mint: #1e4c52;
    --glow-lavender: #33305a;
    --glow-peach: #4a3530;
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* The same soft color glows the app draws behind its glass. */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  background:
    radial-gradient(40vmax 40vmax at 10% 8%, var(--glow-mint), transparent 70%),
    radial-gradient(38vmax 38vmax at 95% 40%, var(--glow-lavender), transparent 70%),
    radial-gradient(42vmax 42vmax at 30% 100%, var(--glow-peach), transparent 70%);
  opacity: 0.8;
}

a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 12px; }
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 40px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .brand .logo-light-mode { display: none; }
  .brand .logo-dark { display: block; }
}
.site-header nav { display: flex; gap: 22px; font-weight: 700; font-size: 16px; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; }
.site-header nav a:hover { color: var(--teal); }
@media (max-width: 560px) { .site-header nav { display: none; } }

/* Buttons */
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 800; font-size: 18px; text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}
.store:hover { transform: translateY(-2px); }
.store img { width: 30px; height: 30px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .store { transition: none; } .store:hover { transform: none; } }

/* Hero */
.hero { padding: 24px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  font-weight: 800;
}
.hero h1 span { display: block; color: var(--teal); }
.hero p.lede { font-size: clamp(19px, 2.2vw, 22px); color: var(--ink-soft); max-width: 30ch; margin: 0 0 30px; }
.hero .note { margin-top: 16px; font-size: 15px; color: var(--ink-muted); }
.stage { position: relative; justify-self: center; width: min(360px, 82vw); }
.phone {
  border-radius: 54px; padding: 12px;
  background: var(--card); border: 1px solid var(--card-line);
  box-shadow: var(--shadow);
}
.phone img { border-radius: 42px; }
.float { position: absolute; width: 96px; filter: drop-shadow(0 14px 18px rgba(92, 74, 58, 0.25)); }
.float.bottle { left: -64px; top: 18%; transform: rotate(-10deg); }
.float.cloud { right: -70px; top: 6%; width: 110px; }
.float.diaper { right: -48px; bottom: 16%; width: 88px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: left; }
  .float.bottle { left: -18px; } .float.cloud { right: -22px; } .float.diaper { right: -14px; }
}

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 800; }
.section-lede { color: var(--ink-soft); max-width: 46ch; margin: 0 0 36px; font-size: 20px; }

/* The four tiles, as on Today */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  border-radius: var(--radius); padding: 22px 22px 26px;
  border: 1px solid var(--card-line); box-shadow: var(--shadow);
}
.tile img { width: 78px; margin: 0 0 18px; }
.tile h3 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.tile.feed { background: var(--feed); }
.tile.sleep { background: var(--sleep); }
.tile.diaper { background: var(--diaper); }
.tile.health { background: var(--health); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }

/* Split feature rows */
.split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip .copy { order: 2; }
.split .shot { justify-self: center; width: min(320px, 78vw); }
.split ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.split li { padding-left: 34px; position: relative; color: var(--ink-soft); }
.split li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); opacity: 0.18;
}
.split li::after {
  content: ""; position: absolute; left: 6px; top: calc(0.35em + 6px);
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
}
@media (max-width: 860px) {
  .split .wrap { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .copy { order: 0; }
}

/* Privacy band */
.promise {
  border-radius: 36px; padding: clamp(32px, 6vw, 64px);
  background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
}
.promise img { width: 110px; }
.promise h2 { margin-bottom: 10px; }
.promise p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 640px) { .promise { grid-template-columns: 1fr; } }

.closing { text-align: center; padding: 72px 0 88px; }
.closing h2 { margin-bottom: 26px; }

/* Footer */
footer { padding: 36px 0 48px; color: var(--ink-muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--ink-soft); font-weight: 700; text-decoration: none; }
footer a:hover { color: var(--teal); }

/* Policy and help pages */
.doc { width: min(760px, 100% - 32px); margin: 8px auto 40px; }
.doc .paper {
  border-radius: 32px; padding: clamp(26px, 5vw, 56px);
  background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow);
}
.doc h1 { font-size: clamp(38px, 6vw, 56px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 8px; }
.doc .updated { color: var(--ink-muted); margin: 0 0 28px; font-size: 16px; }
.doc h2 { font-size: 26px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); max-width: 68ch; }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc .intro { font-size: 20px; color: var(--ink); }
.doc .more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.doc .more a {
  padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 800;
  background: var(--diaper); color: var(--ink);
}
.faq h2 { font-size: 22px; }

/* Small screens: keep the phone clear; one illustration is enough. */
@media (max-width: 560px) {
  .float.bottle, .float.diaper { display: none; }
  .float.cloud { width: 84px; right: -10px; top: -18px; }
}

/* Headings in Fredoka, the round, friendly face that matches the logo; body stays in the rounded system font. */
:root { --display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif; }
h1, h2, h3, .faq-list summary { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.hero h1 { font-weight: 700; letter-spacing: -0.02em; }

/* Calls to action */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.store.soon { cursor: default; opacity: 0.92; }
.store.soon:hover { transform: none; }
.text-link { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; color: var(--ink); }

/* Screens gallery: a sideways row that snaps, phone by phone */
.gallery-section { padding-bottom: 32px; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(250px, 66vw);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(16px, calc((100% - 1120px) / 2)) 28px;
  scrollbar-width: thin;
}
.gallery:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.gallery figure { margin: 0; scroll-snap-align: center; }
.gallery figure a {
  display: block; border-radius: 40px; padding: 9px;
  background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow);
}
.gallery img { border-radius: 32px; }
.gallery figcaption { margin-top: 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.45; }
.gallery figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-size: 19px; font-weight: 600; }

/* How it works: a real sequence, so it's numbered */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  border-radius: var(--radius); padding: 70px 24px 26px;
  background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step); position: absolute; left: 24px; top: 22px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--bg); font-family: var(--display); font-weight: 700;
}
.steps h3 { margin: 0 0 6px; font-size: 24px; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-list details {
  border-radius: 22px; padding: 4px 22px;
  background: var(--card); border: 1px solid var(--card-line);
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-size: 20px; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--teal); transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: 0 0 18px; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .faq-list summary::after { transition: none; } }

/* The gallery scrolls inside its own strip; it must never widen the page. */
html, body { overflow-x: clip; }
.gallery-section { overflow: hidden; }
.gallery { width: 100%; max-width: 100vw; min-width: 0; }
