/* ============================================================
   Cheddar — cheddarcam.com
   Plain static CSS. No build step. Self-hosted fonts.
   Design system mirrors the app's "Soft Toybox" palette.
   ============================================================ */

/* ---------- Self-hosted Nunito (variable, latin) ---------- */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 500 800;      /* variable range */
  font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  /* Soft Toybox palette (exact app values) */
  --bg-center: #FFF8E8;
  --bg-edge:   #F5E7C5;
  --cream:     #FBF3DC;
  --ink:       #2F2A26;
  --ink-soft:  #6B6157;   /* muted ink for secondary text (AA on cream) */
  /* App "Painted Toy" palette — the four brand colors (exact values) */
  --yellow:    #FFD54A;   /* yellow — dominant brand color        */
  --gold:      #E0A800;   /* pressed edge for yellow button */
  --splash:    #FECA31;
  --sky:       #3E9BD1;   /* denim — confident painted blue        */
  --orange:    #EE9A17;   /* Settings */
  --mint:      #2CB283;   /* jade — natural botanical green         */
  --purple:    #7A67D9;   /* grape — rich purple                   */
  --coral:     #E45B4E;   /* Delete   */
  --pink:      #F06BA3;   /* Favorite */
  --inactive:  #E8D5A0;

  /* Page + section tints (white page, pastel rounded panels) */
  --page:        #FFFFFF;
  --tint-cream:  #FBF3DC;
  --tint-sky:    #E7F3FB;
  --tint-mint:   #E4F6EE;
  --tint-purple: #EFEBFC;
  --tint-pink:   #FDEAF3;
  --tint-yellow: #FFF3CE;

  /* Primary CTA (ToyButton) — purple on the yellow hero */
  --btn-primary:      #7A67D9;
  --btn-primary-edge: #5A48B2;

  /* Shape — bigger, rounder (Optimizely feel) */
  --r-card: 28px;
  --r-panel: 34px;
  --r-band: clamp(30px, 4vw, 52px);
  --r-viewport: 40px;
  --r-pill: 999px;

  /* Rhythm */
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-gap: clamp(72px, 10vw, 132px);
  --band-gap: clamp(10px, 1.4vw, 18px);

  /* Elevation */
  --shadow-card: 0 20px 44px -24px rgba(47, 42, 38, 0.38);
  --shadow-soft: 0 8px 20px -12px rgba(47, 42, 38, 0.28);

  --ease-toy: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 1.15vw + 14px, 19px);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--page);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 7.5vw, 5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }

p { margin: 0 0 1em; }

/* Visible, friendly focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg-center);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Accent utilities (set --accent without inline styles) ---------- */
.accent-yellow   { --accent: var(--yellow); }
.accent-gold     { --accent: var(--gold); }
.accent-splash   { --accent: var(--splash); }
.accent-sky      { --accent: var(--sky); }
.accent-orange   { --accent: var(--orange); }
.accent-mint     { --accent: var(--mint); }
.accent-purple   { --accent: var(--purple); }
.accent-coral    { --accent: var(--coral); }
.accent-pink     { --accent: var(--pink); }
.accent-ink      { --accent: var(--ink); }
.accent-inactive { --accent: var(--inactive); }

.pt-0 { padding-top: 0; }
.nowrap { white-space: nowrap; }

/* ---------- Stacked "sheet" sections (Optimizely rhythm) ----------
   Full-width panels with rounded TOP corners only; each slides up over
   the previous section, with a soft top shadow for depth. --------------- */
main { position: relative; display: block; }
.band {
  position: relative;
  border-radius: var(--r-band) var(--r-band) 0 0;
  padding-block: clamp(66px, 9vw, 132px);
  margin-top: calc(-1 * var(--r-band));
  box-shadow: 0 -16px 40px -22px rgba(47, 42, 38, 0.24);
}
/* First band (hero) is full-bleed at the very top: no radius/overlap */
main > .band:first-child {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}
/* Soft tints */
.band--sky-tint    { background: var(--tint-sky); }
.band--mint-tint   { background: var(--tint-mint); }
.band--purple-tint { background: var(--tint-purple); }
.band--pink-tint   { background: var(--tint-pink); }
.band--cream       { background: var(--tint-cream); }
.band--white       { background: var(--page); }
/* Bold, saturated color blocks (toy-like moments) */
.band--yellow { background: var(--yellow); }
.band--blue   { background: var(--sky);    color: #fff; }
.band--purple { background: var(--purple); color: #fff; }
.band--green  { background: var(--mint);   color: #fff; }
.band--blue .eyebrow, .band--purple .eyebrow, .band--green .eyebrow { color: rgba(255,255,255,0.85); }
.band--blue h2, .band--blue h3, .band--blue .lede,
.band--purple h2, .band--purple h3, .band--purple .lede,
.band--green h2, .band--green h3, .band--green .lede { color: #fff; }
/* Full-bleed image band — edge to edge, keep rounded top for the stack */
.band--photo { padding: 0; overflow: hidden; }
.band.clip { overflow: hidden; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--section-gap); }

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6em;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  font-weight: 600;
}

/* ============================================================
   Header / nav
   ============================================================ */
/* Floating header: a logo pill on the left + a nav cluster pill on the right,
   both floating over the hero with generous top margin (Optimizely style). */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: clamp(18px, 2.4vw, 34px);
  background: transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1240px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  background: #fff;
  padding: 8px 22px 8px 11px;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 28px -16px rgba(47, 42, 38, 0.45);
}
.brand img { width: 46px; height: 46px; border-radius: 13px; }

/* Right-hand cluster: nav links + store badges inside one rounded pill */
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  background: #fff;
  padding: 7px 8px 7px 22px;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 28px -16px rgba(47, 42, 38, 0.45);
}
.nav-links a.nav-text {
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.96rem;
}
.nav-links a.nav-text:hover { color: var(--purple); }
.nav-badges { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; }

/* ============================================================
   ToyButton — chunky pill with solid pressable bottom edge
   ============================================================ */
.toy-btn {
  --btn-face: var(--btn-primary);
  --btn-edge: var(--btn-primary-edge);
  --btn-text: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1;
  color: var(--btn-text);
  background: var(--btn-face);
  border: none;
  border-radius: var(--r-pill);
  padding: 16px 30px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 5px 0 0 var(--btn-edge), var(--shadow-soft);
  transition: transform 0.12s var(--ease-toy),
              box-shadow 0.12s var(--ease-toy);
  will-change: transform;
}
.toy-btn:hover { transform: translateY(-1px) rotate(-0.6deg) scale(1.02); }
.toy-btn:active,
.toy-btn.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 2px 0 0 var(--btn-edge), var(--shadow-soft);
}
.toy-btn .btn-emoji { font-size: 1.15em; }

/* Secondary / quieter chip (e.g. "iOS coming soon") */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--inactive);
  border-radius: var(--r-pill);
  padding: 13px 22px;
  border: none;
  text-decoration: none;
}
.chip.is-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--inactive);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ============================================================
   Hero — bold yellow "cheese" with a playful camera-UI phone
   ============================================================ */
.hero {
  overflow: hidden;
  padding-top: clamp(128px, 16vw, 200px);
  padding-bottom: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(90% 70% at 82% 12%, color-mix(in srgb, var(--splash) 70%, var(--yellow)) 0%, transparent 55%),
    radial-gradient(80% 80% at 10% 100%, color-mix(in srgb, var(--orange) 32%, var(--yellow)) 0%, transparent 60%),
    var(--yellow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 0.32em; max-width: 13ch; }
.hero .subline {
  max-width: 42ch;
  margin-bottom: 1.5em;
  font-size: clamp(1.12rem, 1.5vw, 1.38rem);
  color: color-mix(in srgb, var(--ink) 84%, transparent);
  font-weight: 700;
}
.hero .cta-row { justify-content: flex-start; }
/* On the yellow hero, the quiet secondary CTA is an ink outline pill */
.hero .chip.is-ghost {
  color: var(--ink);
  padding: 14px 24px;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 26%, transparent);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-weight: 800;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }

/* Right-hand visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.hero-phone {
  width: clamp(220px, 30vw, 300px);
  /* Smooths the cursor-parallax drift added in main.js ("Hero parallax").
     Roll back by deleting that JS block; this transition is harmless alone. */
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}

/* --- Interactive hero camera: press shutter → flash → next photo --- */
.hero-cam {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: #12100e;
}
.hcam-view {
  position: relative; flex: 1; overflow: hidden;
}
.hcam-frame {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
}
.hcam-frame.is-current { opacity: 1; visibility: visible; }
/* Hero viewfinder photos — cover-cropped into the portrait screen.
   Swap these paths to change which photos cycle on each shutter press. */
