/* Companion website. Light only, on purpose: the brand is bright and playful, even when the Mac is in dark mode.
   Shape rule: containers (stages, tiles, cards, panels) use --r-card; everything you press or type in is a pill.
   One accent (coral, the app's own focus color). Pet colors only tint the stages the pets stand on, and pet accents
   appear only inside the speech-bubble previews, exactly as the app shows them. */

@property --tint {
  syntax: "<color>";
  inherits: true;
  initial-value: #ff6e5e;
}

:root {
  color-scheme: light;
  --bg: #f7f6fa;
  --bg-2: #efedf4;
  --surface: #ffffff;
  --surface-2: #f1eff6;
  --ink: #1f1b2c;
  --ink-2: #5c5670;
  --line: rgb(31 27 44 / 0.09);
  --accent: #d4442e;
  --accent-hover: #c23b26;
  --accent-ink: #ffffff;
  --accent-soft: rgb(212 68 46 / 0.1);
  --shadow: 0 1px 2px rgb(52 38 84 / 0.06), 0 12px 32px -12px rgb(52 38 84 / 0.18);
  --shadow-lg: 0 2px 4px rgb(52 38 84 / 0.05), 0 28px 60px -24px rgb(52 38 84 / 0.28);
  --bubble: #ffffff;
  --tint-mix: 20%;

  --r-card: 28px;
  --display: "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --max: 1240px;
  --gutter: 24px;
}


*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.6em;
  height: 1.6em;
  padding: 0 0.3em;
  margin: 0 0.08em;
  border-radius: 6px;
  background: var(--surface);
  box-shadow: inset 0 -1px 0 var(--line), 0 0 0 1px var(--line);
  font: 600 0.82em/1 var(--body);
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  z-index: 100;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.display--sm { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); }

.h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

/* Keeps each sentence of a two-sentence heading together when it wraps. */
.phrase { display: inline-block; }

.h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-2);
  max-width: 34ch;
  margin: 20px 0 0;
  text-wrap: pretty;
}

.sub {
  color: var(--ink-2);
  max-width: 56ch;
  margin: 14px 0 0;
  text-wrap: pretty;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn i { font-size: 1.15em; margin-top: -2px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px var(--accent); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 0.92rem; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 1.08rem; }
.btn--block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-hover); }
  .btn--ink:hover { background: color-mix(in oklab, var(--ink) 88%, var(--accent)); }
  .btn--ghost:hover { background: var(--surface-2); }
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 64px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- Layout ---------- */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) var(--gutter) 0;
}
.section__head { margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { text-align: center; }
.section__head--center .sub { margin-inline: auto; }

/* ---------- Pets (shared) ---------- */

.pet { display: block; padding: 0; border: 0; background: none; }
.pet__still { transform-origin: 50% 86%; }
.breathe { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1, 1); }
  50% { transform: scale(1.012, 1.028); }
}

/* Sprite strips: one row of square frames, stepped with a GPU transform. */
.sprite { position: relative; overflow: hidden; aspect-ratio: 1; }
.sprite > img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: none;
  animation: sprite var(--dur, 1s) steps(var(--frames, 1)) infinite;
  animation-play-state: paused;
}
.sprite.is-playing > img { animation-play-state: running; }
.sprite > img.sprite__still { width: 100%; animation: none; }
/* A one-shot clip (a wave) plays over the still, which hides until it ends. */
.sprite--once { position: absolute; inset: 0; }
.is-waving > .pet__still { opacity: 0; }
@keyframes sprite { to { transform: translateX(-100%); } }

/* ---------- Speech bubble (the app's reminder bubble) ---------- */

