:root {
  --pink: #ff5fae;
  --hot: #ff2d8a;
  --gold: #ffc533;
  --lilac: #a979ff;
  --ink: #2a0f45;
  --plum: #4b1d4f;
  --cream: #fff7fb;
  --text: #4a2a5e;
  --round: 'Fredoka', ui-rounded, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--round);
  font-weight: 500;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--hot); }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Sticker headings: plain text until site.js swaps in the SVG. */
.crisp {
  margin: 0 auto;
  font-family: 'Bowlby One', var(--round);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  color: var(--hot);
}
.crisp.ready svg { display: block; height: 1.25em; width: auto; max-width: 100%; margin: 0 auto; overflow: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(28px, env(safe-area-inset-top)) 16px 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero-sky {
  position: absolute; inset: 0; z-index: -2;
  background: url(/img/sky.webp) center 40% / cover no-repeat, #c8b6e8;
}
.hero-sky::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 250, 240, .35), transparent 60%),
              linear-gradient(to bottom, transparent 70%, var(--cream));
}
.hero-inner {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 40px;
}
.hero-copy { text-align: center; }
.logo { margin: 0 auto; max-width: 560px; }
.logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(75, 29, 79, .25)); animation: bob 5s ease-in-out infinite; }
.hero-copy .crisp { font-size: clamp(40px, 6vw, 66px); margin-top: -6px; }
.lede {
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 600;
  color: var(--plum);
  margin: 14px auto 22px;
  max-width: 30em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}
.cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.store { display: inline-block; border-radius: 14px; transition: transform .15s ease; }
.store:hover { transform: translateY(-2px) scale(1.03); }
.store:active { transform: scale(.97); }
.store img { display: block; width: 190px; height: auto; }
.pills { list-style: none; padding: 0; margin: 18px 0 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pills li {
  background: rgba(255, 255, 255, .85);
  color: var(--plum);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(75, 29, 79, .15);
}
.pills li::before { content: '✦ '; color: var(--gold); }

/* the trailer, in a phone */
.phone {
  margin: 0 auto;
  width: min(300px, 78vw);
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #fff, #ffe0f0);
  box-shadow: 0 0 0 4px var(--plum), 0 24px 50px rgba(75, 29, 79, .35);
  transform: rotate(3deg);
}
.phone-screen { position: relative; width: 100%; aspect-ratio: 554 / 1200; border-radius: 37px; overflow: hidden; background: var(--ink); }
.phone video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sound {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  border: 0; border-radius: 999px; padding: 8px 14px;
  font: 600 14px var(--round); color: var(--plum);
  background: rgba(255, 255, 255, .92); cursor: pointer; white-space: nowrap;
  box-shadow: 0 3px 0 rgba(75, 29, 79, .25);
}
.sound .sound-on, .sound[aria-pressed='true'] .sound-off { display: none; }
.sound[aria-pressed='true'] .sound-on { display: inline; }
.sound[aria-pressed='true'] { opacity: .75; }

/* floating Cuties around the hero */
.floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fl { position: absolute; width: clamp(80px, 11vw, 150px); height: auto; filter: drop-shadow(0 10px 10px rgba(75, 29, 79, .2)); animation: bob 4.5s ease-in-out infinite; }
.fl-1 { left: 3%; top: 10%; animation-delay: -1s; }
.fl-2 { left: 7%; bottom: 14%; animation-delay: -2.2s; }
.fl-3 { right: 4%; top: 7%; animation-delay: -.4s; }
.fl-4 { right: 2%; bottom: 10%; animation-delay: -3s; }
.fl-5 { left: 40%; bottom: 3%; width: clamp(70px, 8vw, 110px); animation-delay: -1.7s; }
.fl-6 { left: 44%; top: 2%; width: clamp(60px, 7vw, 96px); animation-delay: -2.8s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* ---------- Meet the Cuties ---------- */
section { padding: 72px 16px; }
section > .crisp { font-size: clamp(38px, 6vw, 64px); }
.sub { text-align: center; font-size: 19px; font-weight: 600; margin: 12px auto 0; max-width: 32em; }

.meet { padding-bottom: 40px; }
.marquee {
  margin: 36px -16px 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.track { list-style: none; margin: 0; padding: 16px 0 24px; display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 9px)); } }
