/* Parent site (hopadoo.com). Sticker/toy look: ink outlines, hard shadows, warm paper,
   and the game's colours (styles.css at the repo root). */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300 900; /* a variable font that tops out at 700; heavier requests use 700 instead of a fake bold */
  font-display: swap;
  src: url('/fonts/fredoka-latin.woff2') format('woff2');
}
:root {
  --p1: #ff8a1f;
  --p1-dark: #c2540a;
  --p2: #1fb5b0;
  --p2-dark: #127f7b;
  --gold: #ffd23f;
  --gold-dark: #d9a400;
  --grass: #6cc24a;
  --safe: #2e9b5f;
  --ink: #1f2233; /* the navy outline of all the game's art */
  --ink-soft: #4a4f63;
  --paper: #fff8e6;
  --paper-2: #ffefd2;
  --white: #ffffff;
  --sky: #cdeeff;
  --wood: #a8692f;
  --wood-light: #ce9153;
  --wood-dark: #8a5a2b;
  --leaf: #3f8f3a;
  --leaf-light: #6db33f;
  --leaf-pale: #e5f3d3;
  --jungle-deep: #0d1a10;

  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 22px;
  --wrap: 1120px;

  --font-display: 'Fredoka', ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 18px / 1.6 var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(31, 34, 51, .09) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
}

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

/* Tilted cards and ticket notches may poke past the edge; never let them cause sideways scrolling. */
main { overflow-x: clip; }

a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--p1-dark); }

