@font-face { font-family: "Bricolage"; src: url("bricolage-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --palm: #0F3B2E;
  --frond: #E7F2EC;
  --moss: #4F6E62;
  --pink: #D42B63;
  --mango: #FFB547;
  --cobalt: #256BE5;
  --lime: #7BC74D;
  --tangerine: #FF7A45;
  --night-surface: #164A3A;
  --night-muted: #A9C2B8;
  --night-shadow: #0A2A20;

  --bg: #FFFFFF;
  --ink: var(--palm);
  --muted: var(--moss);
  --well: var(--frond);
  --line: var(--palm);
  --shadow: var(--palm);
  --surface: #FFFFFF;
  --sea: #E7F2EC;
  --sea-line: #CFE5DA;
  --cloud: #FFFFFF;
  --glow: 0;

  --gutter: 24px;
  --max: 1240px;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

:root[data-theme="night"] {
  --bg: var(--palm);
  --ink: #FFFFFF;
  --muted: var(--night-muted);
  --well: var(--night-surface);
  --line: #FFFFFF;
  --shadow: var(--night-shadow);
  --surface: var(--night-surface);
  --sea: #0B3327;
  --sea-line: #164A3A;
  --cloud: #E7F2EC;
  --glow: 1;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="day"]) {
    --bg: var(--palm);
    --ink: #FFFFFF;
    --muted: var(--night-muted);
    --well: var(--night-surface);
    --line: #FFFFFF;
    --shadow: var(--night-shadow);
    --surface: var(--night-surface);
    --sea: #0B3327;
    --sea-line: #164A3A;
    --cloud: #E7F2EC;
    --glow: 1;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.45 "Bricolage", ui-rounded, system-ui, sans-serif;
  overflow-x: clip;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 12px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 8px; }

.display { font-weight: 800; font-size: clamp(44px, 7.4vw, 108px); line-height: .9; letter-spacing: -.045em; }
.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead, .section-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; }
.section-lead { color: var(--muted); max-width: 34em; }

.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid var(--palm); font-size: 25px; line-height: 1;
}
.avatar-pink { background: var(--pink); }
.avatar-mango { background: var(--mango); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 60px; padding: 0 28px; border-radius: 22px;
  border: 3px solid var(--line); box-shadow: 0 6px 0 var(--shadow);
  font-weight: 800; font-size: 19px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), background-color .3s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--shadow); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--shadow); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-mango { background: var(--mango); color: var(--palm); }
