/* Duet landing page. Palette from contracts/theme.json; Nunito stands in for SF Pro Rounded. */

@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("/fonts/Nunito-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("/fonts/Nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("/fonts/Nunito-800.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("/fonts/Nunito-900.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 400 800; font-display: swap; src: url("/fonts/Rubik-hebrew.woff2") format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

:root {
  --cream: #FAF6F0;
  --white: #FFFFFF;
  --ink: #2E2839;
  --ink-2: #4A4257;
  --ink-3: #6C6379;
  --accent: #6A57AC;
  --accent-ink: #54448C;
  --accent-soft: #ECE6F8;
  --night: #1B1723;
  --outline: #5B4A42;
  --blush: #F2C0C4;
  --butter: #F7D081;
  --sage: #B9D4C4;
  --lavender: #C9BFE6;
  --apricot: #F0B78C;

  --sleep: #8470C6; --sleep-ink: #54448C; --sleep-soft: #ECE6F8;
  --feed: #D6905F; --feed-ink: #8D5527; --feed-soft: #FBEBDD;
  --diaper: #7BAA8C; --diaper-ink: #3E6B4C; --diaper-soft: #E3F0E6;
  --pump: #C98AA8; --pump-ink: #83506A; --pump-soft: #F7E6EE;
  --med: #5FA8B3; --med-ink: #23606A; --med-soft: #E0F1F3;
  --bath: #74AFCB; --bath-ink: #285F79; --bath-soft: #E4F3F9;
  --tummy: #D4A843; --tummy-ink: #74560F; --tummy-soft: #FAF1D6;

  --font: "Nunito", "Rubik", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--accent-ink); }
h1, h2, h3 { color: var(--ink); font-weight: 900; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 800; }
.skip:focus { top: 12px; }

/* ── Wordmark: "Duet", a blush heart over the u and a lavender heart over the e ── */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--outline);
  text-decoration: none;
  padding-top: .12em;
}
.wm-h { position: relative; }
.wm-h::before {
  content: "";
  position: absolute;
  left: 50%;
  top: .02em;
  width: .36em;
  height: .33em;
  transform: translateX(-50%);
  background: no-repeat center / contain;
}
.wm-u::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 108 98'%3E%3Cpath d='M50 23.4C60 1.8 96 3.6 97 29.7 98 54 70 70.2 51 87.3 30 72 2 55.8 3 32.4 4 5.4 40 3.6 50 23.4Z' fill='%23F2C0C4' stroke='%235B4A42' stroke-width='7' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.wm-e::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 108 98'%3E%3Cpath d='M50 23.4C60 1.8 96 3.6 97 29.7 98 54 70 70.2 51 87.3 30 72 2 55.8 3 32.4 4 5.4 40 3.6 50 23.4Z' fill='%23C9BFE6' stroke='%235B4A42' stroke-width='7' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.wordmark-sm { font-size: 28px; }
.wordmark-xl { font-size: clamp(72px, 11vw, 132px); display: flex; justify-content: center; }
.wordmark-xl .wm-h::before { top: .04em; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(46, 40, 57, .06);
}
.nav-in {
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-weight: 800; font-size: 16px; }
.nav nav a:hover { color: var(--accent); }

/* ── Store CTA. Empty APP_STORE_URL: a "coming soon" pill; set: Apple's badge (main.js) ── */
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  padding: 9px 22px 10px;
  border-radius: 16px;
  background: var(--night);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-decoration: none;
  text-align: left;
  box-shadow: 0 10px 24px -12px rgba(27, 23, 35, .6);
}
.store small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .02em; opacity: .78; margin-bottom: 2px; }
.store-sm { min-height: 0; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 800; margin-left: 4px; }
.store[href] { cursor: pointer; transition: transform .2s var(--ease-out); }
.store[href]:hover { transform: translateY(-2px); }
.store.live { background: none; padding: 0; min-height: 0; box-shadow: none; border-radius: 0; }
.store.live img { height: 56px; width: auto; }
.store-sm.live img { height: 38px; }

/* ── Shared type ── */
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.pair { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.025em; }
.pair > span, .pair > em { display: block; }
.pair em { font-style: normal; color: var(--accent); }
.pair + p { margin-top: 22px; }
p + p { margin-top: 14px; }