:focus-visible { outline: 3px solid var(--p2); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

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

/* ---------- Test-mode banner (sandbox only) ---------- */
.sandbox-banner { display: none; }
.is-sandbox .sandbox-banner {
  display: block;
  background: repeating-linear-gradient(45deg, #1f2233 0 14px, #2c3150 14px 28px);
  color: #fff;
  text-align: center;
  font: 700 14px / 1.4 var(--font-body);
  padding: 8px 16px;
}
.is-sandbox .sandbox-banner strong { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: var(--line); position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-nav { display: flex; align-items: center; gap: 22px; font: 800 16px / 1 var(--font-display); }
.site-nav a { text-decoration: none; }

.logo {
  margin: 0;
  font: 800 34px / 1 var(--font-display);
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.logo-hop { color: var(--p1); text-shadow: 0 3px 0 var(--p1-dark); }
.logo-adoo { color: var(--p2); text-shadow: 0 3px 0 var(--p2-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: var(--line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  font: 800 19px / 1 var(--font-display);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; box-shadow: 4px 4px 0 var(--ink); }
.btn-primary { background: var(--p1); }
.btn-secondary { background: var(--p2); }
.btn-gold { background: var(--gold); }
.btn-light { background: var(--white); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.btn-ink:hover { color: var(--gold); box-shadow: 5px 5px 0 var(--paper); }
.btn-ink:active { box-shadow: 1px 1px 0 var(--paper); }
.btn-small { padding: 10px 16px; font-size: 16px; border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.btn-big { padding: 20px 34px; font-size: 24px; border-radius: 20px; }
.play-icon { display: inline-block; width: 0; height: 0; border-style: solid; border-width: .45em 0 .45em .7em; border-color: transparent transparent transparent currentColor; }

/* ---------- Hero: the game's jungle ----------
   The backdrop, mid trees and canopy are the game's own art (art/). A screen loops real gameplay, and the two sisters
   stand in front of it seen from behind, Player 1 left and Player 2 right, the way kids stand in front of the laptop. */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: var(--line);
  background: var(--leaf) url('/art/jungle-far.webp') center 22% / cover no-repeat;
}
.hero::before { /* the game's mid tree line, for depth behind the stage */
  content: "";
  position: absolute;
  inset: auto 0 40px;
  height: clamp(120px, 16vw, 220px);
  background: url('/art/jungle-mid.webp') center bottom / auto 100% repeat-x;
  pointer-events: none;
}
.hero-ground {
  position: absolute;
  inset: auto 0 0;
  height: 40px;
  background: linear-gradient(var(--leaf-light), var(--leaf) 45%, #2d6e2a);
  border-top: var(--line);
}
.hero-canopy {
  position: absolute;
  top: 0;
  z-index: 1;
  width: clamp(180px, 30vw, 440px);
  height: auto;
  pointer-events: none;
}
.hero-canopy-left { left: 0; }
.hero-canopy-right { right: 0; }
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  min-height: clamp(560px, 78vh, 760px);
  padding-block: clamp(48px, 7vh, 88px) 40px; /* the ground strip's height: the sisters stand on it */
}
.hero-copy {
  min-width: 0;
  margin-bottom: 40px;
  padding: 26px 30px 30px;
  background: var(--paper);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 12px;
  background: var(--ink);
  color: var(--gold);
  border-radius: 10px;
  font: 800 13px / 1 var(--font-display);
  letter-spacing: .09em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.hero h1 {
  margin: 0 0 16px;
  font: 700 clamp(40px, 4.6vw, 68px) / .98 var(--font-display);
  letter-spacing: -0.02em;
}
.hl {
  display: inline-block;
  color: var(--p1);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-2deg);
}
.hero .lede {
  max-width: 520px;
  margin: 0 0 24px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.text-link { font: 800 17px / 1 var(--font-display); }

.hero-stage {
  position: relative;
  align-self: end;
  min-width: 0;
  padding-bottom: clamp(90px, 11vw, 150px); /* room for the sisters below the screen */
}
.hero-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  overflow: hidden;
  background: var(--ink);
  border: 8px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.hero-screen video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.hero-kids {
  position: absolute;
  inset: auto 0 0;
  height: clamp(160px, 19vw, 270px); /* photoreal kids are slimmer than the cartoon girls were (owner, 2026-10-08) */
  pointer-events: none;
}
.kid { position: absolute; bottom: 0; display: block; }
.kid img { position: absolute; bottom: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(-50%); }
.kid-p1 { left: 30%; height: 100%; width: 1px; }
.kid-p2 { left: 62%; height: 78%; width: 1px; } /* the younger kid, a bit smaller (the game's Player 2 is 0.71x, FR-92) */
.kid .pose-jump { opacity: 0; }
.kid { animation: kid-hop 2.4s ease-in-out infinite; }
.kid-p2 { animation-delay: -1.1s; }
.kid .pose-stand { animation: pose-stand 2.4s steps(1, end) infinite; }
.kid .pose-jump { animation: pose-jump 2.4s steps(1, end) infinite; }
.kid-p2 img { animation-delay: -1.1s; }
@keyframes kid-hop {
  0%, 58%, 100% { transform: translateY(0); }
  70% { transform: translateY(-14%); }
  84% { transform: translateY(0); }
}
@keyframes pose-stand { 0%, 60% { opacity: 1; } 61%, 84% { opacity: 0; } 85%, 100% { opacity: 1; } }
@keyframes pose-jump { 0%, 60% { opacity: 0; } 61%, 84% { opacity: 1; } 85%, 100% { opacity: 0; } }
.hero-tiger {
  position: absolute;
  right: -4%;
  bottom: -4px;
  width: clamp(96px, 10vw, 150px);
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(3px 3px 0 rgba(31, 34, 51, .35));
}
.hero-screen .clip-toggle { z-index: 1; }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  border-bottom: var(--line);
  white-space: nowrap;
  font: 800 clamp(20px, 2.6vw, 30px) / 1 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.ticker-track { display: inline-flex; padding: 16px 0; animation: ticker 32s linear infinite; }
.ticker-track span { padding: 0 18px; }
.ticker-track .star { color: var(--gold); }
.ticker-track .star:nth-of-type(4n) { color: var(--p2); }
.ticker-track .star:nth-of-type(4n+2) { color: var(--p1); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; }
section h2 { margin: 0 0 12px; font: 800 clamp(30px, 4vw, 44px) / 1.1 var(--font-display); text-align: center; }
section .intro { max-width: 640px; margin: 0 auto 40px; text-align: center; color: var(--ink-soft); }
.kicker {
  display: inline-block;
  margin: 0 0 14px;
  font: 800 14px / 1 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--p1-dark);
}
.section-title {
  margin: 0 0 18px;
  font: 800 clamp(38px, 5.6vw, 68px) / .98 var(--font-display);
  letter-spacing: -0.025em;
  text-align: left;
}
.section-lede { max-width: 560px; margin: 0; font-size: 20px; color: var(--ink-soft); }

/* Why: scrolling vs Hopadoo */
.press-quote {
  max-width: 760px;
  margin: 36px 0 0;
  padding: 22px 26px;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.press-quote blockquote { margin: 0; }
.press-quote p { margin: 0; font: 700 clamp(20px, 2.4vw, 26px) / 1.35 var(--font-display); color: var(--ink); text-wrap: balance; }
.press-quote figcaption { margin-top: 12px; font-weight: 700; color: var(--ink-soft); }
.press-quote figcaption a { color: inherit; }
.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 52px;
}
.side {
  padding: 18px 20px 24px;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.side svg { width: 100%; height: auto; margin-bottom: 16px; border: var(--line); border-radius: 14px; }
.side h3 { margin: 0 0 10px; font: 800 26px / 1.15 var(--font-display); }
.side-scroll { background: #e9ecf2; color: var(--ink-soft); transform: rotate(-1.4deg); }
.side-scroll svg { filter: saturate(.6); }
.side-hop { background: var(--gold); transform: rotate(1.4deg); }
.vs-badge {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--p1);
  font: 800 28px / 1 var(--font-display);
  transform: rotate(-10deg);
}
.crosslist { list-style: none; padding: 0; margin: 0; }
.crosslist li { position: relative; margin: 10px 0; padding-left: 34px; }
.crosslist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--ink-soft);
  border-radius: 7px;
  background: #cfd4de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='%233d4a66' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.who-note {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 820px;
  margin: 56px auto 0;
  padding: 18px 24px;
  background: var(--white);
  border: 3px dashed var(--ink);
  border-radius: 20px;
}
.who-note p { margin: 0; font-size: 17px; color: var(--ink-soft); }
.who-num {
  flex: none;
  font: 800 54px / .9 var(--font-display);
  color: var(--p1);
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink);
}
.who-num small { display: block; font-size: 18px; text-align: center; color: var(--ink); -webkit-text-stroke: 0; text-shadow: none; }

/* How it works: tilted sticker cards */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 56px;
}
.step {
  position: relative;
  padding: 18px 18px 24px;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step:nth-child(1) { transform: rotate(-1.4deg); }
.step:nth-child(2) { transform: rotate(1deg) translateY(22px); }
.step:nth-child(3) { transform: rotate(-.6deg); }
.step-num {
  position: absolute;
  top: -38px;
  right: 14px;
  font: 800 76px / 1 var(--font-display);
  color: var(--gold);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--ink);
}
.step-art {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  background: var(--sky);
  border: var(--line);
  border-radius: 14px;
}
.step h3 { margin: 0 0 6px; font: 800 25px / 1.15 var(--font-display); }
.step p { margin: 0; color: var(--ink-soft); font-size: 17px; }

/* Moves: teal band with the body-tracking demo */
.band { border-block: var(--line); }
.band-teal { background: var(--p2); }
.band-teal .kicker { color: var(--ink); }
.band-teal .section-lede { color: var(--ink); }
.moves { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.mirror {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.cam, .screen {
  position: relative;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
}
.cam { transform: rotate(-2deg); }
.screen { transform: rotate(1.5deg); }
.cam svg, .screen svg { width: 100%; height: auto; border-radius: 14px; border: 2px solid var(--ink); }
.tag {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%) rotate(-2deg);
  padding: 6px 10px;
  background: var(--gold);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  font: 800 13px / 1.1 var(--font-display);
  white-space: nowrap;
}
.mirror-arrow { width: 56px; height: auto; }

.move-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.move-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--white);
  border: var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.move-list svg { width: 58px; height: 58px; }
.move-list strong { display: block; font: 800 21px / 1.2 var(--font-display); }
.move-list span { color: var(--ink-soft); font-size: 16px; }

/* Body-tracking animation, shared timing so the runner mirrors the kid */
.pose, .mini-runner { animation: hop 2.4s ease-in-out infinite; }
.arm-l, .arm-r, .leg-l, .leg-r { transform-box: view-box; animation: 2.4s ease-in-out infinite; }
.arm-l { transform-origin: 88px 86px; animation-name: arm-l; }
.arm-r { transform-origin: 132px 86px; animation-name: arm-r; }
.leg-l { transform-origin: 96px 146px; animation-name: leg-l; }
.leg-r { transform-origin: 124px 146px; animation-name: leg-r; }
@keyframes hop {
  0%, 18%, 86%, 100% { transform: translateY(0); }
  28% { transform: translateY(8px); }
  46%, 58% { transform: translateY(-42px); }
  74% { transform: translateY(0); }
}
/* Hurdle and coins slide under the runner so its jump peaks over the hurdle. */
.slide { animation: slide 2.4s linear infinite; }
@keyframes slide { from { transform: translateX(120px); } to { transform: translateX(-150px); } }
@keyframes arm-l { 0%, 24%, 84%, 100% { transform: rotate(0); } 46%, 60% { transform: rotate(140deg); } }
@keyframes arm-r { 0%, 24%, 84%, 100% { transform: rotate(0); } 46%, 60% { transform: rotate(-140deg); } }
@keyframes leg-l { 0%, 24%, 84%, 100% { transform: rotate(0); } 46%, 60% { transform: rotate(18deg); } }
@keyframes leg-r { 0%, 24%, 84%, 100% { transform: rotate(0); } 46%, 60% { transform: rotate(-18deg); } }

/* Privacy: the receipt */
.privacy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.privacy p { font-size: 19px; color: var(--ink-soft); max-width: 520px; }
.receipt {
  max-width: 400px;
  margin-left: auto;
  padding: 26px 26px 34px;
  background: var(--white);
  border: var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  font: 15px / 1.5 var(--font-mono);
}
.receipt h3 { margin: 0; font: 800 18px / 1.3 var(--font-mono); text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.receipt .sub { margin: 2px 0 14px; text-align: center; color: var(--ink-soft); }
.receipt hr { border: 0; border-top: 2px dashed var(--ink); margin: 12px 0; }
.receipt-row { display: flex; align-items: baseline; }
.receipt-row .dots { flex: 1; margin: 0 6px; border-bottom: 2px dotted rgba(31, 34, 51, .35); transform: translateY(-4px); }
.receipt-total { display: flex; justify-content: space-between; font-size: 22px; font-weight: 800; }
.receipt .foot { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--ink-soft); }

/* What you need */
.needs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.need { padding: 22px 20px 24px; }
.need + .need { border-left: 3px dashed var(--ink); }
.need svg { width: 64px; height: 64px; margin-bottom: 12px; }
.need strong { display: block; font: 800 20px / 1.2 var(--font-display); margin-bottom: 4px; }
.need span { color: var(--ink-soft); font-size: 16px; }

/* Questions, as a chat */
.chat { max-width: 780px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 14px; }
.msg {
  max-width: min(560px, 86%);
  margin: 0;
  padding: 13px 18px;
  border: var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  font-size: 17px;
  line-height: 1.5;
}
.msg.q { align-self: flex-start; background: var(--white); border-bottom-left-radius: 6px; font-weight: 700; }
.msg.a { align-self: flex-end; background: var(--p2); border-bottom-right-radius: 6px; }
.msg.a a { font-weight: 700; }
.msg.a + .msg.q { margin-top: 14px; }

/* Final call to action */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--p1);
  border-block: var(--line);
}
.cta h2 {
  margin: 0 0 12px;
  font: 800 clamp(52px, 9vw, 120px) / .92 var(--font-display);
  letter-spacing: -0.035em;
  text-align: left;
}
.cta p { margin: 0 0 30px; max-width: 520px; font-size: 21px; }
.cta .hero-actions { position: relative; z-index: 1; }
.coins { position: absolute; inset: 0; pointer-events: none; }
.coin-float { position: absolute; animation: bob 3.2s ease-in-out infinite; }
.coin {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  border: var(--line);
  box-shadow: inset -5px -5px 0 var(--gold-dark);
  animation: spin 1.8s linear infinite;
}
@keyframes bob { 50% { transform: translateY(-16px); } }
@keyframes spin { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.18); } }