.bubble {
  --pet-accent: #d34335;
  --pet-accent-ink: #fff;
  position: absolute;
  left: 50%;
  top: 7%;
  width: min(340px, 86%);
  translate: -50% 0;
  padding: 14px 16px 16px;
  border-radius: 22px;
  background: var(--bubble);
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 100%;
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), filter 200ms ease;
  z-index: 2;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  background: var(--bubble);
  border-radius: 3px;
  transform: rotate(45deg);
}
.bubble.is-hidden { opacity: 0; transform: translateY(6px) scale(0.95); filter: blur(2px); pointer-events: none; }
.bubble__head { display: flex; align-items: center; gap: 8px; }
.bubble__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--pet-accent);
  color: var(--pet-accent-ink);
  font-size: 14px;
  flex: none;
}
.bubble__title { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.bubble__time { font-size: 0.74rem; color: var(--ink-2); margin-left: auto; font-variant-numeric: tabular-nums; }
.bubble__text { margin: 8px 0 0; font-weight: 600; font-size: 0.98rem; line-height: 1.38; }
.bubble__actions { display: flex; gap: 8px; margin-top: 12px; }
.bubble__actions:empty { display: none; }
.bubble__btn {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 160ms var(--ease-out), filter 150ms ease;
}
.bubble__btn--primary { background: var(--pet-accent); color: var(--pet-accent-ink); }
.bubble__btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .bubble__btn:hover { filter: brightness(1.06); } }

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) var(--gutter) 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: min(calc(100dvh - 64px), 860px);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.stage {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border-radius: var(--r-card);
  background: color-mix(in oklab, var(--tint) var(--tint-mix), var(--surface));
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition: --tint 500ms var(--ease-out);
  isolation: isolate;
}
.stage__glow,
.studio__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 78%, color-mix(in oklab, var(--tint) 42%, transparent), transparent 70%),
    radial-gradient(90% 60% at 50% 120%, color-mix(in oklab, var(--tint) 30%, transparent), transparent 70%);
  z-index: -1;
}
.stage__pet {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 72%;
  translate: -50% 0;
  cursor: pointer;
  border-radius: 999px;
}
.stage__pet > .pet__still { width: 100%; }
.stage__pet.is-switching .pet__still { opacity: 0; transform: translateY(10px) scale(0.96); filter: blur(4px); }
.stage__pet .pet__still { transition: opacity 180ms ease, transform 260ms var(--ease-out), filter 180ms ease; }

.coins { position: absolute; inset: 0; pointer-events: none; }
.coin {
  position: absolute;
  left: 50%;
  top: 46%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bubble);
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 0.9rem;
  translate: -50% 0;
  animation: coin 1200ms var(--ease-out) forwards;
}
.coin i { color: #e0a100; }
@keyframes coin {
  from { opacity: 0; transform: translateY(10px) scale(0.9); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-46px); }
}

.picker { display: grid; gap: 8px; margin-top: 18px; justify-items: center; }
/* Each family stays on one row: buttons shrink a little (to 36px) where the hero column is narrow. */
.picker__row { display: flex; gap: 6px; justify-content: center; max-width: 100%; }
.picker__btn {
  flex: 0 1 46px;
  min-width: 36px;
  aspect-ratio: 1;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease;
}
.picker__btn img { width: 100%; height: 100%; object-fit: contain; }
.picker__btn:active { transform: scale(0.94); }
.picker__btn[aria-checked="true"] {
  background: color-mix(in oklab, var(--c) 28%, var(--surface));
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--c) 80%, var(--ink));
}
@media (hover: hover) and (pointer: fine) {
  .picker__btn:hover { transform: translateY(-2px); }
}

/* ---------- Crew shelves ---------- */

.shelf + .shelf { margin-top: 40px; }
.shelf__title {
  margin: 0 0 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink-2);
}
.shelf__row {
  display: flex;
  justify-content: safe center;
  margin: 0 calc(var(--gutter) * -1);
  padding: 76px var(--gutter) 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shelf__row::-webkit-scrollbar { display: none; }
.critter {
  position: relative;
  flex: none;
  width: 134px;
  scroll-snap-align: center;
  text-align: center;
}
.critter__btn {
  position: relative;
  width: 100%;
  height: 128px;
  padding: 0;
  border: 0;
  background: none;
  display: block;
}
.critter__btn::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 104px;
  height: 104px;
  margin-left: -52px;
  border-radius: 999px;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--c) 40%, transparent), transparent);
  opacity: 0.85;
  transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