.hcam-frame.hf-1 { background: #d9cdae url("../assets/img/hero/hero-1.jpg") center / cover no-repeat; }
.hcam-frame.hf-2 { background: #d9cdae url("../assets/img/hero/hero-2.jpg") center / cover no-repeat; }
.hcam-frame.hf-3 { background: #d9cdae url("../assets/img/hero/hero-3.jpg") center / cover no-repeat; }
.hcam-frame.hf-4 { background: #d9cdae url("../assets/img/hero/hero-4.jpg") center / cover no-repeat; }
.hcam-subject { font-size: clamp(3.4rem, 9vw, 5rem); filter: drop-shadow(0 8px 8px rgba(0,0,0,0.22)); }
.hcam-flash {
  position: absolute; inset: 0; background: #fff;
  opacity: 0; pointer-events: none;
}
.hcam-flash.is-flash { animation: hero-flash 360ms ease-out; }
@keyframes hero-flash { 0% { opacity: 0; } 12% { opacity: 0.96; } 100% { opacity: 0; } }
.hcam-bar {
  flex: none; height: 27%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(14px, 4%, 24px);
  background: linear-gradient(180deg, #1c1916 0%, #12100e 100%);
}
.hcam-side {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem;
  background: rgba(255,255,255,0.08);
}
.hcam-shutter {
  width: 62px; height: 62px; flex: none;
  border-radius: 50%; cursor: pointer;
  background: var(--yellow);
  border: 5px solid #fff;
  box-shadow: 0 5px 0 var(--gold), 0 8px 16px -6px rgba(0,0,0,0.5);
  transition: transform 0.1s var(--ease-toy), box-shadow 0.1s var(--ease-toy);
}
.hcam-shutter:hover { transform: translateY(-1px); }
.hcam-shutter:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--gold), 0 4px 10px -6px rgba(0,0,0,0.5); }

/* Character speech bubbles floating around the phone */
.hero-say { z-index: 4; transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }
.hero-say .em { font-size: 1.15em; margin-right: 5px; }
.hero-visual .say-1 { top: 2%;  left: -8%; }
.hero-visual .say-2 { top: 20%; right: -10%; }
.hero-visual .say-3 { bottom: 20%; left: -10%; }
.hero-visual .say-4 { bottom: 2%; right: -7%; }
@media (max-width: 820px) {
  .hero-visual .say-1 { top: -3%; left: 0%; }
  .hero-visual .say-2 { top: 12%; right: 0%; }
  .hero-visual .say-3 { bottom: 14%; left: 0%; }
  .hero-visual .say-4 { bottom: -2%; right: 0%; }
}
@media (max-width: 520px) {
  .hero-visual .say-2, .hero-visual .say-3 { display: none; }
}

/* --- CSS camera-UI screen (the app "moment") --- */
.cam-ui {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14px;
  gap: 10px;
  background: linear-gradient(180deg, #fff 0%, var(--tint-cream) 100%);
}
.cam-topbar { display: flex; justify-content: space-between; align-items: center; }
.cam-chip {
  font-weight: 800; font-size: 0.62rem; letter-spacing: 0.02em;
  color: #fff; background: var(--purple);
  padding: 5px 11px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 4px;
}
.cam-dot-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 0.9rem; background: var(--accent, var(--mint)); box-shadow: 0 3px 0 rgba(0,0,0,0.18); }
.cam-viewport {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(60% 60% at 50% 42%, #ffe08a 0%, transparent 70%),
    linear-gradient(160deg, #ffd9ec 0%, #cfeffb 55%, #d6f4e4 100%);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.7);
}
.cam-subject { font-size: clamp(3rem, 8vw, 4.6rem); filter: drop-shadow(0 6px 6px rgba(0,0,0,0.14)); animation: subj-bob 3.4s ease-in-out infinite; }
@keyframes subj-bob { 0%,100%{transform:translateY(0) rotate(-3deg);} 50%{transform:translateY(-6px) rotate(3deg);} }
.cam-controls {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 6px 4px;
}
.cam-ctrl { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.1rem; background: var(--accent, var(--sky)); box-shadow: 0 4px 0 rgba(0,0,0,0.16); }
.cam-shutter {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 5px 0 var(--gold), 0 8px 14px -6px rgba(0,0,0,0.4);
  display: grid; place-items: center;
  border: 4px solid #fff;
}
.cam-shutter::after { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); }

/* --- Floating toy-button + sparkle stickers around the phone --- */
.hero-stickers { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sticker {
  position: absolute;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 0 rgba(0,0,0,0.14), 0 12px 22px -10px rgba(0,0,0,0.35);
  font-size: 1.5rem;
  animation: float-soft 7s ease-in-out infinite;
}
.sticker--sparkle { background: none; box-shadow: none; color: #fff; font-size: 1.8rem; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15)); }
.sticker.s1 { width: 60px; height: 60px; background: var(--sky);    top: -5%;  left: 0%;   animation-delay: .2s; }
.sticker.s2 { width: 52px; height: 52px; background: var(--mint);   bottom: 3%; left: -5%;  animation-delay: 1.1s; }
.sticker.s3 { width: 56px; height: 56px; background: var(--pink);   top: 6%;   right: -5%; animation-delay: .6s; }
.sticker.s4 { width: 48px; height: 48px; background: var(--orange); bottom: 14%; right: -2%; animation-delay: 1.6s; }
.sticker.s5 { top: 32%; left: -9%;  animation-delay: .9s; }
.sticker.s6 { bottom: 28%; right: -9%; animation-delay: .3s; }
@media (max-width: 820px) {
  .sticker.s1 { top: -4%; left: 6%; }
  .sticker.s3 { right: 4%; }
  .sticker.s5, .sticker.s6 { display: none; }
}

@media (max-width: 820px) {
  .hero { text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: clamp(28px, 7vw, 48px); }
  .hero h1 { max-width: 15ch; margin-inline: auto; }
  .hero .subline { margin-inline: auto; }
  .hero .cta-row { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
}

/* ============================================================
   Purpose blurb
   ============================================================ */
.purpose {
  text-align: center;
}
.purpose .container { max-width: 780px; }
.purpose p {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 600;
  color: var(--ink);
}
.purpose .pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.mini-pill {
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   Feature panels — alternating layout
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}
.feature + .feature { margin-top: var(--section-gap); }
.feature .feature-media { display: flex; justify-content: center; }
.feature.reverse .feature-text { order: 2; }
.feature.reverse .feature-media { order: 1; }

.feature-icon {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  font-size: 1.9rem;
  border-radius: 20px;
  background: color-mix(in srgb, var(--accent, var(--yellow)) 26%, var(--cream));
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent, var(--yellow)) 55%, transparent);
  margin-bottom: 20px;
}
.feature h2 {
  display: inline-block;
}
.feature .accent-bar {
  display: block;
  width: 56px; height: 6px;
  border-radius: var(--r-pill);
  background: var(--accent, var(--yellow));
  margin: 4px 0 18px;
}
.feature ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.feature ul li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
  color: var(--ink);
}
.feature ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent, var(--yellow));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, var(--yellow)) 22%, transparent);
}

/* ============================================================
   Phone frame (CSS-drawn) + graceful screenshot placeholder
   ============================================================ */
.phone {
  position: relative;
  width: min(280px, 76vw);
  aspect-ratio: 9 / 19;
  background: #211d1a;
  border-radius: var(--r-viewport);
  padding: 12px;
  box-shadow:
    0 30px 60px -24px rgba(47, 42, 38, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone::before { /* speaker notch */
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-center);
  position: relative;
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Placeholder shown until Ian drops in real screenshots */
.screenshot-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(90% 70% at 50% 20%,
      color-mix(in srgb, var(--accent, var(--yellow)) 22%, var(--bg-center)) 0%,
      var(--bg-center) 70%);
  color: var(--ink-soft);
}
.screenshot-placeholder .ph-emoji {
  font-size: 2.6rem;
  filter: saturate(1.1);
}
.screenshot-placeholder .ph-label {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
}
.screenshot-placeholder .ph-note {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.75;
  max-width: 22ch;
}
/* When a real screenshot loads, JS adds .has-shot and hides placeholder */
.has-shot .screenshot-placeholder { display: none; }

/* ============================================================
   Demo strip — voice chips + ContentCard (app signature)
   ============================================================ */
.demo {
  text-align: center;
}
.demo .demo-head { max-width: 640px; margin-inline: auto; }

.voice-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px auto 0;
  max-width: 760px;
}
.voice-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--cream);
  border: none;
  border-radius: var(--r-pill);
  padding: 11px 18px 11px 12px;
  cursor: pointer;
  box-shadow: 0 3px 0 0 color-mix(in srgb, var(--accent, var(--purple)) 60%, var(--gold)),
              var(--shadow-soft);
  transition: transform 0.14s var(--ease-toy), box-shadow 0.14s var(--ease-toy);
}
.voice-chip:hover { transform: translateY(-2px) scale(1.03); }
.voice-chip:active { transform: translateY(2px); box-shadow: 0 1px 0 0 color-mix(in srgb, var(--accent, var(--purple)) 60%, var(--gold)), var(--shadow-soft); }
.voice-chip .vc-emoji {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.05rem;
  background: color-mix(in srgb, var(--accent, var(--purple)) 28%, var(--cream));
}
.voice-chip.is-playing {
  --accent: var(--mint);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 55%, transparent),
              var(--shadow-soft);
}
.voice-chip.is-playing .vc-emoji { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.14); }
}