/* The butter marker swash, drawn in when its line reveals. */
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::before {
  content: "";
  position: absolute;
  left: -.1em;
  right: -.1em;
  bottom: .02em;
  height: .44em;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 252 46' preserveAspectRatio='none'%3E%3Cpath d='M15 25Q126 33 237 17' fill='none' stroke='%23F7D081' stroke-width='30' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left center;
  transition: transform .7s var(--ease-out) .55s;
}
.squiggle {
  padding-bottom: .1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 16'%3E%3Cpath d='M0 8Q13 0 26 8T52 8' fill='none' stroke='%23C9BFE6' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 100% / .7em .22em;
}

/* ── Reveal on scroll (main.js adds .in). Without JS everything is simply visible. ── */
.js .rv { opacity: 0; transform: translateY(26px); }
.js .rv.in {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .rv .mark::before, .js .rv.mark::before { transform: scaleX(0); }
.js .rv.in .mark::before { transform: scaleX(1); }

/* ── Washes: the film's soft pastel blobs ── */
.wash {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
}
.wash-lav { width: 560px; height: 440px; left: -220px; top: -120px; background: rgba(201, 191, 230, .5); }
.wash-butter { width: 380px; height: 300px; right: -120px; top: 60px; background: rgba(247, 208, 129, .38); border-radius: 58% 42% 44% 56% / 48% 56% 44% 52%; }
.wash-blush { width: 520px; height: 440px; right: -200px; bottom: 16%; background: rgba(242, 192, 196, .42); }
.wash-blush2 { width: 520px; height: 460px; left: -240px; top: 10%; background: rgba(242, 192, 196, .36); }
.wash-sage { width: 480px; height: 420px; right: -200px; bottom: 6%; background: rgba(185, 212, 196, .42); border-radius: 58% 42% 44% 56% / 48% 56% 44% 52%; }

/* ── Stickers ── */
.sticker { position: absolute; z-index: 3; pointer-events: none; height: auto; filter: drop-shadow(0 8px 14px rgba(46, 40, 57, .14)); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.sticker { animation: bob 5.5s ease-in-out infinite; }

/* ── Hero ── */
.hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 88px) 0 clamp(80px, 10vw, 128px); text-align: center; }
.hero-copy { max-width: 920px; }
.hero h1 { font-size: clamp(46px, 7.6vw, 100px); line-height: .98; letter-spacing: -.03em; }
.lede { max-width: 640px; margin: 26px auto 0; font-size: clamp(18px, 1.9vw, 21px); color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.hero .cta-row, .cta-center { justify-content: center; }
.play-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
}
.play-link svg {
  width: 48px;
  height: 48px;
  padding: 14px 13px 14px 15px;
  border-radius: 50%;
  background: var(--white);
  fill: var(--accent);
  box-shadow: 0 8px 20px -8px rgba(84, 68, 140, .45);
  transition: transform .3s var(--ease-pop);
}
.play-link:hover svg { transform: scale(1.08); }
.play-link span { color: var(--ink-3); font-weight: 700; }

.stage { position: relative; max-width: 1120px; margin: clamp(48px, 6vw, 72px) auto 0; }
.film {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: clamp(18px, 2.6vw, 34px);
  overflow: hidden;
  background: #302845;
  box-shadow: 0 0 0 clamp(5px, .7vw, 9px) var(--white), 0 40px 90px -36px rgba(84, 68, 140, .55);
}
.film video { width: 100%; height: 100%; object-fit: cover; }
.st-moon { width: clamp(72px, 11vw, 150px); left: -4.5%; top: -9%; animation-duration: 6s; }
.st-bottle { width: clamp(60px, 8.5vw, 116px); right: -3%; top: -8%; rotate: 14deg; animation-delay: -2s; }
.st-rattle { width: clamp(56px, 7.5vw, 104px); left: -4.5%; top: 44%; rotate: -16deg; animation-delay: -3.5s; }
.st-duck { width: clamp(76px, 11vw, 150px); right: -4.5%; bottom: -10%; animation-duration: 4.8s; animation-delay: -1s; }