.critter__art {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -17px;
  width: 196px;
  margin-left: -98px;
  pointer-events: none;
}
.critter__art > .pet__still { width: 100%; }
.critter__plank {
  height: 14px;
  background: linear-gradient(var(--surface), var(--surface-2));
  box-shadow: 0 1px 0 var(--line), 0 10px 18px -12px rgb(52 38 84 / 0.35);
  position: relative;
  z-index: 1;
}
.critter:first-child .critter__plank { border-radius: 999px 0 0 999px; }
.critter:last-child .critter__plank { border-radius: 0 999px 999px 0; }
.critter__name { margin: 14px 0 0; font-family: var(--display); font-weight: 800; font-size: 1.08rem; line-height: 1.2; }
.critter__kind { margin: 2px 0 0; font-size: 0.84rem; color: var(--ink-2); }
.critter__say {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0px);
  translate: -50% 0;
  width: max-content;
  max-width: 170px;
  padding: 8px 12px;
  border-radius: 16px;
  background: var(--bubble);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  transform-origin: 50% 100%;
  transition: opacity 150ms ease, transform 200ms var(--ease-out);
  pointer-events: none;
  z-index: 3;
}
.critter__say::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: var(--bubble);
  border-radius: 2px;
  transform: rotate(45deg);
}
.critter.is-waving .critter__say { opacity: 1; transform: none; }
.critter.is-waving .critter__btn::before { transform: scale(1.12); opacity: 1; }

/* ---------- A day: the day player ---------- */

@property --sky-top { syntax: "<color>"; inherits: true; initial-value: #ffe1c4; }
@property --sky-bottom { syntax: "<color>"; inherits: true; initial-value: #fff5ea; }
@property --ring { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

.dayplayer {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg);
  overflow: hidden;
}

.dayplayer__stage {
  position: relative;
  min-height: 540px;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom) 78%);
  transition: --sky-top 900ms var(--ease-in-out), --sky-bottom 900ms var(--ease-in-out);
  overflow: hidden;
  touch-action: pan-y;
}
/* The sun rides an arc across the sky as the hours pass. */
.dayplayer__sun {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle at 38% 34%, #fff6c9, var(--sun, #ffd04d) 62%);
  box-shadow: 0 0 0 14px color-mix(in oklab, var(--sun, #ffd04d) 22%, transparent), 0 0 70px 26px color-mix(in oklab, var(--sun, #ffd04d) 45%, transparent);
  translate: -50% -50%;
  transform: translate(var(--sun-x, 0px), var(--sun-y, 0px));
  transition: transform 1100ms var(--ease-in-out), background 900ms ease, box-shadow 900ms ease;
}
.dayplayer__ground {
  position: absolute;
  inset: auto -10% -38% -10%;
  height: 60%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 70%, transparent), var(--surface) 60%);
}
.day__clock {
  position: absolute;
  left: 20px;
  top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bubble);
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  z-index: 3;
}
.dayplayer__stage .bubble { top: 13%; }
.dayplayer__sprite {
  position: absolute;
  left: 50%;
  bottom: -3%;
  width: min(66%, 400px);
  translate: -50% 0;
  z-index: 1;
  transition: opacity 180ms ease, filter 180ms ease, transform 260ms var(--ease-out);
}
.dayplayer__sprite.is-swapping { opacity: 0; filter: blur(4px); transform: translateY(8px) scale(0.97); }

.dayplayer__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 4vw, 48px);
}
.dayplayer__copy { transition: opacity 160ms ease, filter 160ms ease, transform 220ms var(--ease-out); }
.dayplayer__copy.is-leaving { opacity: 0; filter: blur(4px); transform: translateY(-6px); }
.dayplayer__copy.is-entering { opacity: 0; transform: translateY(8px); transition: none; }
.moment__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.moment__time i { color: var(--accent); font-size: 1.15rem; }
.moment__title { margin: 10px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.05; }
.moment__text { margin: 12px 0 0; color: var(--ink-2); max-width: 40ch; min-height: 4.65em; }

.timeline__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.timeline__label { font-weight: 700; font-size: 0.9rem; color: var(--ink-2); }
.timeline__toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 15px;
  transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
.timeline__toggle:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .timeline__toggle:hover { background: color-mix(in oklab, var(--surface-2) 80%, var(--ink)); } }