.btn-palm { background: var(--palm); color: #fff; }
.btn-ghost { background: var(--well); color: var(--ink); border-color: transparent; box-shadow: none; }
.btn-ghost:hover, .btn-ghost:active { box-shadow: none; }
.btn-small { min-height: 46px; padding: 0 18px; font-size: 16px; border-radius: 16px; box-shadow: 0 4px 0 var(--shadow); }
.btn-small:hover { box-shadow: 0 6px 0 var(--shadow); }
:root[data-theme="night"] .btn-palm { background: #fff; color: var(--palm); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .btn-palm { background: #fff; color: var(--palm); } }

.sticker {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  border: 3px solid var(--line); box-shadow: 0 4px 0 var(--shadow);
  background: var(--surface); font-weight: 800; font-size: 16px; transform: rotate(-4deg);
}
.sticker-mango { background: var(--mango); color: var(--palm); }

/* ---------- bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color .5s var(--ease-out);
}
.wordmark { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; margin-right: auto; }
.wordmark img { border-radius: 11px; border: 2px solid var(--line); }
.bar-nav { display: flex; gap: 22px; font-weight: 800; font-size: 16px; }
.bar-nav a { text-decoration: none; }
.bar-nav a:hover { text-decoration: underline; }

.lamp {
  position: relative; width: 48px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer;
}
.lamp-cord { position: absolute; left: 50%; top: -30px; width: 3px; height: 34px; background: var(--ink); transform-origin: top; transition: height .25s var(--ease-pop); }
.lamp-shade { position: absolute; inset: 4px 0 0; width: 48px; height: 40px; overflow: visible; }
.lamp-shade path, .pendant-shade path { fill: var(--mango); stroke: var(--line); stroke-width: 3; stroke-linejoin: round; }
.lamp-bulb { fill: var(--bg); stroke: var(--line); stroke-width: 3; transition: fill .3s; }
.lamp.is-pulled .lamp-cord { height: 44px; }
.lamp-tip { position: absolute; top: 50px; left: 50%; translate: -50% 0; padding: 3px 8px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 800; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.lamp:hover .lamp-tip, .lamp:focus-visible .lamp-tip { opacity: 1; }
.lamp:hover .lamp-shade { animation: swing .8s ease-in-out; transform-origin: 50% 0; }
@keyframes swing { 30% { rotate: 8deg; } 65% { rotate: -5deg; } }
:root[data-theme="night"] .lamp-bulb { fill: #FFE7A8; filter: drop-shadow(0 0 8px #FFD27A); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .lamp-bulb { fill: #FFE7A8; filter: drop-shadow(0 0 8px #FFD27A); } }

/* ---------- hero ---------- */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(20px, 4vw, 56px) var(--gutter) clamp(48px, 7vw, 96px); }
.hero-title {
  margin-top: 14px;
  font-weight: 800; font-size: clamp(56px, 12.4vw, 196px); line-height: .86; letter-spacing: -.055em;
}
.hero-line { display: block; white-space: nowrap; }
.hero-line + .hero-line { position: relative; display: block; width: fit-content; margin-left: .5em; padding-right: 1.05em; }
.hero-on { color: var(--pink); }
.js .hero-title .w, .js .hero-mascot { display: inline-block; animation: word-in .7s var(--ease-pop) calc(var(--i) * 110ms + 80ms) both; }
.js .hero-mascot { --i: 4; animation: word-in .7s var(--ease-pop) 560ms both, mascot-bob 3.2s ease-in-out 1.3s infinite; }
@keyframes word-in { from { opacity: 0; transform: translateY(.35em) rotate(-6deg) scale(.9); } }
.hero-mascot {
  position: absolute; width: .98em; height: auto;
  right: -.02em; top: -.12em;
  transform: rotate(8deg);
  animation: mascot-bob 3.2s ease-in-out infinite;
  cursor: pointer;
}
@keyframes mascot-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.js .hero-mascot.is-hop { animation: mascot-hop .7s var(--ease-pop); }
@keyframes mascot-hop { 0% { translate: 0 0; } 35% { translate: 0 -40px; rotate: -10deg; } 70% { translate: 0 4px; } 100% { translate: 0 0; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: clamp(28px, 4vw, 56px); }
.hero-copy { display: grid; gap: 24px; justify-items: start; padding-top: 12px; max-width: 30em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 6px 12px; border-radius: 999px; background: var(--well); font-size: 14px; font-weight: 800; letter-spacing: .01em; }

/* ---------- stage (the playable round) ---------- */
.stage {
  position: relative; min-height: 470px;
  border: 3px solid var(--line); border-radius: 32px; box-shadow: 0 10px 0 var(--shadow);
  background: var(--surface); padding: 22px;
  display: grid; overflow: hidden;
  transition: background-color .4s var(--ease-out);
}
.stage > * { grid-area: 1 / 1; }
.stage { overflow: visible; }
.stage > .stage-turn {
  grid-area: auto; position: absolute; z-index: 5; top: -22px; left: 22px;
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 16px 4px 4px; border-radius: 999px;
  background: var(--mango); color: var(--palm); border: 3px solid var(--line); box-shadow: 0 4px 0 var(--shadow);
  font-weight: 800; font-size: 17px; transform: rotate(-4deg); white-space: nowrap;
  animation: sticker-in .45s var(--ease-pop) .9s both;
}
.stage-turn .avatar { width: 30px; height: 30px; font-size: 16px; border-width: 2px; }
.stage-turn .avatar + .avatar { margin-left: -12px; }
.stage.is-playing > .stage-turn { display: none; }
.stage.is-night { --surface: var(--palm); background: var(--palm); color: #fff; border-color: #fff; box-shadow: 0 10px 0 var(--night-shadow); }
.scene-in { animation: scene-in .45s var(--ease-out) both; }
@keyframes scene-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.stage-pads { position: relative; display: grid; }
.pads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pad {
  --pc: var(--pink); --on: #fff;
  position: relative; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 18px;
  min-height: 420px; border-radius: 28px; padding: 18px 10px;
  border: 3px dashed var(--line); background: var(--surface); cursor: pointer;
  font-weight: 800; font-size: 19px; isolation: isolate;
  transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.pad-mango { --pc: var(--mango); --on: var(--palm); }
.pad-fill { position: absolute; inset: 0; z-index: -1; background: var(--pc); transform: scaleY(var(--fill, 0)); transform-origin: 50% 100%; }
.pad.is-filling .pad-fill { transition: transform .55s cubic-bezier(.3, .1, .3, 1); }
.pad.is-draining .pad-fill { transition: transform .3s ease-out; }
.pad-thumb { width: 104px; transition: transform .35s var(--ease-pop); animation: thumb-idle 2.6s ease-in-out infinite; }
.pad-thumb-r { animation-delay: -1.3s; }
@keyframes thumb-idle { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-6px); } }
.pad:hover .pad-thumb { transform: scale(1.06); }
.pad-who { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--well); color: var(--ink); transition: background-color .2s, color .2s; }
.pad-who .avatar { width: 34px; height: 34px; font-size: 18px; border-width: 2px; }
.pad[aria-pressed="true"] { border-style: solid; box-shadow: 0 6px 0 var(--shadow); transform: translateY(-2px); }
.pad[aria-pressed="true"] .pad-who { background: #fff; color: var(--palm); }
.pad[aria-pressed="true"] .pad-thumb { animation: thumb-yes .45s var(--ease-pop) both; }
@keyframes thumb-yes { 0% { transform: scale(.7) rotate(-20deg); } 100% { transform: scale(1.12) rotate(0); } }
.pad-key {
  position: absolute; top: 12px; right: 12px; min-width: 32px; height: 32px; border-radius: 9px; padding: 0 6px;
  display: grid; place-items: center; font: 800 15px/1 "Bricolage", sans-serif; color: var(--ink);
  border: 2px solid var(--line); box-shadow: 0 3px 0 var(--shadow); background: var(--surface);
}
.pad[aria-pressed="true"] .pad-key { transform: translateY(3px); box-shadow: none; }

.ghost {
  position: absolute; left: 0; top: 0; z-index: 900; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: rgba(15, 59, 46, .28); border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(15, 59, 46, .35);
  pointer-events: none; opacity: 0;
}
.ghost::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid #fff; opacity: 0; }
.ghost.is-tap::after { animation: ripple .6s ease-out; }
@keyframes ripple { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

.die-wrap { display: grid; place-items: center; align-content: center; gap: 22px; text-align: center; }
.die {
  width: 120px; height: 120px; border-radius: 28px; background: #fff;
  border: 3px solid var(--palm); box-shadow: 0 6px 0 var(--palm);
  display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 16px; gap: 4px;
}
.die i { width: 20px; height: 20px; border-radius: 50%; background: var(--palm); place-self: center; visibility: hidden; }
.die.is-rolling { animation: tumble 1.1s var(--ease-out); }
@keyframes tumble {
  0% { transform: rotate(0) translateY(0); }
  25% { transform: rotate(200deg) translateY(-40px); }
  55% { transform: rotate(390deg) translateY(0); }
  75% { transform: rotate(350deg) translateY(-10px); }
  100% { transform: rotate(360deg) translateY(0); }
}
.first { font-weight: 800; font-size: 30px; letter-spacing: -.025em; }

.round { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; }
.round-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: 999px;
  font-weight: 800; font-size: 16px;
}
.pill .avatar { width: 28px; height: 28px; font-size: 15px; border-width: 2px; background: #fff; }
.pill-pink { background: var(--pink); color: #fff; }
.pill-mango { background: var(--mango); color: var(--palm); }
.pill.is-bump { animation: bump .5s var(--ease-pop); }
@keyframes bump { 40% { transform: scale(1.25) rotate(-4deg); } }
.round-cap { font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--muted); text-align: center; }
.turn {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px 4px 4px; border-radius: 999px; border: 3px solid var(--line); box-shadow: 0 4px 0 var(--shadow);
  font-weight: 800; font-size: 16px; transform: rotate(-3deg); animation: sticker-in .35s var(--ease-pop) both;
}
.turn .avatar { width: 30px; height: 30px; font-size: 16px; border-width: 2px; background: #fff; }
@keyframes sticker-in { from { transform: rotate(-12deg) scale(.6); opacity: 0; } }
.turn-pink { background: var(--pink); color: #fff; }
.turn-mango { background: var(--mango); color: var(--palm); }
.question { font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.07; letter-spacing: -.025em; }
.guess { display: grid; align-content: center; gap: 12px; }
.guess-num { font-weight: 800; font-size: clamp(84px, 9vw, 132px); line-height: .9; letter-spacing: -.05em; text-align: center; font-variant-numeric: tabular-nums; }
.range { --fill: var(--pink); --pct: 50%; width: 100%; height: 34px; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; margin: 0; }
.range::-webkit-slider-runnable-track { height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--fill) var(--pct), var(--well) var(--pct)); }
.range::-moz-range-track { height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--fill) var(--pct), var(--well) var(--pct)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--palm); box-shadow: 0 3px 0 var(--palm); }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--palm); box-shadow: 0 3px 0 var(--palm); }
.range-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.round .btn { width: 100%; }

