/* chooser-app.com — one stylesheet.
   Night-out ink base, the app's Solar gradient (#FF2D55 → #FF9600) and its white ring. */

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-latin.woff2") format("woff2");
}

:root {
  --ink: #12070F;
  --ink-2: #1A0B16;
  --ink-3: #251120;
  --line: rgba(255, 238, 244, .10);
  --line-2: rgba(255, 238, 244, .18);
  --paper: #FFF6EF;
  --muted: rgba(255, 246, 239, .72);
  --faint: rgba(255, 246, 239, .5);
  --pink: #FF2D55;
  --red: #FF383C;
  --orange: #FF9600;
  --gold: #FFC700;
  --on-solar: #1B0710;
  --solar: linear-gradient(180deg, #FF2D55 0%, #FF9600 100%);
  --solar-x: linear-gradient(120deg, #FF2D55 0%, #FF5A2E 50%, #FF9600 100%);
  --theme-bg: var(--solar);
  --display: "Unbounded", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-xl: 40px;
  --r-lg: 30px;
  --r-md: 20px;
  --r-sm: 14px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --wrap: 1220px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, 0.101, 0.239, 0.403, 0.578, 0.753, 0.918, 1.064, 1.187, 1.282, 1.347, 1.383, 1.392, 1.377, 1.342, 1.293, 1.233, 1.169, 1.103, 1.041, 0.985, 0.938, 0.9, 0.874, 0.859, 0.854, 0.858, 0.87, 0.887, 0.909, 0.933, 0.957, 0.981, 1.002, 1.02, 1.035, 1.045, 1.052, 1.054, 1.053, 1.049, 1.043, 1.035, 1.027, 1.017, 1.009, 1, 0.993, 0.988, 0.984, 0.981, 0.98, 0.98, 0.981, 0.983, 0.986, 0.99, 0.993, 0.996, 0.999, 1);
  }
}