/* ContentCard — recreates the app's signature card */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 760px;
  margin: 44px auto 0;
}
.content-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: #fff;
  border: 2px solid color-mix(in srgb, var(--accent, var(--purple)) 45%, transparent);
  border-radius: var(--r-card);
  padding: 18px;
  box-shadow: var(--shadow-card);
}
.content-card .cc-play {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  color: #fff;
  background: var(--accent, var(--purple));
  box-shadow: 0 4px 0 0 color-mix(in srgb, var(--accent, var(--purple)) 62%, #000),
              var(--shadow-soft);
  transition: transform 0.12s var(--ease-toy), box-shadow 0.12s var(--ease-toy);
}
.content-card .cc-play:hover { transform: scale(1.06); }
.content-card .cc-play:active { transform: translateY(3px); box-shadow: 0 1px 0 0 color-mix(in srgb, var(--accent, var(--purple)) 62%, #000), var(--shadow-soft); }
.content-card .cc-play svg { width: 22px; height: 22px; margin-left: 2px; }
.content-card .cc-body { flex: 1 1 auto; min-width: 0; }
.content-card .cc-title {
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 3px;
}
.content-card .cc-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0;
}
/* Waveform bars */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  margin-top: 9px;
}
.waveform span {
  flex: 1;
  min-width: 2px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--accent, var(--purple)) 55%, var(--inactive));
  height: 30%;
}
.content-card.is-playing .waveform span {
  animation: wave 0.9s ease-in-out infinite;
  background: var(--accent, var(--purple));
}
.waveform span:nth-child(3n)   { animation-delay: 0.1s; }
.waveform span:nth-child(3n+1) { animation-delay: 0.25s; }
.waveform span:nth-child(3n+2) { animation-delay: 0.4s; }
@keyframes wave {
  0%, 100% { height: 22%; }
  50%      { height: 92%; }
}
.content-card.is-locked { opacity: 0.85; }
.content-card .cc-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--inactive);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  margin-top: 8px;
}

/* ============================================================
   Closing CTA
   ============================================================ */
.closing {
  text-align: center;
}
.closing .container { max-width: 720px; }
.closing-card {
  background: var(--cream);
  border-radius: var(--r-panel);
  padding: clamp(36px, 6vw, 64px) var(--gutter);
  box-shadow: var(--shadow-card);
}
.closing .cta-row { justify-content: center; margin-top: 26px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding-block: 48px 40px;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-footer .foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
  text-decoration: none;
  margin-bottom: 12px;
}
.site-footer .foot-brand img { width: 30px; height: 30px; border-radius: 9px; }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 14px;
}
.site-footer nav a { font-weight: 700; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .made {
  font-size: 0.88rem;
  opacity: 0.85;
}

/* ============================================================
   Legal / prose pages (privacy, contact)
   ============================================================ */
.page-hero {
  padding-top: clamp(110px, 14vw, 150px);
  padding-bottom: clamp(40px, 6vw, 64px);
  text-align: center;
  /* Yellow header band (matches the homepage hero, minus the cheese holes) */
  background:
    radial-gradient(90% 80% at 80% 0%, color-mix(in srgb, var(--splash) 60%, var(--yellow)) 0%, transparent 58%),
    var(--yellow);
}
.page-hero .lede { max-width: 46ch; margin-inline: auto; }

.prose {
  max-width: 860px;
  margin-inline: auto;
  padding-block: clamp(28px, 4vw, 48px);
}
.prose h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin-top: 1.6em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.3em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose .meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 700;
}
.prose .callout {
  border-left: 6px solid var(--sky);
  background: var(--cream);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 22px 0;
}
.prose .callout.warn {
  border-left-color: var(--orange);
  background: color-mix(in srgb, var(--orange) 12%, var(--cream));
}
.prose a { font-weight: 700; }

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--cream);
  border-radius: var(--r-panel);
  padding: clamp(32px, 6vw, 56px);
  box-shadow: var(--shadow-card);
}
.contact-card .big-emoji { font-size: 3rem; margin-bottom: 8px; }
.contact-card .toy-btn { margin-top: 10px; }
.contact-card .fine {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ============================================================
   Store badges (self-hosted, inline-SVG — no third-party embeds)
   ============================================================ */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  text-decoration: none;
  line-height: 1.1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.14s var(--ease-toy), box-shadow 0.14s var(--ease-toy);
  box-shadow: var(--shadow-soft);
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 22px; height: 22px; flex: none; fill: #fff; }
.store-badge .sb-text { display: flex; flex-direction: column; text-align: left; }
.store-badge .sb-top { font-size: 0.62rem; font-weight: 600; opacity: 0.85; letter-spacing: 0.02em; }
.store-badge .sb-name { font-size: 0.98rem; font-weight: 800; }
.store-badge.is-soon { position: relative; opacity: 0.9; }
.store-badge.is-soon .sb-top { color: var(--yellow); opacity: 1; }

/* ============================================================
   Cheese holes — decorative background for the hero
   ============================================================ */
.cheese-holes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.cheese-holes span {
  position: absolute;
  border-radius: 50%;
  background: color-mix(in srgb, var(--yellow) 70%, #d39b12);
  box-shadow: inset 2px 4px 9px rgba(120, 84, 12, 0.28),
              0 1px 0 rgba(255, 255, 255, 0.35);
}
@keyframes hole-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero > .container { position: relative; z-index: 1; }

/* Scattered hole positions/sizes (kept away from the headline column) */
.cheese-holes span:nth-child(1) { top: 11%; left: 6%;  width: 48px; height: 46px; animation-delay: 0s; }
.cheese-holes span:nth-child(2) { top: 33%; left: 13%; width: 26px; height: 25px; animation-delay: 1.1s; }
.cheese-holes span:nth-child(3) { top: 60%; left: 4%;  width: 62px; height: 58px; animation-delay: 0.5s; }
.cheese-holes span:nth-child(4) { bottom: 12%; left: 18%; width: 30px; height: 30px; animation-delay: 1.6s; }
.cheese-holes span:nth-child(5) { top: 9%;  right: 8%;  width: 42px; height: 40px; animation-delay: 0.8s; }
.cheese-holes span:nth-child(6) { top: 42%; right: 5%;  width: 56px; height: 54px; animation-delay: 0.2s; }
.cheese-holes span:nth-child(7) { bottom: 16%; right: 13%; width: 26px; height: 26px; animation-delay: 2s; }
.cheese-holes span:nth-child(8) { top: 66%; right: 19%; width: 34px; height: 32px; animation-delay: 1.3s; }
@media (max-width: 680px) {
  .cheese-holes span:nth-child(2),
  .cheese-holes span:nth-child(4),
  .cheese-holes span:nth-child(8) { display: none; }
}

/* ============================================================
   Features carousel — one phone frame, swipe through slides
   ============================================================ */
.carousel-section { text-align: center; }
.carousel-section .section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); }

/* Phone on the left, caption on the right — at every breakpoint */
.carousel-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 5vw, 68px);
  max-width: 920px;
  margin-inline: auto;
  text-align: left;
}
.carousel-phone { width: clamp(150px, 34vw, 260px); }

.carousel-nav {
  display: flex;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}
.carousel-arrow {
  flex: none;
  width: clamp(44px, 5vw, 54px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 4px 0 0 color-mix(in srgb, var(--accent, var(--yellow)) 45%, var(--inactive)), var(--shadow-soft);
  transition: transform 0.12s var(--ease-toy), box-shadow 0.12s var(--ease-toy);
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover { transform: translateY(-1px) scale(1.05); }
.carousel-arrow:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--inactive), var(--shadow-soft); }
.carousel-arrow[disabled] { opacity: 0.4; cursor: default; transform: none; box-shadow: var(--shadow-soft); }

/* The phone becomes the carousel viewport */
.carousel-phone .phone-screen { padding: 0; }
.carousel-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  position: relative;
}
.carousel-slide .shot {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-center);
}
.carousel-slide .shot img { width: 100%; height: 100%; object-fit: cover; }

/* Caption to the right of the phone */
.carousel-caption {
  text-align: left;
}
.carousel-dots {
  display: flex;
  justify-content: flex-start;
  gap: 9px;
  margin-bottom: 18px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--inactive);
  transition: transform 0.2s var(--ease-toy), background 0.2s ease, width 0.2s ease;
}
.carousel-dot.is-active {
  background: var(--accent, var(--yellow));
  width: 26px;
  border-radius: var(--r-pill);
}
.carousel-caption .cc-slide-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.5em;
}
.carousel-caption .cc-slide-desc {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin: 0;
}
/* Accent underline pip under the active title */
.carousel-caption .cc-slide-title::after {
  content: "";
  display: block;
  width: 48px; height: 6px;
  margin: 14px 0 0;
  border-radius: var(--r-pill);
  background: var(--accent, var(--yellow));
}
@media (max-width: 440px) {
  .carousel-stage { gap: 14px; }
  .carousel-caption .cc-slide-desc { font-size: 0.95rem; }
}