.handoff { display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; }
.handoff img { width: 170px; }
.handoff-title { font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -.025em; }
.handoff p { color: var(--muted); }
.handoff .btn { min-height: 48px; border-radius: 18px; font-size: 17px; }

.reveal { display: grid; gap: 14px; align-content: start; }
.answer { font-weight: 800; font-size: clamp(72px, 7vw, 96px); line-height: .92; letter-spacing: -.05em; text-align: center; font-variant-numeric: tabular-nums; }
.answer-cap { text-align: center; font-size: 14px; font-weight: 800; color: var(--muted); }
.line { position: relative; height: 64px; margin: 6px 14px 0; }
.line-track { position: absolute; left: 0; right: 0; top: 30px; height: 6px; border-radius: 999px; background: var(--well); }
.line-flag { position: absolute; top: 18px; width: 4px; height: 30px; margin-left: -2px; background: var(--ink); border-radius: 2px; }
.line-mark { position: absolute; top: 0; translate: -50% 0; transition: left .9s var(--ease-out); }
.line-mark .avatar { width: 30px; height: 30px; font-size: 16px; border-width: 2px; }
.line-mark.is-mango { top: 34px; }
.verdict { text-align: center; font-weight: 800; font-size: 28px; letter-spacing: -.03em; line-height: 1.05; }
.offs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 800; }
.offs span { padding: 4px 10px; border-radius: 999px; background: var(--well); }
.fact { padding: 14px 16px; border-radius: 22px; background: var(--well); font-size: 16px; }
.fact b { display: block; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.host { display: flex; align-items: center; gap: 10px; }
.host img { width: 58px; flex: none; }
.bubble { position: relative; padding: 10px 14px; border-radius: 18px; border: 3px solid var(--line); background: var(--surface); font-weight: 800; font-size: 16px; line-height: 1.25; }
.bubble::before { content: ""; position: absolute; left: -10px; top: 50%; width: 14px; height: 14px; background: inherit; border-left: 3px solid var(--line); border-bottom: 3px solid var(--line); transform: translateY(-50%) rotate(45deg); }

.recap { display: grid; gap: 16px; align-content: center; justify-items: center; text-align: center; }
.recap-avatar { width: 112px; height: 112px; font-size: 60px; border-color: #fff; box-shadow: 6px 6px 0 var(--night-shadow); transform: rotate(5deg); animation: pop .5s var(--ease-pop); }
.recap-title { font-weight: 800; font-size: clamp(42px, 4.6vw, 54px); line-height: .95; letter-spacing: -.035em; }
.recap .bubble { background: var(--night-surface); border-color: #fff; color: #fff; }
.recap-actions { display: grid; gap: 12px; width: 100%; }
.recap .btn-mango { border-color: #fff; box-shadow: 0 6px 0 var(--night-shadow); }
.recap .btn-ghost { background: transparent; border: 2px solid var(--moss); color: var(--frond); }
.recap-link { color: var(--mango); font-weight: 800; }

.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 3px; animation: fall 1.4s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 560px) rotate(var(--rot)); opacity: .2; } }

/* ---------- couch scroll scene ---------- */
.couch { position: relative; height: 300vh; background: var(--well); transition: background-color .5s var(--ease-out); }
.couch-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter) 24px;
  --apart: 1; --game: 0;
}
.couch-text { position: relative; display: grid; gap: 22px; align-content: center; }
.couch-a, .couch-b { grid-area: 1 / 1; font-weight: 800; font-size: clamp(46px, 6.6vw, 100px); line-height: .9; letter-spacing: -.045em; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.couch-b { opacity: 0; transform: translateY(30px); }
.couch-text.is-game .couch-a { opacity: 0; transform: translateY(-30px); }
.couch-text.is-game .couch-b { opacity: 1; transform: none; }
.couch-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 16px; border-radius: 999px; border: 3px solid var(--line); box-shadow: 0 4px 0 var(--shadow);
  background: var(--surface); font-weight: 800; font-size: 17px;
  opacity: 0; transform: translateY(16px) rotate(0); transition: opacity .4s var(--ease-out), transform .45s var(--ease-pop);
}
.chip-1 { background: var(--pink); color: #fff; }
.chip-2 { background: var(--mango); color: var(--palm); }
.chip-3 { background: var(--lime); color: var(--palm); }
.chip.is-on { opacity: 1; }
.chip-1.is-on { transform: rotate(-4deg); }
.chip-2.is-on { transform: rotate(3deg); }
.chip-3.is-on { transform: rotate(-2deg); }

.couch-scene { position: relative; height: min(70vh, 620px); }
.phone {
  position: absolute; top: 50%; left: 50%; width: clamp(150px, 15vw, 210px); aspect-ratio: 9 / 19;
  border-radius: 32px; border: 3px solid var(--palm); background: var(--palm); padding: 8px;
  box-shadow: 0 8px 0 var(--night-shadow);
}
.phone-l { transform: translate(calc(-50% - var(--apart) * 75%), -50%) rotate(calc(var(--apart) * -9deg)); opacity: calc(1 - var(--game)); }
.phone-r { transform: translate(calc(-50% + var(--apart) * 75%), -50%) rotate(calc(var(--apart) * 9deg)); opacity: calc(1 - var(--game)); }
.phone-game { transform: translate(-50%, -50%) scale(calc(.85 + var(--game) * .2)); opacity: var(--game); }
.feed { height: 100%; border-radius: 24px; overflow: hidden; background: #24493D; }
.feed-roll { display: grid; gap: 8px; padding: 8px; animation: feed 9s linear infinite; }
.phone-r .feed-roll { animation-duration: 7s; }
.post { display: grid; gap: 6px; padding: 8px; border-radius: 14px; background: #2F584A; }
.post-head { display: flex; align-items: center; gap: 6px; }
.post-head i { width: 18px; height: 18px; border-radius: 50%; background: var(--c, #7BC74D); flex: none; }
.post-head b { height: 6px; width: 52%; border-radius: 3px; background: #4F786A; }
.post-img { aspect-ratio: var(--ar, 1); border-radius: 10px; background: var(--c, #3B6355); opacity: .55; }
.post-foot { display: flex; gap: 6px; }
.post-foot i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #A9C2B8; }
.post-foot i:first-child { border-color: #D42B63; background: #D42B63; }
@keyframes feed { to { transform: translateY(-50%); } }
.person { position: absolute; top: 50%; transition: transform .2s linear; }
.person .avatar { width: 64px; height: 64px; font-size: 34px; }
.person-pink { left: 50%; transform: translate(calc(-50% - 150px - var(--apart) * 200px), calc(-50% + 170px)); }
.person-mango { left: 50%; transform: translate(calc(-50% + 150px + var(--apart) * 200px), calc(-50% + 170px)); }
.mini { height: 100%; border-radius: 24px; background: #fff; color: var(--palm); padding: 12px 10px; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 8px; }
.mini-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--pink) 44%, var(--frond) 44%); margin: 0 4px 6px; }
.mini-pills { display: flex; justify-content: space-between; }
.mini-pill { font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.mini-pink { background: var(--pink); color: #fff; }
.mini-mango { background: var(--mango); }
.mini-q { font-weight: 800; font-size: 13px; line-height: 1.1; }
.mini-num { font-weight: 800; font-size: 54px; letter-spacing: -.05em; text-align: center; align-self: center; }
.mini-pads { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mini-pad { height: 54px; border-radius: 14px; border: 2px solid var(--palm); display: grid; place-items: center; font-size: 20px; box-shadow: 0 3px 0 var(--palm); }
.mini-pad-pink { background: var(--pink); }
.mini-pad-mango { background: var(--mango); }
.mini { position: relative; overflow: hidden; }
.mini-recap {
  position: absolute; inset: 0; border-radius: 24px; background: var(--palm); color: #fff;
  display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 10px;
  opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease-out), transform .45s var(--ease-pop);
}
.mini-recap b { font-size: 22px; line-height: 1; letter-spacing: -.03em; }
.mini-recap-av { width: 56px; height: 56px; border-radius: 50%; background: var(--pink); border: 3px solid #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 4px 4px 0 var(--night-shadow); transform: rotate(5deg); }
.mini-recap-btn { padding: 6px 14px; border-radius: 12px; background: var(--mango); color: var(--palm); border: 2px solid #fff; font-weight: 800; font-size: 12px; }
.couch-pin.is-recap .mini-recap { opacity: 1; transform: none; }

/* ---------- island ---------- */
.island { position: relative; padding: clamp(72px, 9vw, 130px) 0 clamp(40px, 6vw, 80px); }
.island-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 18px; }
.districts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.district {
  padding: 9px 16px; border-radius: 999px; border: 3px solid var(--line); background: var(--surface);
  font-weight: 800; font-size: 15px; cursor: pointer; transition: transform .15s var(--ease-out), box-shadow .15s;
}
.district:hover { transform: translateY(-2px); }
.district[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: 0 4px 0 var(--pink); }
.district[data-district]:not([data-district="all"])::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 0; border: 2px solid var(--line); }
.district[data-district="puzzle"]::before { background: var(--pink); }
.district[data-district="classic"]::before { background: var(--cobalt); }
.district[data-district="party"]::before { background: var(--mango); }

.island-sea {
  position: relative; margin-top: clamp(28px, 4vw, 48px);
  background-color: var(--sea);
  background-image: radial-gradient(circle at 50% 50%, transparent 58%, var(--bg) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cpath d='M0 20 q15 -10 30 0 t30 0' fill='none' stroke='%23000' stroke-opacity='.07' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%, 120px 40px;
  animation: drift 14s linear infinite;
  transition: background-color .5s var(--ease-out);
}
@keyframes drift { to { background-position: 0 0, 120px 0; } }
.map { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.tile { position: absolute; }
.tile-btn {
  position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; display: block;
  -webkit-tap-highlight-color: transparent;
}
.tile-art {
  position: absolute; left: 0; bottom: 0; width: 100%; pointer-events: none; z-index: var(--z);
  animation: bob var(--bob, 5s) ease-in-out var(--delay, 0s) infinite;
  transition: filter .3s, opacity .3s, transform .3s var(--ease-pop);
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.tile.is-hover .tile-art, .tile-btn:focus-visible .tile-art { transform: translateY(-14px) scale(1.04); }
.tile-btn:focus-visible { outline: none; }
.tile-name {
  position: absolute; left: 50%; bottom: calc(var(--face) * 1px - 6px); translate: -50% 0; white-space: nowrap;
  padding: 5px 12px; border-radius: 999px; border: 2.5px solid var(--palm); background: #fff; color: var(--palm);
  font-weight: 800; font-size: 14px; box-shadow: 0 3px 0 var(--palm); pointer-events: none; z-index: calc(var(--z) + 1000);
  transition: transform .3s var(--ease-pop), background-color .2s;
}
.tile.is-hover .tile-name, .tile-btn:focus-visible .tile-name { transform: translateY(-18px) rotate(-3deg); background: var(--mango); }
.tile[data-group="puzzle"] .tile-name::before, .tile[data-group="classic"] .tile-name::before, .tile[data-group="party"] .tile-name::before {
  content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px;
}
.tile[data-group="puzzle"] .tile-name::before { background: var(--pink); }
.tile[data-group="classic"] .tile-name::before { background: var(--cobalt); }
.tile[data-group="party"] .tile-name::before { background: var(--mango); }
.map[data-filter="puzzle"] .tile:not([data-group="puzzle"]) .tile-art,
.map[data-filter="classic"] .tile:not([data-group="classic"]) .tile-art,
.map[data-filter="party"] .tile:not([data-group="party"]) .tile-art { filter: grayscale(1) opacity(.35); }
.map[data-filter="puzzle"] .tile:not([data-group="puzzle"]) .tile-name,
.map[data-filter="classic"] .tile:not([data-group="classic"]) .tile-name,
.map[data-filter="party"] .tile:not([data-group="party"]) .tile-name { opacity: 0; }
.tile-glow {
  position: absolute; left: 50%; top: 8%; width: 140%; aspect-ratio: 1; translate: -50% -30%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 210, 122, .55), rgba(255, 210, 122, 0) 62%);
  opacity: var(--glow); z-index: calc(var(--z) + 1); transition: opacity .8s;
}
:root[data-theme="night"] .tile-art { filter: brightness(.82) saturate(.95); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="day"]) .tile-art { filter: brightness(.82) saturate(.95); } }

.clouds { position: absolute; inset: -60px 0 0; z-index: 400; pointer-events: none; overflow: hidden; }
.cloud { position: absolute; width: clamp(260px, 36vw, 560px); overflow: visible; transition: transform .1s linear; }
.cloud path { fill: var(--cloud); stroke: var(--palm); stroke-width: 4; stroke-linejoin: round; filter: drop-shadow(0 8px 0 rgba(15, 59, 46, .18)); }
.cloud-1 { left: -4%; top: 6%; transform: translateX(calc(var(--part, 0) * -110%)); }
.cloud-2 { right: -6%; top: 0; transform: translateX(calc(var(--part, 0) * 110%)) scaleX(-1); }
.cloud-3 { left: 22%; top: 40%; transform: translateX(calc(var(--part, 0) * -170%)); }
.cloud-4 { right: 12%; top: 52%; transform: translateX(calc(var(--part, 0) * 170%)) scaleX(-1); }

.sheet {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0;
  border: 3px solid var(--line); border-radius: 32px; box-shadow: 0 10px 0 var(--shadow);
  background: var(--surface); color: var(--ink); overflow: auto;
}
.sheet::backdrop { background: rgba(15, 59, 46, .55); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-in .4s var(--ease-pop); }
@keyframes sheet-in { from { transform: translateY(40px) scale(.96); opacity: 0; } }
.sheet-inner { display: grid; gap: 10px; padding: 18px 24px 24px; position: relative; }
.sheet-grab { display: none; width: 40px; height: 5px; border-radius: 3px; background: var(--well); justify-self: center; }
.sheet-x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--well); font-size: 26px; line-height: 1; cursor: pointer; }
.sheet-art { width: 260px; justify-self: center; margin: 4px 0 2px; }
.sheet-group { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.sheet-name { font-weight: 800; font-size: 40px; line-height: .95; letter-spacing: -.035em; }
.sheet-meta { font-weight: 800; font-size: 15px; color: var(--pink); }
.sheet-blurb { font-size: 18px; }
.sheet-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-tags li { padding: 5px 12px; border-radius: 999px; background: var(--well); font-weight: 800; font-size: 14px; }
.sheet-tags li.is-free { background: var(--lime); color: var(--palm); }
.sheet-tags li.is-pass { background: var(--mango); color: var(--palm); }
.sheet-nav { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 8px; }
.sheet-nav .btn { min-height: 52px; font-size: 16px; padding: 0 12px; }

/* ---------- anywhere ---------- */
.anywhere { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 100px) var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.panel { display: grid; gap: 14px; align-content: start; }
.panel-title { font-weight: 800; font-size: clamp(32px, 3.4vw, 46px); line-height: .95; letter-spacing: -.035em; margin-top: 10px; }
.panel p { color: var(--muted); max-width: 32em; }
.air-screen, .pair-screen {
  position: relative; min-height: 330px; border-radius: 32px; border: 3px solid var(--line); box-shadow: 0 8px 0 var(--shadow);
  background: var(--surface); padding: 18px; overflow: hidden; display: grid; align-content: start; gap: 14px;
  transition: background-color .6s var(--ease-out);
}
.air-status { display: flex; justify-content: space-between; font-weight: 800; font-size: 15px; }
.air-icon { opacity: 0; transition: opacity .3s; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--well); font-weight: 800; font-size: 18px; cursor: pointer; }
.switch-label { display: flex; align-items: center; gap: 10px; }
.air-glyph { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--tangerine); color: #fff; font-size: 18px; }
.switch {
  appearance: none; -webkit-appearance: none; flex: none; width: 66px; height: 40px; border-radius: 999px; margin: 0; cursor: pointer;
  background: var(--moss); border: 3px solid var(--palm); position: relative; transition: background-color .25s;
}
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--palm); transition: transform .3s var(--ease-pop); }
.switch:checked { background: var(--lime); }
.switch:checked::after { transform: translateX(26px); }
.air-sky { position: relative; height: 60px; }
.air-plane { position: absolute; left: -80px; top: 6px; width: 64px; opacity: 0; }
.air-games { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.air-games li { aspect-ratio: 1; border-radius: 10px; filter: grayscale(1) opacity(.4); transition: filter .25s, transform .3s var(--ease-pop); }
.air-games li.is-on { filter: none; transform: rotate(-6deg) scale(1.06); }
.air-games img { width: 100%; height: 100%; object-fit: contain; }
.air-count { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.is-offline { background: color-mix(in srgb, var(--surface) 70%, #9FD8F2); }
.is-offline .air-icon { opacity: 1; }
.is-offline .air-plane { animation: fly 3.4s var(--ease-out) forwards; }
@keyframes fly { 0% { left: -80px; opacity: 1; transform: rotate(-6deg); } 60% { transform: rotate(4deg); } 100% { left: calc(100% - 70px); opacity: 1; transform: rotate(0); } }

.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 18px; background: var(--well); }
.seg button { min-height: 46px; border: 0; border-radius: 14px; background: none; font-weight: 800; font-size: 16px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.pair-stage { position: relative; height: 220px; }
.pphone { position: absolute; top: 18px; left: 50%; width: 92px; height: 180px; border-radius: 22px; border: 3px solid var(--palm); background: #fff; padding: 10px 8px; display: grid; align-content: end; gap: 6px; box-shadow: 0 6px 0 var(--palm); transition: transform .6s var(--ease-pop), opacity .4s; }
.pphone-1 { transform: translateX(-50%); grid-template-columns: 1fr 1fr; }
.pphone .pp-code { grid-column: 1 / -1; justify-self: center; align-self: start; margin-bottom: auto; opacity: 0; transition: opacity .3s .5s; }
.pphone-1 { grid-template-rows: 1fr auto; }
[data-pair="two"] .pp-code { opacity: 1; }
.pphone-2 { transform: translateX(-50%) scale(.6); opacity: 0; grid-template-rows: 1fr auto; }
.pp-pad { height: 46px; border-radius: 12px; border: 2px solid var(--palm); }
.pp-pink { background: var(--pink); }
.pp-mango { background: var(--mango); }
.pp-code { font-weight: 800; font-size: 20px; letter-spacing: .12em; color: var(--palm); font-variant-numeric: tabular-nums; }
.pair-a, .pair-b { position: absolute; top: 110px; transition: transform .6s var(--ease-pop); }
.pair-a { left: 50%; transform: translateX(-130px); }
.pair-b { left: 50%; transform: translateX(84px); }
.paired { position: absolute; left: 50%; top: 0; translate: -50% 0; padding: 4px 12px; border-radius: 999px; background: var(--lime); color: var(--palm); border: 3px solid var(--palm); font-weight: 800; font-size: 15px; transform: rotate(-4deg) scale(0); transition: transform .4s var(--ease-pop) .9s; }
[data-pair="two"] .pphone-1 { transform: translateX(calc(-50% - 70px)) rotate(-6deg); grid-template-columns: 1fr; }
[data-pair="two"] .pphone-1 .pp-mango { display: none; }
[data-pair="two"] .pphone-2 { transform: translateX(calc(-50% + 70px)) rotate(6deg); opacity: 1; }
[data-pair="two"] .pair-a { transform: translateX(-190px); }
[data-pair="two"] .pair-b { transform: translateX(146px); }
[data-pair="two"] .paired { transform: rotate(-4deg) scale(1); }

/* ---------- fit, pass, faq ---------- */
.fit, .pass, .faq { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--gutter); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.fit-col { padding: 26px; border-radius: 28px; }
.fit-col h3 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; margin-bottom: 12px; }
.fit-col li { position: relative; padding: 8px 0 8px 34px; border-top: 2px solid rgba(15, 59, 46, .12); }
.fit-col li::before { position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.fit-yes { background: var(--lime); color: var(--palm); }
.fit-yes li::before { content: "✓"; background: var(--palm); color: var(--lime); }
.fit-no { background: var(--well); }
.fit-no li { border-color: color-mix(in srgb, var(--ink) 14%, transparent); }
.fit-no li::before { content: "×"; background: var(--ink); color: var(--bg); }

.pass { display: grid; gap: 22px; justify-items: start; }
.pass-lead { max-width: 38em; font-size: 19px; }
.free-map { display: grid; gap: 22px; width: 100%; padding: 24px; border-radius: 28px; background: var(--well); }
.fm-row { display: grid; gap: 12px; }
.fm-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; }
.fm-tag { padding: 3px 10px; border-radius: 999px; border: 2px solid var(--palm); font-size: 14px; color: var(--palm); }
.fm-free { background: var(--lime); }
.fm-pass { background: var(--mango); }
.fm-icons { display: flex; flex-wrap: wrap; gap: 10px; }
.fm-icons li { position: relative; width: 74px; display: grid; gap: 6px; justify-items: center; }
.fm-icons img { width: 64px; height: 64px; object-fit: contain; }
.fm-check { position: absolute; top: -4px; right: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); border: 2px solid var(--palm); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--palm); }
.fm-levels { display: flex; gap: 3px; }
.fm-levels i { width: 8px; height: 8px; border-radius: 50%; background: var(--mango); border: 1.5px solid var(--palm); }
.fm-levels i:first-child { background: var(--lime); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; margin-top: 10px; }
.plan {
  position: relative; display: grid; gap: 4px; padding: 26px 24px; border-radius: 28px;
  border: 3px solid var(--line); box-shadow: 0 6px 0 var(--shadow); background: var(--surface);
  transition: transform .25s var(--ease-pop);
}
.plan:nth-child(1) { transform: rotate(-1.5deg); }
.plan:nth-child(3) { transform: rotate(1.2deg); }
.plan:hover { transform: rotate(0) translateY(-6px); }
.plan-best { background: var(--mango); color: var(--palm); }
.plan-tag { position: absolute; top: -16px; right: 18px; padding: 4px 12px; border-radius: 999px; background: var(--pink); color: #fff; border: 3px solid var(--line); font-weight: 800; font-size: 14px; transform: rotate(4deg); }
.plan-name { font-weight: 800; font-size: 18px; }
.plan-price { font-weight: 800; font-size: clamp(44px, 4.4vw, 60px); letter-spacing: -.045em; line-height: 1; }
.plan-note { font-size: 15px; opacity: .8; }
.fine { font-size: 14px; color: var(--muted); max-width: 52em; }

.faq { display: grid; gap: 12px; max-width: 900px; }
.faq .display { margin-bottom: 18px; font-size: clamp(40px, 5.4vw, 72px); }
.faq details { border: 3px solid var(--line); border-radius: 22px; background: var(--surface); transition: box-shadow .2s, transform .2s; }
.faq details[open] { box-shadow: 0 5px 0 var(--shadow); transform: translateY(-2px); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 800; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; background: var(--well); display: grid; place-items: center; font-size: 22px; transition: rotate .3s var(--ease-pop); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- close ---------- */
.close { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; padding: 0 var(--gutter) clamp(70px, 9vw, 130px); overflow: hidden; }
.pendant { position: relative; width: 220px; height: 330px; border: 0; background: none; padding: 0; cursor: grab; touch-action: none; }
.pendant-cord { position: absolute; left: 50%; top: 0; width: 4px; height: 160px; margin-left: -2px; background: var(--ink); }
.pendant-shade { position: absolute; left: 20px; top: 150px; width: 180px; height: 135px; overflow: visible; }
.pendant-pull { position: absolute; left: calc(50% + 52px); top: 250px; width: 3px; height: calc(46px + var(--pull, 0px)); background: var(--ink); transition: height .35s var(--ease-pop); animation: tug 4.5s ease-in-out 1.5s infinite; transform-origin: top; }
@keyframes tug { 0%, 78%, 100% { transform: scaleY(1); } 84% { transform: scaleY(1.45); } 90% { transform: scaleY(.95); } 95% { transform: scaleY(1.08); } }
.pendant.is-dragging .pendant-pull, .pendant:hover .pendant-pull { animation: none; }
.pendant-pull::after { content: ""; position: absolute; left: 50%; bottom: -14px; translate: -50% 0; width: 16px; height: 16px; border-radius: 50%; background: var(--pink); border: 3px solid var(--line); }
.pendant.is-dragging .pendant-pull { transition: none; }
.pendant::before {
  content: ""; position: absolute; left: 50%; top: 270px; width: 620px; height: 520px; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 210, 122, .35), rgba(255, 210, 122, 0) 60%); opacity: var(--glow); transition: opacity .8s;
}
.close-title { font-weight: 800; font-size: clamp(64px, 11vw, 168px); line-height: .86; letter-spacing: -.055em; margin-top: -10px; }
.close-note { max-width: 30em; color: var(--muted); font-size: 19px; }

.foot { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 3px solid var(--line); font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 800; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---------- no-js fallback ---------- */
html:not(.js) .couch { height: auto; }
html:not(.js) .couch-pin { position: static; height: auto; }
html:not(.js) .map { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { max-width: 560px; }
  .anywhere { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan:nth-child(n) { transform: none; }
  .couch-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; padding-top: 84px; gap: 8px; }
  .couch-scene { height: auto; min-height: 0; }
  .couch-a, .couch-b { font-size: clamp(38px, 10vw, 64px); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .bar { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .bar-nav { display: none; }
  .wordmark { font-size: 18px; }
  .wordmark img { width: 34px; height: 34px; }
  .hero-title { font-size: clamp(44px, 15vw, 120px); }
  .hero-mascot { width: .82em; top: -.02em; }
  .round-cap { font-size: 12px; }
  .round-cap .cap-kind { display: none; }
  .pill { white-space: nowrap; font-size: 15px; }
  .hero-line + .hero-line { margin-left: 0; }
  .stage { padding: 16px; min-height: 0; border-radius: 28px; }
  .stage > .scene-in { min-height: 440px; }
  .pad { min-height: 250px; gap: 12px; }
  .pad-thumb { width: 78px; }
  .pad-who { font-size: 16px; padding-right: 10px; }
  .pad-who .avatar { width: 28px; height: 28px; font-size: 15px; }
  .fm-icons li { width: 58px; }
  .fm-icons img { width: 52px; height: 52px; }
  .free-map { padding: 16px; }
  .bar-cta { white-space: nowrap; min-height: 42px; padding: 0 14px; font-size: 15px; }
  .lamp-cord { top: -24px; height: 28px; }
  .pad-key { display: none; }
  .couch-chips { gap: 8px; }
  .chip { font-size: 15px; padding: 8px 12px; }
  .couch-note { font-size: 16px; }
  .phone { width: 128px; border-radius: 26px; padding: 6px; }
  .person .avatar { width: 48px; height: 48px; font-size: 26px; }
  .person-pink { transform: translate(calc(-50% - 104px - var(--apart) * 10px), calc(-50% + 150px + var(--apart) * 40px)); }
  .person-mango { transform: translate(calc(-50% + 104px + var(--apart) * 10px), calc(-50% + 150px + var(--apart) * 40px)); }
  .phone-l { transform: translate(calc(-50% - var(--apart) * 56%), -50%) rotate(calc(var(--apart) * -9deg)); }
  .phone-r { transform: translate(calc(-50% + var(--apart) * 56%), -50%) rotate(calc(var(--apart) * 9deg)); }
  .mini-num { font-size: 38px; }
  .mini-q { font-size: 11px; }
  .mini-pad { height: 40px; }
  .fit-grid { grid-template-columns: 1fr; }
  .sheet { margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: 32px 32px 0 0; border-width: 3px 0 0; box-shadow: none; }
  .sheet-grab { display: block; }
  .sheet-art { width: 210px; }
  .sheet-name { font-size: 34px; }
  .tile-name { font-size: 12px; padding: 3px 9px; border-width: 2px; }
  .air-games { grid-template-columns: repeat(5, 1fr); }
  .pendant { transform: scale(.85); margin-bottom: -30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .clouds { display: none; }
}