/* Chooser themes — the app's own backgrounds, used by the demos */
html[data-demo-theme="solar"] { --theme-bg: var(--solar); }
html[data-demo-theme="salsa"] { --theme-bg: #EB4660 url("/assets/img/themes/salsa.webp") center / cover; }
html[data-demo-theme="mandarin"] { --theme-bg: #F19A3E url("/assets/img/themes/mandarin.webp") center / cover; }
html[data-demo-theme="spring"] { --theme-bg: #F8CD46 url("/assets/img/themes/spring.webp") center / cover; }
html[data-demo-theme="malachite"] { --theme-bg: #74DF6D url("/assets/img/themes/malachite.webp") center / cover; }
html[data-demo-theme="aero"] { --theme-bg: #367AF6 url("/assets/img/themes/aero.webp") center / cover; }
html[data-demo-theme="royal"] { --theme-bg: #A259D9 url("/assets/img/themes/royal.webp") center / cover; }
html[data-demo-theme="space"] { --theme-bg: #36445C url("/assets/img/themes/space.webp") center / cover; }
html[data-demo-theme="sunkist"] { --theme-bg: #F4B43E url("/assets/img/themes/sunkist.webp") center / cover; }
html[data-demo-theme="sherbert"] { --theme-bg: #A9CD4F url("/assets/img/themes/sherbert.webp") center / cover; }
html[data-demo-theme="mojito"] { --theme-bg: #56A5A0 url("/assets/img/themes/mojito.webp") center / cover; }
html[data-demo-theme="magic"] { --theme-bg: #5A6BE8 url("/assets/img/themes/magic.webp") center / cover; }
html[data-demo-theme="cosmic"] { --theme-bg: linear-gradient(180deg, #AF52DE, #5856D6); }
html[data-demo-theme="pride"] { --theme-bg: #F4C544 url("/assets/img/themes/pride.webp") center / cover; }
html[data-demo-theme="quantum"] { --theme-bg: #9B1FC5 url("/assets/img/themes/quantum.webp") center / cover; }
html[data-demo-theme="liquid-cheese"] { --theme-bg: #F6C549 url("/assets/img/themes/liquid-cheese.webp") center / cover; }
html[data-demo-theme="monument"] { --theme-bg: #33103E url("/assets/img/themes/monument.webp") center / cover; }
html[data-demo-theme="abstract"] { --theme-bg: #5AA6DF url("/assets/img/themes/abstract.webp") center / cover; }
html[data-demo-theme="mountains"] { --theme-bg: #6B4453 url("/assets/img/themes/mountains.webp") center / cover; }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 clamp(16px, 1.05vw + 12px, 18.5px) / 1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.is-playing, html.is-playing body { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pink); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(76px, 10vw, 150px); }
.center { text-align: center; }

.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 700 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.eyebrow .laurel { width: 14px; height: auto; opacity: .95; }
.h-xl { font-size: clamp(44px, 9.4vw, 128px); font-weight: 900; letter-spacing: -.035em; line-height: .92; }
.h2 { font-size: clamp(34px, 5.6vw, 78px); font-weight: 800; letter-spacing: -.03em; line-height: .98; }
.h3 { font-size: clamp(20px, 1.6vw + 12px, 26px); font-weight: 700; letter-spacing: -.01em; line-height: 1.12; }
.lead { font-size: clamp(18px, 1.3vw + 12px, 22px); line-height: 1.5; color: var(--muted); max-width: 36em; }
.grad { background: var(--solar-x); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--body); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 90, 60, .7); }
.btn-light:hover { box-shadow: 0 16px 40px -10px rgba(255, 90, 60, .95); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-ink { background: var(--on-solar); color: #fff; }
.btn-solar { background: var(--solar-x); color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 60, 60, .8); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.badge { display: inline-block; line-height: 0; border-radius: 13px; transition: transform .25s var(--ease-out), filter .25s; }
.badge img { height: 54px; width: auto; }
.badge:hover { transform: translateY(-2px) scale(1.03); filter: drop-shadow(0 10px 22px rgba(255, 70, 70, .45)); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; padding-top: env(safe-area-inset-top);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(18, 7, 15, .72); box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { text-decoration: none; margin-right: auto; }
.wordmark {
  display: inline-flex; align-items: center; gap: .02em;
  font: 900 22px/1 var(--display); letter-spacing: -.02em; color: var(--paper);
}
.wordmark i {
  display: inline-block; width: .74em; height: .74em; margin: 0 .045em; border-radius: 50%;
  border: .15em solid currentColor; transition: background .35s, transform .5s var(--spring);
}
.wordmark i + i { background: currentColor; }
.logo:hover .wordmark i:first-of-type { background: currentColor; transform: scale(1.12); }
.logo:hover .wordmark i + i { background: transparent; transform: scale(.9); }
.nav { display: none; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--paper); background: rgba(255, 255, 255, .07); }
@media (min-width: 1020px) { .nav { display: flex; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: calc(94px + env(safe-area-inset-top)) 0 clamp(56px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-a { width: 62vmax; height: 62vmax; right: -18vmax; top: -16vmax; background: radial-gradient(circle, #FF2D55 0%, rgba(255, 45, 85, 0) 65%); animation: drift 18s ease-in-out infinite alternate; }
.orb-b { width: 48vmax; height: 48vmax; right: 6vmax; bottom: -24vmax; background: radial-gradient(circle, #FF9600 0%, rgba(255, 150, 0, 0) 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb-c { width: 34vmax; height: 34vmax; left: -14vmax; top: 20%; background: radial-gradient(circle, #7A3DFF 0%, rgba(122, 61, 255, 0) 65%); opacity: .35; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(-4vmax, 3vmax, 0) scale(1.08); } }
.float-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 246, 239, .16); animation: float 14s ease-in-out infinite; }
.fr-1 { width: 90px; height: 90px; left: 6%; top: 18%; border-width: 12px; }
.fr-2 { width: 40px; height: 40px; left: 44%; top: 12%; border-width: 6px; animation-delay: -4s; }
.fr-3 { width: 160px; height: 160px; left: -40px; bottom: 8%; border-width: 18px; opacity: .6; animation-delay: -8s; }
.fr-4 { width: 26px; height: 26px; left: 38%; bottom: 14%; border-width: 5px; animation-delay: -2s; }
@keyframes float { 50% { transform: translate3d(12px, -18px, 0) rotate(8deg); } }
@media (max-width: 700px) { .fr-1, .fr-2, .fr-3 { display: none; } .hero-meta .dot { display: none; } .hero .eyebrow { font-size: 10.5px; letter-spacing: .1em; gap: .55em; } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-title { font-size: clamp(52px, 8.6vw, 132px); font-weight: 900; letter-spacing: -.04em; line-height: .9; }
@media (max-width: 979px) { .hero-title { font-size: clamp(52px, 15vw, 110px); } }
.ht { display: block; }
.ht .ln { display: block; white-space: nowrap; }
.ht .o {
  position: relative; display: inline-block; width: .6em; height: .6em; margin: 0 .03em 0 .04em; vertical-align: baseline;
  border-radius: 50%; border: .135em solid currentColor;
  animation: o-a 8s var(--ease-out) infinite;
}
.ht .o2 { animation-name: o-b; }
.ht .o::after {
  content: ""; position: absolute; inset: -.18em; border-radius: 50%; border: .05em solid currentColor; opacity: 0;
  animation: burst-a 8s ease-out infinite;
}
.ht .o2::after { animation-name: burst-b; }
@keyframes o-a {
  0%, 10%, 48%, 60%, 100% { transform: scale(1); background: transparent; opacity: 1; }
  13%, 23% { transform: scale(1.18); background: currentColor; }
  17%, 28% { transform: scale(1); background: transparent; }
  34%, 44% { transform: scale(1.22); background: currentColor; }
  63%, 73% { transform: scale(1.18); background: currentColor; }
  67%, 78% { transform: scale(1); background: transparent; }
  84%, 94% { transform: scale(.8); opacity: .5; }
}
@keyframes o-b {
  0%, 10%, 48%, 60%, 100% { transform: scale(1); background: transparent; opacity: 1; }
  13%, 23% { transform: scale(1.18); background: currentColor; }
  17%, 28% { transform: scale(1); background: transparent; }
  34%, 44% { transform: scale(.8); opacity: .5; }
  63%, 73% { transform: scale(1.18); background: currentColor; }
  67%, 78% { transform: scale(1); background: transparent; }
  84%, 94% { transform: scale(1.22); background: currentColor; }
}
@keyframes burst-a { 0%, 33% { opacity: 0; transform: scale(.8); } 35% { opacity: .9; } 46%, 100% { opacity: 0; transform: scale(1.9); } }
@keyframes burst-b { 0%, 83% { opacity: 0; transform: scale(.8); } 85% { opacity: .9; } 96%, 100% { opacity: 0; transform: scale(1.9); } }
.hero-lead { max-width: 30em; }
.hero-lead strong { color: var(--paper); font-weight: 650; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.hero-meta b { color: var(--paper); }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.hero-demo { justify-self: center; }
@media (min-width: 980px) {
  .hero { min-height: min(100vh, 1000px); display: grid; align-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
  .hero-demo { justify-self: end; }
}

/* ------------------------------------------------------------ phone frame */
.phone { container-type: inline-size; width: var(--phone-w, 300px); flex: none; }
.rim {
  position: relative; padding: 2.4cqw; border-radius: 16.3cqw;
  border: .95cqw solid transparent;
  background: linear-gradient(#050506, #050506) padding-box,
              linear-gradient(145deg, #A7ADB6 0%, #43464C 22%, #8D929A 47%, #2C2E33 72%, #B1B7BF 100%) border-box;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75), 0 30px 60px -40px rgba(255, 60, 80, .45);
}
.rim::before, .rim::after { content: ""; position: absolute; width: 1.1cqw; border-radius: 1cqw; }
.rim::before {
  left: -2.05cqw; top: 23cqw; height: 50cqw;
  background: linear-gradient(90deg, #5F636A, #2E3035) 0 0 / 100% 8cqw no-repeat,
              linear-gradient(90deg, #5F636A, #2E3035) 0 14cqw / 100% 14cqw no-repeat,
              linear-gradient(90deg, #5F636A, #2E3035) 0 31cqw / 100% 14cqw no-repeat;
}
.rim::after { right: -2.05cqw; top: 36cqw; height: 22cqw; background: linear-gradient(90deg, #2E3035, #5F636A); }
.screen {
  position: relative; aspect-ratio: 1320 / 2868; border-radius: 12.9cqw; overflow: hidden;
  background: #000; isolation: isolate; transform: translateZ(0);
}
.screen > img { width: 100%; height: 100%; object-fit: cover; }
.screen::after {
  content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 38%);
}
.island { position: absolute; z-index: 25; top: 2.5cqw; left: 50%; width: 27cqw; height: 7.9cqw; margin-left: -13.5cqw; border-radius: 99px; background: #000; }
.phone-shots { display: flex; justify-content: center; align-items: flex-end; }

/* ------------------------------------------------ the live demo screen */
.demo { margin: 0; display: grid; justify-items: center; gap: 18px; }
.demo .phone { --phone-w: clamp(250px, min(78vw, 36vh), 360px); }
@media (min-width: 980px) { .demo .phone { --phone-w: clamp(280px, min(29vw, 39vh), 372px); } }
.demo-caption { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); text-align: center; }
.demo-caption .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3BE37A; box-shadow: 0 0 0 0 rgba(59, 227, 122, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(59, 227, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 227, 122, 0); } }
.demo-screen { background: var(--theme-bg); font-family: var(--ios); color: #fff; cursor: pointer; }
.app-ui { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ios-bar { position: absolute; left: 0; right: 0; top: 0; height: 12.5cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.4cqw 9cqw 0 11cqw; font-weight: 600; font-size: 4.1cqw; letter-spacing: -.01em; }
.ios-bar svg { height: 3.3cqw; width: auto; }
.app-top { position: absolute; top: 15cqw; right: 6cqw; display: flex; gap: 5.5cqw; opacity: .95; transition: opacity .3s; }
.app-top svg { width: 6cqw; height: 6cqw; }
.app-pill { position: absolute; top: 21.5cqw; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2cqw; padding: 2.4cqw 4.8cqw; border-radius: 99px; background: rgba(255, 255, 255, .22); font-weight: 700; font-size: 4.3cqw; transition: opacity .3s; }
.app-logo { position: absolute; left: 0; right: 0; top: 47%; transform: translateY(-50%); text-align: center; transition: opacity .35s, transform .5s var(--ease-out); }
.app-logo b { display: block; font: 800 15.2cqw/1 var(--ios); letter-spacing: -.03em; }
.app-logo span { display: block; margin-top: 1.6cqw; font-size: 5.2cqw; font-weight: 400; opacity: .95; }
.app-hint { position: absolute; left: 0; right: 0; bottom: 25cqw; text-align: center; font-size: 4.4cqw; opacity: .9; transition: opacity .3s; }
.app-tabs {
  position: absolute; left: 4cqw; right: 4cqw; bottom: 3.6cqw; height: 16.5cqw; border-radius: 99px;
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 1.6cqw;
  background: linear-gradient(90deg, #FFC400, #FFC91C); box-shadow: inset 0 0 0 .3cqw rgba(255, 255, 255, .35); color: #1C1300; transition: opacity .3s;
}
.app-tabs span { display: grid; justify-items: center; gap: .8cqw; font-size: 3.2cqw; font-weight: 600; }
.app-tabs span:first-child { color: #9E550B; background: rgba(255, 150, 0, .45); border-radius: 99px; padding: 1.8cqw 0; }
.app-tabs svg { width: 6.2cqw; height: 6.2cqw; }
.demo-screen.is-active .app-logo, .demo-screen.is-active .app-pill, .demo-screen.is-active .app-top,
.demo-screen.is-active .app-tabs, .demo-screen.is-active .app-hint { opacity: 0; }
.demo-screen.is-active .app-logo { transform: translateY(-50%) scale(.94); }
.demo-screen.has-card .app-tabs, .demo-screen.has-card .app-top { opacity: .55; }
.demo-surface, .play-surface { position: absolute; inset: 0; z-index: 3; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.demo-surface:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--gold); }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.demo-mode {
  position: absolute; z-index: 6; top: 15cqw; left: 50%; transform: translate(-50%, -6px); opacity: 0;
  padding: 1.8cqw 4cqw; border-radius: 99px; background: rgba(0, 0, 0, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font: 700 3.6cqw/1 var(--ios); letter-spacing: .02em; white-space: nowrap; transition: opacity .3s, transform .3s;
}
.demo-screen.is-active .demo-mode { opacity: 1; transform: translate(-50%, 0); }
.app-start {
  position: absolute; z-index: 8; left: 50%; bottom: 13cqw; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 2cqw; padding: 3.4cqw 7cqw; border: 0; border-radius: 99px; cursor: pointer;
  background: #A34700; color: #fff; font: 700 4.4cqw/1 var(--ios); white-space: nowrap;
  box-shadow: 0 1.5cqw 5cqw rgba(0, 0, 0, .25), inset 0 0 0 .3cqw rgba(255, 255, 255, .12);
}
.app-start::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 1.7cqw 0 1.7cqw 2.8cqw; border-color: transparent transparent transparent currentColor; }
.app-start:disabled { opacity: .7; cursor: default; }
.app-start:disabled::before { display: none; }
.app-card {
  position: absolute; z-index: 9; left: 3.5cqw; right: 3.5cqw; top: 52%; transform: translateY(-50%);
  padding: 5cqw 5cqw 4cqw; border-radius: 4.5cqw; text-align: center;
  background: rgba(58, 14, 24, .62); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 3cqw 10cqw rgba(0, 0, 0, .25); animation: card-in .5s var(--spring);
}
.app-card [data-card-kind] { font-size: 4.2cqw; opacity: .95; }
.app-card [data-card-text] { margin-top: 2.2cqw; font-weight: 700; font-size: 5.4cqw; line-height: 1.2; }
.app-card button { margin-top: 4cqw; width: 100%; padding: 2.8cqw; border: 0; border-radius: 2.6cqw; background: rgba(255, 255, 255, .16); color: #fff; font: 700 4.1cqw/1 var(--ios); cursor: pointer; }
@keyframes card-in { from { opacity: 0; transform: translateY(-40%) scale(.9); } }
.demo-screen::before { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(40, 0, 10, .28); opacity: 0; transition: opacity .4s; pointer-events: none; }
.demo-screen.has-card::before { opacity: 1; }
.demo-open { display: none; }
@media (pointer: coarse) {
  .demo-open { display: inline-flex; }
  .demo-caption .fine { display: none; }
}
@media (pointer: fine) { .demo-caption .coarse { display: none; } }

/* ------------------------------------------------------------- rings */
.ring { position: absolute; left: 0; top: 0; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); pointer-events: none; will-change: transform; z-index: 3; }
.ring-body {
  position: absolute; inset: 0; border-radius: 50%;
  border: calc(var(--d) * .1154) solid var(--c);
  box-shadow: 0 0 calc(var(--d) * .1) rgba(0, 0, 0, .12);
}
.ring-fill { position: absolute; inset: -1px; border-radius: 50%; background: var(--c); opacity: 0; }
.ring.is-winner .ring-fill { opacity: 1; }
.ring.is-tap .ring-body { border-width: calc(var(--d) * .0526); background: color-mix(in srgb, var(--c) 50%, transparent); }
.ring-label { position: absolute; inset: 0; display: grid; place-items: center; font: 800 calc(var(--d) * .27) / 1 var(--ios); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.ring.is-team .ring-label { font-size: calc(var(--d) * .3); }
.ring-medal { position: absolute; left: 50%; bottom: 3%; width: 36%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.ring-rank {
  position: absolute; left: 0; top: 0; z-index: 7; display: grid; place-items: center;
  width: calc(46px * var(--u, 1)); height: calc(46px * var(--u, 1)); margin: calc(-23px * var(--u, 1)) 0 0 calc(-23px * var(--u, 1));
  border-radius: 50%; background: var(--gold); border: calc(3px * var(--u, 1)) solid #fff; color: #000;
  font: 800 calc(22px * var(--u, 1)) / 1 var(--ios); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); animation: pop-in .35s .15s both var(--spring);
}
@keyframes pop-in { from { opacity: 0; scale: .4; } }

/* ------------------------------------------------------------ marquee */
.marquee-clip { position: relative; z-index: 5; overflow-x: clip; }
.marquee { position: relative; overflow: hidden; padding: 22px 0; background: var(--paper); color: var(--ink); transform: rotate(-1.6deg); margin: -12px -2vw 0; box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .6); z-index: 5; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0 14px; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 28px; font: 800 clamp(22px, 3vw, 38px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.marquee li::after { content: ""; width: .62em; height: .62em; border-radius: 50%; border: .14em solid var(--pink); }
.marquee li:nth-child(3n)::after { background: var(--orange); border-color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- how it works */
.how { background: var(--solar); color: var(--on-solar); overflow: hidden; }
.how .eyebrow { color: var(--on-solar); opacity: .75; }
.how .lead { color: rgba(27, 7, 16, .78); }
.how-head { display: grid; gap: 20px; max-width: 900px; }
.how-title { color: #fff; }
.steps { list-style: none; margin: clamp(44px, 6vw, 80px) 0 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.step {
  position: relative; display: grid; gap: 12px; padding: 30px 26px 28px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.step-n { font: 900 15px/1 var(--display); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--pink); }
.step h3 { font-size: clamp(21px, 2vw, 26px); color: #fff; }
.step p { color: rgba(27, 7, 16, .8); }
.step-art { height: 110px; position: relative; margin: 4px 0 6px; }
.step-art .sr { position: absolute; top: 50%; width: 64px; height: 64px; margin-top: -32px; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 6px 16px rgba(120, 20, 0, .18); }
.step:nth-child(1) .sr:nth-child(1) { left: 6%; } .step:nth-child(1) .sr:nth-child(2) { left: 36%; top: 34%; } .step:nth-child(1) .sr:nth-child(3) { left: 64%; top: 62%; }
.step:nth-child(2) .sr { animation: step-pulse 2s ease-in-out infinite; }
.step:nth-child(2) .sr:nth-child(1) { left: 10%; } .step:nth-child(2) .sr:nth-child(2) { left: 40%; top: 36%; } .step:nth-child(2) .sr:nth-child(3) { left: 68%; top: 60%; }
@keyframes step-pulse { 50% { transform: scale(1.35); background: #fff; } }
.step:nth-child(3) .sr.win { left: 38%; width: 88px; height: 88px; margin-top: -44px; background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .25), 0 0 40px rgba(255, 255, 255, .7); }
.step:nth-child(3) .sr.out { opacity: .22; transform: scale(.55); }
.step:nth-child(3) .sr.out:first-child { left: 8%; } .step:nth-child(3) .sr.out:last-child { left: 74%; top: 64%; }
.how-hands { position: absolute; inset: auto 0 -40px; height: 0; pointer-events: none; }
.how-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 650; color: rgba(27, 7, 16, .78); }
.how-note span { display: inline-flex; align-items: center; gap: 8px; }
.how-note span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid #fff; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- modes */
.modes-head { display: grid; gap: 20px; max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.mode-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .mode-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .mode-grid { grid-template-columns: repeat(3, 1fr); } }
.mode {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 16px 16px 22px;
  border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), box-shadow .3s;
}
.mode:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(255, 60, 80, .35); }
.mode h3 { font-size: 22px; padding: 4px 8px 0; }
.mode p { color: var(--muted); padding: 0 8px; }
.mode .btn { justify-self: start; margin: 4px 8px 0; }
.mini { position: relative; height: 170px; border-radius: 22px; background: var(--solar); overflow: hidden; }
.mini .mr { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 6px solid #fff; left: var(--x); top: var(--y); transition: transform .5s var(--spring); display: grid; place-items: center; font: 800 16px/1 var(--ios); color: #fff; }
.mini .mr.w { background: #fff; transform: scale(1.3); box-shadow: 0 0 0 6px rgba(255, 255, 255, .25); }
.mini .mr.t { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-width: 2px; border-color: var(--c); background: color-mix(in srgb, var(--c) 55%, transparent); font-size: 13px; }
.mini .mr.team { background: var(--c); border-color: var(--c); }
.mini .mr img { position: absolute; bottom: -12px; width: 22px; }
.mini .badge-n { position: absolute; top: -16px; left: 50%; margin-left: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; color: #000; font: 800 12px/20px var(--ios); text-align: center; }
.mode:hover .mini .mr { animation: mini-pulse 1s ease-in-out; }
@keyframes mini-pulse { 50% { transform: scale(1.18); } }
.mode:hover .mini .mr.w { animation: none; }

/* -------------------------------------------------------- truth or dare */
.tod { overflow: hidden; }
.tod::before { content: ""; position: absolute; inset: 10% -20% auto auto; width: 70vmax; height: 70vmax; background: radial-gradient(circle, rgba(255, 45, 85, .28), transparent 62%); pointer-events: none; }
.tod-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 980px) { .tod-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.tod-copy { display: grid; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.feature-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature-list .fi { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); }
.feature-list strong { display: block; font-weight: 700; color: var(--paper); }
.feature-list span { color: var(--muted); }
.tod-stage { position: relative; display: grid; gap: 28px; justify-items: center; }
@media (min-width: 720px) { .tod-stage { grid-template-columns: auto 1fr; align-items: center; justify-items: start; } }
.tod-stage .phone { --phone-w: clamp(220px, 60vw, 280px); }
.deck { display: grid; gap: 18px; justify-items: center; width: 100%; max-width: 360px; }
.deck-cards { position: relative; width: 100%; aspect-ratio: 5 / 6.4; perspective: 1200px; }
.deck-cards .ghost-card { position: absolute; inset: 0; border-radius: 26px; background: var(--g, #7A3DFF); opacity: .55; }
.deck-cards .ghost-card:nth-child(1) { transform: rotate(-9deg) translate(-8%, 3%); background: linear-gradient(160deg, #FF7A3D, #FF3D6E); }
.deck-cards .ghost-card:nth-child(2) { transform: rotate(7deg) translate(7%, 2%); background: linear-gradient(160deg, #7A3DFF, #4D6DFF, #FF4D94); }
.deck-card {
  --g1: #FB5247; --g2: #FF7A33;
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 16px; padding: 30px 26px; text-align: center;
  border-radius: 26px; background: linear-gradient(160deg, var(--g1), var(--g2)); color: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .22); backface-visibility: hidden;
}
.deck-chip { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-weight: 700; font-size: 15px; }
.deck-kind { font: 900 clamp(30px, 4vw, 40px)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.deck-text { font-size: clamp(18px, 1.6vw + 10px, 22px); font-weight: 650; line-height: 1.35; min-height: 4.1em; display: grid; place-items: center; }
.deck-buttons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.deck-note { font-size: 13.5px; color: var(--faint); }

/* ---------------------------------------------------------------- online */
.online { background: radial-gradient(120% 90% at 50% 0%, #3A0C24 0%, var(--ink) 60%); overflow: hidden; }
.online-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 980px) { .online-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.online-copy { display: grid; gap: 22px; }
.online-visual { position: relative; display: grid; justify-items: center; padding: 30px 0; }
.online-visual .phone { --phone-w: clamp(230px, 62vw, 300px); }
.room-card {
  position: absolute; z-index: 5; left: 0; top: 18%; padding: 16px 20px; border-radius: 22px; text-align: center;
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(0, 0, 0, .6);
  animation: bob 6s ease-in-out infinite;
}
.room-card small { display: block; font: 700 11px/1 var(--display); letter-spacing: .18em; color: var(--muted); }
.room-card strong { display: block; margin-top: 8px; font: 900 28px/1 var(--display); letter-spacing: .12em; }
.float-chip {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
  background: var(--paper); color: var(--ink); font-weight: 700; font-size: 14.5px; white-space: nowrap; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6);
  animation: bob 7s ease-in-out infinite;
}
.float-chip.c1 { right: 0; top: 10%; animation-delay: -1.5s; }
.float-chip.c2 { right: -2%; top: 48%; animation-delay: -3s; background: #FFD7E1; }
.float-chip.c3 { left: 2%; bottom: 14%; animation-delay: -4.5s; background: #FFE3B8; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 979px) {
  .float-chip.c1 { top: 4%; right: 2%; }
  .float-chip.c2 { top: auto; bottom: 26%; right: 2%; }
  .float-chip.c3 { bottom: 8%; left: 4%; }
  .room-card { top: 14%; }
  .wheel-copy { order: -1; }
}
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; margin-right: -9px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 17px; }

/* ----------------------------------------------------------------- wheel */
.wheel-sec { background: linear-gradient(180deg, #FFF6D9 0%, #FFE9A6 100%); color: var(--on-solar); overflow: hidden; }
.wheel-sec .eyebrow { color: #B4460A; }
.wheel-sec .lead { color: rgba(27, 7, 16, .75); }
.wheel-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 980px) { .wheel-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.wheel-copy { display: grid; gap: 22px; }
.wheel-stage {
  --flood: #FFF3C7; --flood-ink: #1B0710;
  position: relative; display: grid; justify-items: center; gap: 18px; padding: clamp(22px, 4vw, 40px) clamp(16px, 3vw, 36px) 30px; border-radius: var(--r-xl);
  background: var(--flood); color: var(--flood-ink); transition: background .5s ease, color .5s;
  box-shadow: 0 40px 80px -40px rgba(180, 70, 10, .55), inset 0 0 0 2px rgba(255, 255, 255, .6);
}
.wheel-q { font: 800 clamp(15px, 1.4vw, 18px)/1.2 var(--display); letter-spacing: .01em; text-transform: uppercase; text-align: center; }
.wheel-svg { width: min(100%, 440px); height: auto; aspect-ratio: 1; cursor: pointer; overflow: visible; filter: drop-shadow(0 18px 30px rgba(120, 40, 0, .3)); }
.wheel-rotor { will-change: transform; }
.wheel-label { font: 700 8.2px/1 var(--ios); fill: #fff; paint-order: stroke; stroke: rgba(0, 0, 0, .18); stroke-width: .8px; pointer-events: none; }
.wheel-bulb { fill: #FFF1C9; }
.is-spinning .wheel-bulb { animation: bulb .24s steps(1) infinite; }
.is-spinning .wheel-bulb.odd { animation-delay: -.12s; }
@keyframes bulb { 50% { fill: #FF9A00; } }
.wheel-result { min-height: 1.1em; font: 900 clamp(32px, 4.5vw, 52px)/1.1 var(--display); letter-spacing: -.01em; text-transform: uppercase; text-align: center; }
.has-result .wheel-result { animation: result-in .6s var(--spring); }
@keyframes result-in { from { transform: scale(.6); opacity: 0; } }
.wheel-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; border-radius: inherit; }
.wheel-editor { width: 100%; max-width: 440px; }
.wheel-editor label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.wheel-editor textarea { width: 100%; min-height: 150px; padding: 12px 14px; border-radius: 16px; border: 0; resize: vertical; font: 500 16px/1.5 var(--body); color: var(--on-solar); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1.5px rgba(27, 7, 16, .15); }
.wheel-side { display: flex; gap: 18px; align-items: flex-end; }
.wheel-side .phone { --phone-w: clamp(170px, 40vw, 230px); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.tick-list li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--pink); transform: translateY(1px); }
.wheel-sec .btn-ink { background: var(--on-solar); }

/* ---------------------------------------------------------------- games */
.games-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.toy {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 22px; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px var(--line);
}
.toy h3 { font-size: 22px; }
.toy p { color: var(--muted); font-size: 15.5px; }
.toy-stage { position: relative; height: 200px; display: grid; place-items: center; border-radius: 22px; background: var(--solar); overflow: hidden; perspective: 900px; }
.toy-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toy-result { font: 800 18px/1 var(--display); min-height: 1em; }
.coin-flip { position: relative; width: 120px; height: 120px; transform-style: preserve-3d; cursor: pointer; }
.coin-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 10px 14px rgba(120, 30, 0, .35)); }
.coin-face img { width: 100%; height: 100%; }
.coin-face.back { transform: rotateY(180deg); }
.dice { display: flex; gap: 26px; cursor: pointer; }
.die-tilt { transform-style: preserve-3d; transform: rotateX(-22deg) rotateY(30deg); }
.die { position: relative; width: 62px; height: 62px; transform-style: preserve-3d; }
.die .f {
  position: absolute; inset: 0; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 9px; border-radius: 13px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05), inset 0 -7px 12px rgba(0, 0, 0, .08); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.die .f i { width: 11px; height: 11px; border-radius: 50%; background: #121212; place-self: center; }
.f1 { transform: translateZ(31px); } .f6 { transform: rotateY(180deg) translateZ(31px); }
.f2 { transform: rotateY(90deg) translateZ(31px); } .f5 { transform: rotateY(-90deg) translateZ(31px); }
.f3 { transform: rotateX(90deg) translateZ(31px); } .f4 { transform: rotateX(-90deg) translateZ(31px); }
.f1 i { grid-area: 2 / 2; }
.f2 i:nth-child(1) { grid-area: 1 / 1; } .f2 i:nth-child(2) { grid-area: 3 / 3; }
.f3 i:nth-child(1) { grid-area: 1 / 1; } .f3 i:nth-child(2) { grid-area: 2 / 2; } .f3 i:nth-child(3) { grid-area: 3 / 3; }
.f4 i:nth-child(1) { grid-area: 1 / 1; } .f4 i:nth-child(2) { grid-area: 1 / 3; } .f4 i:nth-child(3) { grid-area: 3 / 1; } .f4 i:nth-child(4) { grid-area: 3 / 3; }
.f5 i:nth-child(1) { grid-area: 1 / 1; } .f5 i:nth-child(2) { grid-area: 1 / 3; } .f5 i:nth-child(3) { grid-area: 2 / 2; } .f5 i:nth-child(4) { grid-area: 3 / 1; } .f5 i:nth-child(5) { grid-area: 3 / 3; }
.f6 i:nth-child(1) { grid-area: 1 / 1; } .f6 i:nth-child(2) { grid-area: 2 / 1; } .f6 i:nth-child(3) { grid-area: 3 / 1; } .f6 i:nth-child(4) { grid-area: 1 / 3; } .f6 i:nth-child(5) { grid-area: 2 / 3; } .f6 i:nth-child(6) { grid-area: 3 / 3; }
.number { font: 900 88px/1 var(--display); color: #fff; letter-spacing: -.04em; font-variant-numeric: tabular-nums; text-shadow: 0 8px 24px rgba(120, 20, 0, .3); }
.number.pop { animation: result-in .5s var(--spring); }
.arrow-disc { position: relative; width: 170px; height: 170px; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; display: grid; place-items: center; }
.arrow-disc svg { width: 150px; height: 150px; }
.arrow-needle { transform-origin: 50% 50%; transform: rotate(30deg); }
.landed .arrow-disc { animation: land .5s var(--spring); }
@keyframes land { 40% { transform: scale(1.06); } }

/* ---------------------------------------------------------------- themes */
.themes-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 980px) { .themes-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.themes-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--sw) center / cover; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); transition: transform .3s var(--spring), box-shadow .2s; }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--paper); transform: scale(1.06); }
.theme-now { font-size: 15px; color: var(--muted); }
.theme-now b { color: var(--paper); }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 12px; width: 100%; max-width: 560px; }
.icon-grid img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 22.5%; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); transition: transform .35s var(--spring); }
.icon-grid img:hover { transform: rotate(-8deg) scale(1.12); }
.themes-phones { display: flex; justify-content: center; align-items: center; gap: 0; }
#themes { overflow-x: clip; }
.themes-phones .phone { --phone-w: clamp(130px, 40vw, 250px); }
.themes-phones .phone:first-child { transform: rotate(-6deg) translateX(14%); z-index: 1; }
.themes-phones .phone:last-child { transform: rotate(5deg) translate(-14%, 8%); }

/* ----------------------------------------------------------------- stats */
.stats { background: var(--solar-x); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-block: clamp(46px, 6vw, 70px); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat strong { display: block; font: 900 clamp(26px, 7vw, 44px)/1 var(--display); letter-spacing: -.04em; white-space: nowrap; }
@media (min-width: 900px) { .stat strong { font-size: clamp(30px, 3.4vw, 52px); } }
.stat span { display: block; margin-top: 8px; font-weight: 600; color: rgba(255, 255, 255, .9); }

/* ------------------------------------------------------------------- faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 5vw, 60px); }
@media (min-width: 980px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } .faq-grid .faq-head { position: sticky; top: 110px; } }
.faq-head { display: grid; gap: 18px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-md); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--pink); transition: background .3s, border-color .3s, transform .4s var(--spring); }
.faq-item[open] summary::after { background: var(--orange); border-color: var(--orange); transform: scale(.8); }
.faq-item p { padding: 0 22px 22px; color: var(--muted); }
.faq-item p a { color: var(--paper); }

/* ----------------------------------------------------------------- final cta */
.final { position: relative; overflow: hidden; background: var(--solar); color: #fff; text-align: center; }
.final-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 24px; }
.final .h-xl { color: #fff; }
.final .lead { color: rgba(255, 255, 255, .92); margin-inline: auto; }
.final-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; }
.qr { display: none; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .95); color: var(--on-solar); text-align: left; font-weight: 700; font-size: 14px; line-height: 1.3; }
.qr svg, .qr img { width: 76px; height: 76px; }
@media (min-width: 900px) and (pointer: fine) { .qr { display: flex; } }
.rain { position: absolute; inset: 0; pointer-events: none; }
.rain span { position: absolute; top: -12%; width: var(--s); height: var(--s); border-radius: 50%; border: calc(var(--s) * .13) solid rgba(255, 255, 255, .55); left: var(--l); animation: rain var(--t) linear infinite; animation-delay: var(--d); }
.rain span.f { background: rgba(255, 255, 255, .55); }
@keyframes rain { to { transform: translateY(125vh) rotate(90deg); } }

/* --------------------------------------------------------------- footer */
.site-footer { padding: clamp(56px, 7vw, 90px) 0 calc(28px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer-brand p { color: var(--muted); max-width: 22em; }
.site-footer h2 { font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.footer-base { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--faint); font-size: 13px; }

/* ------------------------------------------------------------ full screen */
.play {
  position: fixed; inset: 0; z-index: 1000; background: var(--theme-bg); color: #fff; font-family: var(--ios);
  overscroll-behavior: contain; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.play[hidden] { display: none; }
.play-idle { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; z-index: 1; transition: opacity .35s; padding: 0 24px; }
.play-idle b { font: 800 clamp(58px, 16vw, 120px)/1 var(--ios); letter-spacing: -.03em; }
.play-idle span { margin-top: 10px; font-size: clamp(18px, 4.6vw, 24px); }
.play-idle p { margin-top: 28px; font-size: clamp(16px, 4vw, 19px); font-weight: 600; opacity: .95; }
.play.is-active .play-idle { opacity: 0; }
.play-top { position: absolute; z-index: 10; top: max(12px, env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; }
.play-top .grow { flex: 1; }
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .24); color: #fff; font: 700 15px/1 var(--ios); white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pbtn svg { width: 20px; height: 20px; }
.pbtn[aria-pressed="false"] { opacity: .6; }
.pbtn[data-on="0"] .snd-on, .pbtn[data-on="1"] .snd-off { display: none; }
.pselect { position: relative; }
.pselect select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 38px 0 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .24); color: #fff; font: 700 15px/1 var(--ios); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pselect select option { color: #111; }
.pselect::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); pointer-events: none; }
.play.is-active .play-top .pselect, .play.is-counting .play-top > :not(.play-close) { opacity: .35; pointer-events: none; }
.play-bottom { position: absolute; z-index: 10; left: 12px; right: 12px; bottom: max(16px, env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 12px; pointer-events: none; }
.play-bottom > * { pointer-events: auto; }
.play .app-start { position: static; transform: none; font-size: 17px; padding: 15px 26px; gap: 10px; }
.play .app-start::before { border-width: 7px 0 7px 11px; }
.play .app-card { position: absolute; left: 50%; right: auto; top: 52%; width: min(92vw, 420px); transform: translate(-50%, -50%); padding: 24px 22px 18px; border-radius: 22px; }
.play .app-card [data-card-kind] { font-size: 17px; }
.play .app-card [data-card-text] { font-size: 23px; margin-top: 10px; }
.play .app-card button { font-size: 17px; padding: 13px; border-radius: 13px; margin-top: 18px; }
@keyframes card-in-play { from { opacity: 0; transform: translate(-50%, -40%) scale(.9); } }
.play .app-card { animation: card-in-play .5s var(--spring); }
.play::before { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(40, 0, 10, .28); opacity: 0; transition: opacity .4s; pointer-events: none; }
.play.has-card::before { opacity: 1; }
.play-promo { display: none; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, .32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 600; font-size: 15px; }
.play.show-promo:not(.is-active) .play-promo { display: inline-flex; animation: card-in .5s var(--spring); }
.play-promo a { padding: 10px 14px; border-radius: 999px; background: #fff; color: #111; text-decoration: none; font-weight: 800; white-space: nowrap; }
.play .demo-mode { top: calc(max(12px, env(safe-area-inset-top)) + 58px); font-size: 15px; padding: 8px 14px; }
.play.is-active .demo-mode { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------- landing pages */
.page-hero { position: relative; overflow: hidden; padding: calc(120px + env(safe-area-inset-top)) 0 clamp(50px, 7vw, 90px); }
.page-hero .hero-grid { align-items: center; }
.crumbs { font-size: 14px; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--paper); }
.page-title { font-size: clamp(40px, 6.6vw, 92px); font-weight: 900; letter-spacing: -.035em; line-height: .95; }
.steps-dark .step { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: none; }
.steps-dark .step h3 { color: var(--paper); }
.steps-dark .step p { color: var(--muted); }
.steps-dark .step-n { background: var(--solar-x); color: #fff; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
.card { display: grid; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px var(--line); }
.card-emoji { font-size: 30px; line-height: 1; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); }
.related { display: grid; gap: 12px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related-card { display: grid; gap: 6px; padding: 22px; border-radius: var(--r-md); text-decoration: none; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease-out), box-shadow .3s; }
.related-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2); }
.related-card span { font-size: 28px; }
.related-card strong { font: 800 18px/1.2 var(--display); }
.related-card em { font-style: normal; color: var(--muted); font-size: 15px; }
.block-head { display: grid; gap: 16px; margin-bottom: clamp(30px, 4vw, 48px); max-width: 760px; }
.prose { max-width: 720px; display: grid; gap: 18px; color: var(--muted); }
.prose h2 { color: var(--paper); font-size: clamp(26px, 3vw, 36px); margin-top: 18px; }
.prose a { color: var(--paper); }
.contact-cards { display: grid; gap: 16px; margin-top: 10px; }
.page-hero-slim { padding-bottom: clamp(28px, 4vw, 48px); }
.legal .page-hero .wrap { max-width: 720px; }
.legal .page-title { font-size: clamp(38px, 6vw, 76px); }
.legal-body { padding-top: 0; }
.prose h3 { color: var(--paper); font-size: clamp(19px, 1.4vw + 12px, 22px); margin-top: 6px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.prose li::marker { color: var(--orange); }
.prose strong { color: var(--paper); font-weight: 650; }
.legal-summary { padding: 22px 24px; border-radius: var(--r-md); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; }
.legal-summary h2 { margin-top: 0; font-size: clamp(20px, 2vw, 26px); }
.table-wrap { overflow-x: auto; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--paper); font-weight: 700; background: rgba(255, 255, 255, .04); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { color: var(--paper); white-space: nowrap; }
@media (max-width: 600px) { .legal-table td:first-child { white-space: normal; } }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }

/* -------------------------------------------------------------- 404 */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf-inner { display: grid; gap: 22px; justify-items: center; }
.nf-rings { display: flex; gap: 18px; }
.nf-rings i { width: 70px; height: 70px; border-radius: 50%; border: 10px solid var(--paper); opacity: .3; }
.nf-rings i:nth-child(2) { opacity: 1; background: var(--paper); transform: scale(1.2); box-shadow: 0 0 60px rgba(255, 90, 60, .7); }

/* ---------------------------------------------------------- reveals */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .rain { display: none; }
}