.timeline__rail { position: relative; }
.timeline__track {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 21px;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-2);
}
.timeline__fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  transition: transform 600ms var(--ease-in-out);
}
.timeline__stops { position: relative; display: flex; justify-content: space-between; }
.stop {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
}
.stop__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--surface-2);
  font-size: 18px;
  transition: transform 220ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.stop__time { font-size: 0.74rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color 200ms ease; }
.stop.is-past .stop__dot { color: var(--accent); box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--accent) 35%, transparent); }
.stop[aria-selected="true"] { color: var(--ink); }
.stop[aria-selected="true"] .stop__dot { background: var(--accent); color: var(--accent-ink); box-shadow: none; transform: scale(1.08); }
.stop:active .stop__dot { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .stop:not([aria-selected="true"]):hover .stop__dot { transform: translateY(-2px); color: var(--ink); }
}
/* Countdown ring on the active stop: when it closes, the day moves on. */
.stop__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: conic-gradient(var(--accent) var(--ring), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  opacity: 0;
}
.stop[aria-selected="true"] .stop__dot::after { opacity: 0.45; animation: ring var(--hold, 5s) linear forwards; }
.dayplayer.is-paused .stop__dot::after { animation-play-state: paused; }
.dayplayer.is-stopped .stop__dot::after { animation: none; opacity: 0; }
@keyframes ring { from { --ring: 0%; } to { --ring: 100%; } }

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "focus focus wander wander"
    "focus focus pet music"
    "treats clip health health";
  gap: 16px;
}
.tile {
  --t: var(--accent);
  position: relative;
  border-radius: var(--r-card);
  padding: 26px;
  overflow: hidden;
  background: linear-gradient(165deg,
    color-mix(in oklab, var(--t) calc(var(--tint-mix) + 6%), var(--surface)),
    color-mix(in oklab, var(--t) calc(var(--tint-mix) - 8%), var(--surface)));
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 300px;
}
.tile p { margin: 0; color: var(--ink-2); font-size: 0.97rem; text-wrap: pretty; }
.tile__sprite { width: 190px; margin: -18px auto -10px; }

.tile--focus { grid-area: focus; --t: #e9a85e; min-height: 560px; }
.tile--focus .tile__copy { position: relative; z-index: 1; height: 100%; max-width: 32ch; display: flex; flex-direction: column; gap: 6px; }
.tile--focus .focus-meter { margin-top: auto; }
.tile--focus .h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
.tile__sprite--focus { position: absolute; right: 0; bottom: -32px; width: min(70%, 460px); margin: 0; }
.focus-meter { display: flex; align-items: center; gap: 14px; }
.focus-meter__time {
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.focus-meter__dots { display: flex; gap: 6px; }
.focus-meter__dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ink) 16%, transparent);
  transition: background-color 300ms ease, transform 300ms var(--ease-out);
}
.focus-meter__dots span.is-on { background: var(--accent); transform: scale(1.15); }

/* A tiny desktop: the menu bar on top, the Dock below, one pet hanging and one strolling. */
.tile--wander { grid-area: wander; --t: #9fb2ea; padding-top: 50px; }
.tile--wander .tile__copy { position: relative; z-index: 1; max-width: 46%; }
.wander { position: absolute; inset: 0; overflow: hidden; }
.wander__menubar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 22px;
  background: color-mix(in oklab, var(--surface) 72%, transparent);
  box-shadow: 0 1px 0 var(--line);
}
.wander__dangle { position: absolute; right: 9%; top: -10px; width: 150px; }
.wander__dock {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 78%;
  height: 16px;
  translate: -50% 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 75%, transparent);
  box-shadow: inset 0 0 0 1px var(--line);
}
.wander__walker { position: absolute; left: 0; bottom: 22px; width: 100%; animation: stroll 16s linear infinite; }
.wander__mosey { width: 120px; margin-bottom: -16px; }
@keyframes stroll {
  from { transform: translateX(-120px); }
  to { transform: translateX(100%); }
}

