@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/nunito-latin-ext-600-normal.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}
@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/nunito-latin-600-normal.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-display:swap;font-weight:700;src:url(/fonts/nunito-latin-ext-700-normal.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}
@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/fonts/nunito-latin-700-normal.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-display:swap;font-weight:800;src:url(/fonts/nunito-latin-ext-800-normal.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}
@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/fonts/nunito-latin-800-normal.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-display:swap;font-weight:900;src:url(/fonts/nunito-latin-ext-900-normal.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}
@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(/fonts/nunito-latin-900-normal.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}
/* VitaKoala website. Colours follow the app (src/theme.ts). */
:root {
  --navy: #0b1430;
  --navy-2: #14213f;
  --navy-3: #1d2b55;
  --ink: #22283a;
  --ink-soft: #5b6275;
  --cream: #fff8ee;
  --cream-2: #fef1dc;
  --white: #ffffff;
  --teal: #17c3d6;
  --teal-d: #0ea6b8;
  --teal-soft: #e3f8fb;
  --mint: #7cf0c8;
  --amber: #ffb627;
  --orange: #ff9f1c;
  --pink: #f25c8a;
  --pink-soft: #fde4e8;
  --purple: #8d7bf0;
  --purple-soft: #ece8fd;
  --green: #3dbe5a;
  --outline: #3a2b3f;
  --radius: 28px;
  --wrap: 1180px;
  --shadow: 0 18px 50px rgba(11, 20, 48, 0.18);
  --font: Nunito, ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 780px); }
.center { text-align: center; }
.center .lead, .center .lead-dark { margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 10px; }

