/* Curioo — curiooapp.com
   DA taken from the App Store frames: Sora ExtraBold headlines with navy "stickers",
   a gold full stop, royal-blue night sections with gold sparkles, cream expression
   cards — all in Sora, the app's only typeface. Tokens from the app (constants/colors.ts, premium.tsx). */

@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(/fonts/sora-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(/fonts/sora-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0a276b;
  --navy-deep: #071d52;
  --navy-bright: #1a3d8f;
  --royal: #1238b4;
  --royal-deep: #0a1f8c;
  --sky: #3d6fe2;
  --navy-soft: #e3f0ff;
  --navy-soft-2: #eef2fa;
  --gold: #d4a843;
  --gold-light: #e8c96a;
  --sun: #f4b223;
  --gold-ink: #8a6a18;
  --paper: #f4f3ef;
  --cream: #fbf8f2;
  --card: #ffffff;
  --ink: #101a3a;
  --text: #1a1a1a;
  --text-2: #4d5467;
  --muted: #6f6f6f;
  --line: #e6e2da;
  --shadow-card: 0 24px 50px -22px rgba(10, 39, 107, .38), 0 2px 8px rgba(0, 0, 0, .05);
  --radius: 20px;
  --sans: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }
.night :focus-visible, .final-card :focus-visible, .foot :focus-visible { outline-color: var(--gold-light); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ type */

.display { font-weight: 800; letter-spacing: -.035em; line-height: 1.3; color: var(--navy); font-size: clamp(34px, 5.2vw, 60px); text-wrap: balance; position: relative; }
h1.display { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.26; }
.stk { background: var(--navy); color: #fff; padding: 0 .2em .05em; margin: 0 .02em; border-radius: .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; box-shadow: 0 .08em .22em rgba(10, 39, 107, .25); }
.dot { color: var(--sun); }
.burst { position: absolute; width: .62em; height: .62em; left: -.5em; top: -.34em; color: var(--sun); }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--text-2); max-width: 40em; }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.kicker.on-dark { color: var(--gold-light); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; margin-bottom: 26px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(244, 178, 35, .22); }
.rule { display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--sun); margin: 12px auto; }

/* ------------------------------------------------------------ buttons */

.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #0b0b0d; color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 20px 10px 16px; min-height: 56px; border: 1px solid #0b0b0d; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transition: transform .2s ease, box-shadow .2s ease; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.store-badge b { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .55); }
.store-badge.badge-light { background: #fff; color: #0b0b0d; border-color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; font-weight: 800; text-decoration: none; letter-spacing: -.01em; position: relative; overflow: hidden; }
.btn svg { width: 18px; height: 18px; }
.btn-primary, .btn-nav { color: #fff; background: linear-gradient(90deg, #071d52 0%, #0a276b 50%, #0d3080 100%); box-shadow: 0 4px 12px rgba(10, 39, 107, .3); }
.btn-primary { padding: 16px 26px; font-size: 16px; }
.btn-nav { padding: 10px 16px; font-size: 14px; }
.btn-primary::after, .btn-nav::after { content: ""; position: absolute; top: 0; bottom: 0; width: 74px; left: -90px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent); transform: skewX(-18deg); transition: left .6s ease; }
.btn-primary:hover::after, .btn-nav:hover::after { left: 110%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; padding: 12px 4px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------ nav */

.nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 243, 239, .82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(244, 243, 239, .92); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: var(--navy); }
.brand img { border-radius: 10px; box-shadow: 0 2px 6px rgba(10, 39, 107, .25); }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--text-2); padding: 8px 12px; border-radius: 10px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--navy); background: rgba(10, 39, 107, .06); }
.nav-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-links + .nav-end { margin-left: 0; }
.lang-switch { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-decoration: none; color: var(--navy); border: 1.5px solid rgba(10, 39, 107, .2); border-radius: 10px; padding: 7px 10px; }
.lang-switch:hover { border-color: var(--navy); }

.lang-banner { background: var(--navy); color: #fff; font-size: 14px; }
.lang-banner-in { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.lang-banner a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold-light); text-decoration: none; }
.lang-banner a svg { width: 16px; height: 16px; }
.lang-banner button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; padding: 4px 8px; opacity: .7; }

