:root {
  --bg: #E4F1E8; --bg2: #F3FAF5; --ink: #2A2140; --muted: #5E5280; --card: #FFFFFF;
  --poop: #8B5A3C; --poop-d: #5E3B26; --pee: #FFD25E; --pee-d: #D9A92B;
  --good: #2FA36B; --good-soft: #DDF6EA; --solid: #2A2140; --sky: #4F94C9; --grape: #5B3A8C; --coral: #FF9E7A;
  --card-d: #BFD9C7; --good-d: #1E7A4D; --solid-d: #120D22;
  color-scheme: light; /* light only, sage so the app's lavender screens stand out (Luke, 2026-10-27) */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Nunito", ui-rounded, -apple-system, system-ui, sans-serif; line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* nav */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 18px 16px; }
.brand { font-weight: 900; font-size: 22px; text-decoration: none; white-space: nowrap; }
.nav nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.nav nav a { font-weight: 800; color: var(--muted); text-decoration: none; }
.nav nav a.cta { background: var(--good); color: #fff; padding: 8px 16px; border-radius: 999px; box-shadow: 0 4px 0 var(--good-d); }
@media (max-width: 640px) { .nav nav a.hide-sm { display: none; } }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.eyebrow { font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--good); font-size: 13px; margin: 0 0 8px; }
h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.03; margin: 0 0 18px; font-weight: 900; letter-spacing: -.02em; }
h1 span { color: var(--poop); }
h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; margin: 0 0 14px; font-weight: 900; letter-spacing: -.015em; }
h3 { margin: 0 0 6px; font-size: 19px; font-weight: 900; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 22px; font-weight: 700; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 900; text-decoration: none; font-size: 17px; }
.button.primary { background: var(--good); color: #fff; box-shadow: 0 5px 0 var(--good-d); }
.button.ghost { background: var(--card); color: var(--ink); box-shadow: 0 5px 0 var(--card-d); }
.note { font-size: 14px; color: var(--muted); font-weight: 700; margin: 14px 0 0; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 28px 0 72px; }
.hero .device { justify-self: center; width: min(340px, 82vw); }
.hero .btns { margin: 6px 0 0; }
.hero .trial { margin: 14px 0 0; font-size: 14px; max-width: 34em; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.pill { padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 15px; }
.pill.poop { background: var(--poop); color: #fff; }
.pill.pee { background: var(--pee); color: #2A2140; }
.pill.walk { background: var(--good); color: #fff; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; border-top: 2px dashed rgba(94, 82, 128, .18); }
.feature.flip .copy { order: 2; }
.feature .device { justify-self: center; width: min(320px, 78vw); }
.feature p { font-size: 18px; color: var(--muted); font-weight: 700; margin: 0 0 12px; max-width: 30em; }
.feature .tag { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; color: #fff; }
.tag.brown { background: var(--poop); } .tag.blue { background: var(--sky); } .tag.yellow { background: var(--pee); color: #2A2140; }
.tag.grape { background: var(--grape); } .tag.green { background: var(--good); } .tag.coral { background: var(--coral); color: #2A2140; }
.small { font-size: 15px !important; }
.disclaimer { background: var(--card); border-radius: 16px; padding: 12px 16px; font-weight: 800 !important; color: var(--ink) !important; font-size: 16px !important; }

/* tiles */
.band { background: var(--bg2); border-radius: 36px; padding: 48px 28px; margin: 32px 0; text-align: center; }
.band > p { font-size: 18px; color: var(--muted); font-weight: 700; max-width: 40em; margin: 0 auto 26px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.tiles article { background: var(--card); border-radius: 26px; padding: 22px; }
.tiles .ico { font-size: 28px; line-height: 1; margin-bottom: 10px; }
.tiles p { margin: 0; color: var(--muted); font-weight: 700; }
.soon { display: inline-block; background: var(--pee); color: #2A2140; font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }

/* duo trio: sideways Duo large in the center, closed and upright beside it; compact centered captions */
.trio { display: grid; grid-template-columns: 0.72fr 1.9fr 0.72fr; gap: 20px; --stage: clamp(260px, 30vw, 420px); }
.trio figure { margin: 0; display: grid; grid-template-rows: var(--stage) auto; gap: 14px; }
.trio img { width: 100%; height: 100%; object-fit: contain; object-position: center center; }
.trio figcaption { background: var(--card); border-radius: 18px; padding: 12px 14px; text-align: center; }
.trio h3 { margin: 0 0 2px; font-size: 17px; }
.trio p { margin: 0; color: var(--muted); font-weight: 700; font-size: 15px; line-height: 1.35; }
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; gap: 24px; }
  .trio figure { grid-template-rows: auto auto; }
  .trio figure:nth-child(2) { order: -1; }
  .trio img { height: auto; max-height: 340px; }
}

/* hero: iPhone + iPhone Duo */
.hero-pair { display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.hero-pair img:first-child { width: min(190px, 34%); }
.hero-pair img:last-child { width: min(340px, 62%); }
.feature.widepic { grid-template-columns: 0.8fr 1.35fr; }
.feature.flip.widepic { grid-template-columns: 1.35fr 0.8fr; }
.feature .device.wide { width: 100%; max-width: 700px; }
/* Stats: Duo to the right of the copy, larger and bleeding toward the page edge (Luke: the Duo should feel bigger) */
.feature.widepic { grid-template-columns: 0.72fr 1.5fr; gap: 40px; }
.feature.widepic .device.wide { width: calc(100% + 60px); max-width: 880px; margin-right: -60px; justify-self: start; }
.feature .pair { margin: 0; }

/* pack pair */
.pair { display: flex; justify-content: center; gap: 28px; margin: 4px 0 24px; }
.pair img { width: min(260px, 42%); }
.pair.lock { align-items: flex-end; }
.pair.lock img:first-child { width: min(250px, 46%); }
.pair.lock img:last-child { width: min(200px, 36%); }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.compare div { background: var(--card); border-radius: 26px; padding: 22px 24px; }
.compare ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-weight: 700; }
.compare .us { outline: 3px solid var(--good); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; padding: 40px 0; }
.faq details { background: var(--card); border-radius: 20px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 900; cursor: pointer; font-size: 17px; }
.faq details p { color: var(--muted); font-weight: 700; margin: 10px 0 0; }

.final { text-align: center; padding: 56px 0 24px; }
.final .btns { justify-content: center; }
footer { text-align: center; color: var(--muted); padding: 24px 16px 40px; font-weight: 700; font-size: 14px; }
footer p { margin: 6px 0; }
.tm { font-size: 12px; font-weight: 600; opacity: .85; }

/* docs (support, privacy, testers) */
.doc { max-width: 760px; margin: 0 auto; padding: 8px 16px 48px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 22px; margin-top: 32px; }
.doc p, .doc li { color: var(--muted); font-weight: 600; }
.card { background: var(--card); border-radius: 20px; padding: 20px 22px; box-shadow: 0 4px 0 rgba(42,33,64,.08); }

@media (max-width: 520px) {
  .hero .btns { gap: 10px; }
  .hero .btns .button { flex: 1 1 0; text-align: center; padding: 13px 14px; font-size: 16px; white-space: nowrap; }
  .badges { gap: 8px; margin-top: 20px; }
  .pill { font-size: 13px; padding: 6px 11px; }
}
@media (max-width: 860px) {
  .hero, .feature, .feature.widepic { grid-template-columns: 1fr; gap: 32px; }
  .feature.widepic .device.wide { width: 100%; margin-right: 0; justify-self: center; }
  .feature.flip .copy { order: 0; }
  .feature { padding: 48px 0; }
  .tiles, .compare { grid-template-columns: 1fr; }
  .band { padding: 36px 18px; border-radius: 28px; }
}

/* ---------- motion (Luke, 2026-10-27): gentle, scroll-linked, off for Reduce Motion ---------- */
.button, .nav nav a.cta { transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--good-d); }
.button.ghost:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--card-d); }
.nav nav a.cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--good-d); }

@keyframes lp-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lp-in-left { from { opacity: 0; transform: translate(-36px, 18px) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes lp-in-right { from { opacity: 0; transform: translate(36px, 18px) rotate(3deg); } to { opacity: 1; transform: none; } }
@keyframes lp-from-right { from { opacity: 0; transform: translateX(min(22vw, 260px)); } to { opacity: 1; transform: none; } }
@keyframes lp-from-left { from { opacity: 0; transform: translateX(max(-22vw, -260px)); } to { opacity: 1; transform: none; } }
@keyframes lp-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
/* devices: rise in, then keep drifting up a little as you scroll past (a soft parallax) */
@keyframes lp-device { 0% { opacity: 0; transform: translateY(70px) scale(.97); } 32% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 1; transform: translateY(-28px); } }

@media (prefers-reduced-motion: no-preference) {
  /* hero plays once on load */
  .hero .copy > * { animation: lp-up .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .copy > :nth-child(2) { animation-delay: .06s; } .hero .copy > :nth-child(3) { animation-delay: .12s; }
  .hero .copy > :nth-child(4) { animation-delay: .18s; } .hero .copy > :nth-child(5) { animation-delay: .22s; }
  .hero .copy > :nth-child(6) { animation: none; }
  .hero .badges .pill { animation: lp-pop .45s cubic-bezier(.3,1.5,.5,1) both; }
  .hero .badges .pill:nth-child(1) { animation-delay: .45s; } .hero .badges .pill:nth-child(2) { animation-delay: .55s; } .hero .badges .pill:nth-child(3) { animation-delay: .65s; }
  .hero-pair img:first-child { animation: lp-in-left .9s cubic-bezier(.2,.7,.2,1) .15s both; }
  .hero-pair img:last-child { animation: lp-in-right .9s cubic-bezier(.2,.7,.2,1) .28s both; }

  /* the rest follows the scroll where the browser supports it (Safari 26+, Chrome) */
  @supports (animation-timeline: view()) {
    .lp-rise { animation: lp-up linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .lp-device { animation: lp-device linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .lp-from-right { animation: lp-from-right linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .lp-from-left { animation: lp-from-left linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .lp-rise.lp-d1 { animation-range: entry 10% cover 34%; }
    .lp-rise.lp-d2 { animation-range: entry 20% cover 38%; }
  }
  /* older browsers: a one-time fade-up as each piece comes into view */
  .lp-io .lp-from-right { opacity: 0; transform: translateX(120px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
  .lp-io .lp-from-left { opacity: 0; transform: translateX(-120px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
  .lp-io .lp-rise, .lp-io .lp-device { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .lp-io .lp-d1 { transition-delay: .08s; } .lp-io .lp-d2 { transition-delay: .16s; }
  .lp-io .lp-in { opacity: 1; transform: none; }
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .logo { width: 32px; height: 32px; border-radius: 8px; display: inline-block; }

/* email signup (#beta) */
.signup { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 560px; margin: 0 auto; }
.signup input[type=email] { flex: 1 1 260px; min-width: 0; font: inherit; font-weight: 700; font-size: 17px; color: var(--ink); background: var(--card); border: 2px solid var(--card-d); border-radius: 999px; padding: 13px 20px; }
.signup input[type=email]:focus { outline: none; border-color: var(--good); }
.signup .button { border: 0; cursor: pointer; font-family: inherit; }
.signup .button[disabled] { opacity: .6; cursor: default; }
.signup .hp, .sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-msg { min-height: 1.5em; margin: 12px 0 0; font-weight: 800; color: var(--ink); }
.signup-msg.err { color: #B23A2E; }
.final .note a { color: var(--ink); }
.next { max-width: 620px; margin: 8px auto 0; text-align: left; background: var(--card); border-radius: 26px; padding: 24px 26px; box-shadow: 0 5px 0 var(--card-d); }
.next h3 { font-size: 24px; margin: 0 0 6px; text-align: center; }
.next p { color: var(--muted); font-weight: 700; margin: 0 0 10px; }
.next ol { margin: 0 0 12px; padding-left: 22px; color: var(--muted); font-weight: 700; }
.next li { margin: 0 0 10px; }
.next li b, .next a { color: var(--ink); }
.signup[hidden], .next[hidden] { display: none; }