.card {
  width: 190px; flex: none;
  border-radius: 26px;
  padding: 14px 12px 12px;
  text-align: center;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .5) 1.6px, transparent 2px) 0 0 / 16px 16px,
    linear-gradient(160deg, var(--b), var(--a));
  box-shadow: 0 0 0 4px #fff, 0 10px 22px rgba(75, 29, 79, .18);
  transform: rotate(-2deg);
}
.card:nth-child(even) { transform: rotate(2deg); }
.card img { display: block; width: 100%; height: 160px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(75, 29, 79, .2)); animation: bob 4s ease-in-out infinite; animation-delay: var(--d); }
.card span {
  display: inline-block; margin-top: 6px;
  background: #fff; color: var(--plum);
  font-weight: 700; font-size: 17px;
  padding: 3px 14px; border-radius: 999px;
}

/* ---------- Catch / Show off / Collect ---------- */
.how { display: grid; gap: 28px; max-width: 980px; margin: 0 auto; }
.step {
  display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 28px;
  background: #fff;
  border-radius: 36px;
  padding: 28px 36px;
  box-shadow: 0 0 0 4px #ffe0f0, 0 14px 30px rgba(75, 29, 79, .1);
}
.step.flip { grid-template-columns: 1fr 240px; }
.step.flip .step-art { order: 2; }
.step-art { width: 100%; height: auto; filter: drop-shadow(0 10px 10px rgba(75, 29, 79, .2)); animation: bob 5s ease-in-out infinite; }
.step .crisp { font-size: clamp(36px, 4.6vw, 52px); margin: 0; }
.step .crisp.ready svg { margin: 0; }
.step p { font-size: 20px; line-height: 1.45; margin: 10px 0 0; }
.fams { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px 16px; }
.fams li { display: flex; flex-direction: column; align-items: center; font-weight: 700; font-size: 15px; color: var(--plum); }
.fams img { width: 56px; height: 56px; object-fit: contain; }

/* ---------- Final call ---------- */
.final {
  text-align: center;
  padding-bottom: 88px;
  background: radial-gradient(ellipse at 50% 100%, #ffd6ec, transparent 70%);
}
.grump { width: clamp(150px, 22vw, 220px); height: auto; filter: drop-shadow(0 12px 12px rgba(75, 29, 79, .2)); animation: bob 4.6s ease-in-out infinite; }
.final .crisp { margin-top: 8px; }
.final .sub { margin-bottom: 24px; }
.soon { font-weight: 600; color: var(--plum); opacity: .7; margin: 14px 0 0; }

/* ---------- Footer ---------- */
.foot {
  text-align: center;
  padding: 36px 16px max(36px, env(safe-area-inset-bottom));
  background: var(--plum);
  color: #f4dcef;
}
.foot img { border-radius: 14px; }
.foot nav { display: flex; justify-content: center; gap: 24px; margin: 12px 0; }
.foot a { color: #fff; font-weight: 700; text-decoration: none; font-size: 17px; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 0; font-size: 14px; }

/* ---------- Phones ---------- */
@media (max-width: 820px) {
  .hero { padding-top: max(20px, env(safe-area-inset-top)); }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .phone { transform: none; width: min(270px, 72vw); }
  .hero-sky { background-position: center 46%; }
  .hero-sky::after {
    background: linear-gradient(to bottom, rgba(255, 244, 250, .55), rgba(255, 244, 250, .15) 45%, transparent 60%),
                linear-gradient(to bottom, transparent 85%, var(--cream));
  }
  .fl-5, .fl-6 { display: none; }
  .fl { width: 74px; }
  .fl-1 { left: 4px; top: 330px; width: 66px; }
  .fl-3 { right: 6px; top: 316px; width: 64px; }
  .fl-2 { left: -6px; top: auto; bottom: 22%; }
  .fl-4 { right: -6px; top: auto; bottom: 30%; }
  section { padding: 56px 16px; }
  .step, .step.flip { grid-template-columns: 1fr; text-align: center; padding: 24px 20px; gap: 8px; }
  .step.flip .step-art { order: 0; }
  .step-art { width: 170px; margin: 0 auto; }
  .step .crisp.ready svg { margin: 0 auto; }
  .fams { justify-content: center; gap: 8px 6px; }
  .fams img { width: 50px; height: 50px; }
  .card { width: 150px; }
  .card img { height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow-x: auto; }
}

/* ---------- Text pages (privacy, support) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.page-head { text-align: center; padding: 24px 16px 8px; background: linear-gradient(#ffe6f3, var(--cream)); }
.page-head a img { width: min(280px, 70vw); height: auto; }
.page h1 { font-family: 'Bowlby One', var(--round); font-weight: 400; color: var(--plum); font-size: clamp(30px, 5vw, 42px); margin: 8px 0 4px; }
.page h2 { color: var(--hot); font-size: 22px; margin: 32px 0 6px; }
.page p, .page li { font-size: 18px; line-height: 1.55; }
.page .updated { opacity: .7; margin-top: 0; }