/* ============================================================
   Three value-prop features (Built-to-nurture style)
   ============================================================ */
.value-section { text-align: center; }
.value-section > .container > h2 { margin-bottom: clamp(34px, 6vw, 56px); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 44px);
}
.value-card {
  --accent: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Bare emoji — big, no border/box (so it doesn't read as an app icon) */
.value-card .vc-badge {
  font-size: clamp(3.6rem, 6vw, 4.8rem);
  line-height: 1;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 10px rgba(47, 42, 38, 0.16));
  animation: emoji-wiggle 3.2s ease-in-out infinite;
  transform-origin: 50% 85%;
}
.value-card:nth-child(2) .vc-badge { animation-delay: 0.5s; animation-duration: 3.6s; }
.value-card:nth-child(3) .vc-badge { animation-delay: 1s; animation-duration: 2.9s; }
.value-card:hover .vc-badge { animation-duration: 0.9s; }
@keyframes emoji-wiggle {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-8px) rotate(5deg); }
}
.value-card h3 { margin-bottom: 0.4em; }
.value-card p { color: var(--ink-soft); font-weight: 600; margin: 0; max-width: 34ch; }

/* ============================================================
   Full-width photo band (lifestyle image, edge to edge)
   ============================================================ */
.photo-band {
  min-height: clamp(340px, 46vw, 600px);
  display: grid;
  place-items: end center;
  text-align: center;
  color: #fff;
  /* Gradient placeholder until a real lifestyle photo is dropped at the
     [data-photo] path (assets/img/kid-using-app.jpg); JS swaps it in. */
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.36) 100%),
    linear-gradient(120deg,
      color-mix(in srgb, var(--sky) 85%, #000) 0%,
      var(--mint) 60%,
      var(--yellow) 100%);
  background-size: cover;
  background-position: center;
}
/* Readability overlay over the background photo (dad.jpg) */
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}
.photo-band .pb-inner {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 5vw, 56px);
  /* Lift the text off the very bottom edge so it sits in the lower third
     (over the darkest part of the scrim, clear of the faces in the photo). */
  padding-bottom: clamp(44px, 7vw, 88px);
  max-width: 760px;
}
.photo-band .pb-eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 7px 16px;
  margin-bottom: 16px;
}
.photo-band h2 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28); }
.photo-band p {
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.32);
  margin: 0;
}
/* Legibility scrim once a real photo is set as the background */
.photo-band.has-photo {
  background-blend-mode: normal;
  box-shadow: inset 0 -160px 120px -60px rgba(0, 0, 0, 0.45);
}
.photo-band .pb-placeholder-emoji { font-size: 2.4rem; display: block; margin-bottom: 10px; }
.photo-band.has-photo .pb-placeholder-emoji { display: none; }

/* ============================================================
   Testimonials — "Parents and kids love it!"
   ============================================================ */
.testimonials { text-align: center; }
.testimonials > .container > h2 { margin-bottom: clamp(34px, 6vw, 52px); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 30px);
  max-width: 760px;
  margin-inline: auto;
}
.testi-card {
  background: #fff;
  border-radius: var(--r-card);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.testi-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 16px;
  background: var(--accent, var(--purple));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, var(--purple)) 20%, transparent);
  overflow: hidden;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-card blockquote {
  margin: 0 0 14px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.testi-card .testi-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ============================================================
   Interactive app demo (replaces the feature carousel).
   Phone you actually poke: snap photos, tap one to hear
   Cheddar describe it. Reactive copy on the left.
   ============================================================ */
.appdemo .section-head { max-width: 640px; }
.appdemo-stage {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  max-width: 920px;
  margin-inline: auto;
}
.appdemo-copy { max-width: 420px; }
.ad-step-emoji { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.ad-step-title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.3em; }
.ad-step-desc { color: var(--ink-soft); font-weight: 600; margin: 0; }
.ad-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ad-checks li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: color-mix(in srgb, var(--ink) 42%, transparent);
  transition: color 0.2s ease;
}
.ad-check-box {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 0.78rem; color: #fff;
  background: var(--inactive);
  transition: background 0.25s var(--ease-toy), transform 0.25s var(--ease-toy);
}
.ad-checks li.is-done { color: var(--ink); }
.ad-checks li.is-done .ad-check-box { background: var(--mint); transform: scale(1.08); }