.tile--pet { grid-area: pet; --t: #c3b4f0; }
.petzone {
  position: relative;
  width: 200px;
  margin: auto auto -40px;
  border-radius: 999px;
  cursor: grab;
  touch-action: pan-y;
}
.petzone .sprite { width: 100%; }
.heart {
  position: absolute;
  left: 50%;
  top: 34%;
  color: #ff5f8f;
  font-size: 20px;
  pointer-events: none;
  animation: heart 1100ms var(--ease-out) forwards;
}
@keyframes heart {
  from { opacity: 0; transform: translate(var(--hx), 0) scale(0.7); }
  25% { opacity: 1; }
  to { opacity: 0; transform: translate(calc(var(--hx) * 1.6), -70px) scale(1.1); }
}

.tile--music { grid-area: music; --t: #c89a76; }
.tile--treats { grid-area: treats; --t: #8fd8bd; }
.tile--clip { grid-area: clip; --t: #7fa6ee; }
.tile--music .tile__copy,
.tile--treats .tile__copy,
.tile--clip .tile__copy { margin-top: auto; }

.tile--health { grid-area: health; --t: #c39acf; }
.tile--health .tile__copy { position: relative; z-index: 1; max-width: 46%; }
.health { position: absolute; right: 3%; bottom: -14px; width: min(56%, 400px); display: flex; justify-content: center; }
.health .sprite { width: 50%; }

/* ---------- Studio ---------- */

.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.studio__preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-card);
  background: color-mix(in oklab, var(--tint) var(--tint-mix), var(--surface));
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: --tint 400ms var(--ease-out);
}
.studio__img {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 92%;
  translate: -50% 0;
  transform-origin: 50% 86%;
  transition: opacity 140ms ease, filter 140ms ease, transform 220ms var(--ease-out);
}
.studio__img.is-swapping { opacity: 0.4; filter: blur(3px); transform: scale(0.985); }
.studio__name {
  position: absolute;
  left: 50%;
  top: 22px;
  translate: -50% 0;
  margin: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--bubble);
  box-shadow: var(--shadow);
  font-family: var(--display);
  font-weight: 800;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.control { border: 0; margin: 28px 0 0; padding: 0; min-width: 0; }
.control legend,
.control label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.control__value { font-weight: 500; color: var(--ink-2); font-size: 0.9rem; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--c);
  box-shadow: inset 0 -3px 6px rgb(0 0 0 / 0.12), inset 0 0 0 1px rgb(0 0 0 / 0.08);
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.swatch:active { transform: scale(0.92); }
.swatch[aria-checked="true"] {
  box-shadow: inset 0 -3px 6px rgb(0 0 0 / 0.12), 0 0 0 3px var(--bg), 0 0 0 5px var(--ink);
}

.segmented {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.segmented button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-2);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.segmented button:active { transform: scale(0.97); }
.segmented button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip__price { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 0.8rem; color: var(--ink-2); }
.chip__price i { color: #e0a100; }
.chip[aria-checked="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip[aria-checked="true"] .chip__price { color: inherit; opacity: 0.8; }

.control--name input {
  width: min(100%, 320px);
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 22%, transparent);
  transition: box-shadow 150ms ease;
}
.control--name input::placeholder { color: var(--ink-2); }
.control--name input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }

/* The holiday closet: ten hats, five by two on wide screens, a swipeable row below that. */
.holidays { margin-top: clamp(64px, 8vw, 104px); }
.holidays__head { max-width: 620px; }
.holidays__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.7rem, 1.25rem + 1.5vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.holidays__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.hcard {
  position: relative;
  border-radius: var(--r-card);
  padding: 0 18px 20px;
  background: linear-gradient(170deg,
    color-mix(in oklab, var(--c) calc(var(--tint-mix) + 10%), var(--surface)),
    color-mix(in oklab, var(--c) calc(var(--tint-mix) - 8%), var(--surface)));
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}
.hcard.is-now { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow); }
@media (hover: hover) and (pointer: fine) {
  .hcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
  .hcard.is-now:hover { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-lg); }
}
.hcard__art {
  position: relative;
  width: 112%;
  margin: -6% -6% -12%;
  aspect-ratio: 1;
  cursor: pointer;
}
.hcard__art > .pet__still { width: 100%; }
.hcard__name { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.12rem; line-height: 1.2; }
.hcard__holiday { margin: 2px 0 0; font-size: 0.86rem; color: var(--ink-2); }
.hcard__when {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 12px 0 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.hcard.is-now .hcard__when { background: var(--accent); color: var(--accent-ink); box-shadow: none; }

/* ---------- Light on your Mac ---------- */

.light__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; align-items: end; margin-bottom: 48px; }
.light__head .h2,
.light__head .sub { grid-column: 2; }
.light__sprite { grid-row: 1 / span 2; width: 150px; margin: 0 -10px -18px -18px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.stat { border-top: 1px solid var(--line); padding-top: 20px; }
.stat dt { color: var(--ink-2); font-size: 0.95rem; }
.stat dd {
  margin: 6px 0 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat dd small { font-size: 0.42em; letter-spacing: 0; margin-left: 4px; color: var(--ink-2); }

/* ---------- Pricing ---------- */

.billing {
  display: inline-flex;
  margin-top: 28px;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.billing button {
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-2);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.billing button:active { transform: scale(0.97); }
.billing button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 92px 32px 32px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.plan--pro { box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-lg); }
.plan__pets {
  position: absolute;
  left: 28px;
  top: -30px;
  display: flex;
  align-items: flex-end;
}
.plan__pets img { width: 76px; height: 76px; margin-right: -24px; filter: drop-shadow(0 6px 8px rgb(52 38 84 / 0.18)); }
.plan--pro .plan__pets img { width: 62px; height: 62px; margin-right: -26px; }
.plan__name { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--display); font-weight: 900; font-size: 1.6rem; letter-spacing: -0.02em; }
.plan__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: opacity 200ms ease;
}
.plan__badge.is-hidden { opacity: 0; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 10px 0 0; }
.plan__amount { font-family: var(--display); font-weight: 900; font-size: 3rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__per { color: var(--ink-2); font-size: 0.95rem; }
.plan__list { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list i { color: var(--accent); margin-top: 4px; }

/* ---------- FAQ ---------- */

.faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-weight: 700;
  font-size: 1.08rem;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin: -8px 0 24px; color: var(--ink-2); max-width: 54ch; }

/* ---------- Final CTA ---------- */

.cta { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter) 0; }
.cta__panel {
  position: relative;
  border-radius: var(--r-card);
  padding: clamp(48px, 7vw, 88px) 24px 0;
  text-align: center;
  background:
    radial-gradient(80% 70% at 50% 110%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.cta__panel .lead { margin: 16px auto 32px; max-width: 40ch; text-wrap: balance; }
.lineup {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: clamp(40px, 6vw, 64px) -24px 0;
  padding: 0 8px;
}
.lineup img {
  width: clamp(48px, 7vw, 96px);
  margin: 0 clamp(-14px, -1vw, -6px) -6px;
  transform-origin: 50% 100%;
  transition: transform 260ms var(--ease-out);
}
.lineup img.bob { animation: bob 2.8s ease-in-out infinite; animation-delay: var(--d); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (hover: hover) and (pointer: fine) {
  .lineup img:hover { animation: none; transform: translateY(-14px) scale(1.06); }
}

/* ---------- Footer ---------- */

.footer { margin-top: 64px; border-top: 1px solid var(--line); }
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer nav a { color: var(--ink-2); text-decoration: none; font-size: 0.94rem; }
.footer nav a:hover { color: var(--ink); }
.footer__note { margin: 0 0 0 auto; color: var(--ink-2); font-size: 0.9rem; }

/* ---------- Film ---------- */

.film__frame {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--bg); }
.film__play {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 4vw, 32px);
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 22px 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), opacity 200ms ease, scale 300ms var(--ease-out);
}
.film__play:active { transform: scale(0.97); }
.film__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 18px;
}
.film__icon { position: relative; }
.film__icon i { margin-left: 2px; transition: opacity 150ms ease; }
.film.is-loading .film__icon i { opacity: 0; }
.film.is-loading .film__icon::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 999px;
  border: 2.5px solid rgb(255 255 255 / 0.35);
  border-top-color: var(--accent-ink);
  animation: film-spin 700ms linear infinite;
}
@keyframes film-spin { to { rotate: 1turn; } }
.film__time { color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.film.is-playing .film__play { opacity: 0; scale: 0.9; pointer-events: none; }
/* The end card is a fixed frame: "Watch again" sits in the gap between its tagline and the pet lineup. */
.film.is-ended .film__play { bottom: auto; top: 71%; }
@media (hover: hover) and (pointer: fine) {
  .film__play:hover .film__icon { background: var(--accent-hover); }
  .film__frame:hover .film__play { scale: 1.04; }
}
@media (max-width: 640px) and (orientation: portrait) {
  .film__frame { aspect-ratio: 9 / 16; width: min(100%, calc(76svh * 9 / 16)); }
  .film.is-ended .film__play { top: 62%; }
}

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--stagger, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .holidays__row {
    display: flex;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .holidays__row::-webkit-scrollbar { display: none; }
  .hcard { flex: none; width: 200px; scroll-snap-align: start; }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "focus focus"
      "wander wander"
      "pet music"
      "treats clip"
      "health health";
  }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 32px; }
  .hero__copy { max-width: 560px; }
  .studio__grid { grid-template-columns: minmax(0, 1fr); }
  .studio__preview { max-width: 520px; width: 100%; margin: 0 auto; }
  .dayplayer { grid-template-columns: minmax(0, 1fr); }
  .dayplayer__stage { min-height: 0; aspect-ratio: 1 / 0.95; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; row-gap: 56px; }
  .faq__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "focus" "wander" "pet" "music" "treats" "clip" "health"; }
  .tile--focus { min-height: 600px; }
  .tile--focus .focus-meter { margin-top: 18px; }
  .tile__sprite--focus { width: 92%; right: -4%; }
  .tile--wander { min-height: 400px; padding-top: 132px; }
  .wander__dangle { right: 50%; translate: 50% 0; width: 140px; }
  .tile--wander .tile__copy,
  .tile--health .tile__copy { max-width: none; }
  .tile--health { min-height: 340px; }
  .health { width: 100%; right: 0; }
  .light__head { grid-template-columns: minmax(0, 1fr); }
  .light__head .h2,
  .light__head .sub { grid-column: 1; }
  .light__sprite { grid-row: auto; margin: 0 0 2px -16px; width: 120px; }
  .stat dd { font-size: 2.3rem; }
  .plan { padding: 84px 22px 24px; }
  .plan__pets { left: 18px; }
  /* Ten Pro pets at full size are wider than a phone; this keeps the row inside the card. */
  .plan--pro .plan__pets img { width: 50px; height: 50px; margin-right: -21px; }
  .footer__note { margin-left: 0; width: 100%; }
  .picker__btn { width: 44px; height: 44px; flex: none; }
  .hcard { width: 172px; padding: 0 14px 18px; }
  .dayplayer__stage { aspect-ratio: 1 / 1.1; }
  .dayplayer__stage .bubble { top: 6%; width: 86%; }
  .dayplayer__stage .day__clock { display: none; }
  .stop { width: 36px; }
  .stop__dot { width: 36px; height: 36px; font-size: 15px; }
  .timeline__track { left: 18px; right: 18px; top: 17px; }
  .stop__time { display: none; }
  .picker { justify-items: stretch; margin-inline: calc(var(--gutter) * -1); }
  .picker__row { flex-wrap: nowrap; justify-content: safe center; overflow-x: auto; padding: 2px var(--gutter); scrollbar-width: none; }
  .picker__row::-webkit-scrollbar { display: none; }
  .stage { aspect-ratio: 1 / 1.12; }
  .stage .bubble { top: 5%; width: 88%; padding: 12px 14px 14px; }
  .bubble__text { font-size: 0.92rem; }
  .bubble__btn { height: 34px; padding: 0 14px; font-size: 0.86rem; }
  .stage__pet { width: 84%; bottom: -5%; }
  .nav .btn--sm { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .breathe,
  .lineup img.bob,
  .wander__walker { animation: none; }
  .wander__walker { transform: translateX(30%); }
  .sprite > img { animation-play-state: paused !important; }
  .js .reveal { transform: none; transition: opacity 400ms ease; }
  .coin,
  .heart { animation-duration: 1ms; }
  .dayplayer__stage,
  .dayplayer__sun { transition: none; }
}