/* ---------- Pricing and shared cards ---------- */
.alt { background: var(--paper-2); border-block: var(--line); }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.card h3 { margin: 0 0 6px; font: 800 24px / 1.2 var(--font-display); }
.card p { margin: 0; color: var(--ink-soft); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; margin: 10px 0; padding-left: 34px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--ink);
  border-radius: 7px;
  background: var(--grass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%231f2a44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Pricing: a free card and the Family Unlock as a golden ticket */
.price-top { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 56px; }
.price-top .section-title { font-size: clamp(38px, 4.8vw, 60px); }
.plans-v2 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
  max-width: 1000px;
  margin-top: 40px;
}
.plan-free, .ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.plan-free { background: var(--white); transform: rotate(-1.2deg); margin-top: 26px; }
.ticket { background: var(--gold); transform: rotate(1deg); }
.plan-label {
  align-self: flex-start;
  padding: 7px 12px;
  background: var(--p2);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  font: 800 14px / 1 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ticket .plan-label { background: var(--white); }
.big-price {
  font: 800 clamp(66px, 8vw, 96px) / .9 var(--font-display);
  letter-spacing: -0.035em;
}
.big-price small {
  margin-left: 10px;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.ticket .big-price small { color: var(--ink); }
.code-badge {
  align-self: flex-start;
  padding: 6px 10px;
  background: var(--grass);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  font: 800 14px / 1 var(--font-display);
  transform: rotate(-2deg);
}
.plan-free .checklist, .ticket .checklist { margin: 4px 0 6px; }
.ticket .checklist li::before { background-color: var(--white); }
.buy-status { min-height: 1.4em; margin: -4px 0 0; font-size: 15px; color: var(--ink); }
.ticket-stub {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin: 6px -28px -28px;
  padding: 16px 28px 20px;
  border-top: 3px dashed var(--ink);
  font: 800 14px / 1.2 var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
/* Tear-off notches where the perforation meets the edges. */
.ticket-stub::before, .ticket-stub::after {
  content: "";
  position: absolute;
  top: -19px;
  width: 34px;
  height: 34px;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
}
.ticket-stub::before { left: -20px; clip-path: inset(0 0 0 50%); }
.ticket-stub::after { right: -20px; clip-path: inset(0 50% 0 0); }
/* Not on sale yet: a stamp across the ticket. */
.ticket.is-soon::after {
  content: "Coming soon";
  position: absolute;
  top: 26px;
  right: -16px;
  padding: 8px 14px;
  background: var(--white);
  border: var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--p1-dark);
  font: 800 16px / 1 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: rotate(9deg);
}
.fine-print { max-width: 1000px; margin: 40px 0 0; font-size: 15px; color: var(--ink-soft); }

.step-icon { width: 72px; height: 72px; margin: 6px 0 14px; }

.grown-up { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.small-print {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  background: var(--white);
  border: 3px dashed var(--ink);
  border-radius: var(--radius);
}
.small-print > div { padding: 20px 22px; border-bottom: 3px dashed var(--ink); }
.small-print > div:nth-child(odd) { border-right: 3px dashed var(--ink); }
.small-print > div:nth-last-child(-n+2) { border-bottom: 0; }
.small-print dt { font: 800 19px / 1.2 var(--font-display); margin-bottom: 6px; }
.small-print dd { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* Restore by email (FR-87) */
.restore-top { padding-top: clamp(40px, 5vw, 72px); }
.restore-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.restore-how { margin-top: 26px; }
.restore-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.restore-card label { font: 800 20px / 1.2 var(--font-display); }
.restore-card input {
  width: 100%;
  padding: 15px 16px;
  background: var(--paper);
  border: var(--line);
  border-radius: 14px;
  font: 18px / 1.3 var(--font-body);
  color: var(--ink);
}
.restore-card input:focus { outline: 3px solid var(--p2); outline-offset: 2px; }
.restore-status:empty { display: none; }
.restore-status {
  margin: 0;
  padding: 12px 14px;
  border: 2.5px dashed var(--ink);
  border-radius: 12px;
  background: #fff3c4;
  font-weight: 700;
}
.restore-status[data-outcome="sent"] { background: #e3f6e8; border: 2.5px solid var(--safe); }
.restore-help { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- Prose pages (privacy, terms, refunds, thanks, 404) ---------- */
.prose { max-width: 780px; margin: 0 auto; padding: 56px 20px 88px; }
.prose h1 { margin: 0 0 8px; font: 800 clamp(36px, 5vw, 56px) / 1.05 var(--font-display); letter-spacing: -0.02em; }
.prose h2 { margin: 40px 0 8px; font: 800 26px / 1.2 var(--font-display); text-align: left; }
.prose .updated { margin: 0 0 26px; color: var(--ink-soft); }
.prose li { margin: 6px 0; }
/* Home: each game card's link to its guide, and the guides section (SEO, 2026-10-05) */
.game-more { margin: 0 0 14px; font-weight: 800; }
.game-more a { color: var(--ink); }
.guide-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.guide-link { display: grid; gap: 4px; padding: 18px 20px; color: var(--ink); text-decoration: none; background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.guide-link strong { font: 800 19px / 1.25 var(--font-display); }
.guide-link span { color: var(--ink-soft); }
.guide-link:hover { transform: translate(-1px, -1px); }
.guide-all { margin-top: 22px; font-weight: 800; }
@media (max-width: 900px) { .guide-links { grid-template-columns: 1fr; } }
/* Guide pages (brain breaks, indoor activities, one per game): a lede, the game's clip, a Play button, then the guide */
.guide .guide-lede { margin: 0 0 22px; font-size: 20px; line-height: 1.5; color: var(--ink-soft); }
.guide .guide-figure { margin: 0 0 18px; }
.guide .guide-media { border: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.guide .guide-figure figcaption { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.guide .guide-play { margin: 0 0 6px; }
.guide h3 { margin: 22px 0 4px; font: 800 19px / 1.3 var(--font-display); }
.guide .guide-games li { margin: 10px 0; }
.guide .guide-more { margin-top: 40px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 44px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.site-footer .logo { font-size: 30px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 700; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--gold); }
.footer-social { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 14px; border-top: 1px solid rgba(255, 248, 230, .18); font-weight: 600; }
.footer-social span { color: var(--gold); font: 700 15px / 1.4 var(--font-display); }
.footer-note { color: #aeb9d1; }

/* Games: one card per game, each with a short muted clip */
.games { background: var(--paper-2); border-bottom: var(--line); }
.game-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* two by two; one column under 900 px */
  gap: 30px;
  margin-top: 48px;
}
.game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.game-hopadoo { transform: rotate(-.8deg); }
.game-sumrun { transform: rotate(.4deg) translateY(10px); }
.game-wordpop { transform: rotate(.5deg) translateY(10px); }
.game-monkeymirror { transform: rotate(-.5deg); }
.game-sneak { transform: rotate(-.4deg); }
.game-tenjar { transform: rotate(.4deg) translateY(10px); }
.game-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-bottom: var(--line);
}
.game-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  font: 800 15px / 1.2 var(--font-display);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.badge-free { background: var(--gold); }
.badge-unlock { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--paper); }
.badge-new { left: auto; right: 14px; background: var(--p1); transform: rotate(4deg); }
.clip-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  background: rgba(31, 34, 51, .72);
  border: 2px solid var(--white);
  border-radius: 50%;
}
.clip-toggle::before, .clip-toggle::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 4px;
  height: 14px;
  background: var(--white);
  border-radius: 1px;
}
.clip-toggle::before { left: 13px; }
.clip-toggle::after { right: 13px; }
.clip-toggle.is-paused::before {
  left: 15px;
  width: 0;
  height: 0;
  background: none;
  border-block: 8px solid transparent;
  border-left: 13px solid var(--white);
  border-radius: 0;
  top: 11px;
}
.clip-toggle.is-paused::after { display: none; }
.clip-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.game-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: 1; padding: 22px 24px 26px; }
.game-body h3 { margin: 0; font: 800 34px / 1 var(--font-display); letter-spacing: -0.02em; }
.game-body > p { margin: 0; color: var(--ink-soft); font-size: 18px; }
.game-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.game-modes li {
  padding: 4px 12px;
  font: 700 15px / 1.4 var(--font-display);
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
.game-sumrun .game-modes li { background: var(--leaf-pale); }
.game-sneak .game-modes li, .game-tenjar .game-modes li { background: var(--paper-2); }
.game-body .btn { margin-top: auto; }
.game-fine { margin: 0; font-size: 15px; color: var(--ink-soft); }
.game-fine a { color: var(--ink); }

/* Pricing, arriving from a paid game without the unlock (?game=sneak) */
.game-note {
  max-width: 640px;
  margin: 0 0 22px;
  padding: 12px 16px;
  font-size: 18px;
  background: var(--gold);
  border: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 40px 24px; }
  .hero-copy { transform: none; padding: 22px 20px 24px; }
  .hero-canopy { width: clamp(140px, 38vw, 260px); }
  .hero-stage { max-width: 620px; width: 100%; margin: 0 auto; }
  .steps, .moves, .privacy, .versus, .plans-v2, .grown-up, .restore-grid, .game-cards { grid-template-columns: 1fr; }
  .game-card:nth-child(n) { transform: none; }
  .restore-card { transform: none; }
  .plan-free { margin-top: 0; }
  .vs-badge { margin: -8px auto; position: relative; z-index: 1; }
  .side:nth-child(n) { transform: none; }
  .step:nth-child(n) { transform: none; }
  .steps { gap: 52px; }
  .needs { grid-template-columns: 1fr 1fr; }
  .need:nth-child(3) { border-left: 0; }
  .need:nth-child(n+3) { border-top: 3px dashed var(--ink); }
  .receipt { margin: 0 auto; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-nav .nav-link { display: none; }
  .logo { font-size: 30px; }
  .mirror { grid-template-columns: 1fr; }
  .mirror-arrow { transform: rotate(90deg); margin: 0 auto; }
  .needs { grid-template-columns: 1fr; }
  .need + .need { border-left: 0; border-top: 3px dashed var(--ink); }
  .coin-float:nth-child(n+4) { display: none; }
  .who-note { flex-direction: column; text-align: center; gap: 10px; }
  .small-print { grid-template-columns: 1fr; }
  .small-print > div:nth-child(odd) { border-right: 0; }
  .small-print > div:nth-last-child(2) { border-bottom: 3px dashed var(--ink); }
  .ticket.is-soon::after { top: -18px; right: 14px; }
  .game-body { padding: 18px 18px 22px; }
  .game-body h3 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .ticker-track, .pose, .mini-runner, .slide, .arm-l, .arm-r, .leg-l, .leg-r, .coin-float, .coin { animation: none; }
  .kid, .kid img { animation: none; }
  .kid .pose-jump { opacity: 0; }
}

.svg-pop {
  font: 800 16px var(--font-display);
  fill: var(--gold);
  stroke: var(--ink);
  stroke-width: 3px;
  paint-order: stroke;
}

/* Languages (FR-237): the header's language menu and the note on translated legal pages */
.lang-menu { position: relative; font-weight: 700; }
.lang-menu summary { cursor: pointer; list-style: none; padding: 6px 10px; border-radius: 999px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:focus-visible { outline: 3px solid var(--orange, #e8650a); outline-offset: 2px; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none;
  background: var(--white, #fff); border: var(--line, 2px solid #1f2a44); border-radius: 12px; box-shadow: var(--shadow-sm, 0 2px 0 #1f2a44); min-width: 160px; }
.lang-menu li a { display: block; padding: 8px 12px; border-radius: 8px; color: inherit; text-decoration: none; }
.lang-menu li a:hover, .lang-menu li a[aria-current] { background: var(--paper-2, #ffefd2); }
@media (max-width: 520px) { .lang-menu .lang-name { display: none; } .lang-menu summary { padding: 6px; font-size: 20px; } }
@media (max-width: 380px) { .site-header .logo { font-size: 26px; } .site-nav { gap: 8px; } .site-nav .btn-small { padding-inline: 10px; } .lang-menu summary { padding: 4px; } }
.legal-note { padding: 10px 14px; border-radius: 10px; background: var(--paper-2, #ffefd2); font-size: 15px; }

/* Pricing: the Family Unlock's games, shown with their clips (I-10) */
.unlock-games { border-bottom: var(--line); }
.unlock-games .game-cards { margin-top: 32px; }
