/* generated by src/pages.mjs from src/page.css + src/pages.css */
:root {
  --a: #FF5B3A; --a-d: #D9431F; --a-t: #FFEEE8;
  --b: #17A2A6; --b-d: #0F8286; --b-t: #E0F4F4;
  --yolk: #FFC83D; --yolk-d: #E0A400; --yolk-t: #FFF6DC; --yolk-ink: #7A5600;
  --ok: #2FB98A; --spicy: #E8336B;
  --ink: #2A1A14; --ink2: #5E4F44; --muted: #8C7F76; --faint: #C9BEB5;
  --line: #EFE8E1; --line-d: #E2D9D0; --tint: #FAF7F3;
  --font: ui-rounded, 'SF Pro Rounded', -apple-system, 'Nunito', system-ui, sans-serif;
  --lip: 5px;
  --snap: cubic-bezier(.34,1.56,.64,1); --out: cubic-bezier(.23,1,.32,1);
  --wrap: 1120px;
  /* colour direction (the dev lab switches html[data-theme]; default = rooms) */
  --hero: #FFC83D; --hero-ink: #7A5600; --pat-o: 0; --floor: #F2B624; --floor-e: #E0A400;
  --story-bg: #fff; --show-bg: #FAF7F3; --more-bg: #fff; --price-bg: #fff; --faq-bg: #FAF7F3; --final-bg: #FDEFCE;
}
/* A · Yolk: the sunny app-icon yellow everywhere it matters (v2) */
html[data-theme="yolk"] { --pat-o: .55; }
/* B · Cream: the kitchen-wall cream from the art, yellow only on buttons and the Plus card */
html[data-theme="cream"] { --hero: #FDF0D8; --hero-ink: #8A5A00; --pat-o: 0; --floor: #F6DFAE; --floor-e: #E6C27E;
  --story-bg: #fff; --show-bg: #FFF8EC; --price-bg: #fff; --faq-bg: #FFF8EC; }
/* C · Rooms: butter hero with the chores pattern, then one soft room colour per section, like the store screens */
html[data-theme="rooms"] { --hero: #FEE39B; --hero-ink: #7A5600; --pat-o: .45; --floor: #F7CF6E; --floor-e: #E0A400;
  --story-bg: #E0F4F4; --show-bg: #FFEEE8; --more-bg: #fff; --price-bg: #FFF6DC; --faq-bg: #FAF7F3; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 700 17px/1.45 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.01em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.label { font: 800 13px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.sub { color: var(--ink2); font-weight: 700; font-size: 19px; line-height: 1.45; text-wrap: pretty; }

/* buttons: flat, the bottom lip is the signature */
.btn { --c: var(--a); --cd: var(--a-d); --fg: #fff;
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px; border-radius: 16px;
  background: var(--c); color: var(--fg); box-shadow: 0 var(--lip) 0 var(--cd);
  font: 800 17px/1 var(--font); letter-spacing: .06em; text-transform: uppercase;
  transition: transform 90ms ease, box-shadow 90ms ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(var(--lip)); box-shadow: 0 0 0 var(--cd); }
.btn:focus-visible, .store:focus-visible, .lang a:focus-visible, summary:focus-visible { outline: 3px solid var(--b); outline-offset: 3px; }
.btn.b { --c: var(--b); --cd: var(--b-d); }
.btn.white { --c: #fff; --cd: var(--line-d); --fg: var(--ink); }
.btn.ink { --c: var(--ink); --cd: #000; }
@media (hover: hover) { .btn:hover { filter: brightness(1.04); } }

/* App Store badge (black pill) */
.store { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 16px 0 13px;
  border-radius: 12px; background: #000; color: #fff; text-decoration: none; flex: none; }
.store svg { width: 22px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1; }
.store small { font: 600 10px/1 -apple-system, system-ui, sans-serif; letter-spacing: .01em; }
.store b { font: 600 19px/1.05 -apple-system, system-ui, sans-serif; letter-spacing: -.01em; margin-top: 2px; }
.store.sm { height: 40px; padding: 0 12px 0 10px; border-radius: 10px; }
.store.sm svg { width: 17px; height: 21px; } .store.sm b { font-size: 15px; } .store.sm small { font-size: 8.5px; }

/* ── header ── */
header { position: sticky; top: 0; z-index: 50; background: var(--hero); transition: box-shadow .2s; }
header.scrolled { box-shadow: 0 1px 0 rgba(42,26,20,.12); }
header .wrap { display: flex; align-items: center; gap: 12px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img.ic { width: 40px; height: 40px; border-radius: 10px; }
.brand img.wm { height: 26px; width: auto; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(42,26,20,.08); }
.lang a { font: 800 13px/1 var(--font); letter-spacing: .06em; color: var(--ink2); padding: 8px 11px; border-radius: 999px; text-decoration: none; }
.lang a[aria-current="page"] { background: #fff; color: var(--ink); }

/* invite banner (someone opened a duel link: #r=…) */
.invite { display: none; background: var(--ink); color: #fff; }
.invite.on { display: block; }
.invite .wrap { display: flex; align-items: center; gap: 14px; padding: 12px 0; flex-wrap: wrap; }
.invite p { flex: 1 1 260px; font-weight: 800; }
.invite .btn { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ── hero ── */
.hero { position: relative; background: var(--hero); overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--pat) 0 0 / 360px repeat; opacity: var(--pat-o); }
.hero .wrap { display: grid; grid-template-columns: 1fr 500px; gap: 40px; align-items: center; padding: 36px 0 0; }
.hero .copy { padding-bottom: 120px; }
.hero .label { color: var(--hero-ink); }
.hero h1 { font: 900 clamp(48px, 7vw, 84px)/.95 var(--font); margin: 14px 0 20px; letter-spacing: -.02em; }
.hero h1 .w { display: inline-block; }
.hero .sub { color: var(--ink); opacity: .8; max-width: 30ch; }
.ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.qr { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-weight: 800; font-size: 14px; color: var(--hero-ink); }
.qr i { display: block; width: 76px; height: 76px; padding: 8px; background: #fff; border-radius: 12px; }
.qr img { width: 100%; height: 100%; }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; background: var(--floor); }
.floor::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--floor-e); }

/* the demo: the real Plate stack game */
.stage { position: relative; align-self: end; height: 620px; }
.demo { position: absolute; left: 50%; bottom: 46px; width: 330px; height: 540px; transform: translateX(-50%);
  background: #fff; border-radius: 30px; box-shadow: 0 7px 0 var(--floor-e); overflow: hidden; z-index: 2;
  display: flex; flex-direction: column; }
.hud { display: flex; align-items: center; gap: 8px; padding: 14px 14px 10px; }
.pill { flex: 1; display: flex; flex-direction: column; justify-content: center; height: 46px; padding: 0 12px;
  border-radius: 14px; border: 2.5px solid var(--line); min-width: 0; }
.pill small { font: 800 10px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pill b { font: 900 22px/1.05 var(--font); font-variant-numeric: tabular-nums; }
.pill.a { border-color: var(--a); background: var(--a-t); } .pill.a b { color: var(--a-d); }
.pill.b { text-align: right; } .pill.b b { color: var(--b-d); }
.clock { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font: 900 19px/1 var(--font); font-variant-numeric: tabular-nums; }
.bar { height: 8px; margin: 0 14px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; border-radius: 4px; }
.field { position: relative; flex: 1; margin-top: 8px; }
.field .host { position: absolute; inset: 0; }
.panel { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 24px; text-align: center; background: rgba(255,255,255,.9); }
.panel[hidden] { display: none; }
.panel h3 { font: 900 25px/1.1 var(--font); }
.panel p { color: var(--ink2); font-size: 15px; max-width: 24ch; }
.panel .btn { margin-top: 10px; }
.panel .big { font: 900 92px/1 var(--font); color: var(--a); animation: pop .45s var(--snap); }
.panel .face { width: 76px; height: 76px; margin-bottom: 2px; animation: pop .5s var(--snap); }
.panel .score { font: 900 20px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--ink2); }
.panel .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.panel .row .btn { margin: 0; min-height: 50px; padding: 0 20px; font-size: 15px; }
.verdict { font: 900 32px/1.02 var(--font); letter-spacing: -.01em; }
.verdict .who-a { color: var(--a); } .verdict .who-b { color: var(--b); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.char { position: absolute; bottom: 30px; width: 150px; height: 210px; z-index: 1; pointer-events: none; }
.stage > .char.me { left: -6px; } .stage > .char.them { right: -6px; }
.char .tag { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font: 800 13px/1 var(--font);
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.char.me .tag { color: var(--a-d); } .char.them .tag { color: var(--b-d); }
.char .rig { position: absolute; inset: 0; }
.char.them .rig { transform: scaleX(-1); }

/* ── sections ── */
section { padding: 104px 0; }
.head { max-width: 640px; margin-bottom: 48px; }
.head.c { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { font: 900 clamp(36px, 4.6vw, 54px)/1.02 var(--font); margin: 10px 0 16px; letter-spacing: -.02em; }
.head .label { color: var(--muted); }

.show .note { display: flex; gap: 14px; align-items: center; margin-top: 36px; padding: 18px 22px; background: #fff;
  border-radius: 20px; max-width: 720px; }
.note img { width: 64px; flex: none; }
.note p { color: var(--ink2); }
.note p b { color: var(--ink); }

/* brag + streak */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { position: relative; border-radius: 28px; background: var(--t); padding: 40px 40px 0; overflow: hidden; display: flex; flex-direction: column; }
.tile h3 { font: 900 34px/1.05 var(--font); letter-spacing: -.01em; }
.tile p { color: var(--ink2); margin-top: 10px; max-width: 30ch; }
.tile .phone { margin: 36px auto 0; width: 270px; border-radius: 38px 38px 0 0; background: #fff; padding: 10px 10px 0; }
.tile .phone img { border-radius: 30px 30px 0 0; aspect-ratio: 1206 / 1560; object-fit: cover; object-position: top; width: 100%; height: auto; }
.tile .prop { position: absolute; width: 150px; bottom: 18px; z-index: 2; }
.tile.t1 { --t: var(--b-t); } .tile.t1 .prop { left: 12px; }
.tile.t2 { --t: var(--a-t); } .tile.t2 .prop { right: 12px; }

/* FAQ */
.faq-sec { background: var(--faq-bg); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq h3 { font: 900 15px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
details { border-bottom: 2px solid var(--line-d); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 0; font: 900 19px/1.25 var(--font); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; margin-left: auto; width: 12px; height: 12px; border-right: 3px solid var(--ink2); border-bottom: 3px solid var(--ink2);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--out); }
details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
details p { color: var(--ink2); padding: 0 32px 22px 0; }

footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .brand img.wm { height: 22px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
footer a { text-decoration: none; color: rgba(255,255,255,.85); }
footer a:hover { color: #fff; }


/* ── v3: story · games showcase · pricing · install bar · motion (mobile first) ── */
section#more { background: var(--more-bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* story: the kitchen, four beats */
.story { background: var(--story-bg); }
.sbox { max-width: 1000px; margin: 0 auto; }
.bars { display: flex; gap: 6px; margin: 0 4px 12px; }
.bars i { flex: 1; height: 5px; border-radius: 3px; background: rgba(42,26,20,.12); overflow: hidden; }
.bars b { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.bars i.done b { transform: none; }
.bars i.on b { animation: fillbar var(--beat, 4200ms) linear forwards; }
.sbox.paused .bars i.on b, .sbox.manual .bars i.on b { animation-play-state: paused; }
.sbox.manual .bars i.on b { animation: none; transform: none; }
@keyframes fillbar { to { transform: none; } }
.story .scene { position: relative; overflow: hidden; border-radius: 26px; aspect-ratio: 1 / 1.08;
  background: #FDEDD0 var(--bgm) 50% 100% / auto 100% no-repeat; box-shadow: 0 6px 0 #0F8286; }
.story .scene .char { bottom: 3%; width: 36%; height: 50%; z-index: 2; }
.story .scene .char.me { left: -3%; } .story .scene .char.them { right: -3%; }
.bub { position: absolute; left: 50%; top: -6%; transform: translate(-50%, 8px) scale(.6); opacity: 0; white-space: nowrap;
  background: #fff; color: var(--ink); font: 900 17px/1 var(--font); padding: 11px 14px; border-radius: 16px;
  box-shadow: 0 4px 0 rgba(42,26,20,.14); transition: transform .45s var(--snap), opacity .15s; z-index: 3; }
.bub::after { content: ''; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: #fff; }
.char.them .bub { transform: translate(-50%, 8px) scale(.6); }
.bub.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.char.them .bub.show { transition-delay: .5s; }
.story .phone { border-radius: 22px; background: #fff; padding: 6px; box-shadow: 0 5px 0 rgba(42,26,20,.18); }
.story .phone img { border-radius: 17px; aspect-ratio: 1206 / 1640; object-fit: cover; object-position: top; width: 100%; height: auto; }
.prop-stake, .prop-reveal { position: absolute; left: 50%; bottom: 7%; width: 40%; z-index: 1;
  transform: translate(-50%, 30%) rotate(-6deg) scale(.7); opacity: 0; transition: transform .55s var(--snap), opacity .2s; }
.prop-reveal { transform: translate(-50%, 30%) rotate(5deg) scale(.7); }
.b1 .prop-stake { opacity: 1; transform: translate(-50%, 0) rotate(-4deg); }
.b3 .prop-reveal { opacity: 1; transform: translate(-50%, 0) rotate(3deg); }
.minis .mini { position: absolute; bottom: 30%; width: 27%; z-index: 4; border-radius: 16px; background: var(--ink); padding: 5px;
  opacity: 0; transform: translateY(30px) scale(.6); transition: transform .5s var(--snap), opacity .2s; }
.mini.me { left: 22%; rotate: -5deg; } .mini.them { right: 22%; rotate: 5deg; }
.mini video { display: block; width: 100%; aspect-ratio: 3 / 5; object-fit: cover; border-radius: 12px; background: #fff; }
.mini .sc { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; background: #fff; border-radius: 10px;
  padding: 5px 9px; font: 900 12px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 3px 0 rgba(42,26,20,.14); }
.mini.me .sc { color: var(--a-d); } .mini.them .sc { color: var(--b-d); }
.mini .sc b { color: var(--ink); }
.b2 .mini { opacity: 1; transform: none; } .b2 .mini.them { transition-delay: .12s; }
.tap { position: absolute; top: 0; bottom: 0; width: 34%; z-index: 5; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tap.prev { left: 0; } .tap.next { right: 0; width: 66%; }
.tap:focus-visible { outline: 3px solid var(--b); outline-offset: -6px; border-radius: 26px; }
.beats { list-style: none; margin: 20px 0 0; padding: 0; display: grid; }
.beats li { grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .35s var(--out); }
.beats li.on { visibility: visible; opacity: 1; transform: none; }
.beats button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; width: 100%; }
.beats button:focus-visible { outline: 3px solid var(--b); outline-offset: 4px; border-radius: 12px; }
.beats .n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: #fff;
  font: 900 18px/1 var(--font); box-shadow: 0 3px 0 var(--a-d); }
.beats .tx b { display: block; font: 900 24px/1.12 var(--font); letter-spacing: -.01em; }
.beats .tx small { display: block; margin-top: 6px; font: 700 16px/1.4 var(--font); color: var(--ink2); }

/* games showcase: one phone, the real game recorded */
.show { background: var(--show-bg); overflow: hidden; }
.showgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.show .head { margin-bottom: 0; }
.viewer { display: flex; flex-direction: column; align-items: center; }
.device { width: min(236px, 64vw); padding: 9px; border-radius: 42px; background: var(--ink); box-shadow: 0 7px 0 #000; rotate: -2deg; }
.screen { position: relative; overflow: hidden; border-radius: 33px; background: #fff; }
.screen video { display: block; width: 100%; aspect-ratio: 3 / 5; object-fit: cover; background: #fff; }
.screen.swap video { animation: swapin .5s var(--out); }
.wipe { position: absolute; inset: 0; background: var(--yolk); transform: translateY(101%); pointer-events: none; }
.screen.swap .wipe { animation: wipe .5s var(--out); }
@keyframes wipe { 0% { transform: translateY(101%); } 45% { transform: translateY(0); } 100% { transform: translateY(-101%); } }
@keyframes swapin { 0%, 40% { transform: scale(1.08); } 100% { transform: none; } }
.info { margin-top: 18px; text-align: center; min-height: 96px; max-width: 34ch; }
.info b { font: 900 24px/1.1 var(--font); letter-spacing: -.01em; }
.plus-tag { display: block; margin: 4px 0 0; font: 800 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--yolk-ink); }
.plus-tag[hidden] { display: none; }
.info p { margin-top: 8px; color: var(--ink2); font-size: 16px; }
.chips-wrap { margin: 0 -20px; }
.chips { list-style: none; margin: 0; padding: 8px 20px 14px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips li { flex: none; scroll-snap-align: center; }
.chips button { all: unset; box-sizing: border-box; position: relative; display: grid; place-items: center; width: 72px; height: 96px; border-radius: 18px;
  background: #fff; box-shadow: 0 4px 0 var(--line-d); cursor: pointer; transition: transform .3s var(--snap), box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.chips button img { height: 78px; width: auto; object-fit: contain; }
.chips button img.poster { width: 60px; height: 78px; object-fit: cover; border-radius: 12px; }
.chips:not(:hover) button:not(.on) { opacity: .6; transform: scale(.92); }
.chips button:hover { opacity: 1; }
.chips button.on { opacity: 1; transform: translateY(-6px) scale(1.08); box-shadow: 0 0 0 3.5px var(--a), 0 6px 0 3.5px var(--a-d); }
.chips button:focus-visible { outline: 3px solid var(--b); outline-offset: 3px; }
.chips em { position: absolute; top: 5px; right: 8px; font: 900 15px/1 var(--font); font-style: normal; color: var(--yolk-ink); }
/* clip progress: one smooth bar along the bottom of the phone screen (CSS animation timed to the clip, not timeupdate) */
.prog { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 5px; border-radius: 3px; background: rgba(42,26,20,.14); overflow: hidden; z-index: 2; }
.prog i { display: block; height: 100%; background: var(--ink); border-radius: 3px; transform: scaleX(0); transform-origin: left; }
@keyframes prog { to { transform: none; } }

/* pricing: Free next to Catapum+, plan picker inside the Plus card */
.pricing { background: var(--price-bg); }
.plans { display: grid; gap: 22px; max-width: 940px; margin: 0 auto; align-items: start; }
.pcard { position: relative; border-radius: 28px; padding: 28px 24px; background: #fff; box-shadow: 0 6px 0 var(--line-d); }
.pname { font: 900 15px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pprice { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 20px; }
.pprice b { font: 900 54px/1 var(--font); letter-spacing: -.02em; }
.pprice span { font-weight: 800; color: var(--muted); }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 800; font-size: 17px; line-height: 1.3; }
.ticks li i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.ticks li i svg { width: 14px; height: 14px; }
.ticks li span small { display: block; font-weight: 700; font-size: 15px; color: var(--yolk-ink); margin-top: 2px; }
.pcard .btn { width: 100%; }
.pcard.free .btn.white { box-shadow: 0 var(--lip) 0 var(--line-d), inset 0 0 0 2.5px var(--line-d); }
.pcard.plus { background: transparent; box-shadow: none; isolation: isolate; margin-top: 108px; }
.pcard.plus::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--yolk); box-shadow: 0 7px 0 var(--yolk-d); }
.pcard.plus .rays { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; }
.pcard.plus .rays::before { content: ''; position: absolute; width: 1400px; height: 1400px; left: 100%; top: 0; margin: -700px 0 0 -700px;
  background: repeating-conic-gradient(from 0deg, #FFD15C 0deg 9deg, transparent 9deg 18deg); animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pcard.plus .pname { color: var(--yolk-ink); }
.pcard.plus .ticks li i { background: #fff; }
.peek { position: absolute; right: 18px; top: -112px; width: 230px; height: 150px; z-index: -2; }
.peek .char { bottom: -38px; width: 108px; height: 152px; }
.peek .char.me { left: 0; } .peek .char.them { right: 0; }
.planpick { border: 0; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; background: rgba(255,255,255,.55); cursor: pointer;
  box-shadow: inset 0 0 0 2.5px transparent; transition: background .15s, box-shadow .15s, transform .25s var(--snap); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2.5px rgba(42,26,20,.25); }
.opt .ck svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: transform .3s var(--snap), opacity .15s; }
.opt:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2.5px var(--ink); }
.opt:has(input:checked) .ck { box-shadow: inset 0 0 0 2.5px var(--ink); }
.opt:has(input:checked) .ck svg { opacity: 1; transform: none; }
.opt:has(input:focus-visible) { outline: 3px solid var(--b); outline-offset: 3px; }
.opt:active { transform: scale(.98); }
.opt .on { flex: 1; font: 900 17px/1.15 var(--font); }
.opt .on em { font-style: normal; margin-left: 8px; font: 800 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--a-d); }
.opt .on small, .opt .pp small { display: block; margin-top: 3px; font: 700 13px/1.2 var(--font); color: var(--yolk-ink); }
.opt .pp { text-align: right; } .opt .pp b { font: 900 19px/1 var(--font); font-variant-numeric: tabular-nums; }
.psub { font: 900 15px/1.2 var(--font); margin-bottom: 14px; }
.price { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--yolk-ink); min-height: 2.9em; }
.fine { text-align: center; margin-top: 26px; font-size: 14px; font-weight: 700; color: var(--muted); }

/* final: the living room */
.final { --imgW: 640px; --imgH: calc(var(--imgW) * .5628); position: relative; text-align: center; padding: 72px 0 0; overflow: hidden;
  background: var(--final-bg) var(--bgm) 50% 100% / var(--imgW) auto no-repeat; }
.final h2 { font: 900 clamp(40px, 6vw, 72px)/.98 var(--font); letter-spacing: -.02em; }
.final .ctas { justify-content: center; }
.final .scene { position: relative; height: calc(var(--imgH) * .8); }
.final .scene .char { --h: calc(var(--imgH) * .46); bottom: calc(var(--imgH) * .03); height: var(--h); width: calc(var(--h) * .714); z-index: 2; }
.final .scene .char.me { left: max(4px, calc(50% - var(--imgW) * .25 - var(--h) * .357)); } .final .scene .char.them { right: max(4px, calc(50% - var(--imgW) * .25 - var(--h) * .357)); }

/* install bar (phones) */
.getbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 12px; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 5px 0 var(--line-d), inset 0 0 0 2px var(--line); transform: translateY(calc(100% + 40px)); visibility: hidden;
  transition: transform .45s var(--out), visibility 0s .45s; }
.getbar.show { transform: none; visibility: visible; transition: transform .5s var(--snap), visibility 0s; }
.getbar img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.getbar .gt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.getbar .gt b { font: 900 17px/1.1 var(--font); }
.getbar .gt small { font: 700 13px/1.2 var(--font); color: var(--muted); }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 13px; --lip: 4px; }
.getbar:active .btn { transform: translateY(4px); box-shadow: 0 0 0 var(--a-d); }

/* motion: reveals + dropping letters (only once JS has marked the page) */
.js [data-rv] { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .6s var(--out) var(--d, 0s), transform .75s var(--snap) var(--d, 0s); }
.js [data-rv].in { opacity: 1; transform: none; }
.drop .w { display: inline-block; white-space: nowrap; }
.drop .l { display: inline-block; transition: transform .6s var(--snap) calc(var(--i) * 26ms), opacity .18s linear calc(var(--i) * 26ms); }
.js .drop:not(.in) .l { transform: translateY(-.7em) rotate(-10deg); opacity: 0; }

/* ── wider screens ── */
@media (min-width: 640px) {
  .story .scene { aspect-ratio: 16 / 9; background-image: var(--bg); background-size: cover; background-position: 50% 100%; }
  .story .scene .char { width: 22%; height: 56%; bottom: 4%; }
  .story .scene .char.me { left: 8%; } .story .scene .char.them { right: 8%; }
  .prop-stake, .prop-reveal { width: 21%; bottom: 6%; }
  .minis .mini { width: 13%; bottom: 34%; } .mini.me { left: 27%; } .mini.them { right: 27%; }
  .bub { font-size: 20px; padding: 13px 18px; }
  .beats { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
  .beats li { grid-area: auto; visibility: visible; opacity: .5; transform: none; }
  .beats li.on { opacity: 1; }
  .beats .n { background: var(--line-d); color: var(--ink2); box-shadow: none; transition: background .2s, color .2s; }
  .beats li.on .n { background: var(--a); color: #fff; box-shadow: 0 3px 0 var(--a-d); }
  .beats .tx b { font-size: 19px; }
  .beats .tx small { font-size: 15px; }
  .plans { grid-template-columns: 1fr 1.15fr; }
  .pcard { padding: 34px 32px; }
  .pcard.free { margin-top: 108px; }
  .final { --imgW: max(100vw, 1100px); background-image: var(--bg); padding-top: 96px; }
}
@media (min-width: 981px) {
  .showgrid { grid-template-columns: 1fr 340px; grid-template-areas: "head viewer" "chips viewer"; column-gap: 64px; align-items: start; }
  .show .head { grid-area: head; align-self: end; }
  .viewer { grid-area: viewer; }
  .chips-wrap { grid-area: chips; margin: 0; }
  .chips { flex-wrap: wrap; overflow: visible; padding: 8px 0 0; max-width: 580px; }
  .device { width: 300px; }
}
@media (min-width: 901px) { .getbar { display: none; } }
@media (max-width: 900px) { footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

/* ── responsive (kept from v2) ── */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .hero .copy { padding-bottom: 28px; }
  .stage { height: 560px; justify-self: center; width: 100%; max-width: 440px; }
  .duo { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq > div + div { margin-top: 40px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  header .wrap { height: 60px; }
  header .store { display: none; }
  .brand img.ic { width: 34px; height: 34px; } .brand img.wm { height: 22px; }
  .hero h1 { margin-top: 10px; }
  .sub { font-size: 17px; }
  .qr { display: none; }
  .ctas .btn { flex: 1 1 100%; }
  .hero .ctas .store { display: none; }
  .hero .ctas { margin-top: 24px; }
  .stage { height: 530px; }
  .demo { width: 300px; height: 470px; bottom: 50px; }
  .char { width: 100px; height: 140px; bottom: 40px; }
  .stage > .char.me { left: -16px; } .stage > .char.them { right: -16px; }
  .stage > .char { z-index: 3; transition: opacity .2s ease, transform .25s var(--out); }
  .stage.playing > .char { opacity: 0; transform: translateY(16px); }
  .char .tag { bottom: -22px; font-size: 11px; }
  section { padding: 72px 0; }
  .head { margin-bottom: 32px; }
  .tile { padding: 30px 26px 0; }
  .tile h3 { font-size: 28px; }
  .tile .prop { width: 110px; }
  footer nav { margin-left: 0; }
}
@media (pointer: coarse) { .qr { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pcard.plus .rays::before { animation: none; }
  .panel .big, .panel .face { animation: none; }
  .js [data-rv] { opacity: 1; transform: none; transition: none; }
  .js .drop:not(.in) .l { transform: none; opacity: 1; }
  .drop .l, .bub, .prop-stake, .prop-reveal, .mini, .getbar, .chips button { transition: none; }
  .screen.swap video, .screen.swap .wipe { animation: none; }
}

/* Tier 1 pages follow the home's colour direction: html[data-theme="rooms"] → --hero / --hero-ink (page.css). */
/* ── Tier 1 pages (alternatives, use cases, the tool): pages.mjs appends this to page.css → a/pages.css ── */
.narrow { width: min(820px, 100% - 40px); margin: 0 auto; }
.p-hero { background: var(--hero); padding: 34px 0 60px; }
.crumbs { font: 800 13px/1.4 var(--font); color: var(--hero-ink); }
.crumbs a { color: inherit; text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; opacity: .6; }
.p-hero .label { color: var(--hero-ink); margin-top: 22px; }
.p-hero h1 { font: 900 clamp(38px, 6vw, 64px)/1 var(--font); letter-spacing: -.02em; margin: 12px 0 18px; }
.p-hero .sub { color: var(--ink); opacity: .85; max-width: 48ch; }
.answer { background: #fff; border-radius: 22px; padding: 22px 26px; margin-top: 28px; box-shadow: 0 5px 0 var(--yolk-d); }
.answer p { font-weight: 700; line-height: 1.55; text-wrap: pretty; }
.p-hero .ctas { margin-top: 26px; }

.p-sec { padding: 72px 0; }
.p-sec.tint { background: var(--tint); }
.p-sec h2 { font: 900 clamp(28px, 3.8vw, 42px)/1.05 var(--font); letter-spacing: -.02em; margin-bottom: 22px; }
.p-sec p + p { margin-top: 12px; }
.p-sec .small, .small { font-size: 14px; color: var(--muted); font-weight: 700; margin-top: 18px; }
ul.dots { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.dots li { position: relative; padding-left: 24px; color: var(--ink2); line-height: 1.5; }
ul.dots li::before { content: ''; position: absolute; left: 3px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--yolk-d); }
.meta { margin-top: 20px; color: var(--ink2); font-size: 15px; }
.src { margin-top: 6px; font-size: 14px; color: var(--muted); }
.src a { color: var(--ink2); }

/* X vs Catapum */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border-radius: 22px; padding: 24px 24px 22px; box-shadow: 0 4px 0 var(--line-d); }
.card.us { background: var(--yolk-t); box-shadow: 0 4px 0 #F2D88E; }
.card h3 { font: 900 22px/1.15 var(--font); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.card h3 img { width: 30px; height: 30px; border-radius: 8px; }
.card ul.dots li { font-size: 16px; }
.pick { display: grid; gap: 14px; }
.pick p { background: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: 0 4px 0 var(--line-d); color: var(--ink2); }
.pick p:last-child { background: var(--yolk-t); box-shadow: 0 4px 0 #F2D88E; color: var(--ink); }

/* tables (hub, use cases); cards on phones */
.tbl { overflow-x: auto; margin: 0 -20px; padding: 0 20px 8px; }
table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 0 var(--line-d); font-size: 16px; line-height: 1.4; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 2px solid var(--line); }
th { font: 800 12px/1.2 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
tr:last-child td { border-bottom: 0; }
td { color: var(--ink2); font-weight: 700; }
td:first-child { color: var(--ink); font-weight: 900; }
td:first-child a { color: inherit; }
td small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--yolk-ink); margin-top: 2px; }
tr.us td { background: var(--yolk-t); }
@media (max-width: 640px) {
  .tbl { overflow: visible; margin: 0; padding: 0; }
  table, tbody, tr, td { display: block; min-width: 0; }
  table { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  thead { display: none; }
  tr { background: #fff; border-radius: 20px; box-shadow: 0 4px 0 var(--line-d); margin-bottom: 14px; overflow: hidden; }
  tr.us { background: var(--yolk-t); }
  td { border: 0; padding: 4px 18px; }
  td:first-child { font-size: 19px; padding-top: 16px; padding-bottom: 8px; }
  td:last-child { padding-bottom: 16px; }
  td[data-l]::before { content: attr(data-l); display: block; font: 800 11px/1.4 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}

/* game ideas (games for couples at home) */
.ideas { display: grid; gap: 34px; }
.ideas h3 { font: 900 15px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ideas ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: i var(--start, 0); }
.ideas li { counter-increment: i; background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: 0 4px 0 var(--line-d); }
.ideas li b { display: flex; gap: 10px; align-items: baseline; font: 900 19px/1.2 var(--font); margin-bottom: 6px; }
.ideas li b::before { content: counter(i); color: var(--yolk-ink); font-variant-numeric: tabular-nums; }
.ideas li span { color: var(--ink2); font-size: 16px; }
.ideas li.us { background: var(--yolk-t); box-shadow: 0 4px 0 #F2D88E; }

/* steps (the tool's how-it-works) */
ol.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: h; }
ol.how li { counter-increment: h; background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 4px 0 var(--line-d); }
ol.how b { display: flex; gap: 10px; align-items: baseline; font: 900 19px/1.2 var(--font); margin-bottom: 6px; }
ol.how b::before { content: counter(h); color: var(--a-d); }
ol.how span { color: var(--ink2); font-size: 16px; }

/* related links */
ul.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
ul.links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; background: #fff; border-radius: 16px; padding: 16px 18px;
  text-decoration: none; font-weight: 800; box-shadow: 0 4px 0 var(--line-d); transition: transform 90ms ease, box-shadow 90ms ease; }
ul.links a::after { content: '→'; color: var(--muted); flex: none; }
ul.links a:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line-d); }
ul.links a:focus-visible { outline: 3px solid var(--b); outline-offset: 3px; }
.tint ul.links a { background: #fff; }

/* final CTA (no rigs here: one prop from the game's world) */
.p-final { background: var(--hero); text-align: center; padding: 80px 0 0; overflow: hidden; }
.p-final h2 { font: 900 clamp(36px, 5.4vw, 60px)/1 var(--font); letter-spacing: -.02em; }
.p-final .ctas { justify-content: center; }
.p-final .sub { margin-top: 14px; color: var(--hero-ink); font-size: 15px; }
.p-final .plates { width: 150px; margin: 34px auto 0; position: relative; z-index: 1; }
.p-final .floor { position: relative; height: 54px; margin-top: -14px; }
footer .more { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); order: 3; }
footer .more a { color: rgba(255,255,255,.7); }

/* the web tool */
.tool { display: flex; justify-content: center; margin-top: 30px; }
.tool .demo { position: relative; left: auto; bottom: auto; transform: none; width: min(360px, 100%); height: 580px; }
.tool .pill b { font-size: 20px; }
.tool .pill small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tool .panel { overflow-y: auto; }
.setup { display: grid; gap: 12px; width: 100%; max-width: 280px; text-align: left; }
.setup .in small { display: block; font: 800 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.setup input:not([type]) { width: 100%; height: 48px; border-radius: 14px; border: 2.5px solid var(--line-d); background: #fff; padding: 0 14px; font: 800 17px/1 var(--font); color: var(--ink); }
.setup input:not([type]):focus { outline: none; border-color: var(--b); }
.stakes { border: 0; padding: 0; margin: 2px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.stakes legend { font: 800 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 13px; border-radius: 12px; background: var(--tint); color: var(--ink2); font: 800 14px/1 var(--font); box-shadow: 0 3px 0 var(--line-d); }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 3px 0 #000; }
.chip input:focus-visible + span { outline: 3px solid var(--b); outline-offset: 2px; }
.setup .btn { margin-top: 6px; width: 100%; }
.panel .fine { font-size: 13px; margin-top: 12px; color: var(--muted); }

@media (max-width: 980px) { .vs { grid-template-columns: 1fr; } ol.how { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .p-hero { padding: 24px 0 44px; }
  .p-sec { padding: 52px 0; }
  .answer { padding: 18px 20px; }
  .ideas ol, ul.links { grid-template-columns: 1fr; }
  .tool .demo { height: 560px; }
}