.appdemo-phonewrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.appdemo-phone { width: clamp(210px, 30vw, 270px); }
.ad-cam { position: absolute; inset: 0; display: flex; flex-direction: column; background: #12100e; }
.ad-view { position: relative; flex: 1; overflow: hidden; }
.ad-photo { position: absolute; inset: 0; display: grid; place-items: center; }
.ad-subject { font-size: clamp(3.2rem, 9vw, 4.6rem); filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.22)); }
.ad-grad-1 { background: radial-gradient(120% 90% at 50% 20%, #FFE9A8, var(--yellow) 55%, var(--orange)); }
.ad-grad-2 { background: radial-gradient(120% 90% at 50% 20%, #BFE6F7, var(--sky) 60%, var(--mint)); }
.ad-grad-3 { background: radial-gradient(120% 90% at 50% 20%, #E6DBFF, var(--purple) 60%, var(--pink)); }
.ad-grad-4 { background: radial-gradient(120% 90% at 50% 20%, #C9F3E2, var(--mint) 60%, var(--sky)); }
.ad-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ad-flash.is-flash { animation: hero-flash 360ms ease-out; }
.ad-hint {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55); color: #fff; font-weight: 800; font-size: 0.8rem;
  padding: 7px 14px; border-radius: var(--r-pill); white-space: nowrap;
  transition: opacity 0.25s ease;
}
.ad-hint.is-hidden { opacity: 0; }
.ad-saycard {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  background: rgba(255, 255, 255, 0.96); border-radius: 16px;
  padding: 10px 12px; display: flex; gap: 10px; align-items: center;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}
.ad-say-emoji { font-size: 1.7rem; flex: none; }
.ad-say-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ad-say-body b { font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple); }
.ad-say-text { font-weight: 700; font-size: 0.8rem; line-height: 1.25; color: var(--ink); }
.ad-wave { display: none; }
.ad-saycard.is-playing .ad-wave { display: inline-flex; gap: 2px; height: 12px; align-items: flex-end; }
.ad-wave span { width: 3px; height: 100%; border-radius: 2px; background: var(--purple); animation: wave 1s ease-in-out infinite; }
.ad-wave span:nth-child(2n) { animation-delay: .15s; }
.ad-wave span:nth-child(3n) { animation-delay: .3s; }
.ad-wave span:nth-child(4n) { animation-delay: .45s; }

.ad-bar {
  flex: none; height: 26%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; background: linear-gradient(180deg, #1c1916, #12100e);
}
.ad-side { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; background: rgba(255, 255, 255, 0.08); }
.ad-shutter {
  width: 58px; height: 58px; flex: none; border-radius: 50%; cursor: pointer;
  background: var(--yellow); border: 5px solid #fff;
  box-shadow: 0 5px 0 var(--gold), 0 8px 16px -6px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s var(--ease-toy), box-shadow 0.1s var(--ease-toy);
}
.ad-shutter:hover { transform: translateY(-1px); }
.ad-shutter:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--gold), 0 4px 10px -6px rgba(0, 0, 0, 0.5); }
.ad-shutter.is-full { opacity: 0.45; cursor: default; }

.ad-strip {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  align-items: center; min-height: 56px; width: min(100%, 300px);
}
.ad-strip-empty { color: var(--ink-soft); font-weight: 700; font-size: 0.85rem; }
.ad-thumb {
  width: 50px; height: 50px; flex: none; border-radius: 12px; cursor: pointer;
  border: 3px solid #fff; box-shadow: var(--shadow-soft); padding: 0;
  display: grid; place-items: center; font-size: 1.5rem;
  transition: transform 0.15s var(--ease-toy), border-color 0.15s ease;
}
.ad-thumb:hover { transform: translateY(-2px) scale(1.05); }
.ad-thumb.is-active { border-color: var(--purple); }
.ad-strip--nudge { animation: pulse 1.5s ease-in-out infinite; }

@media (max-width: 760px) {
  .appdemo-stage { grid-template-columns: 1fr; text-align: center; }
  .appdemo-copy { max-width: none; order: 2; }
  .appdemo-phonewrap { order: 1; }
  .ad-checks { max-width: 300px; margin-inline: auto; }
}

/* Faithful Cheddar camera UI — matches the real app (cream screen,
   chunky yellow shutter, orange settings, blue gallery, green flip,
   "Wizard says…" poem sheet). Used in the demo (and hero). */
.appcam {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--cream); padding: 12px;
}
.appcam-view {
  position: relative; flex: 1; border-radius: 20px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 34%, #DCEBD6 0%, #A9C9A6 55%, #7BA98C 100%);
  box-shadow: inset 0 0 0 1px rgba(47, 42, 38, 0.06), inset 0 -46px 60px -34px rgba(0, 0, 0, 0.35);
}
.appcam-flip {
  position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px;
  border-radius: 50%; border: 3px solid var(--mint); background: rgba(255, 255, 255, 0.28);
  color: var(--mint); display: grid; place-items: center; cursor: pointer;
}
.appcam-flip svg { width: 18px; height: 18px; }
.appcam-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.appcam-flash.is-flash { animation: hero-flash 360ms ease-out; }
.appcam-controls { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 4px; }
.appcam-side {
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.16), 0 8px 14px -6px rgba(0, 0, 0, 0.35);
}
.appcam-side svg { width: 22px; height: 22px; }
.appcam-settings { background: var(--orange); }
.appcam-gallery { background: var(--sky); }
.appcam-shutter {
  width: clamp(74px, 33%, 96px); aspect-ratio: 1; flex: none; border-radius: 50%; cursor: pointer; padding: 0;
  background: radial-gradient(circle at 38% 32%, #FFE783 0%, var(--yellow) 58%, var(--gold) 100%);
  border: 5px solid #fff;
  box-shadow: 0 0 0 5px #D4C8A6, 0 8px 16px -5px rgba(47, 42, 38, 0.5);
  transition: transform 0.1s var(--ease-toy), box-shadow 0.1s var(--ease-toy);
}
.appcam-shutter:hover { transform: translateY(-1px); }
.appcam-shutter:active { transform: translateY(3px) scale(0.98); box-shadow: 0 0 0 5px #D4C8A6, 0 3px 8px -4px rgba(47, 42, 38, 0.5); }

.appcam-say {
  position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(101%);
  background: var(--cream); border-radius: 22px 22px 0 0;
  padding: 10px 14px 14px; box-shadow: 0 -12px 30px -14px rgba(47, 42, 38, 0.55);
  transition: transform 0.42s var(--ease-toy);
}
.appcam.show-say .appcam-say { transform: translateY(0); }
.appcam-say-handle { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(47, 42, 38, 0.16); margin: 0 auto 10px; }
.appcam-say-title { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 900; font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.appcam-poem { text-align: center; color: var(--ink-soft); font-weight: 600; font-size: 0.78rem; line-height: 1.55; margin: 0 0 12px; }
.appcam-play {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: var(--purple); color: #fff; font-family: inherit; font-weight: 800; font-size: 0.86rem;
  border: none; border-radius: var(--r-pill); padding: 11px; cursor: pointer;
  box-shadow: 0 4px 0 var(--btn-primary-edge);
}
.appcam-play svg { width: 15px; height: 15px; }
.appcam-play.is-playing { animation: pulse 1s ease-in-out infinite; }
.appcam-actions { display: flex; justify-content: center; gap: 20px; margin-top: 12px; }
.appcam-act { display: flex; flex-direction: column; align-items: center; gap: 5px; font-family: inherit; font-size: 0.6rem; font-weight: 800; color: var(--ink-soft); background: none; border: none; cursor: pointer; }
.appcam-act i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.appcam-act i svg { width: 18px; height: 18px; }
.appcam-act.again i { background: var(--inactive); color: var(--ink); }
.appcam-act.share i { background: var(--sky); }
.appcam-act.delete i { background: var(--coral); }

/* ============================================================
   "Made for real kids" — behavior → solution explorer.
   Tap a kid moment (left) to reveal the feature it inspired.
   ============================================================ */
.kidbehaviors { text-align: center; }
.kidbehaviors .section-head { max-width: 640px; margin-inline: auto; }
.kbx {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
  max-width: 960px;
  margin-inline: auto;
  text-align: left;
}
.kbx-list { display: grid; gap: 10px; }
.kbx-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  width: 100%; cursor: pointer; font-family: inherit;
  color: var(--ink); font-weight: 800; font-size: 1rem; line-height: 1.25;
  background: #fff; border: 2px solid transparent; border-radius: 18px;
  padding: 15px 18px; box-shadow: var(--shadow-soft);
  transition: transform 0.15s var(--ease-toy), box-shadow 0.15s var(--ease-toy), border-color 0.15s ease;
}
.kbx-item:hover { transform: translateX(3px); }
.kbx-item.is-active {
  border-color: var(--accent);
  box-shadow: 0 7px 0 -1px color-mix(in srgb, var(--accent) 40%, #fff), var(--shadow-card);
}
.kbx-emoji { font-size: 1.55rem; }
.kbx-behavior { min-width: 0; }
.kbx-caret { color: var(--accent); font-weight: 900; opacity: 0.45; transition: transform 0.2s var(--ease-toy), opacity 0.2s ease; }
.kbx-item.is-active .kbx-caret { opacity: 1; transform: translateX(4px); }

.kbx-panels { position: relative; min-height: 232px; }
.kbx-panel { display: none; }
.kbx-panel.is-active { display: block; animation: kbx-fade 0.35s var(--ease-toy); }
@keyframes kbx-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.kbx-panel {
  background: color-mix(in srgb, var(--accent) 13%, #fff);
  border: 2px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 40px);
}
.kbx-panel-emoji { font-size: 2.6rem; display: block; margin-bottom: 12px; }
.kbx-badge {
  display: inline-block; font-weight: 900; font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff; background: var(--accent);
  padding: 5px 13px; border-radius: var(--r-pill); margin-bottom: 12px;
}
.kbx-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); margin-bottom: 0.35em; }
.kbx-panel p { margin: 0; color: var(--ink-soft); font-weight: 600; font-size: clamp(1.02rem, 1.3vw, 1.15rem); }

@media (max-width: 760px) {
  .kbx { grid-template-columns: 1fr; }
  .kbx-panels { min-height: 0; }
}

/* ============================================================
   Have questions? → FAQ CTA card
   ============================================================ */
.faq-cta { text-align: center; }
.faq-cta-card { max-width: 720px; margin: 0 auto; }
/* Row of floating toy-button stickers above the heading */
.faq-toys { display: flex; justify-content: center; gap: 12px; margin-bottom: 22px; }
.faq-toy {
  width: clamp(48px, 6vw, 58px); aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 6px 0 rgba(0,0,0,0.16), 0 12px 20px -10px rgba(0,0,0,0.4);
  animation: float-soft 6s ease-in-out infinite;
}
.faq-toy:nth-child(1) { background: var(--yellow); animation-delay: 0s; }
.faq-toy:nth-child(2) { background: var(--pink);   animation-delay: 0.4s; transform: translateY(-6px); }
.faq-toy:nth-child(3) { background: var(--mint);   animation-delay: 0.8s; }
.faq-cta-card h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.faq-cta-card p {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 44ch;
  margin: 0 auto 26px;
}
.faq-cta-card .toy-btn {
  --btn-face: #fff;
  --btn-edge: rgba(0, 0, 0, 0.2);
  --btn-text: var(--ink);
  font-size: 1.15rem;
  padding: 18px 34px;
}

/* FAQ — 5×2 grid of quick-answer cards on the purple band */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  margin: clamp(30px, 4vw, 46px) auto 0;
  text-align: left;
}
.faq-card {
  height: 100%;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-card);
  padding: clamp(18px, 1.6vw, 24px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-q-ico {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.1rem;
  color: #fff; background: var(--purple);
  box-shadow: 0 3px 0 var(--btn-primary-edge);
}
.faq-card .faq-q { margin: 0; color: var(--ink); font-size: clamp(0.98rem, 1.1vw, 1.12rem); line-height: 1.25; }
.faq-card .faq-a {
  margin: 0; color: var(--ink-soft); font-weight: 600;
  font-size: 0.86rem; line-height: 1.45;
}
.faq-readall { margin-top: clamp(28px, 4vw, 42px); }
.faq-cta .container > .faq-readall {
  --btn-face: #fff;
  --btn-edge: rgba(0, 0, 0, 0.2);
  --btn-text: var(--ink);
  font-size: 1.1rem;
  padding: 16px 32px;
}
@media (max-width: 1040px) {
  .faq-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .faq-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}

/* ============================================================
   Redesigned footer (aqua-style columns)
   ============================================================ */
.site-footer {
  position: relative;
  border-radius: var(--r-band) var(--r-band) 0 0;
  margin-top: calc(-1 * var(--r-band));
  box-shadow: 0 -16px 40px -22px rgba(47, 42, 38, 0.24);
  background: color-mix(in srgb, var(--yellow) 24%, var(--tint-cream));
  padding-block: clamp(56px, 8vw, 92px) 32px;
  text-align: left;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.footer-brand-col .foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.5rem;
  text-decoration: none;
}
.footer-brand-col .foot-brand img { width: 46px; height: 46px; border-radius: 13px; }
.footer-brand-col .foot-tag { margin-top: 12px; max-width: 30ch; }
.footer-col h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { text-decoration: none; font-weight: 700; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(47, 42, 38, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
}
.footer-bottom .made { opacity: 0.85; }

/* ============================================================
   FAQ page — native accordion (details/summary)
   ============================================================ */
.faq-list { max-width: 760px; margin: clamp(28px, 4vw, 48px) auto 0; display: grid; gap: 14px; }
.faq-more {
  max-width: 760px;
  margin: clamp(24px, 3vw, 34px) auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-weight: 600;
}
.faq-more a { color: var(--sky); font-weight: 800; }
.faq-item {
  background: color-mix(in srgb, var(--sky) 15%, #fff);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: background 0.15s ease;
}
.faq-item:hover { background: color-mix(in srgb, var(--sky) 24%, #fff); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sky);
  transition: transform 0.2s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; }
.faq-item .faq-body p { margin: 0; color: var(--ink-soft); font-weight: 600; }
.faq-item .faq-body a { color: var(--ink); font-weight: 700; }

/* ============================================================
   Compact, polished store badges inside the nav cluster
   ============================================================ */
.nav-links .store-badge {
  padding: 6px 12px;
  border-radius: 11px;
  box-shadow: none;
  border-color: transparent;
}
.nav-links .store-badge svg { width: 17px; height: 17px; }
.nav-links .store-badge .sb-top { font-size: 0.54rem; }
.nav-links .store-badge .sb-name { font-size: 0.82rem; }

/* ============================================================
   Feature cards — six charming, color-accented cards
   ============================================================ */
.feature-cards { text-align: center; }
.feature-cards > .container > .section-head { max-width: 680px; margin: 0 auto clamp(34px, 5vw, 56px); }
.fc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
}
.feat-card {
  --accent: var(--yellow);
  background: #fff;
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 34px);
  text-align: left;
  box-shadow: 0 7px 0 color-mix(in srgb, var(--accent) 42%, #fff), var(--shadow-card);
  transition: transform 0.16s var(--ease-toy);
}
.feat-card:hover { transform: translateY(-5px) rotate(-0.5deg); }
.feat-card .fc-icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 24%, #fff);
}
.feat-card h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); margin-bottom: 0.3em; }
.feat-card p { margin: 0; color: var(--ink-soft); font-weight: 600; }

/* ============================================================
   Safety band — bold blue parent-trust block
   ============================================================ */
.safety-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.safety-grid .safety-copy .lede { color: rgba(255, 255, 255, 0.92); }
.safety-grid .safety-copy .toy-btn {
  --btn-face: #fff; --btn-edge: rgba(0,0,0,0.18); --btn-text: var(--ink);
  margin-top: 22px;
}
.safety-points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.safety-point {
  display: flex; align-items: center; gap: 15px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-card);
  padding: 16px 20px;
  font-weight: 700;
  color: #fff;
}
.safety-point .sp-check {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--sky);
  font-size: 1.2rem; font-weight: 900;
  box-shadow: 0 4px 0 rgba(0,0,0,0.16);
}

/* ============================================================
   Bigger walkthrough phone + toy-button dots
   ============================================================ */
.carousel-phone { width: clamp(180px, 36vw, 300px); }
.carousel-dot { width: 12px; height: 12px; }
.carousel-dot.is-active { width: 30px; }
.carousel-caption .eyebrow-slide {
  display: inline-block; margin-bottom: 8px;
  font-weight: 800; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent, var(--purple));
}