.eyebrow { font-size: 0.8rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 14px; }
.eyebrow-light { color: var(--mint); }
.eyebrow-chip { display: inline-block; color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.86); max-width: 34em; margin-top: 18px; }
.lead-dark { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 34em; margin-top: 18px; }
.small { font-size: 0.86rem; color: rgba(255, 255, 255, 0.7); margin-top: 16px; }
.small-dark { font-size: 0.9rem; color: var(--ink-soft); margin-top: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 900; font-size: 1.02rem; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-teal { background: linear-gradient(135deg, #2fe0c8, var(--teal) 55%, #3d9bf5); color: #fff; box-shadow: 0 10px 26px rgba(23, 195, 214, 0.4); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(6px); }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 2px solid rgba(34, 40, 58, 0.18); }
/* store badges (same shape as the official ones: logo, small line, big store name) */
.store-badge { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 14px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1.5px solid rgba(255, 255, 255, 0.28); transition: transform 0.15s ease; }
a.store-badge:hover { transform: translateY(-2px); }
/* not in the store yet: same black badge, "Coming soon on" instead of a link */
.store-badge.is-soon { cursor: default; }
.store-logo { width: 28px; height: 30px; flex: none; }
.store-badge > span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.store-badge b { font-size: 1.32rem; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.25s ease, box-shadow 0.25s ease; }
.top.scrolled { background: rgba(255, 248, 238, 0.92); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(11, 20, 48, 0.08); }
.top-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { text-decoration: none; display: inline-flex; }
.logo { display: inline-flex; align-items: center; gap: 2px; font-weight: 900; font-size: 1.6rem; letter-spacing: -0.01em; }
.logo-leaf { width: 22px; height: 22px; margin-right: 2px; }
.logo-pill { width: 26px; height: 26px; margin-left: 2px; transform: rotate(20deg); }
.logo-word span { display: inline-block; text-shadow: 0 2px 0 rgba(30, 15, 40, 0.85); animation: letter 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.2s); }
@keyframes letter { 50% { transform: translateY(-2px); } }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 800; font-size: 0.95rem; color: #fff; opacity: 0.92; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.scrolled .nav a, .legal-page .nav a { color: var(--ink); }
.nav .nav-cta { display: none; }
.nav a { white-space: nowrap; }
@media (max-width: 1180px) { .nav .nav-cta { display: block; margin-top: 6px; text-align: center; background: var(--teal); color: #fff !important; } }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 10px; border-radius: 999px; color: #fff; font-weight: 900; font-size: 0.85rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 20px; height: 20px; }
.scrolled .lang summary, .legal-page .lang summary { color: var(--ink); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); min-width: 160px; }
.lang a { display: block; padding: 9px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.lang a:hover, .lang a[aria-current] { background: var(--teal-soft); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, 0.15); border-radius: 14px; padding: 12px 11px; cursor: pointer; }
.burger span { display: block; height: 2.5px; border-radius: 2px; background: #fff; margin: 3.5px 0; }
.scrolled .burger, .legal-page .burger { background: rgba(34, 40, 58, 0.08); }
.scrolled .burger span, .legal-page .burger span { background: var(--ink); }

/* hero */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; color: #fff; overflow: hidden; padding: 110px 0 70px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 14, 34, 0.82) 0%, rgba(8, 14, 34, 0.45) 55%, rgba(8, 14, 34, 0.1) 100%), linear-gradient(180deg, rgba(8, 14, 34, 0.55), transparent 25%, transparent 75%, rgba(8, 14, 34, 0.6)); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-top: 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }
.hero h1 span { display: block; }
.hero h1 span:last-child { background: linear-gradient(90deg, #ffd36e, #ff9f6e 45%, #f58fd4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
/* header button stays visible over the dark hero */
.top:not(.scrolled) .btn-dark { background: rgba(255, 255, 255, 0.16); border: 1.5px solid rgba(255, 255, 255, 0.3); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-art::before { content: ''; position: absolute; width: min(420px, 80vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(124, 240, 200, 0.28), rgba(23, 195, 214, 0.08) 55%, transparent 70%); }
.hero-koala { position: relative; border: 0; background: none; padding: 0; cursor: pointer; width: min(320px, 70vw); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35)); transition: transform 0.2s ease; }
.hero-koala:hover { transform: scale(1.03) rotate(-1deg); }
.hero-koala:active { transform: scale(0.96); }
.hero-koala img { width: 100%; height: auto; }
.tap-hint { position: absolute; bottom: -6px; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.float { position: absolute; width: 58px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.3)); }
.f1 { top: 10%; left: 6%; }
.f2 { top: 22%; right: 4%; width: 48px; animation-delay: -1.6s; }
.f3 { bottom: 14%; left: 12%; width: 42px; animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(8deg); } }

/* twinkling stars (pure CSS, no per-frame work in JS) */
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 8%, #fff, transparent), radial-gradient(1.5px 1.5px at 44% 26%, #fff, transparent), radial-gradient(1px 1px at 63% 12%, #fff, transparent), radial-gradient(2px 2px at 78% 22%, #fff, transparent), radial-gradient(1px 1px at 88% 6%, #fff, transparent), radial-gradient(1.5px 1.5px at 6% 40%, #fff, transparent), radial-gradient(1px 1px at 92% 38%, #fff, transparent); animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: 0.45; } to { opacity: 1; } }

/* facts */
.facts { background: var(--cream); padding: 34px 0; border-bottom: 1px solid rgba(34, 40, 58, 0.06); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.fact b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--teal), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span { display: block; font-size: 0.92rem; color: var(--ink-soft); margin-top: 6px; }

/* sections */
section { position: relative; padding: clamp(70px, 10vw, 120px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split-rev > :first-child { order: 0; }
.phone-wrap { position: relative; display: grid; place-items: center; }

/* interactive demo */
.demo { background: radial-gradient(ellipse at 70% 40%, #e3f8fb, var(--cream) 65%); overflow: hidden; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; max-width: 480px; }
.pill-btn {
  display: flex; align-items: center; gap: 10px; text-align: left;
  border: 0; border-radius: 22px; padding: 14px 16px; cursor: pointer;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 85%, #fff), var(--c));
  color: #fff; box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 35%, transparent);
  transition: transform 0.15s ease, opacity 0.3s ease;
}
.pill-btn:hover { transform: translateY(-3px) rotate(-1deg); }
.pill-btn:active { transform: scale(0.95); }
.pill-btn.done { opacity: 0.55; cursor: default; transform: none; }
.pill-ico { width: 34px; height: 34px; flex: none; background: rgba(255, 255, 255, 0.25); border-radius: 50%; padding: 3px; }
.pill-name { font-weight: 900; font-size: 1rem; line-height: 1.15; flex: 1; min-width: 0; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18); }
.pill-state { flex: none; font-size: 0.8rem; font-weight: 900; background: rgba(255, 255, 255, 0.25); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.again { margin-top: 18px; }
.again[hidden] { display: none; }
.demo-stage { position: relative; display: grid; place-items: center; min-height: 420px; }
.flying { position: fixed; z-index: 60; width: 46px; height: 46px; pointer-events: none; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.25)); }

/* the belly koala (same proportions as the app; viewBox 300×330) */
.kb { position: relative; width: min(360px, 82vw); aspect-ratio: 300 / 330; transform-origin: 50% 100%; animation: breathe 3.4s ease-in-out infinite; }
.kb.hop { animation: hop 0.52s ease-out 3; }
@keyframes breathe { 50% { transform: scaleY(1.014) translateY(-1px); } }
@keyframes hop { 40% { transform: translateY(-14px) scaleY(1.02); } }
.kb-back, .kb-front { position: absolute; inset: 0; width: 100%; height: 100%; }
/* z-index 0: the liquid's own layers stay inside it, and the front picture (paws, glass) draws on top, like in the app */
.kl { position: absolute; z-index: 0; left: 30.667%; top: 56.97%; width: 38.667%; height: 37.576%; border-radius: 50%; overflow: hidden; }
.kl-layer { position: absolute; left: 0; top: 110%; width: 160.345%; height: 119.355%; transition: top 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.kl-layer svg { width: 100%; height: 100%; animation: wave 2.6s linear infinite; }
.kl-layer:nth-child(even) svg { animation-direction: reverse; }
@keyframes wave { to { transform: translateX(-37.634%); } }
.bub { position: absolute; bottom: 6%; width: 4%; aspect-ratio: 1; border-radius: 50%; background: #fff; opacity: 0; }
.kl.has .bub { animation: bubble 2.2s linear infinite; }
.b1 { left: 22%; } .b2 { left: 44%; animation-delay: -0.6s !important; } .b3 { left: 62%; animation-delay: -1.2s !important; } .b4 { left: 78%; animation-delay: -1.7s !important; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 0.85; } 100% { transform: translateY(-260%); opacity: 0; } }
.arm { position: absolute; top: 59.39%; width: 14.667%; height: 27.88%; transform-origin: 50% 0; transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.arm svg { width: 100%; height: 100%; }
.arm-l { left: 24.667%; transform: rotate(-22deg); }
.arm-r { left: 60.667%; transform: rotate(22deg); }
.kb.cheer .arm-l { transform: rotate(135deg); }
.kb.cheer .arm-r { transform: rotate(-135deg); }
.kb .k-cheer { display: none; }
.kb.cheer .k-cheer { display: inline; }
.kb.cheer .k-smile { display: none; }
.kb-pct { position: absolute; left: 30.667%; width: 38.667%; top: 66%; display: grid; place-items: center; }
.kb-pct b, .kb-pct span { background: rgba(255, 255, 255, 0.82); }
.kb-pct b { font-size: clamp(1.4rem, 4.2vw, 1.9rem); font-weight: 900; line-height: 1.1; padding: 1px 12px; border-radius: 16px; }
.kb-pct span { display: none; font-size: 0.72rem; font-weight: 900; padding: 0 8px 2px; border-radius: 0 0 10px 10px; margin-top: -2px; }
.kb.full .kb-pct { top: 60%; }
.kb.full .kb-pct span { display: block; }
.kb.full .kb-pct b { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.ribbon { position: absolute; top: 2%; z-index: 3; background: linear-gradient(#57d36a, #3dbe5a); color: #fff; font-weight: 900; font-size: clamp(1.5rem, 4vw, 2.2rem); padding: 8px 34px; border-radius: 10px; transform: rotate(-3deg) scale(0); transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 10px 20px rgba(61, 190, 90, 0.4); }
.demo-stage.won .ribbon { transform: rotate(-3deg) scale(1); }
.confetti { position: absolute; inset: -10% 0 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall 2.4s cubic-bezier(0.2, 0.6, 0.4, 1) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 560px) rotate(var(--r)); opacity: 0; } }
.splash { position: absolute; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 4px solid var(--c); animation: splash 0.6s ease-out forwards; pointer-events: none; z-index: 4; }
@keyframes splash { from { transform: scale(0.2); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* phone frame with a real recording */
.phone { position: relative; margin: 0; width: clamp(230px, 26vw, 300px); aspect-ratio: 1080 / 2400; padding: 10px; border-radius: 42px; background: linear-gradient(145deg, #2a2f3d, #0d1018); box-shadow: 0 40px 80px rgba(11, 20, 48, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.08); }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #05070b; z-index: 2; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05); }
.phone-screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: var(--navy); }
.phone-screen video { width: 100%; height: 100%; object-fit: cover; }
.phone-sm { width: clamp(200px, 20vw, 250px); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* games: one picture in a phone, two more peeking out from behind it */
.games { background: linear-gradient(180deg, #e6f4ff, var(--cream) 75%); overflow: hidden; }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 40px); margin-top: 50px; }
.game { background: #fff; border-radius: 34px; padding: 34px 26px 30px; box-shadow: var(--shadow); text-align: center; overflow: hidden; }
.game h3 { font-size: 1.6rem; margin-top: 26px; }
.game p { color: var(--ink-soft); margin: 10px auto 0; max-width: 30em; }
.tag-new { display: inline-block; vertical-align: middle; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; line-height: 1.5; text-transform: uppercase; background: linear-gradient(135deg, #ff8fb0, var(--pink)); color: #fff; padding: 3px 10px; border-radius: 999px; margin-left: 6px; }
.shots { --pw: clamp(170px, 17vw, 230px); position: relative; display: grid; place-items: center; padding: 8px 0; }
.shots .phone { position: relative; z-index: 1; width: var(--pw); padding: 8px; border-radius: 34px; }
.shots .phone::before { top: 16px; width: 8px; height: 8px; margin-left: -4px; }
.shots .phone-screen { border-radius: 27px; }
.shot { position: absolute; top: 50%; left: 50%; width: calc(var(--pw) * 0.72); height: auto; aspect-ratio: 540 / 1200; object-fit: cover; border-radius: 22px; border: 5px solid #1a1f2c; background: #1a1f2c; box-shadow: 0 18px 36px rgba(11, 20, 48, 0.25); }
.shot-l { transform: translate(-135%, -50%) rotate(-7deg); }
.shot-r { transform: translate(35%, -50%) rotate(7deg); }
.chips { list-style: none; padding: 0; margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.chips li { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 9px 18px 9px 10px; box-shadow: 0 6px 16px rgba(11, 20, 48, 0.07); font-size: 0.96rem; }
.chips .tick { width: 22px; height: 22px; margin: 0; }
.games-more { margin-top: 22px; }

/* the games page */
.games-page { background: var(--cream); }
.gp-hero { padding: 130px 0 30px; }
.gp-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.gp-hero .eyebrow { margin-top: 22px; }
.gp-cta { margin-top: 28px; }
.gp-game { padding: clamp(50px, 7vw, 90px) 0; overflow: hidden; }
.gp-river { background: linear-gradient(180deg, var(--cream), #e6f4ff); }
.gp-rally { background: linear-gradient(180deg, #e6f4ff, #fff4f6); }
.gp-game h2, .gp-two h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.gp-how { background: #fff; }
.gp-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.gp-two .numbers { padding: 0; }

/* how it works */
.how { background: var(--cream); }
.numbers { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.numbers li { display: flex; align-items: center; gap: 16px; font-size: 1.05rem; }
.num { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; font-size: 1.6rem; font-weight: 900; box-shadow: 0 10px 20px rgba(11, 20, 48, 0.15); }
.n0 { background: linear-gradient(135deg, #2fe0c8, var(--teal)); }
.n1 { background: linear-gradient(135deg, #ffc56e, var(--orange)); }
.n2 { background: linear-gradient(135deg, #3a4a78, var(--navy)); }
.n3 { background: linear-gradient(135deg, #b3a6ff, var(--purple)); }
.n4 { background: linear-gradient(135deg, #ff8fb0, var(--pink)); }

/* pets */
.pets { background: linear-gradient(180deg, #fff3d6, var(--cream-2)); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.03rem; }
.tick { width: 24px; height: 24px; flex: none; color: var(--green); margin-top: 1px; }
.badge-premium { display: inline-block; margin-top: 26px; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: 0 8px 20px rgba(11, 20, 48, 0.08); font-size: 0.95rem; }

/* family */
.family { background: linear-gradient(180deg, var(--teal-soft), #f0fbfd); }
.given-chip { position: absolute; left: max(0px, calc(50% - 260px)); bottom: 16%; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 20px; padding: 12px 16px; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.given-chip b { display: block; font-size: 0.98rem; }
.given-chip small { display: block; color: var(--ink-soft); font-size: 0.82rem; }
.given-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; }

/* path & quests */
.path { background: radial-gradient(ellipse at 50% 0%, #26386e, var(--navy) 60%); color: #fff; overflow: hidden; isolation: isolate; }
.path h2 { color: #fff; }
.path-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; margin-top: 50px; align-items: start; }
.quests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quest { position: relative; border-radius: 24px; padding: 18px 18px 22px; min-height: 160px; color: #fff; overflow: hidden; box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25); }
.quest::after { content: ''; position: absolute; right: -30px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.q-daily { background: linear-gradient(140deg, #2fbf71, #1f8f6a); }
.q-weekly { background: linear-gradient(140deg, #5468f0, #3d3fb8); }
.q-monthly { background: linear-gradient(140deg, #f2954a, #d4553f); }
.quest-tag { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.quest h3 { margin-top: 8px; font-size: 1.25rem; }
.quest p { opacity: 0.88; font-size: 0.92rem; margin-top: 4px; }
.quest-bar { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); margin-top: 16px; overflow: hidden; }
.quest-bar span { display: block; height: 100%; border-radius: 4px; background: #fff; }
.quest-n { position: absolute; right: 16px; top: 16px; font-size: 0.85rem; font-weight: 900; background: rgba(0, 0, 0, 0.18); padding: 2px 9px; border-radius: 999px; }
.path-side { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; }
.quiz { position: relative; background: #15204a; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 26px; padding: 20px; padding-bottom: 24px; grid-column: 1 / -1; }
.quiz-label { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); }
.quiz h3 { margin: 8px 70px 14px 0; font-size: 1.3rem; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt { text-align: left; border: 1.5px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); border-radius: 16px; padding: 12px 14px; cursor: pointer; color: #fff; font-weight: 800; transition: background 0.2s, border-color 0.2s; }
.quiz-opt:hover { background: rgba(255, 255, 255, 0.12); }
.quiz-opt.right { border-color: #57d36a; background: rgba(61, 190, 90, 0.18); }
.quiz-opt.wrong { border-color: #ff7a7a; background: rgba(255, 90, 90, 0.14); }
.quiz-opts.answered .quiz-opt:not(.right):not(.wrong) { opacity: 0.5; }
.quiz-explain { margin-top: 12px; color: rgba(255, 255, 255, 0.86); }
.quiz-explain b { color: #7ee08b; }
/* sits on top of the card's corner, never over the answers */
.quiz-koala { position: absolute; right: 14px; top: auto; bottom: calc(100% - 12px); width: 84px; }
.path-side { margin-top: 60px; }
.extras { list-style: none; padding: 0; margin: 44px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.extras li { padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; font-weight: 700; }
.league { margin: 22px auto 0; text-align: center; max-width: 40em; color: rgba(255, 255, 255, 0.82); }

/* worlds */
.worlds { background: linear-gradient(180deg, var(--navy), #2b2350 60%, #5b3a5e); color: #fff; overflow: hidden; padding-bottom: 60px; }
.worlds h2 { color: #fff; }
.world-count { margin-top: 22px; display: inline-block; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; }
.compare { position: relative; width: min(100%, 360px); margin-inline: auto; aspect-ratio: 1080 / 1600; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.compare-night { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.compare-line span { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; display: grid; place-items: center; background: #fff; color: var(--ink); border-radius: 50%; font-weight: 900; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); }
.compare-tag { position: absolute; top: 14px; font-size: 0.8rem; font-weight: 900; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); pointer-events: none; }
.t-night { left: 14px; } .t-sun { right: 14px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-hint { text-align: center; margin-top: 12px; color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }
.world-strip { display: flex; gap: 14px; list-style: none; padding: 0; margin: 60px 0 0; width: max-content; animation: marquee 70s linear infinite; }
.world-strip li { position: relative; width: 140px; flex: none; }
.world-strip img { width: 140px; height: 210px; object-fit: cover; border-radius: 20px; border: 3px solid rgba(255, 255, 255, 0.15); }
.world-strip span { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: 0.82rem; font-weight: 900; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8); line-height: 1.15; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* seasons: a painted world with the season's colour wash, the koala in that season's outfit */
.seasons { background: linear-gradient(180deg, #5b3a5e, #33265a 45%, var(--navy)); color: #fff; }
.seasons h2 { color: #fff; }
.season-grid { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.season { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 28px; overflow: hidden; padding-bottom: 22px; }
.season-art { position: relative; aspect-ratio: 1 / 1.04; overflow: hidden; display: grid; place-items: end center; }
.season-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.season-art::after { content: ''; position: absolute; inset: 0; background: var(--wash); }
.season-koala { position: relative; z-index: 1; width: 72%; margin-bottom: 5%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35)); }
.s-winter { --wash: linear-gradient(180deg, rgba(120, 190, 255, 0.3), rgba(20, 40, 90, 0.35)); }
.s-spring { --wash: linear-gradient(180deg, rgba(255, 170, 210, 0.3), rgba(60, 40, 80, 0.25)); }
.s-summer { --wash: linear-gradient(180deg, rgba(255, 200, 90, 0.2), rgba(40, 40, 90, 0.25)); }
.s-autumn { --wash: linear-gradient(180deg, rgba(255, 140, 40, 0.3), rgba(60, 30, 20, 0.35)); }
.season h3 { font-size: 1.35rem; padding: 18px 20px 0; }
.season dl { margin: 12px 0 0; padding: 0 20px; display: grid; gap: 8px; }
.season dt { font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mint); }
.season dd { margin: 0; font-weight: 800; color: rgba(255, 255, 255, 0.92); line-height: 1.25; overflow-wrap: anywhere; }
.season-note { text-align: center; margin: 30px auto 0; max-width: 40em; color: rgba(255, 255, 255, 0.8); }

/* outfits */
.outfits { background: linear-gradient(180deg, var(--pink-soft), #fff4f6); }
.outfit-grid { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.outfit { position: relative; background: #1b3a45; border-radius: 26px; overflow: hidden; box-shadow: 0 14px 30px rgba(11, 20, 48, 0.14); transition: transform 0.2s ease; }
.outfit:hover { transform: translateY(-4px) rotate(-0.6deg); }
.outfit img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
/* a dark fade under the name, so it reads on every picture */
.outfit::after { content: ''; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgba(11, 20, 48, 0.8)); pointer-events: none; }
.outfit-name { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; color: #fff; font-weight: 900; font-size: 1rem; line-height: 1.15; overflow-wrap: anywhere; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }
.outfit-price { position: absolute; right: 12px; top: 12px; background: #fff; color: var(--ink); font-size: 0.8rem; font-weight: 900; padding: 4px 10px; border-radius: 999px; }
/* the last tile: the outfits that have no picture here */
.outfit-more { display: grid; place-content: center; text-align: center; padding: 14px; aspect-ratio: 1; background: linear-gradient(140deg, var(--purple), var(--pink)); color: #fff; }
.outfit-more::after { display: none; }
.outfit-more b { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1; }
.outfit-more span { font-size: 0.92rem; line-height: 1.25; margin-top: 8px; }

/* everyday helpers */
.everyday { background: linear-gradient(180deg, #fff4f6, #eef3ff 30%, var(--cream)); }
.every-top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.every-card { display: flex; flex-direction: column; background: #fff; border-radius: 30px; padding: 22px; box-shadow: var(--shadow); }
.every-card .home-screen { flex: 1; }
.every-card h3 { font-size: 1.45rem; margin-top: 20px; }
.every-card p { color: var(--ink-soft); margin-top: 8px; }
.home-screen { display: flex; align-items: center; justify-content: center; gap: 4%; min-height: 250px; padding: 26px 18px; border-radius: 22px; background: var(--navy-2) url(/assets/worlds/thumbs/meadow-night.webp) center 35% / cover; }
.home-screen img { height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45)); }
.w-wide { width: 62%; }
.w-small { width: 27%; }
.every-simple { flex-direction: row; align-items: center; gap: 24px; }
.every-simple .phone { flex: none; width: clamp(150px, 15vw, 190px); padding: 7px; border-radius: 32px; box-shadow: 0 20px 40px rgba(11, 20, 48, 0.28), inset 0 0 0 2px rgba(255, 255, 255, 0.08); }
.every-simple .phone::before { top: 14px; width: 8px; height: 8px; margin-left: -4px; }
.every-simple .phone-screen { border-radius: 26px; }
.every-simple h3 { margin-top: 0; }
.every-grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.every-grid li { background: #fff; border-radius: 26px; padding: 22px; box-shadow: 0 8px 22px rgba(11, 20, 48, 0.06); }
.every-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--teal-soft); font-size: 1.5rem; line-height: 1; }
.every-grid h3 { margin-top: 14px; }
.every-grid p { color: var(--ink-soft); margin-top: 6px; font-size: 0.98rem; }

/* guide */
.guide { background: var(--cream); }
.vcard { position: relative; background: #fff; border-radius: 30px; padding: 26px; box-shadow: var(--shadow); max-width: 460px; margin-inline: auto; }
.vcard header { display: flex; align-items: center; gap: 12px; }
.vcard-ico { width: 50px; height: 50px; background: #fff0d9; border-radius: 16px; padding: 6px; }
.vcard h3 { font-size: 1.5rem; }
.vcard header img { position: absolute; right: 10px; top: -70px; width: 110px; }
.vcard dl { margin: 18px 0 0; display: grid; gap: 4px; }
.vcard dt { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-d); margin-top: 12px; }
.vcard dd { margin: 0; color: var(--ink-soft); }

/* premium */
.premium { background: #fff; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 46px auto 0; max-width: 900px; }
.plan { border-radius: 30px; padding: 28px; background: var(--cream); border: 2px solid rgba(34, 40, 58, 0.06); }
.plan h3 { font-size: 1.7rem; }
.plan-sub { color: var(--ink-soft); margin-top: 6px; }
.plan-pro { background: linear-gradient(160deg, #fff7df, #ffe9b0); border-color: #ffd36e; }
.plan-pro .tick { color: #e09a00; }

/* faq */
.faq { background: var(--cream); }
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 22px; box-shadow: 0 8px 22px rgba(11, 20, 48, 0.06); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 900; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; background: var(--teal-d); border-radius: 2px; transition: transform 0.2s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-item p { padding: 0 22px 20px; color: var(--ink-soft); }

/* waitlist */
.waitlist { background: radial-gradient(ellipse at 50% 100%, #2d4c8c, var(--navy) 65%); color: #fff; overflow: hidden; isolation: isolate; }
.waitlist h2 { color: #fff; }
.wl-koala { width: 160px; margin: 0 auto 10px; }
.wl-form { margin-top: 30px; }
.wl-row { display: flex; gap: 10px; max-width: 520px; margin-inline: auto; background: #fff; padding: 6px; border-radius: 999px; }
.wl-row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; font-size: 1.05rem; color: var(--ink); outline: none; }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; justify-content: center; max-width: 520px; margin: 16px auto 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); text-align: left; cursor: pointer; }
.wl-consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--teal); }
.wl-consent a { color: var(--mint); }
.hp { position: absolute; left: -9999px; }
.wl-msg { min-height: 1.5em; margin-top: 14px; font-weight: 900; }
.wl-msg.ok { color: var(--mint); }
.wl-msg.err { color: #ffb3b3; }

/* footer */
.foot { background: var(--navy); color: rgba(255, 255, 255, 0.82); padding: 54px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-tag { margin-top: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-langs a[aria-current] { color: var(--mint); }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* legal pages */
.legal-page .top { background: rgba(255, 248, 238, 0.95); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(11, 20, 48, 0.06); }
/* the header is light on these pages from the start, so its button stays dark */
.legal-page .top:not(.scrolled) .btn-dark { background: var(--navy); border-color: transparent; }
.legal { padding: 120px 0 80px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 18px; }
.legal h2 { font-size: 1.4rem; margin-top: 34px; }
.legal p { margin-top: 12px; color: var(--ink-soft); font-weight: 600; }
.legal a { color: var(--teal-d); }
.updated { font-size: 0.88rem; }
.back { text-decoration: none; font-weight: 900; color: var(--teal-d); }

/* 404 */
.nf { background: var(--navy); color: #fff; min-height: 100vh; display: grid; place-items: center; }
.nf img { margin: 0 auto; }
.nf h1 { font-size: 5rem; margin-top: 10px; }
.nf .btn { margin-top: 20px; }

/* scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* responsive */
/* seven menu links need room: below this width they fold into the menu button */
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; gap: 0; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { color: var(--ink) !important; padding: 12px 14px; border-radius: 14px; }
  .nav a:hover { background: var(--teal-soft); text-decoration: none; }
  .top-actions { margin-left: auto; }
  .burger { display: block; }
}
@media (max-width: 1000px) {
  .outfit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .path-grid { grid-template-columns: 1fr; }
  .season-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { padding-top: 100px; text-align: center; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero-grid, .demo-grid, .split { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 14, 34, 0.75), rgba(8, 14, 34, 0.35) 45%, rgba(8, 14, 34, 0.7)); }
  .hero .lead { margin-inline: auto; }
  .cta-row, .store-row { justify-content: center; display: flex; }
  .hero-art { min-height: 320px; order: -1; margin-top: 10px; }
  .hero-koala { width: min(240px, 60vw); }
  .split-rev > :first-child { order: 2; }
  .facts-row { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .demo-copy { text-align: center; display: contents; }
  /* phones: title, then the koala, then the vitamins right below it, so you see the belly fill as you tap */
  .demo-grid { display: flex; flex-direction: column; gap: 0; }
  .demo-copy > .eyebrow, .demo-copy > h2, .demo-copy > .lead-dark { order: 0; }
  .demo-stage { order: 1; min-height: 0; margin-top: 12px; padding-top: 58px; }
  .ribbon { top: 0; }
  .kb { width: min(280px, 72vw); }
  .pills { order: 2; width: 100%; }
  .again { order: 3; align-self: center; }
  /* phones: icon + name on the first line, "0/1" on its own line below */
  .pill-btn { padding: 12px; gap: 4px 8px; flex-wrap: wrap; }
  .pill-ico { width: 30px; height: 30px; }
  .pill-name { font-size: 0.92rem; flex: 1 1 0; }
  .pill-state { flex-basis: 100%; text-align: center; }
  .demo-copy .lead-dark { margin-inline: auto; }
  .pills { margin-inline: auto; }
  .given-chip { left: 0; bottom: 8%; }
  .plans { grid-template-columns: 1fr; }
  .outfit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* three in a row: the last tile takes two places, so the grid ends in a full row */
  .outfit-more { grid-column: span 2; aspect-ratio: auto; }
  .game-grid, .every-top, .gp-two { grid-template-columns: 1fr; }
  .every-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .btn-sm { display: none; }
  /* phones: quests become a swipeable row instead of one long column */
  .quests { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .quests::-webkit-scrollbar { display: none; }
  .quest { flex: 0 0 78%; scroll-snap-align: center; min-height: 150px; }
  .quiz { margin-top: 20px; }
  .path-side { margin-top: 30px; }
  .quiz-koala { width: 66px; right: 4px; }
  .quiz h3 { margin-right: 52px; }
  .path-side { grid-template-columns: 1fr; justify-items: center; }
  .wl-row { flex-direction: column; border-radius: 26px; }
  .store-row { flex-wrap: nowrap; gap: 8px; }
  .store-badge { height: 50px; padding: 0 11px 0 9px; gap: 7px; }
  .store-logo { width: 23px; height: 25px; }
  .store-badge small { font-size: 0.6rem; }
  .store-badge b { font-size: 1.04rem; }
  .wl-row input { min-height: 50px; text-align: center; }
  /* phones: outfits swipe sideways too */
  .outfit-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .outfit-grid::-webkit-scrollbar { display: none; }
  .outfit { flex: 0 0 62%; scroll-snap-align: center; }
  .shots { --pw: 42vw; }
  .game { padding: 26px 16px; border-radius: 28px; }
  .game h3 { font-size: 1.4rem; }
  .chips li { font-size: 0.9rem; }
  .season-grid { gap: 12px; }
  .season h3 { font-size: 1.15rem; padding: 14px 14px 0; }
  .season dl { padding: 0 14px; }
  .season dd { font-size: 0.92rem; }
  .every-simple { flex-direction: column; text-align: center; }
  .every-grid { grid-template-columns: 1fr; gap: 12px; }
  /* phones: icon on the left, title and line beside it */
  .every-grid li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 18px; }
  .every-ico { grid-row: span 2; }
  .every-grid h3 { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