/* ------------------------------------------------------------ sparkles */

.spark { position: absolute; width: var(--s); height: var(--s); color: rgba(255, 255, 255, .85); pointer-events: none; animation: twinkle 4s ease-in-out infinite; }
.spark:nth-of-type(2n) { animation-delay: -1.3s; }
.spark:nth-of-type(3n) { animation-delay: -2.4s; }
.spark svg { width: 100%; height: 100%; }
.spark.gold { color: var(--sun); }
.spark.blue { color: #6f98f0; }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.72); } }

/* ------------------------------------------------------------ hero */

.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; background: radial-gradient(closest-side, rgba(61, 111, 226, .16), transparent); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy .lead { margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 32px; }
.meta { font-size: 13px; color: var(--muted); margin-top: 14px; font-weight: 500; }
.stats { display: flex; gap: 34px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; }
.stats dt { font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: var(--navy); line-height: 1.1; }
.stats dd { font-size: 13px; font-weight: 600; color: var(--muted); }

.fan { position: relative; height: 600px; }
.xcard { position: absolute; background: var(--cream); border-radius: 30px; padding: 12px 12px 22px; box-shadow: var(--shadow-card); border: 1px solid rgba(255, 255, 255, .9); text-align: center; }
.xcard img { border-radius: 22px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.xcard figcaption { padding: 16px 12px 0; }
.xcard b { display: block; font-weight: 800; color: var(--navy); font-size: 25px; line-height: 1.15; letter-spacing: -.035em; }
.xcard span { display: block; font-size: 14px; line-height: 1.5; color: #24305a; }
.xcard.center { width: 318px; left: 50%; top: 40px; transform: translateX(-50%); z-index: 3; animation: floaty 7s ease-in-out infinite; }
.xcard.side { width: 236px; top: 118px; z-index: 1; }
.xcard.side b { font-size: 20px; }
.xcard.side span { font-size: 12px; }
.xcard.left { left: 0; transform: rotate(-5deg); }
.xcard.right { right: 0; transform: rotate(5deg); }
.fan-owl { position: absolute; width: 140px; left: -44px; bottom: -8px; z-index: 4; filter: drop-shadow(0 16px 20px rgba(10, 39, 107, .3)); animation: bob 5s ease-in-out infinite; }
.fan .spark { z-index: 5; }
@keyframes floaty { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* ------------------------------------------------------------ ticker */

.ticker { position: relative; background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.tk-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ticker.is-paused .tk-track { animation-play-state: paused; }
.tk-track ul { display: flex; align-items: center; }
.tk-track li { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--navy); padding: 20px 0 20px 22px; }
.tk-track li img { width: 22px; height: 22px; }
.tk-sep { width: 14px; height: 14px; color: var(--sun); margin-left: 10px; }
.tk-sep svg { width: 100%; height: 100%; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 90px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 60%); pointer-events: none; }
.tk-toggle { z-index: 1; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.i-pause { width: 10px; height: 12px; border-inline: 3px solid var(--navy); }
.ticker.is-paused .i-pause { width: 0; height: 0; border: 0; border-left: 10px solid var(--navy); border-block: 6px solid transparent; margin-left: 3px; }

/* ------------------------------------------------------------ sections */

.sec { padding: 110px 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head .lead { margin-top: 18px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

/* explorer */
.xplore { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.xl { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.xl-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.xl-group { display: flex; flex-direction: column; gap: 6px; }
.xl-item { text-align: left; font-weight: 700; font-size: 15.5px; letter-spacing: -.015em; line-height: 1.25; color: var(--navy); background: #fff; border: 2px solid transparent; border-radius: 14px; padding: 11px 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); transition: border-color .15s, background .15s, transform .15s; }
.xl-item:hover { transform: translateX(3px); }
.xl-item.is-on { border-color: var(--navy); background: var(--navy-soft-2); }
.xsheet { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px; background: #fff; border-radius: 30px; padding: 22px; box-shadow: var(--shadow-card); }
.xs-media img { border-radius: 22px; width: 100%; aspect-ratio: 1; object-fit: cover; position: sticky; top: 96px; }
.xs-body { padding: 10px 8px 8px 0; }
.xsheet.is-swapping .xs-media img, .xsheet.is-swapping .xs-body { opacity: 0; transform: translateY(6px); }
.xs-media img, .xs-body { transition: opacity .22s ease, transform .22s ease; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--navy-soft); border-radius: 999px; padding: 6px 12px; }
.chip img { width: 18px; height: 18px; }
.chip.ghost { background: transparent; border: 1px solid var(--line); color: var(--text-2); }
.chip.rarity { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.chip.rarity[data-r="common"] { background: #e8f5e9; color: #2e6b3d; }
.chip.rarity[data-r="rare"] { background: #e3f0ff; color: #1f5fa8; }
.chip.rarity[data-r="epic"] { background: #f3e8ff; color: #6f3591; }
.chip.rarity[data-r="legendary"] { background: #fff4d6; color: var(--gold-ink); }
.xs-body h3 { font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; color: var(--navy); letter-spacing: -.04em; }
.xs-literal { margin-top: 8px; color: var(--muted); font-size: 14px; }
.xs-literal em { font-style: normal; font-weight: 600; font-size: 14.5px; color: var(--text-2); }
.xs-body .rule { margin: 18px 0; }
.xs-meaning { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.xs-origin { display: flex; gap: 14px; background: #fff9ec; border: 1.5px dashed rgba(212, 168, 67, .6); border-radius: 20px; padding: 16px; margin: 22px 0; }
.xs-origin img { width: 72px; height: 72px; flex: none; }
.xs-origin p:last-child { font-size: 14.5px; line-height: 1.6; color: #3c3a33; }
.xs-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.xs-eq { display: flex; flex-direction: column; gap: 8px; }
.xs-eq li { display: flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 14px; padding: 10px 14px; }
.xs-eq img { width: 22px; height: 22px; }
.xs-eq span { display: flex; flex-direction: column; font-weight: 700; font-size: 15.5px; letter-spacing: -.015em; color: var(--navy); line-height: 1.25; }
.xs-eq small { font-family: var(--sans); font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }

/* pillars */
.pillars { padding-top: 40px; }
.pillars .display { margin-bottom: 52px; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { background: #fff; border-radius: 24px; padding: 22px 22px 26px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); border: 1px solid #efece5; transition: transform .25s ease, box-shadow .25s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.pillar img { width: 132px; height: 132px; margin: -4px auto 12px; object-fit: contain; }
.pillar h3 { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 8px; }
.pillar p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; }

/* night sections */
.night { color: #fff; overflow: hidden; background:
  radial-gradient(1200px 600px at 80% 0%, rgba(90, 140, 255, .35), transparent 60%),
  radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.8), transparent),
  radial-gradient(1px 1px at 72% 40%, rgba(255,255,255,.7), transparent),
  radial-gradient(1.5px 1.5px at 34% 76%, rgba(255,255,255,.6), transparent),
  radial-gradient(1px 1px at 88% 64%, rgba(255,255,255,.7), transparent),
  radial-gradient(1.5px 1.5px at 56% 18%, rgba(255,255,255,.6), transparent),
  linear-gradient(180deg, var(--royal-deep) 0%, var(--royal) 55%, var(--sky) 100%); }
.night-2 { background:
  radial-gradient(900px 500px at 15% 10%, rgba(90, 140, 255, .3), transparent 60%),
  radial-gradient(1px 1px at 22% 32%, rgba(255,255,255,.8), transparent),
  radial-gradient(1px 1px at 82% 30%, rgba(255,255,255,.7), transparent),
  radial-gradient(1.5px 1.5px at 44% 86%, rgba(255,255,255,.6), transparent),
  radial-gradient(1px 1px at 68% 74%, rgba(255,255,255,.7), transparent),
  linear-gradient(170deg, #09197a 0%, #0f2fa6 50%, #1d47c9 100%); }
.night .display { color: #fff; }
.night .stk { background: #fff; color: var(--navy); box-shadow: 0 .1em .3em rgba(0, 0, 0, .25); }
.night .lead { color: rgba(255, 255, 255, .78); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-copy .lead { margin-top: 20px; }
.sec-head .burst, .split-copy .burst { left: -.55em; top: -.12em; }
.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; }
.ticks svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--gold-light); }

/* phones */
.phone { width: 290px; aspect-ratio: 9 / 19.4; border-radius: 50px; background: linear-gradient(145deg, #2a2d33, #0d0e11 40%, #22252b); padding: 11px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .12); position: relative; }
.screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: #fff; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 6; }
.status { position: absolute; top: 14px; left: 26px; right: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; z-index: 5; }
.sb-r { display: flex; gap: 4px; align-items: flex-end; }
.sb-r i { display: block; width: 4px; border-radius: 1px; background: currentColor; }
.sb-r i:nth-child(1) { height: 5px; } .sb-r i:nth-child(2) { height: 8px; } .sb-r i:nth-child(3) { width: 20px; height: 10px; border-radius: 3px; margin-left: 4px; }
.phones { position: relative; height: 640px; }
.ph-front { position: absolute; left: 4%; top: 0; z-index: 2; }
.ph-back { position: absolute; right: 0; top: 150px; width: 260px; z-index: 1; }
.lock, .homescr { position: absolute; inset: 0; color: #fff; }
.lock::before, .homescr::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover; filter: blur(22px) saturate(1.3) brightness(.62); }
.lock > :not(.status), .homescr > :not(.status, .dock) { position: relative; }
.padlock { width: 16px; height: 16px; margin: 52px auto 0; display: block; opacity: .9; }
.lk-date { text-align: center; font-size: 15px; font-weight: 600; margin-top: 4px; opacity: .92; }
.lk-time { text-align: center; font-size: 76px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-top: 6px; }
.wg { background: var(--cream); color: var(--navy); border-radius: 24px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); }
.wg b { display: block; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.wg span { display: block; color: #2a3560; }
.wg-large { margin: 18px 14px 0; padding: 10px 10px 16px; text-align: center; }
.wg-large img { border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.wg-large b { font-size: 22px; margin-top: 12px; }
.wg-large .rule { margin: 8px auto; width: 26px; }
.wg-large span { font-size: 12px; line-height: 1.45; }
.homescr { padding-top: 58px; }
.wg-medium { margin: 0 14px; padding: 12px; display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: center; }
.wg-medium b { font-size: 17px; }
.wg-medium .rule { margin: 7px 0; width: 22px; }
.wg-medium span { font-size: 10.5px; line-height: 1.4; }
.wg-medium img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.wg-label { text-align: center; font-size: 11px; font-weight: 600; margin-top: 6px; opacity: .85; }
.icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 14px; padding: 18px 20px; }
.icons i, .dock i { display: block; aspect-ratio: 1; border-radius: 13px; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .12); }
.icons i.ic-app { background: url(/img/brand/app-icon-128.png) center / cover; border: 0; }
.dock { position: absolute; left: 10px; right: 10px; bottom: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 12px 14px; border-radius: 28px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* languages */
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lang-card { position: relative; border-radius: 28px; padding: 26px 26px 28px; overflow: hidden; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; }
.lc-fr { background: #fbf1de; --chip: #1f6b35; }
.lc-en { background: #e4eefb; --chip: #1f63e0; }
.lc-es { background: #faeedd; --chip: #7a4a22; }
.lc-owl { position: absolute; width: 210px; right: -18px; top: -10px; transition: transform .35s ease; }
.lang-card:hover .lc-owl { transform: translateY(-6px) rotate(-3deg); }
.lc-top { display: flex; align-items: center; gap: 10px; }
.lc-chip { display: inline-block; background: var(--chip); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; border-radius: 8px; padding: 5px 10px; }
.lc-count { font-size: 16px; font-weight: 600; color: var(--text-2); margin-top: 14px; }
.lc-count b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; color: var(--navy); display: block; line-height: 1; }
.lc-note { font-size: 14.5px; color: var(--text-2); margin-top: 10px; max-width: 26em; }
.trio { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; margin-top: 28px; background: #fff; border-radius: 28px; padding: 30px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.trio-copy p:last-child { font-size: 17px; color: var(--text-2); }
.trio ul { display: flex; flex-direction: column; gap: 10px; }
.trio li { display: flex; align-items: center; gap: 14px; border-radius: 18px; padding: 14px 18px; }
.trio li b { font-size: 19px; font-weight: 800; letter-spacing: -.025em; color: var(--chip); line-height: 1.2; }
.trio .lc-en b { color: #173f96; }

/* games */
.games-in { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.ph-quiz { width: 320px; }
.quiz { position: absolute; inset: 0; padding: 50px 16px 16px; color: var(--ink); display: flex; flex-direction: column; background: #fafbff; }
.qz-top { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.qz-top svg { width: 20px; height: 20px; color: #2e5bd8; }
.qz-top span[data-q="count"] { flex: 1; text-align: center; }
.qz-xp { display: inline-flex; align-items: center; gap: 4px; background: #fff7e7; border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.qz-xp svg { width: 13px; height: 13px; color: var(--sun); }
.qz-bar { height: 6px; background: #e8e4dd; border-radius: 4px; margin: 12px 4px 14px; overflow: hidden; }
.qz-bar i { display: block; height: 100%; background: #2e5bd8; border-radius: 4px; transition: width .4s ease; }
.qz-q { text-align: center; font-size: 12.5px; color: var(--text-2); }
.qz-phrase { text-align: center; font-weight: 800; font-size: 19px; color: #1e3fbf; letter-spacing: -.02em; line-height: 1.25; margin: 4px 0 10px; }
.qz-img { width: 56%; margin: 0 auto 12px; border-radius: 18px; aspect-ratio: 1; object-fit: cover; }
.qz-answers { display: flex; flex-direction: column; gap: 7px; }
.qz-answers button { display: flex; align-items: center; gap: 10px; text-align: left; font-size: 13px; font-weight: 500; background: #fff; border: 1.5px solid #e6e8ef; border-radius: 14px; padding: 8px 10px; transition: border-color .15s, background .15s; }
.qz-answers button:hover:not(:disabled) { border-color: #2e5bd8; }
.qz-answers button i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #eef0f5; font-style: normal; font-weight: 800; font-size: 12px; }
.qz-answers button.is-ok { border-color: #37a45a; background: #eaf7ee; }
.qz-answers button.is-ok i { background: #37a45a; color: #fff; }
.qz-answers button.is-ko { border-color: #e05252; background: #fdecec; }
.qz-answers button.is-ko i { background: #e05252; color: #fff; }
.qz-answers button:disabled { cursor: default; }
.qz-feedback { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; background: #eaf7ee; border-radius: 18px; padding: 12px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .25); animation: rise .3s ease; }
.qz-feedback.is-ko { background: #fdecec; }
.qz-fb-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #37a45a; display: grid; place-items: center; font-style: normal; color: #fff; font-weight: 800; font-size: 17px; }
.qz-fb-icon::before { content: "\2713"; }
.qz-feedback.is-ko .qz-fb-icon::before { content: "\2715"; font-size: 14px; }
.qz-feedback.is-ko .qz-fb-icon { background: #e05252; }
.qz-feedback div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.qz-feedback b { font-size: 14px; color: #1f7a3c; }
.qz-feedback.is-ko b { color: #b23535; }
.qz-feedback span { font-size: 11.5px; color: var(--text-2); }
.qz-feedback button { flex: none; border: 0; border-radius: 50%; width: 38px; height: 38px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.qz-feedback button svg { width: 18px; height: 18px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.facts div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; padding: 16px 18px; }
.facts dt { font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: #fff; }
.facts dd { font-size: 13px; color: rgba(255, 255, 255, .75); font-weight: 500; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.game-grid li { position: relative; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 14px 14px 14px 30px; transition: background .2s; }
.game-grid li::before { content: ""; position: absolute; left: 13px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--t); box-shadow: 0 0 0 4px color-mix(in srgb, var(--t) 30%, transparent); }
.game-grid li:hover { background: rgba(255, 255, 255, .14); }
.game-grid b { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; }
.game-grid span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .7); line-height: 1.45; margin-top: 3px; }

/* shots */
.shot-nav { display: flex; gap: 8px; }
.shot-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(10, 39, 107, .2); background: #fff; color: var(--navy); display: grid; place-items: center; }
.shot-nav button:hover { border-color: var(--navy); }
.shot-nav button svg { width: 20px; height: 20px; }
.shot-nav button:first-child svg { transform: rotate(180deg); }
.shot-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(24px, calc((100vw - 1200px) / 2 + 24px)) 30px; scrollbar-width: none; }
.shot-track::-webkit-scrollbar { display: none; }
.shot { flex: none; width: 270px; scroll-snap-align: center; }
.shot img { border-radius: 30px; box-shadow: var(--shadow-card); background: #fff; }

/* premium */
.premium .display { margin-bottom: 52px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.plan { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 28px; padding: 30px; overflow: hidden; }
.plan-name { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.plan-sub { font-size: 14px; color: var(--muted); font-weight: 600; margin: 4px 0 22px; }
.plan ul { display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.plan li svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); margin-top: 1px; }
.plan-pro { background: linear-gradient(145deg, #071d52, #0a276b 55%, #1a3d8f); border-color: transparent; color: #fff; box-shadow: 0 30px 60px -30px rgba(10, 39, 107, .7); }
.plan-pro .plan-sub { color: rgba(255, 255, 255, .7); }
.plan-pro li svg { background: linear-gradient(90deg, #e8c94a, #d4a843, #c49530); color: #3a2a05; }
.gold-badge { display: inline-block; font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #3a2a05; background: linear-gradient(90deg, #d4a843, #f5e6a3, #d4a843, #a67c2e); background-size: 200% 100%; border-radius: 10px; padding: 6px 12px; animation: sheen 5s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.plan-owl { position: absolute; width: 150px; right: -10px; top: -6px; opacity: .95; }
.plan-note { text-align: center; font-size: 13.5px; color: var(--muted); max-width: 640px; margin: 22px auto 0; }

/* faq */
.faq .display { margin-bottom: 44px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border-radius: 20px; border: 1px solid #efece5; box-shadow: 0 2px 8px rgba(0, 0, 0, .03); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16.5px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-soft); position: relative; transition: transform .25s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--navy); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { padding: 0 22px 22px; color: var(--text-2); font-size: 15.5px; }

/* final */
.final { padding-top: 20px; }
.final-card { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 40px; padding: 70px 24px 60px; background:
  radial-gradient(700px 300px at 50% 0%, rgba(120, 160, 255, .45), transparent 70%),
  linear-gradient(180deg, #0a1f8c, #1238b4 60%, #2b5ce0); }
.final-owl { width: 170px; margin: 0 auto 10px; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .35)); animation: bob 5s ease-in-out infinite; }
.final-card .display { color: #fff; max-width: 14em; margin: 0 auto; }
.final-card .stk { background: #fff; color: var(--navy); }
.final-card .lead { color: rgba(255, 255, 255, .8); margin: 18px auto 30px; }
.final-card .meta { color: rgba(255, 255, 255, .6); }

/* footer */
.foot { background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding: 70px 0 34px; margin-top: 110px; }
.foot-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.brand-light { color: #fff; }
.foot-brand p { margin: 14px 0 22px; font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot h2 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.foot ul { display: flex; flex-direction: column; gap: 10px; }
.foot a { text-decoration: none; font-size: 14.5px; }
.foot ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: rgba(255, 255, 255, .55); display: flex; flex-direction: column; gap: 6px; }

/* legal */
.legal-hero { padding: 72px 0 40px; }
.legal-hero .lead { margin-top: 20px; }
.updated { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; max-width: 1060px; }
.toc { position: sticky; top: 96px; align-self: start; }
.toc p { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.toc ol { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; text-decoration: none; font-size: 14px; color: var(--text-2); padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover, .toc a.is-on { color: var(--navy); border-left-color: var(--navy); font-weight: 600; }
.prose { background: #fff; border-radius: 28px; padding: 40px; box-shadow: 0 2px 8px rgba(0, 0, 0, .04); border: 1px solid #efece5; }
.prose section + section { margin-top: 34px; padding-top: 30px; border-top: 1px solid #f0ede7; }
.prose h2 { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 14px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.7; color: #3b4150; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { display: flex; flex-direction: column; gap: 10px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.prose strong { color: var(--ink); }
.prose a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(10, 39, 107, .3); }
.prose a:hover { text-decoration-color: var(--navy); }
.prose code { font-size: .9em; background: var(--navy-soft-2); color: var(--navy); border-radius: 6px; padding: 1px 6px; }
.contact-card { background: linear-gradient(145deg, #071d52, #0a276b 60%, #1a3d8f); color: rgba(255, 255, 255, .8); border-radius: 22px; padding: 28px; margin-bottom: 36px; }
.contact-card .kicker { margin-bottom: 8px; }
.prose .contact-card p { color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.prose .contact-card .kicker { color: var(--gold-light); }
.prose .cc-mail a { color: #fff; font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.cc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.prose .cc-btns a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 800; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 14px; padding: 11px 18px; }
.prose .cc-btns a.cc-main { background: #fff; color: var(--navy); border-color: #fff; }
.is-sub .foot { margin-top: 90px; }
.nf { padding: 90px 0 20px; }
.nf img { width: 200px; margin: 0 auto 10px; }
.nf .lead { margin: 18px auto 30px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-links + .nav-end { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .fan { height: 560px; max-width: 640px; width: 100%; margin: 0 auto; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .phones { max-width: 560px; margin: 0 auto; width: 100%; }
  .games-in { grid-template-columns: 1fr; }
  .ph-quiz { margin: 0 auto; }
  .xplore { grid-template-columns: 1fr; }
  .xl { position: static; flex-direction: row; overflow-x: auto; gap: 16px; padding-bottom: 6px; scrollbar-width: thin; }
  .xl-group { flex-direction: row; align-items: flex-end; flex: none; }
  .xl-head { display: none; }
  .xl-item { white-space: nowrap; font-size: 16px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 76px 0; }
  .hero { padding: 28px 0 48px; }
  .stats { gap: 22px; }
  .stats dt { font-size: 24px; }
  .fan { height: 430px; }
  .xcard.center { width: 250px; top: 20px; }
  .xcard.center b { font-size: 22px; }
  .xcard.side { width: 180px; top: 86px; }
  .xcard.side figcaption { padding-top: 10px; }
  .xcard.side span { display: none; }
  .xcard.side b { font-size: 16px; }
  .xcard.left { left: -14px; } .xcard.right { right: -14px; }
  .fan-owl { width: 92px; top: -14px; bottom: auto; left: -4px; }
  .burst, .sec-head .burst, .split-copy .burst { left: -.2em; top: -.52em; width: .5em; height: .5em; }
  .tk-track li { font-size: 18px; padding: 16px 0 16px 18px; }
  .xsheet { grid-template-columns: 1fr; padding: 14px; gap: 18px; border-radius: 26px; }
  .xs-media img { position: static; aspect-ratio: 4 / 3; }
  .xs-body { padding: 4px 6px 8px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: 88px 1fr; gap: 4px 16px; align-items: center; padding: 18px; }
  .pillar img { width: 88px; height: 88px; margin: 0; grid-row: span 2; }
  .phones { height: 560px; }
  .ph-front { left: 50%; transform: translateX(-62%) scale(.92); transform-origin: top center; }
  .ph-back { right: -40px; top: 120px; transform: scale(.82); transform-origin: top right; }
  .lang-grid { grid-template-columns: 1fr; }
  .lang-card { min-height: 260px; }
  .lc-owl { width: 170px; }
  .trio { grid-template-columns: 1fr; padding: 20px; gap: 16px; }
  .trio li { flex-wrap: wrap; gap: 8px 12px; padding: 12px 14px; }
  .trio li b { font-size: 19px; width: 100%; }
  .facts { gap: 8px; }
  .facts div { padding: 12px; }
  .facts dt { font-size: 26px; }
  .facts dd { font-size: 11.5px; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .ph-quiz { width: 300px; }
  .sec-head-row { align-items: flex-start; flex-direction: column; }
  .shot-nav { display: none; }
  .shot { width: 230px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .plan-owl { width: 108px; top: -8px; right: -10px; }
  .final-card { border-radius: 30px; padding: 54px 20px 46px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; }
  .toc ol { display: none; }
  .toc p { display: none; }
  .prose { padding: 24px 20px; border-radius: 22px; }
  .legal-hero { padding: 44px 0 26px; }
  .btn-nav span { display: none; }
  .btn-nav { padding: 10px 12px; }
}

@media (max-width: 380px) {
  .game-grid { grid-template-columns: 1fr; }
  .ph-quiz { width: 280px; }
  .store-badge b { font-size: 19px; }
}

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