/* ============================================================
   Sticker-style voice chips + "Cheddar Says" cards
   ============================================================ */
.voice-chip {
  padding: 12px 20px 12px 12px;
  font-size: 1.02rem;
  box-shadow: 0 5px 0 0 color-mix(in srgb, var(--accent, var(--purple)) 70%, #000),
              var(--shadow-soft);
}
.voice-chip .vc-emoji { width: 36px; height: 36px; font-size: 1.15rem; }
.voice-chip:nth-child(even) { transform: rotate(-2deg); }
.voice-chip:nth-child(3n) { transform: rotate(1.5deg); }
.voice-chip:hover { transform: translateY(-3px) rotate(0deg) scale(1.04); }
.content-card { border-width: 3px; border-radius: var(--r-panel); padding: 22px; }
.content-card .cc-play { width: 60px; height: 60px; }
.content-card .cc-title { font-size: 1.12rem; }

/* ============================================================
   DELIGHT LAYER — mascot, illustrations, ambient motion
   ============================================================ */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ill { display: inline-block; vertical-align: middle; }
.ill svg { display: block; width: 100%; height: 100%; }
.mascot { display: inline-block; line-height: 0; }
.mascot svg { width: 100%; height: 100%; display: block; }
.mascot-sm  { width: 70px; }
.mascot-md  { width: 74px; }
.mascot-faq { width: 96px; display: block; margin: 0 auto 6px; }

/* Ambient motion keyframes (all disabled under prefers-reduced-motion) */
@keyframes floatA { 0%,100%{transform:translateY(0) rotate(-3deg);} 50%{transform:translateY(-14px) rotate(3deg);} }
@keyframes floatB { 0%,100%{transform:translateY(0) rotate(4deg);}  50%{transform:translateY(-11px) rotate(-4deg);} }
@keyframes drift  { 0%,100%{transform:translate(0,0);} 50%{transform:translate(8px,-10px);} }
@keyframes twinkle{ 0%,100%{transform:scale(.7); opacity:.5;} 50%{transform:scale(1.15); opacity:1;} }
@keyframes wobble { 0%,100%{transform:rotate(-6deg);} 50%{transform:rotate(6deg);} }
@keyframes bobY   { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
.anim-floatA { animation: floatA 6s ease-in-out infinite; }
.anim-floatB { animation: floatB 7s ease-in-out infinite; }
.anim-drift  { animation: drift 8s ease-in-out infinite; }
.anim-twinkle{ animation: twinkle 3.4s ease-in-out infinite; }
.anim-wobble { animation: wobble 4s ease-in-out infinite; }

/* ============================================================
   Bigger, more confident hero typography + world
   ============================================================ */
.hero h1 { font-size: clamp(3.1rem, 8.5vw, 5.6rem); line-height: 0.98; max-width: 12ch; }
.hero h1 .ln { display: block; }
.hero h1 .pop { color: var(--purple); }
.hero .subline { max-width: 34ch; }

.hero-visual { position: relative; }
/* Floating stickers become full toy buttons with shine */
.sticker { border: 3px solid rgba(255,255,255,0.65); }
.sticker::after {
  content: ""; position: absolute; top: 14%; left: 20%; width: 42%; height: 26%;
  border-radius: 50%; background: rgba(255,255,255,0.5); filter: blur(1px);
}
.sticker--sparkle { border: none; }
.sticker--sparkle::after { display: none; }

/* Speech bubbles */
.bubble {
  position: absolute;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  padding: 10px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 22px -10px rgba(47,42,38,0.45);
  z-index: 4;
  white-space: nowrap;
}
.bubble::after {
  content: ""; position: absolute; bottom: -8px; left: 22px;
  border: 8px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.bubble.b-right::after { left: auto; right: 22px; }
.bubble .em { margin-right: 4px; }
.bubble.bub-cheese { color: var(--orange); }
.bubble.bub-smile  { color: var(--pink); }
.bubble.bub-got    { color: var(--mint); }

/* Polaroid photo cards */
.polaroid {
  position: absolute;
  background: #fff;
  padding: 7px 7px 20px;
  border-radius: 6px;
  box-shadow: 0 14px 28px -12px rgba(47,42,38,0.5);
  z-index: 3;
}
.polaroid .pl-photo {
  width: clamp(58px, 8vw, 84px); aspect-ratio: 1;
  border-radius: 3px;
  display: grid; place-items: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.polaroid .pl-cap { display:block; text-align:center; font-weight:800; font-size:0.6rem; color:var(--ink-soft); margin-top:4px; }

/* Hero decoration positions */
.hero-visual .bubble.bh1 { top: -4%; left: -6%; }
.hero-visual .bubble.bh2 { bottom: 8%; right: -8%; }
.hero-visual .polaroid.ph1 { top: 2%; right: -12%; transform: rotate(8deg); }
.hero-visual .polaroid.ph2 { bottom: -6%; left: -10%; transform: rotate(-7deg); }
.hero-visual .mascot.mh {
  position: absolute; bottom: -8%; right: 4%; width: clamp(64px, 10vw, 104px); z-index: 5;
}

/* Cheese + star sprinkles for any section */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco.cheese { width: clamp(28px, 4vw, 52px); color: var(--yellow); }
.deco.star   { width: clamp(16px, 2vw, 26px); color: var(--yellow); }
.deco.sparkle-i { width: clamp(18px, 2vw, 30px); color: #fff; }
.section-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.section-deco > * { position: absolute; }
.band > .container { position: relative; z-index: 1; }
.dp-tl { top: 7%;  left: 4%; }
.dp-tr { top: 9%;  right: 5%; }
.dp-ml { top: 44%; left: 3%; }
.dp-mr { top: 40%; right: 4%; }
.dp-bl { bottom: 9%; left: 6%; }
.dp-br { bottom: 7%; right: 5%; }

/* ============================================================
   CTA / ToyButton polish — shine, spring, thicker edge
   ============================================================ */
.toy-btn {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 7px 0 0 var(--btn-edge), 0 12px 22px -10px rgba(47,42,38,0.5);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 46%);
}
.toy-btn::before {
  content: ""; position: absolute; top: 6%; left: 8%; right: 40%; height: 34%;
  border-radius: 999px; background: rgba(255,255,255,0.35); filter: blur(1px);
  pointer-events: none;
}
.toy-btn:hover { transform: translateY(-2px) rotate(-1deg) scale(1.035); }
.toy-btn:active, .toy-btn.is-pressed {
  transform: translateY(4px) scale(0.99);
  box-shadow: 0 2px 0 0 var(--btn-edge), 0 6px 12px -8px rgba(47,42,38,0.5);
}

/* ============================================================
   CSS APP SCREENS — the product itself as artwork
   (default content of a phone; a real screenshot overrides it)
   ============================================================ */
.app-screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 12px; gap: 9px;
  background: linear-gradient(180deg, #fff 0%, var(--tint-cream) 100%);
  font-weight: 800;
}
.has-shot .app-screen { display: none; }
.as-topbar { display: flex; justify-content: space-between; align-items: center; }
.as-chip { font-size: 0.6rem; color:#fff; background: var(--purple); padding: 5px 11px; border-radius: var(--r-pill); }
.as-mini { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color:#fff; font-size: 0.85rem; background: var(--accent, var(--mint)); box-shadow: 0 3px 0 rgba(0,0,0,0.16); }
.as-title { font-size: 0.78rem; color: var(--ink); display: flex; align-items: center; gap: 6px; }
/* camera */
.as-view {
  flex: 1; border-radius: 18px; position: relative; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 42%, #ffe08a 0, transparent 70%), linear-gradient(160deg,#ffd9ec,#cfeffb 55%,#d6f4e4);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.7);
}
.as-subject { font-size: clamp(2.4rem, 6vw, 3.6rem); animation: bobY 3.2s ease-in-out infinite; }
.as-controls { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.as-ctrl { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color:#fff; font-size: 1rem; background: var(--accent, var(--sky)); box-shadow: 0 4px 0 rgba(0,0,0,0.16); }
.as-shutter { width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); border: 4px solid #fff; box-shadow: 0 5px 0 var(--gold); display: grid; place-items: center; }
.as-shutter::after { content:""; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); }
/* gallery */
.app-gallery .as-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.as-thumb { border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6); }
.as-thumb:nth-child(6n+1){ background:#ffe1b0; } .as-thumb:nth-child(6n+2){ background:#cfeffb; }
.as-thumb:nth-child(6n+3){ background:#d9f3e4; } .as-thumb:nth-child(6n+4){ background:#f6d9ea; }
.as-thumb:nth-child(6n+5){ background:#e6e0fb; } .as-thumb:nth-child(6n){ background:#ffeaa6; }
/* voice / cheddar says */
.app-voice { justify-content: flex-start; }
.app-voice .as-photo { height: 52%; border-radius: 18px; display: grid; place-items: center; font-size: 2.8rem; background: linear-gradient(160deg,#cfeffb,#d6f4e4); box-shadow: inset 0 0 0 3px rgba(255,255,255,0.7); }
.as-saycard { display: flex; align-items: center; gap: 9px; background:#fff; border: 2px solid var(--purple); border-radius: 16px; padding: 9px 10px; box-shadow: var(--shadow-soft); }
.as-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 0.95rem; background: color-mix(in srgb, var(--accent, var(--purple)) 28%, #fff); }
.as-saybody { flex: 1; min-width: 0; }
.as-saybody b { font-size: 0.62rem; color: var(--purple); display: block; }
.as-wave { display: flex; gap: 2px; align-items: center; height: 14px; margin-top: 3px; }
.as-wave span { flex: 1; background: color-mix(in srgb, var(--purple) 55%, var(--inactive)); border-radius: 2px; }
.as-wave span:nth-child(odd){ height: 60%; } .as-wave span:nth-child(3n){ height: 100%; } .as-wave span:nth-child(2n){ height: 40%; }
.as-playmini { width: 30px; height: 30px; border-radius: 50%; background: var(--purple); color:#fff; display: grid; place-items: center; font-size: 0.7rem; box-shadow: 0 3px 0 var(--btn-primary-edge); }
/* settings */
.app-settings .as-rows { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.as-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; background:#fff; border-radius: 13px; padding: 9px 11px; font-size: 0.66rem; color: var(--ink); box-shadow: var(--shadow-soft); }
.as-tog { width: 34px; height: 20px; border-radius: 999px; background: var(--inactive); position: relative; flex: none; }
.as-tog.on { background: var(--accent, var(--mint)); }
.as-tog::after { content:""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background:#fff; box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.as-tog.on::after { left: auto; right: 2px; }

/* ============================================================
   Toy-style feature cards — collectible, colored, sticker
   ============================================================ */
.feat-card {
  position: relative;
  overflow: visible;
  padding-top: clamp(28px, 3.4vw, 40px);
  border: 3px solid color-mix(in srgb, var(--accent) 45%, #fff);
  box-shadow: 0 9px 0 color-mix(in srgb, var(--accent) 55%, #fff), var(--shadow-card);
}
.feat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px;
  background: var(--accent);
  border-radius: var(--r-card) var(--r-card) 0 0;
}
.feat-card .fc-icon {
  width: 84px; height: 84px; font-size: 2.9rem;
  background: color-mix(in srgb, var(--accent) 22%, #fff);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent);
  animation: bobY 3.6s ease-in-out infinite;
}
.feat-card:nth-child(2n) .fc-icon { animation-delay: .5s; }
.feat-card:nth-child(3n) .fc-icon { animation-delay: 1s; }
.feat-card .fc-tag {
  position: absolute; top: -12px; right: 16px;
  background: var(--accent); color: #fff;
  font-size: 0.62rem; font-weight: 900; letter-spacing: .04em;
  padding: 5px 11px; border-radius: var(--r-pill);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 62%, #000);
  transform: rotate(4deg);
}
.feat-card:hover { transform: translateY(-6px) rotate(-0.6deg); }
/* Staggered layout — lift alternating cards for rhythm */
@media (min-width: 720px) {
  .fc-grid .feat-card:nth-child(3n+2) { transform: translateY(26px); }
  .fc-grid .feat-card:nth-child(3n+2):hover { transform: translateY(20px) rotate(-0.6deg); }
}

/* ============================================================
   Storytelling — "Built for real kid behavior"
   ============================================================ */
.kidbehavior { text-align: center; }
.kidbehavior .section-head { max-width: 700px; margin: 0 auto clamp(34px, 5vw, 54px); }
.kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
}
.kb-card {
  --accent: var(--yellow);
  background: #fff;
  border-radius: var(--r-card);
  padding: clamp(22px, 2.6vw, 30px) clamp(18px, 2.2vw, 24px);
  box-shadow: var(--shadow-card);
  text-align: center;
  border: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent);
}
.kb-emoji { font-size: 2.8rem; display: block; margin-bottom: 10px; animation: wobble 4s ease-in-out infinite; }
.kb-card:nth-child(2n) .kb-emoji { animation-name: bobY; }
.kb-card p { margin: 0; font-weight: 700; color: var(--ink); }
.kb-card .kb-num { display:block; font-weight:900; color: var(--accent); font-size:0.8rem; letter-spacing:.08em; margin-bottom:6px; }
.kb-foot {
  margin-top: clamp(30px, 4vw, 44px);
  font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}
.kb-foot .pop { color: var(--purple); }

/* ============================================================
   Footer brand moment — "Say cheese."
   ============================================================ */
.footer-hello { text-align: center; margin-bottom: clamp(30px, 5vw, 48px); }
.footer-hello .mascot { width: clamp(84px, 12vw, 120px); animation: bobY 4s ease-in-out infinite; }
.footer-hello .foot-wordmark {
  display: block; font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--ink); margin-top: 6px;
}
.footer-hello .foot-say {
  display: inline-block; margin-top: 4px;
  font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--orange);
}

/* ============================================================
   Responsive for delight components
   ============================================================ */
@media (max-width: 900px) {
  .kb-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero-visual .polaroid.ph1 { right: 0%; top: -2%; }
  .hero-visual .polaroid.ph2 { left: 2%; }
  .hero-visual .bubble.bh1 { left: 2%; }
  .hero-visual .bubble.bh2 { right: 2%; }
}
@media (max-width: 560px) {
  .kb-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .hero-visual .polaroid { display: none; }
}

/* ============================================================
   Scroll-in reveal
   ============================================================ */
/* Hidden initial state applies ONLY when JS is active (html.js is set by
   an inline script in <head>). With JS off, content is visible by default. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-toy);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* Stacked "sheet" bands stay opaque and simply slide up into place — fading
   them lets the panel/hero below bleed through the overlap, and the springy
   ease makes the panel bounce. Slide-only + smooth ease fixes both. */
.js .band.reveal { opacity: 1; transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }

/* ============================================================
   Feature panels — one clear panel per feature (image + copy)
   ============================================================ */
.fpanel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 68px);
  align-items: center;
  max-width: 1000px;
  margin-inline: auto;
}
.fpanel-media { display: flex; justify-content: center; }
.fpanel-media .phone { width: clamp(200px, 30vw, 262px); }
.fpanel.reverse .fpanel-media { order: 2; }
.fpanel-copy { max-width: 480px; }
.fpanel-copy h2 { margin-bottom: 0.28em; }
.fp-problem {
  font-weight: 800; font-style: italic; color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.15rem); margin: 0 0 0.7em;
}
.fp-desc {
  color: var(--ink-soft); font-weight: 600;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem); margin: 0;
}
.fp-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.fp-list li { display: flex; gap: 11px; align-items: flex-start; font-weight: 700; }
.fp-tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 900;
  background: rgba(255, 255, 255, 0.92); color: var(--sky);
}
.fp-privacy { margin-top: 22px; }
/* Bold-band panels (grape / blue) — light text */
.band--purple .fp-problem, .band--blue .fp-problem { color: rgba(255, 255, 255, 0.8); }
.band--purple .fp-desc, .band--blue .fp-desc,
.band--purple .fp-list li, .band--blue .fp-list li { color: rgba(255, 255, 255, 0.95); }
.band--blue .fp-privacy { --btn-face: #fff; --btn-edge: rgba(0, 0, 0, 0.22); --btn-text: var(--ink); }
/* Cheddar Says voice picker, folded into its panel */
.cs-voices { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.cs-voices-label { font-weight: 800; margin: 0 0 16px; color: rgba(255, 255, 255, 0.9); }

/* Stories — two playable story cards (mirrors the Cheddar Says voices) */
.story-strip { text-align: center; margin-top: clamp(28px, 4vw, 44px); }
.story-label { font-weight: 800; margin: 0 0 18px; color: var(--ink); }
.story-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 26px); max-width: 640px; margin-inline: auto; }
.story-card {
  flex: 1 1 240px; max-width: 300px; cursor: pointer; padding: 0;
  background: #fff; border: none; border-radius: var(--r-card);
  box-shadow: var(--shadow-card); overflow: hidden; text-align: left; font-family: inherit;
  transition: transform 0.15s var(--ease-toy), box-shadow 0.15s var(--ease-toy);
}
.story-card:hover { transform: translateY(-4px); }
.story-photo { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 3; }
.story-photo.sp-1 { background: radial-gradient(120% 100% at 50% 20%, #FFE0EC, var(--pink) 70%, var(--orange)); }
.story-photo.sp-2 { background: radial-gradient(120% 100% at 50% 20%, #CFEFEF, var(--sky) 65%, var(--mint)); }
.story-subj { font-size: 3.2rem; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.18)); }
.story-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--purple); color: #fff; font-size: 1.05rem;
  box-shadow: 0 4px 0 var(--btn-primary-edge), var(--shadow-soft);
  transition: transform 0.12s var(--ease-toy), background 0.15s ease;
}
.story-play::after { content: "▶"; margin-left: 2px; }
.story-card:hover .story-play { transform: translate(-50%, -50%) scale(1.08); }
.story-card.is-playing .story-play { background: var(--mint); }
.story-card.is-playing .story-play::after { content: "⏸"; margin-left: 0; }
.story-card.is-unavailable .story-play { background: var(--inactive); color: var(--ink-soft); }
.story-cap { display: block; padding: 13px 16px 16px; }
.story-cap b { display: block; font-size: 0.96rem; color: var(--ink); }
.story-cap span { font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 800px) {
  .fpanel { grid-template-columns: 1fr; text-align: center; gap: clamp(24px, 6vw, 40px); }
  .fpanel .fpanel-media, .fpanel.reverse .fpanel-media { order: -1; }
  .fpanel-copy { max-width: none; margin-inline: auto; }
  .fp-list { text-align: left; max-width: 360px; margin-inline: auto; }
}

/* ============================================================
   "More cool stuff" grid
   ============================================================ */
.more-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px); max-width: 1040px; margin-inline: auto;
}
.more-card {
  background: #fff; border-radius: var(--r-card);
  padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-card);
  border-top: 5px solid var(--accent, var(--yellow));
}
.more-emoji { font-size: 2rem; display: block; margin-bottom: 10px; }
.more-card h3 { font-size: clamp(1.08rem, 1.5vw, 1.28rem); margin-bottom: 0.3em; }
.more-card p { margin: 0; color: var(--ink-soft); font-weight: 600; font-size: 0.96rem; }
@media (max-width: 900px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .more-grid { grid-template-columns: 1fr; max-width: 360px; } }

/* ============================================================
   Dark footer — anchors the page under the yellow download panel
   ============================================================ */
.site-footer--dark { background: #2A2724; }
.site-footer--dark,
.site-footer--dark .footer-col a,
.site-footer--dark .foot-tag { color: rgba(255, 255, 255, 0.62); }
.site-footer--dark .foot-brand { color: #fff; }
.site-footer--dark .footer-col h3 { color: rgba(255, 255, 255, 0.92); }
.site-footer--dark .footer-col a:hover { color: #fff; }
.site-footer--dark .footer-bottom { border-top-color: rgba(255, 255, 255, 0.14); }
.site-footer--dark .made { color: var(--yellow); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .fc-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: 1fr; text-align: center; }
  .safety-grid .safety-copy .lede { margin-inline: auto; }
  .safety-point { text-align: left; }
}
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .fc-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .testi-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 760px) {
  .feature {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature.reverse .feature-text,
  .feature.reverse .feature-media { order: initial; }
  .feature .feature-media { order: -1; }
  .feature-icon { margin-inline: auto; }
  .feature .accent-bar { margin-inline: auto; }
  .feature ul { text-align: left; max-width: 340px; margin-inline: auto; }

  .carousel-arrow { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .store-badge { padding: 7px 12px; }
}

/* ============================================================
   Header: Download button + mobile hamburger menu
   ============================================================ */
.nav-links .nav-download.toy-btn {
  padding: 10px 22px;
  font-size: 0.95rem;
  border-radius: var(--r-pill);
  margin-left: 6px;
  box-shadow: 0 4px 0 0 var(--btn-edge), var(--shadow-soft);
}
.nav-links .nav-download.toy-btn::before { display: none; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: none; cursor: pointer;
  background: #fff;
  border-radius: 50%;
  place-items: center;
  box-shadow: 0 12px 28px -16px rgba(47, 42, 38, 0.45);
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2.6px; border-radius: 2px;
  background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { content: ""; position: absolute; top: -6px; }
.nav-toggle .bars::after  { content: ""; position: absolute; top: 6px; }
.site-header.nav-open .nav-toggle .bars { background: transparent; }
.site-header.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle .bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .site-header .container { position: relative; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    width: min(268px, 74vw);
    border-radius: 24px;
    display: none;
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links a.nav-text {
    padding: 11px 15px;
    border-radius: 13px;
    font-size: 1.05rem;
  }
  .nav-links a.nav-text:hover { background: var(--tint-cream); text-decoration: none; }
  .nav-links .nav-download.toy-btn { margin: 6px 0 2px; width: 100%; }
}

/* ============================================================
   Download / Get Cheddar section (yellow, brings brand back)
   ============================================================ */
.download-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.download-copy h2 { max-width: 15ch; }
.download-copy .lede { color: color-mix(in srgb, var(--ink) 78%, transparent); }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.store-badge--lg { padding: 14px 22px; border-radius: 16px; }
.store-badge--lg svg { width: 26px; height: 26px; }
.store-badge--lg .sb-top { font-size: 0.68rem; }
.store-badge--lg .sb-name { font-size: 1.08rem; }
.download-note { margin-top: 16px; font-weight: 800; font-size: 0.9rem; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.download-visual { display: flex; justify-content: center; }
.download-visual .phone { width: clamp(200px, 30vw, 280px); }
/* Showcase phones lift + tilt toward the cursor, pivoting from the base.
   The JS tilt (js/main.js "Mouse-tilt") enhances this; the :hover lift is the
   no-JS fallback. To roll back the tilt entirely, delete the main.js block. */
.fpanel-media .phone, .download-visual .phone {
  transform-origin: bottom center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s var(--ease-toy);
  will-change: transform;
}
.fpanel-media .phone:hover, .download-visual .phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 40px 74px -26px rgba(47, 42, 38, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.download-visual .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .download-grid { grid-template-columns: 1fr; text-align: center; }
  .download-copy h2, .download-copy .lede { margin-inline: auto; }
  .store-row { justify-content: center; }
  .download-visual { order: -1; }
}

/* ============================================================
   Footer brand mark (real cheese-camera app icon, not the mascot)
   ============================================================ */
.footer-hello .foot-mark {
  width: clamp(74px, 10vw, 100px); height: auto;
  border-radius: 27%;
  display: block; margin: 0 auto;
  box-shadow: var(--shadow-card);
  animation: bobY 4s ease-in-out infinite;
}

/* Longer hero headline needs a slightly smaller cap */
.hero h1 { font-size: clamp(2.7rem, 7vw, 4.7rem); max-width: 14ch; }
.hero .subline { max-width: 46ch; }

/* ============================================================
   Reduced motion — disable ALL decorative motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .bob { animation: none; }
}