.film-sound {
  position: absolute;
  left: clamp(10px, 1.6vw, 20px);
  bottom: clamp(10px, 1.6vw, 20px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(27, 23, 35, .7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s;
}
.film-sound:hover { background: rgba(27, 23, 35, .88); }
.film-sound svg { width: 22px; height: 22px; fill: currentColor; }
.film-sound .i-on { display: none; }
.film-sound[aria-pressed="true"] .i-on { display: block; }
.film-sound[aria-pressed="true"] .i-off { display: none; }
.film-big {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  background: rgba(27, 23, 35, .28);
  color: #fff;
  font: inherit;
  font-weight: 900;
  font-size: clamp(17px, 2vw, 22px);
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.film-big svg { width: clamp(64px, 8vw, 96px); height: auto; aspect-ratio: 1; padding: 22% 20% 22% 25%; border-radius: 50%; background: var(--accent); fill: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease-pop); }
.film-big:hover svg { transform: scale(1.08); }

/* ── Dark bands (the 3 a.m. solo and the night shift) ── */
.band {
  --band: #302845;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 54vw, 820px);
  padding: clamp(84px, 8vw, 116px) 0;
  color: #E4DEEF;
}
.band-bg { position: absolute; inset: 0; z-index: -1; background: var(--band); overflow: hidden; }
.band-art {
  position: absolute;
  top: 0;
  right: 0;
  width: 61%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%);
  mask-image: linear-gradient(90deg, transparent 0, #000 20%);
}
.band-copy { position: relative; }
.band-copy > * { max-width: 470px; }
.band .pair { color: #fff; }
.band .pair em { color: var(--lavender); }
.band p { color: #D6CFE4; }
.payoff { margin-top: 26px !important; font-weight: 900; font-size: clamp(21px, 2.1vw, 25px); color: var(--butter) !important; }
.edge { position: absolute; left: 0; width: 100%; height: clamp(22px, 4vw, 60px); fill: var(--cream); z-index: 1; pointer-events: none; }
.edge-top { top: -1px; }
.edge-bottom { bottom: -1px; }

.bubbles { display: flex; flex-wrap: wrap; gap: 12px 10px; margin-bottom: 34px; max-width: 480px; }
.bubble {
  position: relative;
  padding: 10px 18px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.25;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
}
.bubble::after { content: ""; position: absolute; left: 22px; bottom: -7px; width: 16px; height: 16px; background: #fff; border-radius: 0 0 4px 0; transform: rotate(45deg) skew(8deg, 8deg); }
.bubble:nth-child(even)::after { left: auto; right: 22px; }
.bubble:nth-child(2) { rotate: 2deg; }
.bubble:nth-child(3) { rotate: -1.5deg; }
.bubble:nth-child(4) { rotate: 1deg; }
.js .bubble.rv { transform: translateY(14px) scale(.7); }
.js .bubble.rv.in { transform: none; transition: opacity .4s ease, transform .55s var(--ease-pop); transition-delay: calc(var(--d, 0) * 260ms + 150ms); }

/* ── Light sections ── */
.section { position: relative; isolation: isolate; padding: clamp(72px, 9vw, 120px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy > p { max-width: 520px; }
.note { font-size: 16px; color: var(--ink-3); }
.center-copy { max-width: 720px; margin: 0 auto; text-align: center; }
.center-copy p { max-width: 600px; margin-left: auto; margin-right: auto; }

/* One tap */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 460px; margin-top: 36px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px 16px;
  border-radius: 24px;
  line-height: 1.25;
}
.tile img { width: 72px; height: 72px; margin-bottom: 8px; }
.tile b { font-size: 19px; font-weight: 900; }
.tile small { font-size: 14px; font-weight: 700; color: var(--ink-3); margin-top: 2px; }
.t-sleep { background: var(--sleep-soft); } .t-sleep b { color: var(--sleep-ink); }
.t-feed { background: var(--feed-soft); } .t-feed b { color: var(--feed-ink); }
.t-diaper { background: var(--diaper-soft); } .t-diaper b { color: var(--diaper-ink); }
.t-pump { background: var(--pump-soft); } .t-pump b { color: var(--pump-ink); }
.check {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--cream);
}
.check::after { content: ""; position: absolute; left: 10px; top: 7px; width: 7px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.js .rv .check { transform: scale(0); }
.js .rv.in .check { transform: scale(1); transition: transform .45s var(--ease-pop) calc(var(--d, 0) * 110ms + 500ms); }

.device-card { position: relative; }
.dc-clip {
  height: clamp(440px, 46vw, 600px);
  padding: clamp(40px, 5vw, 60px) 12% 0;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.dc-lav .dc-clip { background: linear-gradient(160deg, #E6DFF6 0%, var(--accent-soft) 55%, #F5EFE6 100%); }
.dc-sky .dc-clip { background: linear-gradient(160deg, #DCEAF3 0%, #E8E2F4 60%, #F5EFE6 100%); }
.device { width: 100%; max-width: 380px; height: auto; align-self: flex-start; filter: drop-shadow(0 24px 34px rgba(46, 40, 57, .22)); }
/* A real capture in a drawn iPhone: bezel, rounded screen and the Dynamic Island the capture leaves out. */
.phone-frame {
  align-self: flex-start;
  width: 100%;
  max-width: 360px;
  padding: 3.2%;
  border-radius: 15% / 7%;
  background: #1F1B26;
  box-shadow: 0 0 0 1.5px #3A3444 inset, 0 30px 50px -24px rgba(46, 40, 57, .55);
}
.screen { position: relative; container-type: inline-size; overflow: hidden; border-radius: 12.5% / 5.75%; }
.screen img { width: 100%; height: auto; }
.screen::after { content: ""; position: absolute; top: 2.9cqw; left: 50%; width: 31cqw; height: 9.1cqw; translate: -50% 0; border-radius: 99px; background: #0B0A0D; }
.st-card { width: clamp(80px, 9vw, 120px); top: -40px; right: -26px; }
.st-stopwatch { rotate: 12deg; }
.floating-card {
  position: absolute;
  left: -6%;
  bottom: 15%;
  width: 84%;
  height: auto;
  border-radius: 5.4% / 18%;
  box-shadow: 0 30px 50px -20px rgba(27, 23, 35, .55);
  animation: bob 6s ease-in-out infinite;
}
/* The Lock Screen shows the whole phone, so its Live Activity sits where it really is. */
.dc-full .dc-clip { height: auto; padding-bottom: clamp(40px, 5vw, 60px); }
.dc-full .phone-frame { max-width: 290px; }
.island-demo { margin: 30px 0 22px; max-width: 360px; }
.island-demo img { width: 100%; height: auto; border-radius: 999px; box-shadow: 0 18px 34px -18px rgba(27, 23, 35, .55); }
.island-demo figcaption { margin-top: 10px; padding-left: 18px; font-size: 15px; font-weight: 700; color: var(--ink-3); }

/* Two phones, one log */
.duo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 12vw, 180px);
  max-width: 820px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  padding: 0 clamp(0px, 4vw, 40px);
  --from: 36%;
  --span: 28%;
}
.arc { position: absolute; left: var(--from); width: var(--span); top: 24%; height: 16%; overflow: visible; }
.arc path { fill: none; stroke: var(--apricot); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fly { position: absolute; left: var(--from); width: var(--span); top: 40%; height: 0; z-index: 4; animation: fly-x 4.8s linear infinite; }
.fly-y { position: absolute; left: 0; top: 0; display: block; width: clamp(26px, 3.4vw, 40px); translate: -50% -50%; animation: fly-y 4.8s ease-in-out infinite; }
.fly svg { width: 100%; height: auto; overflow: visible; }
.fly path { stroke: var(--outline); stroke-width: 7; stroke-linejoin: round; }
.fly-a path { fill: var(--blush); }
.fly-b path { fill: var(--lavender); }
.fly-b, .fly-b .fly-y { animation-direction: reverse; animation-delay: -2.4s; }
@keyframes fly-x { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes fly-y {
  0% { transform: translateY(0) scale(.4); opacity: 0; }
  12% { opacity: 1; }
  50% { transform: translateY(-90px) scale(1.1); }
  88% { opacity: 1; }
  100% { transform: translateY(0) scale(.4); opacity: 0; }
}
.phone-slot { position: relative; }
.parent { position: absolute; z-index: 3; width: 58%; height: auto; bottom: -12%; pointer-events: none; }
.parent-dana { left: -34%; }
.parent-yoni { right: -34%; }

/* The HTML phone. Sizes are in cqw, so it scales as one piece. */
.phone {
  container-type: inline-size;
  position: relative;
  padding: 2.6%;
  border-radius: 15% / 7%;
  background: #1F1B26;
  box-shadow: 0 0 0 1.5px #3A3444 inset, 0 40px 70px -30px rgba(46, 40, 57, .55);
}
.scr {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 12.5cqw;
  background: var(--cream);
  padding: 4cqw 5cqw;
  color: var(--ink);
  font-size: 4cqw;
  line-height: 1.25;
}
.sb { display: flex; align-items: center; justify-content: space-between; height: 9cqw; font-size: 4.4cqw; font-weight: 800; padding: 0 3cqw; }
.island { width: 30cqw; height: 8.4cqw; border-radius: 99px; background: #111; }
.sb-i { display: flex; align-items: flex-end; gap: .7cqw; height: 3.2cqw; }
.sb-i i { width: 1.1cqw; background: var(--ink); border-radius: 1px; }
.sb-i i:nth-child(1) { height: 35%; } .sb-i i:nth-child(2) { height: 55%; } .sb-i i:nth-child(3) { height: 78%; } .sb-i i:nth-child(4) { height: 100%; }
.sb-i b { width: 6.4cqw; height: 3.2cqw; margin-left: 1.2cqw; border-radius: 1cqw; background: #5BC274; }
.chip { display: inline-flex; align-items: center; gap: 2.4cqw; margin: 4cqw 0 3cqw; padding: 1.8cqw 4.4cqw 1.8cqw 1.8cqw; border-radius: 99px; background: #fff; font-weight: 800; font-size: 4.6cqw; box-shadow: 0 1.4cqw 4cqw -1.6cqw rgba(46, 40, 57, .18); }
.av { display: grid; place-items: center; width: 8cqw; height: 8cqw; border-radius: 50%; font-style: normal; font-size: 4cqw; font-weight: 900; }
.av-d { background: var(--accent-soft); color: var(--accent-ink); }
.av-y { background: var(--diaper-soft); color: var(--diaper-ink); }
.p-label { font-size: 3.4cqw; font-weight: 700; color: var(--ink-3); margin: 2cqw 0 1.6cqw; }
.p-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; }
.p-tile { position: relative; display: flex; flex-direction: column; align-items: center; padding: 2cqw 0 1.8cqw; border-radius: 4.4cqw; font-weight: 800; font-size: 3.1cqw; }
.p-tile img { width: 11cqw; height: 11cqw; margin-bottom: .6cqw; }
.c-sleep { background: var(--sleep-soft); color: var(--sleep-ink); }
.c-feed { background: var(--feed-soft); color: var(--feed-ink); }
.c-diaper { background: var(--diaper-soft); color: var(--diaper-ink); }
.c-pump { background: var(--pump-soft); color: var(--pump-ink); }
.p-tile.on::after { content: ""; position: absolute; top: 1.8cqw; right: 1.8cqw; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--feed); }
.p-timer { margin-top: 4cqw; padding: 3.6cqw 4cqw 3.4cqw; border-radius: 6cqw; background: var(--feed-soft); }
.p-th { display: flex; align-items: center; gap: 2cqw; font-weight: 800; font-size: 3.9cqw; color: var(--feed-ink); }
.p-th img { width: 7cqw; height: 7cqw; }
.live { margin-left: auto; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--feed); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.p-tb { display: inline-block; margin: 2.4cqw 0 1.6cqw; padding: .6cqw 3.6cqw; border-radius: 3.4cqw; background: #fff; font-weight: 800; font-size: 11cqw; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.p-by { font-size: 3.2cqw; font-weight: 700; color: var(--ink-3); }
.p-list { border-radius: 5cqw; background: #fff; padding: 0 3.6cqw; box-shadow: 0 0 0 .3cqw rgba(46, 40, 57, .07); }
.p-row { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 0; border-bottom: .3cqw solid rgba(46, 40, 57, .08); }
.p-row:last-child { border-bottom: 0; }
.p-ic { display: grid; place-items: center; width: 9cqw; height: 9cqw; border-radius: 2.6cqw; flex: none; }
.p-ic img { width: 6.4cqw; height: 6.4cqw; }
.p-row b { display: block; font-weight: 800; font-size: 3.6cqw; }
.p-row small { display: block; font-size: 3cqw; color: var(--ink-3); font-weight: 700; }
.p-row em { margin-left: auto; font-style: normal; font-size: 3.2cqw; font-weight: 700; color: var(--ink-2); }
.p-row:first-child { animation: fresh 4.8s ease-in-out infinite; }
@keyframes fresh { 0%, 60%, 100% { background: transparent; } 70%, 85% { background: rgba(214, 144, 95, .1); } }

.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: clamp(84px, 9vw, 120px) auto 0;
  padding: 0;
}
.facts li { padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .72); box-shadow: 0 0 0 1px rgba(46, 40, 57, .05); font-size: 16.5px; line-height: 1.5; }
.facts b { display: block; color: var(--ink); font-weight: 900; font-size: 18.5px; margin-bottom: 2px; }

/* Night: the film's "night falls" iris, opening from the moon lamp. */
.night { --band: #2B2741; --iris: 46% 50%; }
.js .night .band-bg { clip-path: circle(0% at var(--iris)); }
.js .night.in .band-bg { clip-path: circle(150% at var(--iris)); transition: clip-path 1.6s cubic-bezier(.65, 0, .35, 1); }
.js .night .rv.in { transition-delay: calc(var(--d, 0) * 110ms + 650ms); }
.eyebrow-night { background: rgba(201, 191, 230, .14); color: var(--lavender); }
.payoff-night { color: var(--apricot) !important; }
.night-controls { width: min(360px, 100%); height: auto; margin-top: 34px; border-radius: 3.4% / 6.6%; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6); }

/* Patterns */
.chart {
  position: relative;
  margin: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 40px 80px -40px rgba(84, 68, 140, .4), 0 0 0 1px rgba(46, 40, 57, .05);
}
.chart figcaption { line-height: 1.2; color: var(--ink); }
.chart figcaption small { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.chart figcaption b { font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; letter-spacing: -.02em; }
.chart figcaption span { font-weight: 700; color: var(--ink-3); }
.chart figcaption em { display: block; font-style: normal; font-size: 15px; color: var(--ink-3); margin-top: 6px; }
.bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  align-items: end;
  gap: clamp(5px, .9vw, 10px);
  height: clamp(180px, 20vw, 250px);
  margin-top: 26px;
  border-bottom: 2px solid rgba(46, 40, 57, .08);
}
.bars::before { content: ""; position: absolute; left: 0; right: 0; bottom: 86.5%; border-top: 2px dashed rgba(132, 112, 198, .45); }
.bars i { height: calc(var(--h) * 100%); border-radius: 7px 7px 3px 3px; background: var(--sleep); transform-origin: bottom; }
.bars i.now { background: repeating-linear-gradient(135deg, var(--sleep) 0 4px, var(--sleep-soft) 4px 8px); }
.js .chart.rv .bars i { transform: scaleY(0); }
.js .chart.rv.in .bars i { transform: scaleY(1); transition: transform .8s var(--ease-out) calc(var(--i) * 55ms + 400ms); }
.bars-x { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-top: 8px; }
.st-cloud { width: clamp(110px, 13vw, 170px); top: -54px; right: -30px; }

/* Everything else */
.chips { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; }
.chips li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(46, 40, 57, .05), 0 14px 30px -24px rgba(46, 40, 57, .4); line-height: 1.25; }
.chips b { color: var(--ink); font-weight: 900; font-size: 17px; }
.chips small { grid-column: 2; font-size: 14px; color: var(--ink-3); font-weight: 700; }
.ci { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; }
.ci img { width: 38px; height: 38px; }
.ci svg { width: 28px; height: 28px; fill: none; stroke: var(--outline); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.c-med { background: var(--med-soft); }
.c-bath { background: var(--bath-soft); }
.c-tummy { background: var(--tummy-soft); }
.c-bottle { background: var(--feed-soft); }
.c-growth { background: var(--diaper-soft); }
.c-teeth { background: #FBEAEC; }
.c-note { background: var(--tummy-soft); }
.c-widget { background: var(--sleep-soft); }
.c-control { background: var(--pump-soft); }
.c-siri { background: var(--bath-soft); }
.c-unit { background: var(--feed-soft); }
.c-lang { background: var(--med-soft); }
.js .chips .rv.in { transition-delay: calc(var(--d, 0) * 60ms); }

/* Privacy */
.privacy { padding-top: 0; }
.privacy-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 40px;
  background: linear-gradient(150deg, var(--accent-soft) 0%, #F3EEF9 45%, #FBEFF0 100%);
}
.privacy-card .pair { font-size: clamp(32px, 4.2vw, 52px); max-width: 700px; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 700px; }
.ticks li { position: relative; padding-left: 40px; font-size: 18px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--diaper); }
.ticks li::after { content: ""; position: absolute; left: 9.5px; top: 7px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.6px 2.6px 0; transform: rotate(45deg); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 900; color: var(--accent-ink); text-decoration: none; }
.text-link::after { content: "→"; transition: translate .2s; }
.text-link:hover::after { translate: 4px 0; }
.st-bunny { width: clamp(90px, 11vw, 150px); top: -50px; right: 4%; rotate: 8deg; }

/* Finale */
.finale { position: relative; isolation: isolate; padding-top: clamp(40px, 6vw, 80px); text-align: center; overflow: hidden; }
.finale-copy { position: relative; z-index: 2; }
.finale .pair { font-size: clamp(40px, 6vw, 80px); margin-top: 8px; }
.req { margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.finale-art { position: relative; max-width: 1600px; margin: clamp(-120px, -8vw, -40px) auto 0; }
.finale-art img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%); }
.float-heart { position: absolute; width: clamp(18px, 2.2vw, 30px); aspect-ratio: 108 / 98; background: no-repeat center / contain; animation: rise 6s ease-in infinite; opacity: 0; }
.float-heart.h1 { left: 34%; top: 46%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 108 98'%3E%3Cpath d='M50 23.4C60 1.8 96 3.6 97 29.7 98 54 70 70.2 51 87.3 30 72 2 55.8 3 32.4 4 5.4 40 3.6 50 23.4Z' fill='%23F2C0C4' stroke='%235B4A42' stroke-width='7'/%3E%3C/svg%3E"); }
.float-heart.h2 { left: 62%; top: 42%; animation-delay: -2s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 108 98'%3E%3Cpath d='M50 23.4C60 1.8 96 3.6 97 29.7 98 54 70 70.2 51 87.3 30 72 2 55.8 3 32.4 4 5.4 40 3.6 50 23.4Z' fill='%23C9BFE6' stroke='%235B4A42' stroke-width='7'/%3E%3C/svg%3E"); }
.float-heart.h3 { left: 48%; top: 38%; animation-delay: -4s; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 108 98'%3E%3Cpath d='M50 23.4C60 1.8 96 3.6 97 29.7 98 54 70 70.2 51 87.3 30 72 2 55.8 3 32.4 4 5.4 40 3.6 50 23.4Z' fill='%23F7D081' stroke='%235B4A42' stroke-width='7'/%3E%3C/svg%3E"); }
@keyframes rise {
  0% { opacity: 0; transform: translateY(0) scale(.6) rotate(-8deg); }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-160px) scale(1.05) rotate(8deg); }
}

/* Footer */
.foot { background: var(--night); color: #B7AEC4; padding: 56px 0 40px; font-size: 16px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.foot .wordmark { color: #F3EFF7; }
.foot p { margin-top: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot a { color: #F3EFF7; text-decoration: none; font-weight: 800; }
.foot a:hover { color: var(--lavender); }
.legal { margin-top: 40px; font-size: 13.5px; color: #8F869E; }

/* ── Doc pages: privacy policy and support ── */
.doc-hero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); overflow: hidden; }
.doc-hero .wrap, .doc .wrap { max-width: calc(760px + var(--pad) * 2); }
.doc-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -.025em; }
.doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; color: var(--ink-3); font-size: 16px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(46, 40, 57, .08); font-weight: 800; text-decoration: none; color: var(--accent-ink); }
.doc { padding-bottom: clamp(72px, 9vw, 120px); }
.doc h2 { font-size: clamp(25px, 2.8vw, 31px); letter-spacing: -.015em; line-height: 1.15; margin: 52px 0 14px; }
.doc h3 { font-size: 21px; margin: 40px 0 14px; color: var(--accent-ink); }
.doc p, .doc li { font-size: 18px; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 14px; }
.doc ul { padding-inline-start: 1.2em; margin: 12px 0 0; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--ink); font-weight: 800; }
.doc code { font-family: inherit; font-weight: 800; color: var(--ink); background: var(--accent-soft); padding: 1px 6px; border-radius: 6px; }
.doc a { font-weight: 800; }
.doc .lead-card { margin-top: 30px; padding: 26px 30px; border-radius: 26px; background: linear-gradient(150deg, var(--accent-soft), #F7F1FA); }
.doc .lead-card h2 { margin-top: 0; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(46, 40, 57, .06); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 800; font-size: 18px; color: var(--ink); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .ans { padding: 0 22px 20px; }
.faq .ans > :first-child { margin-top: 0; }
[dir="rtl"] body { font-family: "Nunito", "Rubik", system-ui, sans-serif; }
[dir="rtl"] .text-link::after { content: "←"; }
[dir="rtl"] .wash-lav { left: auto; right: -220px; }
[dir="rtl"] .wash-butter { right: auto; left: -120px; }

/* ── 404 ── */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost img { width: 150px; margin: 0 auto 20px; }
.lost p { margin-top: 12px; }

/* ── Responsive ── */
@media (max-width: 1020px) {
  .chips { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav nav { display: none; }
  .store-sm { margin-left: auto; }
  .split { grid-template-columns: 1fr; }
  .split-rev .split-copy { order: 0; }
  .split-art { max-width: 520px; width: 100%; margin: 0 auto; }
  .facts { grid-template-columns: 1fr; max-width: 520px; }
  .chips { grid-template-columns: repeat(2, 1fr); }

  .band { display: block; min-height: 0; padding-bottom: calc(min(84vw, 620px) + 10px); }
  .band-art {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(84vw, 620px);
    object-position: 80% center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }
  .band-copy > * { max-width: 560px; }
  .night { --iris: 50% 78%; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .cta-row { gap: 16px 22px; }
  .hero { text-align: left; }
  .hero .cta-row { justify-content: flex-start; }
  .lede { margin-left: 0; }
  /* Smaller phones with a wide gap, so the hearts crossing between them read at phone size. */
  .duo { gap: 18vw; padding: 0 3vw; margin-top: 72px; --from: 35%; --span: 30%; }
  .arc { top: 22%; height: 20%; }
  .arc path { stroke-width: 2.5; }
  .fly { top: 40%; }
  .fly-y { width: 40px; }
  .parent { width: 58%; bottom: -14%; }
  .parent-dana { left: -22%; }
  .parent-yoni { right: -22%; }
  .floating-card { left: -2%; width: 90%; }
  .eyebrow { font-size: 13px; }
  .chips { grid-template-columns: 1fr 1fr; gap: 12px; }
  .chips li { grid-template-columns: 1fr; padding: 16px 14px; row-gap: 2px; }
  .chips small { grid-column: 1; }
  .ci { grid-row: auto; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 14px; }
  .ci img { width: 32px; height: 32px; }
  .chips b { font-size: 16px; }
  .chips small { font-size: 13px; }
  .bubble { font-size: 15.5px; padding: 9px 15px; }
  .finale { text-align: center; }
  .finale-art { margin-top: 0; }
  .finale-art img { -webkit-mask-image: none; mask-image: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .rv .mark::before, .js .chart.rv .bars i, .js .rv .check { transform: none; }
  .js .night .band-bg { clip-path: none; }
  .fly, .float-heart { display: none; }
}

/* Doc pages: the current page in the nav, and the link onward. */
.nav nav a[aria-current="page"] { color: var(--accent); }
.doc-next { margin-top: 56px; }
