/* WeePlanner landing page. Moved out of index.html so the page runs under a strict script policy. */
:root {
  --bg: #FFFBF5;
  --bg-2: #FFF6E8;
  --surface: #FFFFFF;
  --ink: #1F2328;
  --ink-2: #2B2F34;
  --muted: #5B6168;
  --faint: #6A7077;
  --line: #E9E5DC;
  --accent: #FFC83D;
  --accent-soft: #FFE9A8;
  --accent-wash: #FFF1C7;
  --accent-border: #E0A800;
  --brand: #08796D;
  --brand-ink: #08453E;
  --teal: #12A594;  --teal-t: #A9EADF;  --teal-c: #EEFAF7;
  --blue: #3E6FF0;  --blue-t: #BCCDFF;  --blue-c: #F1F5FF;
  --orange: #F2711C; --orange-t: #FFCCA3; --orange-c: #FFF4EA;
  --purple: #8B5CF6; --purple-t: #D9C8FF; --purple-c: #F7F2FF;
  --pink: #E5487A;  --green: #4C9A2A;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(31,35,40,.04), 0 12px 36px -20px rgba(31,35,40,.22);
  --shadow-lg: 0 2px 6px rgba(31,35,40,.06), 0 30px 70px -20px rgba(31,35,40,.32);
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  --wrap: 1208px;
  --gutter: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--font);
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--round); letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 3.75rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.06; }
h3 { font-size: 1.2rem; font-weight: 750; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons, tags */
/* The official App Store badge (assets/app-store-badge.svg, from Apple; do not alter the artwork). */
.store-badge { display: inline-flex; align-items: center; border-radius: 10px; transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 52px; width: auto; }
.store-badge-sm img { height: 40px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 24px; border-radius: 14px; border: 0;
  font-weight: 700; font-size: .9375rem; line-height: 1.3; text-decoration: none; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 24px -8px rgba(224,168,0,.65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 16px 30px -10px rgba(224,168,0,.75); }
.btn-primary:hover .arrow { transform: translateX(3px); }
.arrow { transition: transform .2s ease; }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #FFF3DA; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 18px; }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.125rem); line-height: 1.7; color: var(--muted); margin-top: 20px; max-width: 34em; }

/* ---------- reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- progress bar + header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,251,245,.78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s ease;
}
.site-head.is-scrolled { box-shadow: 0 6px 20px -16px rgba(31,35,40,.35); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding-block: 10px; }
@media (max-width: 599px) { .head-row { min-height: 68px; } }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.nav { display: none; gap: 32px; font-weight: 600; font-size: .875rem; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- hero */
.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.hero-halo { position: absolute; z-index: 0; width: 820px; height: 820px; right: -180px; top: -80px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, #FFECC2 0, #F5EDCD 38%, #EAF2E9 68%, transparent 100%); opacity: .75; }
@media (max-width: 959px) { .hero-halo { width: 620px; height: 620px; right: -200px; top: auto; bottom: -40px; } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 80px; } .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.pill-new {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.pill-new b { background: var(--ink); color: #fff; font-size: .72rem; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); position: relative; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--teal); opacity: .35; }
.hero h1 { margin-top: 22px; }
.marker { position: relative; z-index: 0; }
.marker::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .36em; z-index: -1; border-radius: 8px;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); animation: sweep .9s .5s cubic-bezier(.6,.1,.2,1) forwards;
}
@keyframes sweep { to { transform: scaleX(1); } }
.hero .lede { margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: .92rem; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--brand); }
/* Phones: the text column never grows past the screen, and the hero is compact so its scene shows on the first screen. */
.hero-grid > * { min-width: 0; }
@media (max-width: 480px) {
  .hero { padding-top: 24px; }
  .cta-row { margin-top: 24px; }
  .cta-row .btn { flex: 1 1 auto; padding: 0 18px; }
}
@media (max-width: 599px) { :root { --gutter: 20px; } }
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  h1 { font-size: 2.2rem; }
  .brand img { height: 22px; }
  .store-badge-sm img { height: 36px; }
}

/* Saturday stage (How it works): each message flies to the spot where the real app puts it (assets/scenes.js) */
.stage { --w: min(300px, 70vw); position: relative; display: grid; place-items: center; min-height: 560px; }
.stage .phone { --w: inherit; z-index: 2; animation: float 7s ease-in-out infinite; }
.stage.is-busy .phone { animation-play-state: paused; }
@keyframes float { 50% { transform: translateY(-10px); } }
.src-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border-radius: 18px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.25; max-width: 250px;
  animation: bob 6s ease-in-out infinite; animation-delay: var(--bd, 0s);
  transition: opacity .45s ease, box-shadow .25s ease;
}
.src-chip b { display: block; font-size: 14.5px; white-space: nowrap; }
.src-chip small { display: block; color: var(--muted); white-space: nowrap; }
.src-chip.is-next { box-shadow: 0 0 0 3px var(--accent), var(--shadow-lg); }
.src-chip.is-gone { opacity: 0; visibility: hidden; transition: opacity .12s ease, visibility 0s .12s; }
.src-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; }
.src-ico svg { width: 20px; height: 20px; }
.ico-wa { background: #25D366; }
.ico-mail { background: #3E6FF0; }
.ico-pdf { background: #E5484D; }
.ico-msg { background: #34C759; }
/* Resting spots over empty parts of Saturday, clear of the names and of where each plan lands. */
.chip-1 { left: -5%; top: 61%; }
.chip-2 { right: -6%; top: 48%; --bd: -2s; }
.chip-3 { right: -4%; top: 20%; --bd: -4s; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1deg); } }
/* The flying copy: it starts as the message and turns into the event block on the way down. */
.ghost {
  position: absolute; z-index: 6; left: 0; top: 0; overflow: hidden; pointer-events: none;
  background: var(--surface); box-shadow: 0 16px 34px -12px rgba(31,35,40,.45); font-size: calc(var(--w) / 24.375);
}
.ghost .src-chip { position: absolute; left: 0; top: 0; max-width: none; box-shadow: none; background: transparent; border-radius: 0; animation: none; }
/* The flying flyer turns into the event block on the way down, as in the app. */
.g-tint { position: absolute; inset: 0; opacity: 0; padding: .5em .55em; line-height: 1.2; }
.g-tint b { display: block; font-size: .82em; font-weight: 700; }
.g-tint span { display: block; font-size: .72em; margin-top: .2em; font-variant-numeric: tabular-nums; }
.pop { position: absolute; z-index: 4; background-repeat: no-repeat; pointer-events: none; }
@media (max-width: 560px) {
  .stage { min-height: 520px; }
  .src-chip { max-width: 200px; font-size: 12.5px; padding: 7px 12px 7px 7px; border-radius: 14px; }
  .src-chip small { display: none; }
  .src-ico { width: 30px; height: 30px; }
  /* Narrow phones: the right side has room for one message, so two rest on the left. */
  .chip-1 { left: -5%; top: 60.5%; }
  .chip-2 { right: auto; left: -5%; top: 68.7%; }
  .chip-3 { right: -3%; top: 20%; }
}

/* ---------- phone frame */
.phone {
  --w: 300px;
  position: relative; display: inline-block; padding: 9px; border-radius: calc(var(--w) * .16);
  background: linear-gradient(145deg, #2a2d31, #121417); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3a3e44;
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2a2d31; }
.phone::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 calc(var(--w) * .2) 0 #2a2d31; }
.phone::after { right: -3px; top: 28%; height: 13%; }
/* 1em inside a screen is 16px of a 390px-wide iPhone, so drawn UI scales with the phone. */
.screen {
  position: relative; width: var(--w); aspect-ratio: 390 / 844; border-radius: calc(var(--w) * .135);
  overflow: hidden; overflow: clip; background: var(--bg); isolation: isolate;
  font-size: calc(var(--w) / 24.375); line-height: 1.3;
}
.screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 9; }
.screen > img { width: 100%; height: 100%; object-fit: cover; }
.screen .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.screen .layer.on { opacity: 1; }
.screen .layer.instant { transition: none; }
/* The app's own toast, drawn where the app shows it. */
.screen-toast {
  position: absolute; z-index: 8; left: 50%; top: 86.3%; display: flex; align-items: center; gap: 1.6em;
  background: #1F2328; color: #fff; border-radius: 999px; padding: .95em 1.5em; font-size: .9em; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translate(-50%, -50%) translateY(.6em); pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.9,.3,1.3); box-shadow: 0 .6em 1.4em -.4em rgba(0,0,0,.45);
}
.screen-toast em { font-style: normal; color: var(--accent); font-weight: 700; }
.screen-toast.show { opacity: 1; transform: translate(-50%, -50%); }

/* ---------- sections */
.section { padding: 112px 0; position: relative; }
@media (max-width: 900px) { .section { padding: 80px 0; } }
@media (max-width: 599px) { .section { padding: 64px 0; } }
.split { display: grid; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.flip > :first-child { order: 2; } }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- where plans come from: a slim strip under the hero (from the NEW design) */
.source-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source-strip > p { font-size: .875rem; line-height: 1.5; color: var(--muted); flex-shrink: 0; }
.source-strip strong { color: var(--ink); font-weight: 650; }
.source-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px 32px; }
.source-strip li { display: flex; align-items: center; gap: 10px; font-size: .8125rem; color: var(--muted); }
.source-strip svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
@media (max-width: 699px) {
  .source-strip { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 24px; }
  .source-strip > p br { display: none; }
  .source-strip > p strong::before { content: " "; }
  .source-strip ul { justify-content: flex-start; gap: 12px 20px; }
  .source-strip svg { width: 18px; height: 18px; }
}

/* ---------- a phone centered in its column (Inbox, Do it) */
.phone-center { display: grid; justify-items: center; }
.phone-center .phone { --w: min(310px, 72vw); }

/* ---------- inbox pins */
.pin {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 8px; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  transition: opacity .35s ease, transform .5s cubic-bezier(.2,.9,.3,1.4); transition-delay: var(--d, 0s); pointer-events: none;
}
.pin b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0,0,0,.25); }
.inbox-scene.in:not(.is-search) .pin { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pin-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: pin; }
.pin-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.pin-list li::before { counter-increment: pin; content: counter(pin); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.pin-list b { display: block; }
.pin-list span { color: var(--muted); }

/* ---------- a closer look: real screenshots, step by step */
.tour { background: var(--ink); color: #fff; border-radius: 40px; margin: 0 12px; overflow: hidden; overflow: clip; }
.tour::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(255,200,61,.28), transparent); pointer-events: none; }
.tour::after { content: ""; position: absolute; width: 600px; height: 600px; left: -220px; bottom: -280px; background: radial-gradient(closest-side, rgba(18,165,148,.3), transparent); pointer-events: none; }
.tour .wrap { position: relative; z-index: 1; }
.tour .eyebrow { color: var(--accent); }
.tour .lede { color: #C9CDD2; }
.tour h2 { color: #fff; }
.try-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.try-list button {
  width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 12px 16px 12px 12px; transition: background .3s, border-color .3s;
}
.try-list button:hover { background: rgba(255,255,255,.09); }
.try-list .is-active button { background: rgba(255,255,255,.12); border-color: rgba(255,200,61,.7); }
.try-list i { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,200,61,.16); color: var(--accent); display: grid; place-items: center; transition: background .3s, color .3s; }
.try-list .is-active i { background: var(--accent); color: var(--ink); }
.try-list svg { width: 20px; height: 20px; }
.try-list b { display: block; color: #fff; }
.try-list span { color: #AEB4BB; font-size: .94rem; }
.tour-note { margin-top: 18px; font-size: .9rem; color: #9AA1A9; display: flex; align-items: center; gap: 8px; }
.tour-note svg { width: 16px; height: 16px; flex: none; }
.tour-phone { background: linear-gradient(145deg, #3a3e44, #1b1d20); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), inset 0 0 0 1.5px #4b5058; }
@media (max-width: 699px) { .tour { border-radius: 28px; margin: 0 8px; } }
/* The app's own microphone icon, inline in a sentence. */
.how-step .mic-ico, .try-list .mic-ico { width: 1.15em; height: 1.15em; vertical-align: -.22em; }

/* ---------- family */
.duo { position: relative; display: flex; justify-content: center; }
.duo .phone { --w: min(260px, 46vw); }
.duo .phone:first-child { transform: rotate(-3deg); }
.duo .phone:last-child { margin-left: -60px; margin-top: 60px; transform: rotate(4deg); transition: transform 1s .2s cubic-bezier(.2,.8,.2,1), opacity .7s .2s; }
.js .duo:not(.in) .phone:last-child { transform: rotate(12deg) translateY(90px); opacity: 0; }
.people { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.person { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 999px; padding: 6px 16px 6px 6px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; transition: transform .5s cubic-bezier(.2,.9,.3,1.4), opacity .5s; transition-delay: var(--d, 0s); }
.person i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .85rem; }
.js .people:not(.in) .person { opacity: 0; transform: translateY(14px) scale(.9); }
.feature-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.feature-list li { display: grid; gap: 6px; padding: 18px 20px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.feature-list b { font-size: 1.04rem; }
.feature-list span.d { color: var(--muted); font-size: .96rem; }

/* ---------- How it works, and v1's share-from-a-group-chat scene (hero), drawn in today's app design */
.how-head { max-width: 760px; }
.trio { display: flex; flex-wrap: wrap; gap: 0 .35em; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.how-grid { display: grid; gap: 40px; align-items: center; margin-top: 48px; }
/* The Saturday stage keeps the width it had in the hero, where its message spots were tuned. */
@media (min-width: 960px) { .how-grid { grid-template-columns: .95fr 1.05fr; gap: 48px; } }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.how-step { border-radius: 24px; padding: 6px 6px 18px; transition: background .3s, box-shadow .3s; }
.how-step.is-active { background: var(--surface); box-shadow: var(--shadow); }
/* The step being shown lights up while the Saturday scene plays. */
.how-step h3 {
  margin: 0; min-height: 44px; display: flex; align-items: center; gap: 14px; padding: 12px 14px 4px;
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; color: #8A847B; transition: color .3s;
}
.how-step.is-active h3 { color: var(--ink); }
.how-step h3 i { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .95rem; font-family: var(--font); background: var(--line); color: var(--muted); transition: background .3s, color .3s; }
.how-step.is-active h3 i { background: var(--accent); color: var(--ink); }
.how-step > p, .how-step > .inputs { margin-left: 62px; margin-right: 14px; }
.how-step > p { color: var(--ink-2); font-size: 1.05rem; margin-top: 6px; }
.how-step > p.fine { color: var(--muted); font-size: .95rem; }
.inputs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.inputs span { font-size: .8rem; font-weight: 650; color: var(--ink-2); background: var(--bg-2); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.how-step > .inputs + p { margin-top: 12px; }
@media (max-width: 480px) { .how-step > p, .how-step > .inputs { margin-left: 14px; } }
.ns-stage { display: grid; justify-items: center; gap: 18px; }
.ns-stage .phone { --w: min(310px, 72vw); }
.ns { color: var(--ink); -webkit-user-select: none; user-select: none; pointer-events: none; }
.ns-day { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.ns-after { transition: none; }
.ns[data-phase="day"] .ns-before, .ns[data-phase="landed"] .ns-before, .ns[data-phase="landed"] .ns-after { opacity: 1; }
/* chat */
.ns-chat { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; background: #EFE7DA; transition: opacity .35s ease; }
.ns[data-phase="day"] .ns-chat, .ns[data-phase="landed"] .ns-chat { opacity: 0; }
.ns-chat-head { display: flex; align-items: center; gap: .65em; padding: 1.1em 1em .7em; background: rgba(250,248,244,.97); border-bottom: 1px solid rgba(0,0,0,.07); }
.ns-back { width: .75em; height: 1.25em; flex: none; color: #2F5BD8; }
.ns-avatar { width: 2.5em; height: 2.5em; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--teal-t); color: #08453E; font-weight: 800; font-size: .85em; }
.ns-title b { display: block; font-size: .95em; }
.ns-title small { display: block; font-size: .72em; color: var(--muted); }
.ns-chat-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .55em; padding: 1em .9em; }
.ns-when { align-self: center; font-size: .66em; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.75); padding: .3em .8em; border-radius: .6em; }
.ns-bubble { position: relative; align-self: flex-start; max-width: 78%; padding: .45em .7em .35em; border-radius: 1em 1em 1em .3em; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.ns-bubble em { display: block; font-style: normal; font-size: .7em; font-weight: 800; color: #0B8577; }
.ns-bubble p { font-size: .86em; line-height: 1.35; margin-top: .1em; }
.ns-bubble time { display: block; text-align: right; font-size: .6em; color: var(--faint); margin-top: .15em; }
.ns-img { padding: .35em .35em .3em; }
.ns-img em { padding: 0 .35em .3em; }
.ns-img time { padding-right: .35em; }
.ns-share-btn { position: absolute; right: -2.7em; top: 50%; width: 2.1em; height: 2.1em; margin-top: -1.05em; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); box-shadow: 0 1px 3px rgba(0,0,0,.14); color: var(--ink-2); }
.ns-share-btn svg { width: 1.05em; height: 1.05em; }
.ns-chat-input { display: flex; align-items: center; gap: .6em; padding: .6em .9em 1.6em; background: rgba(250,248,244,.97); }
.ns-chat-input span { flex: 1; height: 2.2em; border-radius: 2em; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ns-chat-input i { width: 2.2em; height: 2.2em; border-radius: 50%; background: #E3DCCF; }
/* the flyer (an illustrated stand-in for a real one) */
.nf { width: 12em; aspect-ratio: 3 / 3.8; border-radius: .7em; overflow: hidden; background: #FFF8EC; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.nf-head { position: relative; padding: .8em .8em .65em; background: #23794F; color: #fff; font-family: var(--round); line-height: .98; }
.nf-head small { display: block; font-size: .62em; font-weight: 800; letter-spacing: .12em; opacity: .85; margin-bottom: .35em; }
.nf-head b { display: block; font-size: 1.32em; font-weight: 900; letter-spacing: .01em; }
.nf-head::after { content: ""; position: absolute; right: .7em; top: .7em; width: 2em; height: 2em; border-radius: 50%; background: radial-gradient(circle, #1F2328 0 22%, transparent 23%), #fff; box-shadow: inset 0 0 0 .2em #1F2328; }
.nf-body { flex: 1; display: flex; flex-direction: column; gap: .3em; padding: .65em .8em; }
.nf-body strong { font-size: .82em; color: #23794F; font-weight: 800; }
.nf-body span { font-size: .72em; font-weight: 700; color: var(--ink-2); }
.nf-body i { display: block; height: .38em; border-radius: 1em; background: #E8DCC7; }
.nf-body i:nth-of-type(2) { width: 78%; }
.nf-body i:nth-of-type(3) { width: 60%; }
/* share sheet */
.ns-dim { position: absolute; inset: 0; z-index: 2; background: rgba(20,22,25,.32); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.ns[data-phase="share"] .ns-dim, .ns[data-phase="draft"] .ns-dim { opacity: 1; }
.ns-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; transform: translateY(105%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.ns[data-phase="share"] .ns-share, .ns[data-phase="draft"] .ns-share, .ns[data-phase="draft"] .ns-draft { transform: none; }
.ns[data-phase="day"] .ns-sheet, .ns[data-phase="landed"] .ns-sheet { transition-duration: .3s; transition-timing-function: cubic-bezier(.4,0,1,1); }
.ns-grab { display: block; width: 2.4em; height: .3em; border-radius: 1em; background: #CFCAC2; margin: 0 auto .7em; }
.ns-share { padding: .55em .9em 1.6em; border-radius: 1.3em 1.3em 0 0; background: #F2F1EE; }
.ns-share-head { display: flex; align-items: center; gap: .7em; padding: .55em; border-radius: .9em; background: #fff; }
.ns-share-head .nf { font-size: .26em; flex: none; }
.ns-share-head b { display: block; font-size: .86em; }
.ns-share-head small { display: block; font-size: .7em; color: var(--muted); }
.ns-x { margin-left: auto; width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center; flex: none; background: #E9E7E3; color: var(--muted); font-size: .8em; font-weight: 700; }
.ns-apps { display: flex; justify-content: space-between; margin: 1em .1em .9em; }
.ns-app { width: 4.3em; display: flex; flex-direction: column; align-items: center; gap: .35em; }
.ns-ic { width: 3.6em; height: 3.6em; border-radius: .95em; display: grid; place-items: center; overflow: hidden; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ns-ic svg { width: 1.8em; height: 1.8em; }
.ns-ic img { width: 100%; height: 100%; }
.ic-msg { background: #34C759; } .ic-mail { background: #3E8BF0; } .ic-notes { background: #fff; color: #E0A800; }
.ns-app small { font-size: .62em; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.ns-app.is-ours .ns-ic { box-shadow: 0 0 0 .2em var(--accent), 0 .3em .8em rgba(224,168,0,.35); }
.ns-app.is-ours small { font-weight: 800; color: var(--ink); }
.ns-rows { border-radius: .9em; background: #fff; overflow: hidden; }
.ns-rows span { display: block; padding: .75em .9em; font-size: .78em; font-weight: 600; border-top: 1px solid var(--line); }
.ns-rows span:first-child { border-top: 0; }
/* WeePlanner's draft card, as the app draws it */
.ns-draft { z-index: 4; display: flex; flex-direction: column; border-radius: 1em 1em 0 0; background: #fff; box-shadow: 0 -.5em 1.6em rgba(31,35,40,.16); padding-top: .55em; }
.ns-draft-head { display: flex; align-items: center; padding: .1em 1.2em .75em; border-bottom: 1px solid var(--line); }
.ns-draft-head b { font-size: 1.15em; font-weight: 750; letter-spacing: -.01em; }
.ns-draft-head .ns-x { background: none; color: var(--ink-2); font-size: 1.05em; }
.ns-draft-body { display: flex; flex-direction: column; gap: .8em; padding: .9em 1.2em 1.1em; }
.ns-src { display: flex; align-items: center; gap: .8em; padding: .6em; border-radius: .75em; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.ns-src .nf { font-size: .3em; flex: none; }
.ns-src b { display: block; font-size: .86em; }
.ns-src small { display: block; font-size: .7em; color: var(--muted); }
.ns-facts { border-radius: .75em; box-shadow: inset 0 0 0 1px var(--line); }
/* The app's sizes (InboxItemSheet): 15 pt for the rows and the person chips, 17 pt for Add. */
.ns-facts > div { display: flex; align-items: center; gap: .6em; padding: .5em .75em; border-top: 1px solid var(--line); font-size: .9375em; }
.ns-facts > div:first-child { border-top: 0; }
.ns-facts span { width: 4.6em; flex: none; font-size: .78em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ns-facts em { font-style: normal; font-size: .8em; font-weight: 700; color: #6B4E00; background: var(--accent-soft); padding: .1em .5em; border-radius: 1em; margin-left: .3em; }
.ns-who { font-size: .875em; font-weight: 600; color: var(--ink-2); }
.ns-chips { display: flex; flex-wrap: wrap; gap: .4em; margin-top: -.35em; }
.ns-chip { display: inline-flex; align-items: center; gap: .35em; padding: .45em .8em .45em .65em; border-radius: 2em; background: #fff; box-shadow: inset 0 0 0 1.5px #D6D1C9; font-size: .9375em; font-weight: 600; transition: background .25s, box-shadow .25s, color .25s; }
.ns-chip i { width: .6em; height: .6em; border-radius: 50%; }
/* A chosen person: their tint, ink and color (Noah's purple unless a chip says otherwise). */
.ns-chip.on { background: var(--c-t, var(--purple-t)); color: var(--c-ink, #3F2296); box-shadow: inset 0 0 0 1.5px var(--c, var(--purple)); }
.ns-draft-foot { display: grid; gap: .55em; padding: .75em 1.2em 1.3em; border-top: 1px solid var(--line); }
.ns-add { display: grid; place-items: center; height: 2.6em; border-radius: .7em; background: var(--accent); font-weight: 750; font-size: 1.0625em; transition: transform .15s ease, filter .15s ease; }
.ns-add.pressed { transform: scale(.97); filter: brightness(.94); }
.ns-sec { display: flex; justify-content: space-around; font-size: .82em; font-weight: 650; color: var(--ink-2); }
.ns .tap {
  position: absolute; z-index: 8; width: 3.2em; height: 3.2em; margin: -1.6em 0 0 -1.6em; border-radius: 50%;
  background: rgba(31,35,40,.22); box-shadow: 0 0 0 2px rgba(255,255,255,.95); opacity: 0; transform: scale(.4); pointer-events: none;
}
.ns-ghost { position: absolute; z-index: 7; left: 0; top: 0; overflow: hidden; border-radius: .7em; box-shadow: 0 1em 2em rgba(31,35,40,.3); pointer-events: none; }
.ns-ghost .nf { width: 100%; height: 100%; aspect-ratio: auto; font-size: .32em; border-radius: 0; }

/* ---------- the 🎤 scene: plays after the WhatsApp scene on the same phone. "Say an event" and
   "Is this right?" are drawn as the native app shows them (1em = 16 pt of the app screen). */
.ns[data-phase^="v-"] .ns-chat { opacity: 0; }
/* The incoming calendar frame opens above the outgoing one, which hides only afterwards,
   so the phone never flashes empty between the two scenes. */
.ns[data-phase^="v-"] .ns-before, .ns[data-phase^="v-"] .ns-after, .ns-vstart, .ns-vbefore, .ns-vafter { transition: opacity 0s .4s; }
.ns[data-phase="v-start"] .ns-vstart, .ns[data-phase="v-ready"] .ns-vstart, .ns[data-phase="v-listen"] .ns-vstart, .ns[data-phase="v-heard"] .ns-vstart, .ns[data-phase="v-card"] .ns-vstart,
.ns[data-phase="v-day"] .ns-vbefore, .ns[data-phase="v-landed"] .ns-vbefore { opacity: 1; transition: opacity .35s ease; }
.ns[data-phase="v-landed"] .ns-vafter { opacity: 1; transition: none; }
.ns[data-phase="v-ready"] .ns-dim, .ns[data-phase="v-listen"] .ns-dim, .ns[data-phase="v-heard"] .ns-dim, .ns[data-phase="v-card"] .ns-dim { opacity: 1; }
/* Large sheets, as iOS draws them: the calendar shows dimmed above. The voice sheet drops away
   before "Is this right?" comes up, in that order, as in the app. */
.ns-voice, .ns-quick { top: 5.5%; z-index: 4; display: flex; flex-direction: column; border-radius: 1.6em 1.6em 0 0; background: var(--bg); box-shadow: 0 -.5em 1.6em rgba(31,35,40,.16); }
.ns[data-phase="v-ready"] .ns-voice, .ns[data-phase="v-listen"] .ns-voice, .ns[data-phase="v-heard"] .ns-voice { transform: none; }
.ns[data-phase="v-card"] .ns-voice { transition-duration: .25s; transition-timing-function: cubic-bezier(.4,0,1,1); }
.ns[data-phase="v-card"] .ns-quick { transform: none; transition-delay: .25s; }
.ns[data-phase="v-day"] .ns-sheet, .ns[data-phase="v-landed"] .ns-sheet { transition-duration: .3s; transition-timing-function: cubic-bezier(.4,0,1,1); }
.ns-sheet-head { display: flex; align-items: center; justify-content: space-between; min-height: 3.4em; padding: .6em .4em 0 1em; }
.ns-sheet-head b { font-size: 1.25em; font-weight: 700; letter-spacing: -.01em; }
.ns-sheet-head .ns-x { width: 2.4em; height: 2.4em; background: none; color: #3A3F45; font-size: 1.05em; }
.ns-voice-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.125em; padding: 0 1.5em 3.4em; text-align: center; }
/* The big microphone; its two rings grow with the voice while it listens (script: hero). */
.ns-mic { position: relative; width: 9.25em; height: 9.25em; margin: 2.2em 0; }
.ns-ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(255,200,61,.2); transform: scale(1.15); opacity: 0; transition: opacity .2s ease; }
.ns-ring-2 { background: rgba(255,200,61,.35); transform: scale(1.05); }
.ns[data-phase="v-listen"] .ns-ring { opacity: 1; }
.ns-mic-btn { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 .5em 1.125em rgba(224,168,0,.35); transition: background .2s ease, box-shadow .2s ease; }
/* Before it listens (the app's idle state): a white microphone in a yellow ring. */
.ns[data-phase="v-ready"] .ns-mic-btn { background: var(--surface); box-shadow: inset 0 0 0 .1875em var(--accent-border), 0 .5em 1.125em rgba(224,168,0,.35); }
.ns-mic-btn svg { grid-area: 1 / 1; width: 3.7em; height: 3.7em; transition: opacity .2s ease; }
.ns-mic-check { opacity: 0; width: 3.3em !important; height: 3.3em !important; }
.ns[data-phase="v-heard"] .ns-mic-glyph { opacity: 0; }
.ns[data-phase="v-heard"] .ns-mic-check { opacity: 1; }
.ns-status { display: flex; align-items: center; justify-content: center; gap: .4em; font-size: 1.25em; font-weight: 700; line-height: 1.25; }
.ns-status i { width: .5em; height: .5em; border-radius: 50%; background: #B3261E; }
.ns[data-phase="v-heard"] .ns-status i { display: none; }
.ns-hint { font-size: 1.0625em; line-height: 1.45; color: var(--muted); }
.ns-heard { font-size: 1.375em; font-weight: 600; line-height: 1.3; }
.ns-voice.has-words .ns-hint, .ns-voice:not(.has-words) .ns-heard { display: none; }
.ns-done { font-size: .94em; color: var(--muted); }
.ns[data-phase="v-heard"] .ns-done { visibility: hidden; }
.ns[data-phase="v-ready"] .ns-status i, .ns[data-phase="v-ready"] .ns-done { display: none; }
.ns-type { display: none; align-self: stretch; place-items: center; height: 3.2em; border-radius: .8em; background: var(--surface); box-shadow: inset 0 0 0 1px #D6D1C9; font-size: .94em; font-weight: 700; }
.ns[data-phase="v-ready"] .ns-type { display: grid; }
/* "Is this right?": what, when, the reminder and who, then Add / Change. */
.ns-quick-body { flex: 1; display: flex; flex-direction: column; gap: 1.25em; padding: .75em 1em; }
.ns-card { display: grid; gap: .875em; padding: 1.25em; border-radius: 1.25em; background: var(--surface); box-shadow: inset 0 0 0 1px #ECE9E4, 0 .25em .75em rgba(0,0,0,.05); }
.ns-card b { font-size: 1.75em; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.ns-card p { display: flex; align-items: center; gap: .6em; font-size: 1.25em; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ns-card svg { width: 1.1em; height: 1.1em; flex: none; color: var(--muted); }
.ns-q-who { font-size: 1.0625em; font-weight: 600; }
.ns-q-chips { display: flex; flex-wrap: wrap; gap: .5em; margin-top: -.6em; }
.ns-q-chips .ns-chip { min-height: 2.66em; padding: 0 .93em 0 .66em; gap: .46em; color: #3A3F45; box-shadow: inset 0 0 0 1px #D6D1C9; }
.ns-q-chips .ns-chip i { width: .53em; height: .53em; }
.ns-q-chips .ns-chip.on { color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c); }
.ns-q-chips .ns-chip svg { width: .8em; height: .8em; }
.ns-quick-foot { display: grid; gap: .5em; padding: .625em 1em 1.2em; border-top: 1px solid #ECE9E4; }
.ns-quick .ns-add { height: 3.06em; border-radius: .7em; font-size: 1.0625em; font-weight: 700; }
.ns-change { display: grid; place-items: center; height: 3.2em; border-radius: .8em; background: var(--surface); box-shadow: inset 0 0 0 1px #D6D1C9; font-size: .94em; font-weight: 700; }
/* The card flies into Mia's column: white with its title, turning into her block on the way down. */
.ns-vghost { border-radius: 1.25em; background: var(--surface); }
.ns-vg-face { position: absolute; inset: 0; padding: 1.25em; overflow: hidden; }
.ns-vg-face b { display: block; font-size: 1.75em; font-weight: 700; white-space: nowrap; }
/* Under the hero phone: both ways in, always readable; the one playing is marked. */
.ns-modes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-size: .875rem; font-weight: 650; color: var(--muted); }
.ns-mode { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; transition: background .3s ease, color .3s ease; }
.ns-mode svg { width: 17px; height: 17px; flex: none; }
.ns-mode.is-on { background: var(--accent-wash); color: var(--ink); }
.ns-note { margin-top: -12px; font-size: .8125rem; color: var(--muted); }

/* ---------- Hero on a computer with a mouse (script: hero). "Hover over a phone to play it" shows only
   when a mouse plays the hero; nothing moves under Reduce Motion, so the line is left out there. */
.ns-hover-hint { display: none; }
.ns-stage.is-hover:not(.is-still) .ns-hover-hint { display: inline; }
/* Centered desktop hero. Text stays first in DOM order, then the two independent demos. */
.ns-stage.is-duo { container-type: inline-size; width: 100%; }
.ns-stage.is-duo .ns-modes { display: none; }
.ns-stage.is-duo .ns-note { margin-top: 0; text-align: center; }
.hero.is-duo .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero.is-duo .hero-halo { display: none; }
.ns-items { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "copy copy" "share voice"; gap: 40px 20px; align-items: start; }
.ns-items .hero-copy { grid-area: copy; min-width: 0; width: 100%; max-width: 640px; justify-self: center; text-align: center; }
.ns-items .hero-copy .lede { margin-inline: auto; }
.ns-items .hero-copy .cta-row, .ns-items .hero-copy .trust { justify-content: center; }
.ns-item { position: relative; isolation: isolate; display: grid; justify-items: center; gap: 12px; justify-self: center; min-width: 0; }
.ns-item-share { grid-area: share; }
.ns-item-voice { grid-area: voice; }
.ns-item::before { content: ""; position: absolute; z-index: -1; inset: -48px -65px; border-radius: 50%; pointer-events: none; background: radial-gradient(ellipse, rgba(18,165,148,.14), rgba(18,165,148,.04) 48%, transparent 72%); }
.ns-item-voice::before { background: radial-gradient(ellipse, rgba(255,200,61,.19), rgba(255,200,61,.05) 48%, transparent 72%); }
.js .ns-item { opacity: 0; transform: translateY(16px); transition: opacity 550ms cubic-bezier(.2,.7,.2,1), transform 550ms cubic-bezier(.2,.7,.2,1); }
.js .ns-item-voice { transition-delay: 100ms; }
.js .ns-item.is-entered { opacity: 1; transform: none; }
.ns-stage.is-duo .phone { --w: min(290px, calc((100cqw - 56px) / 2)); }
.ns-item-foot { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.ns-item-foot .scene-pause { position: static; flex: none; }
@container (max-width: 635px) {
  .ns-items { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "share" "voice"; }
  .ns-stage.is-duo .phone { --w: min(290px, calc(100cqw - 36px)); }
}
@media (min-width: 1280px) {
  .hero.is-duo { padding: 40px 0; }
  .hero.is-duo .ns-items { grid-template-columns: 308px minmax(0, 1fr) 308px; grid-template-areas: "share copy voice"; column-gap: 32px; row-gap: 0; }
  .hero.is-duo .hero-copy { align-self: center; padding-bottom: 12px; }
  .hero.is-duo h1 { font-size: clamp(52px, 3.89vw, 56px); line-height: 1.06; }
  .hero.is-duo .hero-line { display: block; }
  .hero.is-duo .lede { font-size: 17px; line-height: 1.65; max-width: 28em; }
  .hero.is-duo .trust { font-size: .85rem; gap: 8px 16px; }
  .hero.is-duo .ns-item-voice { margin-top: 24px; }
  .hero.is-duo .ns-stage .phone { --w: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ns-item { opacity: 1; transform: none; transition: none; }
}

/* ---------- Family: reminders, the Sunday look-ahead and the widget */
.also { margin-top: 26px; color: var(--muted); }
.do-grid { display: grid; gap: 14px; margin-top: 16px; }
@media (min-width: 600px) { .do-grid { grid-template-columns: 1fr 1fr; } }
.do-card { background: var(--surface); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.do-card svg { width: 26px; height: 26px; color: var(--brand); }
.do-card span { color: var(--muted); font-size: .95rem; }

/* ---------- privacy */
.priv-grid { list-style: none; padding: 0; display: grid; gap: 18px; margin: 44px 0 0; }
@media (min-width: 700px) { .priv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .priv-grid { grid-template-columns: repeat(4, 1fr); } }
.priv-grid li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: var(--bg); border-radius: 22px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.priv-grid li i { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-c); color: var(--brand); display: grid; place-items: center; }
.priv-grid li svg { width: 20px; height: 20px; }
.priv-grid li b { display: block; color: var(--ink); }
.priv-grid li span { color: var(--muted); font-size: .96rem; }

/* ---------- faq */
.faq { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq { grid-template-columns: .8fr 1.2fr; } }
.faq-list details { background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; overflow: hidden; }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--accent-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2328' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- final */
.final-section { padding-top: 24px; }
.final { position: relative; overflow: hidden; text-align: center; background: var(--accent); border-radius: 32px; padding: 72px 24px; }
.final h2 { max-width: 14em; margin: 18px auto 0; }
.final .lede { color: var(--ink-2); margin: 16px auto 0; }
.final .cta-row { justify-content: center; }
.final .btn-primary { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.final .btn-ghost { background: rgba(255,255,255,.55); box-shadow: none; }
.final-icon { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto; box-shadow: 0 14px 30px -12px rgba(0,0,0,.3); }

/* Ask visitors to pass WeePlanner on to another parent. */
.share-ask { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; font-weight: 650; color: var(--ink-2); }
.share-ask .btn { min-height: 44px; }
.share-ask svg { width: 18px; height: 18px; }

/* small print under a list */
.note { margin-top: 18px; font-size: .9rem; color: var(--faint); }

/* ---------- pause button beside each animated phone (WCAG 2.2.2); the scene loops until it is pressed */
.scene-wrap { position: relative; display: inline-block; z-index: 2; }
.scene-pause {
  position: absolute; z-index: 9; right: -22px; bottom: 56px; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; background: var(--surface); color: var(--ink); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px -8px rgba(31,35,40,.4); transition: background .2s;
}
.scene-pause:hover { background: var(--accent-wash); }
/* While its pictures are still loading the button cannot be used yet. */
.scene-pause:disabled { opacity: .45; cursor: default; background: var(--surface); }
.scene-pause svg { width: 18px; height: 18px; }
.scene-pause .i-play, .scene-pause[aria-pressed="true"] .i-pause { display: none; }
.scene-pause[aria-pressed="true"] .i-play { display: block; }
.tour .scene-pause { background: #2B2F34; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.tour .scene-pause:hover { background: #3A3E44; }
/* CSS loops (the floating phone, the bobbing messages) hold still with the scene. */
.is-paused, .is-paused * { animation-play-state: paused !important; }
@media (max-width: 480px) { .scene-pause { right: -14px; } }

/* ---------- footer */
.site-foot { padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 32px; }
.foot-brand { display: grid; gap: 8px; }
.foot-brand img { height: 24px; width: auto; }
.foot-brand span { color: var(--muted); font-size: .9rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
.foot-links a { text-decoration: none; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--ink); }
.copy { width: 100%; color: var(--faint); font-size: .85rem; }

/* ---------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
