/* Single dark theme on purpose: it matches the art and the Discord shop. Everything
   is scoped under .site so nothing leaks into the Sell.app checkout popup, which
   renders inside this page's DOM. */
:root {
    --ground: #0B0E1A;
    --surface: #10152A;
    --card: #121831;
    --tile: #0E1222;
    --line: #222A44;
    --line-strong: #3A4570;
    --text: #EEF1FF;
    --text-soft: #C9CFEA;
    --text-muted: #A9B0CF;
    --text-faint: #8B93B5;
    --pink: #F3A8F5;
    --lilac: #A9B2FF;
    --cyan: #8EEFF2;
    --holo: linear-gradient(100deg, var(--pink) 0%, var(--lilac) 50%, var(--cyan) 100%);
    --holo-wide: linear-gradient(100deg, var(--pink) 0%, var(--lilac) 25%, var(--cyan) 50%, var(--lilac) 75%, var(--pink) 100%);
    --font-display: 'Jost', 'Futura', system-ui, sans-serif;
    --font-body: 'Jost', 'Segoe UI', system-ui, sans-serif;
    --ease-out: cubic-bezier(.2, .8, .2, 1);
    color-scheme: dark;
}

html { background: var(--ground); scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); }

.site { color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site img { max-width: 100%; display: block; }
.site [hidden] { display: none !important; }
.site a { color: var(--lilac); }
.site a:hover { color: var(--cyan); }
.site :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

/* Header: sticks and frosts over the page once you scroll. */
.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease; }
.top.is-scrolled { background: rgba(11, 14, 26, .78); border-bottom-color: var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav { display: flex; align-items: center; gap: 16px 32px; padding-block: 14px; }
.nav-logo img { height: 40px; width: auto; transition: filter .3s ease; }
.nav-logo:hover img { filter: drop-shadow(0 0 14px rgba(169, 178, 255, .55)); }
/* While the hero's big logo is on screen, the bar's own logo steps aside and slides
   back in once it scrolls away (JS sets .hero-logo-on). */
.nav-logo { transition: opacity .35s ease, transform .35s var(--ease-out), visibility 0s; }
.top.hero-logo-on .nav-logo { opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity .35s ease, transform .35s var(--ease-out), visibility 0s .35s; }
.nav-links { display: flex; gap: 28px; flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.site .nav-links a { position: relative; color: var(--text-soft); text-decoration: none; padding-block: 6px; }
.site .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--holo); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.site .nav-links a:hover { color: var(--text); }
.site .nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 680px) {
    .nav-links { display: none; }
    .nav { justify-content: space-between; gap: 12px; }
    .nav-logo img { height: 34px; }
}

.nav-logo, .nav-actions { flex: none; }
.nav-links, .account-out { white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.account { display: flex; align-items: center; gap: 12px; padding: 4px 4px 4px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(16, 21, 42, .6); font-size: 14px; }
.account-name { color: var(--text-muted); white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.account-name strong { color: var(--text); font-weight: 600; }
.site .account-out { padding: 6px 12px; border-radius: 999px; background: #1A2140; color: var(--text-soft); text-decoration: none; font-weight: 500; }
.site .account-out:hover { color: var(--text); background: #222B52; }
/* Narrow bars: "Join our Discord" becomes "Join", sign-in drops "with Discord", and
   once signed in Join shrinks to its icon to make room for the account pill. The
   words are clipped, not removed, so screen readers still get the full names. */
@media (max-width: 900px) {
    .label-long, .account-pre, .is-signed-in .nav-discord-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .is-signed-in .btn.nav-discord { width: 44px; padding: 0; }
    .account-name { max-width: 140px; }
}
@media (max-width: 680px) {
    .nav-actions { gap: 8px; }
    .nav-actions .btn { padding-inline: 13px; gap: 7px; }
    .signin-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .account { gap: 8px; padding-left: 12px; }
    .account-name { max-width: 88px; }
    .site .account-out { padding: 6px 10px; }
}
@media (max-width: 380px) {
    .nav-logo img { height: 30px; }
    .account-name { max-width: 64px; }
}

/* Buttons. Class-only selectors so the popup's own buttons are untouched. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease-out), box-shadow .3s ease, background-position .6s ease, border-color .2s ease, background-color .2s ease; }
.btn-holo { border: 0; background: var(--holo-wide); background-size: 220% 100%; background-position: 0% 0; color: var(--ground); }
.site .btn-holo, .site .btn-holo:hover { color: var(--ground); }
.btn-holo:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(169, 178, 255, .75), 0 0 0 1px rgba(255, 255, 255, .15) inset; }
.btn-holo:active { transform: translateY(0) scale(.98); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(16, 21, 42, .4); color: var(--text); font-weight: 500; }
.site .btn-ghost, .site .btn-ghost:hover { color: var(--text); }
.btn-ghost:hover { border-color: var(--lilac); background: rgba(169, 178, 255, .08); transform: translateY(-2px); }
.btn-lg { min-height: 50px; padding: 14px 26px; font-size: 16px; border-radius: 12px; }
.btn-ico { width: 18px; height: 18px; flex: none; }

/* Hero stage: the key art as separate layers (background, both character groups,
   logo) so each can move at its own depth. It slides under the transparent header,
   and the copy sits on the stage's floor where it fades into the page.
   .stage-scene keeps the art's 3328x1696 frame, so every % inside it is a
   position in the art itself. */
.site { --nav-h: 73px; }
.hero-zone { --stage-h: clamp(560px, 50vw, 900px); position: relative; isolation: isolate; }
.hero-zone.has-stage { margin-top: calc(-1 * var(--nav-h)); }
.stage { position: relative; height: var(--stage-h); overflow: hidden; background: var(--ground); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
/* Art isn't something to drag out of the page; draggable="false" in the markup covers Firefox. */
.stage img, .model-media img, .foot-row img { -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }
.stage::before, .stage::after { content: ""; position: absolute; left: 0; right: 0; z-index: 3; pointer-events: none; }
.stage::before { top: 0; height: calc(var(--nav-h) + 90px); background: linear-gradient(rgba(11, 14, 26, .8), rgba(11, 14, 26, 0)); }
.stage::after { bottom: 0; height: 48%; background: linear-gradient(rgba(11, 14, 26, 0), rgba(11, 14, 26, .72) 52%, var(--ground)); }

.stage-bg { position: absolute; inset: -5%; z-index: 0; will-change: transform; }
.stage-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
/* Portal light: JS raises --glow-l / --glow-r for the side the pointer leans to. */
.stage-bg::before, .stage-bg::after { content: ""; position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none; }
.stage-bg::before { background: radial-gradient(17% 33% at 18.3% 43.7%, rgba(255, 150, 70, .55), rgba(255, 150, 70, 0)); opacity: var(--glow-l, .25); }
.stage-bg::after { background: radial-gradient(17% 33% at 81.7% 43.7%, rgba(110, 200, 255, .55), rgba(110, 200, 255, 0)); opacity: var(--glow-r, .25); }
.stage-sparks { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

.stage-scene { position: absolute; left: 50%; top: calc(var(--nav-h) - 8px); z-index: 2; width: clamp(calc(var(--stage-h) * 1.9623), 100%, 1880px); aspect-ratio: 3328 / 1696; translate: -50% 0; }
.stage-layer { position: absolute; inset: 0; will-change: transform; }
.stage-art { position: absolute; inset: 0; }
.stage-art > img { width: 100%; height: 100%; }
.stage-logo { position: absolute; left: 50%; top: 36%; width: 36%; translate: -50% -50%; will-change: transform; }
.stage-logo-float { position: relative; filter: drop-shadow(0 0 34px rgba(169, 178, 255, .45)); animation: float 7s ease-in-out infinite; }
/* A light sweep clipped to the logo's own shape; JS slides it with the pointer. */
.stage-logo-float::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 60%) var(--sheen, 120%) 0 / 300% 100% no-repeat; -webkit-mask: url(img/hero-logo-1000.webp) center / 100% 100% no-repeat; mask: url(img/hero-logo-1000.webp) center / 100% 100% no-repeat; mix-blend-mode: overlay; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Entrance: the characters step out of their portals, then the logo lands. */
.stage-bg .stage-in { animation: bg-in 1.6s ease-out both; }
.stage-left .stage-in { transform-origin: 18% 44%; animation: portal-out 1.3s var(--ease-out) .25s both; }
.stage-right .stage-in { transform-origin: 82% 44%; animation: portal-out 1.3s var(--ease-out) .4s both; }
.stage-logo .stage-in { animation: logo-in 1.1s var(--ease-out) .75s both; }
/* The sweep waits for the logo; on its own it reads as a half-drawn ghost logo. */
.stage-logo-float::after { animation: sheen-in .5s ease 1.7s both; }
@keyframes bg-in { from { opacity: 0; transform: scale(1.12); } }
@keyframes portal-out { from { opacity: 0; transform: scale(.55); filter: brightness(3) blur(10px); } 55% { opacity: 1; filter: brightness(1.5) blur(0); } }
@keyframes logo-in { from { opacity: 0; transform: scale(1.35); filter: blur(14px); } }
@keyframes sheen-in { from { opacity: 0; } }

/* Detection boxes, drawn by JS over whichever character the reticle is on. */
.det { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 1.5px solid var(--det); border-radius: 3px; box-shadow: 0 0 18px -4px var(--det), 0 0 0 1px rgba(11, 14, 26, .35) inset; opacity: 0; transform: scale(1.06); transition: opacity .18s ease, transform .3s var(--ease-out); pointer-events: none; }
.det.is-on { opacity: 1; transform: none; }
.det-body { --det: #FFB36B; }
.stage-right .det-body { --det: var(--cyan); }
.det-head { --det: var(--pink); border-style: dashed; }
.det-tag { position: absolute; left: -1.5px; bottom: 100%; padding: 2px 6px; border-radius: 3px 3px 0 0; background: var(--det); color: var(--ground); font: 600 11px/1.3 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; white-space: nowrap; }
.det-body.det-top .det-tag { bottom: auto; top: 0; border-radius: 0 0 3px 0; }
.det-head .det-tag { left: auto; right: -1.5px; bottom: auto; top: 100%; border-radius: 0 0 3px 3px; }

/* Reticle that replaces the cursor over the stage (fine pointers only, set by JS). */
/* The reticle zone is the art plus the copy on it (JS sets .is-aiming). */
.hero-zone.is-aiming { cursor: none; -webkit-user-select: none; user-select: none; }
.stage-reticle { position: absolute; left: 0; top: 0; z-index: 6; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid currentColor; border-radius: 50%; color: rgba(238, 241, 255, .85); opacity: 0; scale: .3; pointer-events: none; transition: opacity .18s ease, scale .3s var(--ease-out), border-color .2s ease, width .2s var(--ease-out), height .2s var(--ease-out), margin .2s var(--ease-out); }
.stage-reticle::before, .stage-reticle::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.stage-reticle::before { width: 52px; height: 1px; -webkit-mask: linear-gradient(90deg, #000 0 30%, transparent 30% 70%, #000 70%); mask: linear-gradient(90deg, #000 0 30%, transparent 30% 70%, #000 70%); }
.stage-reticle::after { width: 1px; height: 52px; -webkit-mask: linear-gradient(#000 0 30%, transparent 30% 70%, #000 70%); mask: linear-gradient(#000 0 30%, transparent 30% 70%, #000 70%); }
.hero-zone.is-aiming .stage-reticle { opacity: 1; scale: 1; }
.stage-reticle.is-locked { width: 24px; height: 24px; margin: -12px 0 0 -12px; border-color: var(--pink); color: var(--pink); }
.stage-reticle.is-firing { animation: fire .25s ease-out; }
@keyframes fire { 40% { transform: scale(.7); } }

.hero { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: calc(var(--stage-h) * -.27); padding-block: 0 40px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: -60px 8% -20px; z-index: -1; background: radial-gradient(closest-side, rgba(11, 14, 26, .78), rgba(11, 14, 26, 0)); pointer-events: none; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.hero h1 { margin: 0; max-width: 15ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
.holo-text { background: var(--holo-wide); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo-slide 8s linear infinite; }
@keyframes holo-slide { to { background-position: -220% 0; } }
.lede { margin: 0; color: var(--text-soft); font-size: 18px; }
.lede span { display: block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .hero-ctas { justify-content: center; }
/* Phones and portrait tablets: the art is far wider than the screen, so the two
   groups leave the shared frame and stand in the bottom corners under the logo.
   Each .stage-art is still the full art frame (the detection boxes live in it),
   anchored so only its own group shows in the layer box. */
@media (max-width: 680px), (max-width: 1024px) and (orientation: portrait) {
    .hero-zone { --stage-h: clamp(470px, 126vw, 580px); }
    .stage-scene { inset: 0; width: auto; aspect-ratio: auto; translate: none; }
    .stage-logo { top: calc(var(--nav-h) + 6px); width: 94%; translate: -50% 0; }
    .stage-left { inset: auto auto 0 -6%; width: min(61%, 380px); aspect-ratio: 1269 / 1655; }
    .stage-right { inset: auto -6% 0 auto; width: min(59%, 368px); aspect-ratio: 1203 / 1686; }
    .stage-art { inset: auto auto 0 0; width: calc(100% * 3328 / 1269); aspect-ratio: 3328 / 1696; }
    .stage-right .stage-art { left: auto; right: 0; width: calc(100% * 3328 / 1203); }
    .hero { margin-top: -84px; }
}
@media (min-width: 681px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-zone { --stage-h: 760px; }
    .stage-logo { width: min(94%, 540px); }
    .hero { margin-top: -120px; }
}
@media (max-width: 680px) { .lede { font-size: 17px; } }
/* Phones on their side: the stage fills the screen instead of overshooting it. */
@media (orientation: landscape) and (max-height: 520px) {
    .hero-zone { --stage-h: max(100svh, 360px); }
}

/* Page-load entrance: one staggered sequence, then everything stays put. The hero
   copy waits for the stage's own entrance. */
.enter { animation: rise .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.hero .enter { animation-delay: calc(var(--i, 0) * 90ms + 650ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Below the hero: one system for every section. Labels are wide-tracked caps like
   the logo's WEIGHTS, headings are big, hairlines replace boxes, and full-bleed bands
   (works, how it works, the trial banner) give the page its rhythm. */
.section { padding-block: 104px 0; }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.sec-label { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--text-muted); }
.sec-label::before { content: ""; flex: none; width: 28px; height: 2px; border-radius: 2px; background: var(--holo); }
.section h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
@media (max-width: 680px) {
    .section { padding-block: 72px 0; }
    .sec-head { margin-bottom: 30px; }
    .sec-label { gap: 10px; font-size: 11px; letter-spacing: .16em; }
    .sec-label::before { width: 20px; }
}

/* Works with: a quiet centred line under the hero. No band or rules, so the hero
   still fades straight into the page. */
.works { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; padding-block: 12px 0; }
.works-label { font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--text-faint); }
.works-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin: 0; padding: 0; list-style: none; }
.works-list li { position: relative; font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); white-space: nowrap; }
.works-list li + li::before { content: ""; position: absolute; left: -17px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--line-strong); }
@media (max-width: 680px) {
    .works { flex-direction: column; gap: 12px; }
    .works-list { gap: 8px 22px; }
    .works-list li { font-size: 13px; }
    .works-list li + li::before { display: none; }
}

/* Model cards: lift, holo rim, a sheen across the art and a slow art zoom. Bundle
   and lifetime share the last row; their art is banner-shaped, so it keeps its own
   ratio instead of being cropped to the game cards'. */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .models { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
/* Reveal lives on this wrapper, not the card, so it never fights the card's hover transform. */
.reveal-card { display: flex; min-width: 0; }
.reveal-card > .model { flex: 1 1 auto; min-width: 0; }
.model { position: relative; display: flex; flex-direction: column; background: var(--tile); border: 1px solid var(--line); border-radius: 18px; transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease; }
.model::before { content: ""; position: absolute; inset: -1px; border-radius: 19px; padding: 1px; background: var(--holo); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s ease; pointer-events: none; z-index: 2; }
.model-media { position: relative; overflow: hidden; border-radius: 17px 17px 0 0; }
.model-media img { width: 100%; aspect-ratio: 1200 / 612; object-fit: cover; transition: transform .8s var(--ease-out); }
.model-wide .model-media img { aspect-ratio: 1664 / 550; }
.model-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 18, 34, .85) 100%); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
/* The sheen only has a transition on hover (below), so it sweeps once per hover and snaps back unseen. */
.model-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 47%, rgba(169, 178, 255, .18) 50%, transparent 62%); transform: translateX(-120%); pointer-events: none; }
.model-body { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; padding: 18px 24px 24px; }
.model-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.model h3 { margin: 0; font-size: 22px; font-weight: 600; }
.price { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price s { margin-right: 8px; color: #6F7799; font-size: 17px; font-weight: 500; }
.price small { color: var(--text-muted); font-size: 15px; font-weight: 500; }
/* Hover only on devices that have one, so a tap on a phone doesn't leave the card lifted until the next tap. */
@media (hover: hover) {
    .model:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 60px -24px rgba(169, 178, 255, .45), 0 10px 30px -18px rgba(243, 168, 245, .35); }
    .model:hover::before { opacity: 1; }
    .model:hover .model-media img { transform: scale(1.06); }
    .model:hover .model-media::after { opacity: 1; }
    .model:hover .model-media::before { transform: translateX(120%); transition: transform 2s var(--ease-out); }
    .model:hover .price { background: var(--holo-wide); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo-slide 6s linear infinite; }
}
.deal { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: var(--holo); color: var(--ground); font-size: 13px; font-weight: 600; letter-spacing: .02em; box-shadow: 0 6px 18px -6px rgba(243, 168, 245, .6); }
@media (max-width: 860px) { .deal { top: 10px; left: 10px; padding: 3px 9px; font-size: 11px; } }
@media (max-width: 380px) { .model-head { flex-wrap: wrap; gap: 2px 16px; } }
.model p { margin: 0; color: var(--text-muted); font-size: 16px; }
.model-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.trial { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 14px; font-weight: 500; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cyan); animation: ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.fine { margin: 20px 0 0; color: var(--text-faint); font-size: 14px; }

/* How it works: a full-bleed band, big holo numerals, hairlines between steps. */
.how-band { margin-top: 104px; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 21, 42, .95), rgba(11, 14, 26, .95)); }
.how-band .section { padding-block: 96px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.step { display: grid; align-content: start; gap: 12px; padding: 0 40px; border-left: 1px solid var(--line); }
.step:first-child { padding-left: 0; border-left: 0; }
.step:last-child { padding-right: 0; }
.step-n { font-family: var(--font-display); font-size: 92px; font-weight: 600; line-height: .9; letter-spacing: -.05em; background: var(--holo-wide) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.step:nth-child(2) .step-n { background-position: 33% 0; }
.step:nth-child(3) .step-n { background-position: 66% 0; }
.step h3 { margin: 10px 0 0; font-size: 24px; font-weight: 600; line-height: 1.2; }
.step p { margin: 0; color: var(--text-muted); font-size: 17px; }
/* Ways to pay, under the steps: a quiet row of equal outline chips, every mark in
   currentColor at one optical size (the SVGs carry their own sizes). Decorative only. */
.pay-marks { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.pay-marks-label { font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--text-faint); }
.pay-marks-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--text-muted); }
.pay-mark { display: flex; align-items: center; justify-content: center; width: 76px; height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; }
.pay-mark svg { display: block; fill: currentColor; }
.pay-mark-text { font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
@media (max-width: 560px) {
    .pay-marks-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .pay-mark { width: auto; height: 40px; }
}
@media (max-width: 860px) {
    .how-band { margin-top: 80px; }
    .how-band .section { padding-block: 72px; }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .step, .step:first-child { padding: 28px 0 0; border-left: 0; }
    .step + .step { margin-top: 28px; border-top: 1px solid var(--line); }
    .step-n { font-size: 64px; }
    .pay-marks { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 44px; padding-top: 28px; }
}

/* FAQ: the heading and a way out (a ticket) on the left, the answers on the right. */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); gap: 36px 80px; padding-bottom: 112px; }
.faq-side { display: grid; align-content: start; justify-items: start; gap: 18px; align-self: start; position: sticky; top: 112px; }
.faq-note { margin: 0; color: var(--text-muted); font-size: 17px; max-width: 32ch; }
.faq-side .btn { margin-top: 6px; }
@media (max-width: 860px) {
    .faq { grid-template-columns: minmax(0, 1fr); padding-bottom: 80px; }
    .faq-side { position: static; }
}
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; cursor: pointer; list-style: none; font-size: 20px; font-weight: 600; transition: color .2s ease; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover, .qa[open] summary { color: var(--lilac); }
.qa-ico { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); transition: transform .3s var(--ease-out), border-color .2s ease, background-color .2s ease; }
.qa-ico::before, .qa-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.qa-ico::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease-out); }
.qa[open] .qa-ico { transform: rotate(180deg); border-color: var(--lilac); background: rgba(169, 178, 255, .1); }
.qa[open] .qa-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa p { margin: 0; padding-bottom: 26px; color: var(--text-muted); font-size: 17px; max-width: 62ch; }
.qa[open] p { animation: rise .35s var(--ease-out) both; }
@media (max-width: 680px) { .qa summary { font-size: 18px; padding-block: 20px; } }

/* Thank-you page (/thanks): the store's hero art in its banner shape (full width, never
   cropped at the sides), faded into the page at top and bottom and lightly dimmed, with
   the order card centred over it. On phones and portrait tablets the banner sits on top
   and the card follows. Its own script (in thanks.html) runs the drift and the sparks. */
.thanks-stage { position: fixed; inset: 0; z-index: -1; height: auto; }
.thanks-stage::before { display: none; }
.thanks-stage::after { top: 0; height: auto; background: rgba(11, 14, 26, .4); }
.thanks-banner { position: absolute; left: 50%; top: calc(50% + var(--nav-h) / 2); width: min(100%, 1880px, calc((100vh - var(--nav-h)) * 2.12)); width: min(100%, 1880px, calc((100svh - var(--nav-h)) * 2.12)); aspect-ratio: 3328 / 1696; translate: -50% -50%; overflow: hidden; }
.thanks-banner::before, .thanks-banner::after { content: ""; position: absolute; left: 0; right: 0; z-index: 3; pointer-events: none; }
.thanks-banner::before { top: 0; height: 24%; background: linear-gradient(var(--ground), rgba(11, 14, 26, 0)); }
.thanks-banner::after { bottom: 0; height: 34%; background: linear-gradient(rgba(11, 14, 26, 0), var(--ground)); }
/* The art frame fills the banner; this also undoes the store's phone split layout. */
.thanks-banner .stage-scene, .thanks-banner .stage-layer, .thanks-banner .stage-art { inset: 0; width: auto; aspect-ratio: auto; translate: none; }
/* No entrance here: the scene is simply there when the page opens. */
.thanks-banner .stage-in { animation: none; }
.thanks-stage .thanks-logo, .thanks-strip { display: none; }
/* When the window is wider than the banner, its sides fade out too. */
@media (min-width: 1881px), (min-aspect-ratio: 21/10) {
    .thanks-banner { -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
}

/* Footer: the flat logo in white and the copyright, nothing else. */
.foot { border-top: 1px solid var(--line); background: #090C17; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 36px; }
.foot-row img { height: 30px; width: auto; opacity: .92; }
.copy { margin: 0; color: #6F7799; font-size: 14px; }

/* The model you picked before signing in, pointed out on return */
.model.is-picked { border-color: transparent; box-shadow: 0 0 0 2px var(--lilac), 0 24px 60px -24px rgba(169, 178, 255, .6); }

/* "Sign in first?" dialog in front of the checkout popup. margin:auto restores
   the browser's own centering, which Sell.app's embed stylesheet zeroes for
   every element (its Tailwind reset: *{margin:0}). */
.gate { margin: auto; width: min(460px, calc(100vw - 32px)); padding: 28px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--card); color: var(--text); font-family: var(--font-body); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.gate::backdrop { background: rgba(5, 7, 16, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gate h2 { margin: 0 32px 10px 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.gate p { margin: 0 0 10px; color: var(--text-muted); font-size: 16px; line-height: 1.55; }
.gate .gate-skip-note { font-size: 14px; color: var(--text-faint); }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gate-actions .btn { flex: 1 1 180px; }
.gate-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #1A2140; color: var(--text-soft); font-size: 22px; line-height: 1; cursor: pointer; }
.gate-close:hover { color: var(--text); background: #222B52; }
/* Signed out: sign in (PayPal, automatic delivery) or crypto without, side by side.
   is-single is the PayPal-only gate: the title, its text and the sign-in button. */
.gate-choice { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
.gate-choice.is-single { width: min(460px, calc(100vw - 32px)); }
.gate-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.gate-option { position: relative; display: flex; flex-direction: column; padding: 22px 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--tile); }
.gate-option.is-best { border-color: transparent; background: linear-gradient(var(--tile), var(--tile)) padding-box, var(--holo) border-box; }
.gate-badge { position: absolute; top: -10px; left: 16px; padding: 2px 10px; border-radius: 999px; background: var(--holo); color: var(--ground); font-size: 11px; font-weight: 600; letter-spacing: .14em; line-height: 16px; text-transform: uppercase; }
.gate .gate-option h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--text); }
.gate-perks { flex: 1; margin: 0 0 18px; padding: 0; list-style: none; }
.gate-perks li { position: relative; margin: 0 0 8px; padding: 0 0 0 24px; color: var(--text-soft); font-size: 15px; line-height: 1.45; }
.gate-perks li::before { content: '✓'; position: absolute; top: 0; left: 0; color: var(--cyan); font-weight: 700; }
.gate-perks.is-plain li { color: var(--text-muted); }
.gate-perks.is-plain li::before { content: '•'; left: 4px; color: var(--text-faint); }
.gate-option .btn { width: 100%; }
.gate .gate-fine { margin: 14px 0 0; font-size: 13px; color: var(--text-faint); }
.is-single .gate-options { display: block; margin-top: 18px; }
.is-single .gate-option { padding: 0; border: 0; background: none; }
.is-single .gate-badge, .is-single .gate-option h3, .is-single .gate-perks, .is-single .gate-skip-option { display: none; }
@media (max-width: 600px) {
    .gate-choice { padding: 24px 20px; }
    .gate-options { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 30; transform: translateX(-50%); max-width: min(520px, calc(100vw - 32px)); padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); color: var(--text); font-size: 15px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); animation: rise .35s var(--ease-out) both; }
.toast.is-error { border-color: rgba(243, 168, 245, .6); }

/* Our checkout dialog (card, PayPal or crypto): the gate's shell, the bundle's pills for
   the software. Spacing is set explicitly because Sell.app's reset zeroes it. Card is the
   main button; PayPal and crypto share the row under it. */
.gate .pay-methods { display: grid; gap: 10px; margin: 18px 0 0; }
.gate .pay-methods .gate-actions { margin: 0; }
.btn.pay-card { flex-direction: column; gap: 1px; width: 100%; padding-block: 10px; }
.pay-card-sub { font-size: 13px; font-weight: 500; letter-spacing: .02em; opacity: .72; }
.pay { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
.gate .pay-detail { margin: 0 0 6px; color: var(--text-soft); }
.pay-picker { margin: 14px 0 0; }
.pay-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.gate .pay-hint { margin: 12px 0 0; font-size: 14px; color: var(--text-faint); }
.gate .pay-note { margin: 12px 0 0; padding: 10px 12px; border: 1px solid rgba(243, 168, 245, .45); border-radius: 10px; color: var(--text-soft); font-size: 14px; }
.gate .pay-fine { margin: 14px 0 0; font-size: 13px; color: var(--text-faint); }
.pay-wait { display: flex; align-items: flex-start; gap: 12px; }
.pay-spin { flex: none; width: 22px; height: 22px; margin-top: 2px; border: 2px solid var(--line-strong); border-top-color: var(--cyan); border-radius: 50%; animation: pay-spin .9s linear infinite; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
.gate .pay-msg { margin: 0; color: var(--text); font-size: 16px; white-space: pre-line; }
.pay-msg:focus { outline: none; }

/* Thank-you page (Sell.app redirects here with ?order=<id> after payment) */
.thanks-zone { display: flex; align-items: center; min-height: calc(100vh - 73px); min-height: calc(100svh - 73px); padding-block: 32px; }
.thanks-zone > .wrap { flex: 1 1 auto; }
/* Phones and portrait tablets: no bar, one screen, and the art split on a diagonal.
   The column is the top strip (left half: left group and orange portal, the rest dark,
   the logo in that dark side), the card, and the bottom strip (right half, mirrored).
   Both strips share whatever height the card leaves, and the card overlaps them a
   little. These must follow the rules above. */
@media (max-width: 680px), (max-width: 1024px) and (orientation: portrait) {
    .thanks-page .top { display: none; }
    .thanks-zone { flex-direction: column; align-items: stretch; min-height: 100vh; min-height: 100svh; padding: 0; }
    .thanks-stage, .thanks-strip { position: relative; flex: 1 1 0; min-height: 56px; overflow: hidden; }
    .thanks-stage { inset: auto; z-index: 0; }
    .thanks-stage::after { display: none; }
    .thanks-zone > .wrap { flex: none; position: relative; z-index: 1; margin-block: -36px; }
    .thanks-banner { position: absolute; top: 0; left: 0; width: min(178vw, 1000px); translate: none; }
    .thanks-banner::before { top: 0; bottom: 0; height: auto; background: linear-gradient(90deg, rgba(11, 14, 26, 0) 32%, rgba(11, 14, 26, .96) 48%, var(--ground) 58%); }
    .thanks-stage .stage-right { display: none; }
    .thanks-stage .thanks-logo { display: block; position: absolute; right: 16px; top: calc(50% - 18px); z-index: 6; width: min(46vw, 260px); height: auto; max-height: calc(100% - 56px); object-fit: contain; object-position: right center; translate: 0 -50%; filter: drop-shadow(0 0 24px rgba(169, 178, 255, .45)); }
    /* Where a strip is cut off under the card, it fades out instead (seen beside the card). */
    .thanks-stage::before, .thanks-strip::before { content: ""; display: block; position: absolute; left: 0; right: 0; z-index: 5; height: 72px; pointer-events: none; }
    .thanks-stage::before { top: auto; bottom: 0; background: linear-gradient(rgba(11, 14, 26, 0), var(--ground)); }
    .thanks-strip::before { top: 0; background: linear-gradient(var(--ground), rgba(11, 14, 26, 0)); }
    .thanks-strip { display: block; z-index: 0; }
    .thanks-banner.thanks-banner-alt { top: 36px; right: 0; left: auto; }
    .thanks-banner-alt::before { background: linear-gradient(90deg, var(--ground) 42%, rgba(11, 14, 26, .96) 52%, rgba(11, 14, 26, 0) 68%); }
    .thanks-banner-alt::after { top: 0; bottom: auto; background: linear-gradient(var(--ground), rgba(11, 14, 26, 0)); }
}
/* Same card language as the featured models: solid tile, holo rim always on, and the
   models' sheen, here crossing on its own every 7s. The card clips it (the rim sits inside
   the edge so the clip doesn't cut it), and it runs under the content. */
.thanks { position: relative; overflow: hidden; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; padding: 36px; background: var(--tile); border-radius: 18px; box-shadow: 0 24px 60px -30px rgba(169, 178, 255, .5); }
.thanks::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--holo); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.thanks::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .2) 47%, rgba(169, 178, 255, .16) 50%, transparent 62%); transform: translateX(-120%); pointer-events: none; animation: thanks-sheen 7s ease-in-out .9s infinite; }
.thanks > * { position: relative; z-index: 1; }
@keyframes thanks-sheen { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
@media (max-width: 480px) { .thanks { padding: 24px 20px; } }
.thanks-mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--holo); color: var(--ground); box-shadow: 0 10px 30px -10px rgba(169, 178, 255, .8); }
.thanks-mark svg { width: 28px; height: 28px; }
.thanks h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 44px); letter-spacing: -.01em; }
.thanks-lede { margin: 0; color: var(--text-muted); font-size: 18px; }
.order-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--ground); }
.order-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.order-id { display: block; margin-top: 2px; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; word-break: break-all; }
.next { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.next li { display: flex; gap: 14px; align-items: flex-start; }
.next-n { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-display); font-size: 13px; color: var(--lilac); }
.next p { margin: 0; color: var(--text-muted); font-size: 16px; }
.next strong { color: var(--text); font-weight: 600; }
/* PayPal checkouts land here with ?intent=<id>: live status, what was added, and where to go next. */
.intent { display: flex; flex-direction: column; gap: 14px; }
.intent-msg { margin: 0; color: var(--text-soft); font-size: 17px; white-space: pre-line; }
.intent-lines { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 14px 18px 14px 36px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--ground); color: var(--text-muted); font-size: 15px; }
.intent-after { display: flex; flex-direction: column; gap: 8px; margin: 0; font-size: 15px; }
.intent-signin { align-self: flex-start; }
@media (max-width: 680px) {
    .thanks { gap: 12px; padding: 20px 18px; }
    .thanks-mark { width: 42px; height: 42px; }
    .thanks-mark svg { width: 22px; height: 22px; }
    .thanks h1 { font-size: 26px; }
    .thanks-lede { font-size: 15px; }
    .order-box { padding: 10px 12px; }
    .order-label { font-size: 11px; }
    .order-id { font-size: 19px; }
    .next { gap: 10px; margin-top: 0; }
    .next li { gap: 10px; }
    .next-n { width: 24px; height: 24px; font-size: 12px; }
    .next p { font-size: 14px; line-height: 1.45; }
    .thanks .hero-ctas { gap: 8px; margin-top: 2px; }
    .thanks .hero-ctas .btn-lg { flex: 1 1 auto; min-height: 44px; padding: 10px 12px; font-size: 14px; }
}

/* Lifetime and the bundle lead the shelf: their holo rim stays on, not just on hover. */
.model-featured { border-color: transparent; box-shadow: 0 24px 60px -30px rgba(169, 178, 255, .5); }
.model-featured::before { opacity: 1; }

/* Bundle builder: the picks are real checkboxes, drawn as pills. */
.bundle-picker { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 2px 0 0; padding: 0; border: 0; }
.bundle-picker legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text-faint); }
.pick { position: relative; display: inline-flex; cursor: pointer; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(16, 21, 42, .6); color: var(--text-soft); font-size: 14px; font-weight: 500; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.pick:hover span { border-color: var(--lilac); color: var(--text); }
.pick input:checked + span { border-color: transparent; background: var(--holo); color: var(--ground); font-weight: 600; }
.pick input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.bundle-status { color: var(--text-muted); font-size: 14px; font-weight: 500; }
/* Lifetime's list of what it covers today: the bundle pills, minus the clicking. */
.included-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text-faint); }
.included-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.included-list li { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(16, 21, 42, .6); color: var(--text-soft); font-size: 14px; font-weight: 500; }
@media (pointer: coarse) {
    .pick span, .included-list li { min-height: 44px; }
    .site .nav-links a { padding-block: 11px; }
    .gate-close { top: 10px; right: 10px; width: 44px; height: 44px; }
}
.btn-holo:disabled, .btn-holo:disabled:hover { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; background-position: 0 0; }
.btn-ghost:disabled, .btn-ghost:disabled:hover { opacity: .45; cursor: not-allowed; transform: none; border-color: var(--line-strong); background: rgba(16, 21, 42, .4); }

/* Scroll pointer on the first screen. JS hides it once you scroll, and while the
   hero's own buttons sit where it would be. */
.scroll-cue { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 15; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; translate: -50% 0; filter: drop-shadow(0 0 6px rgba(169, 178, 255, .6)); transition: opacity .4s ease, translate .4s var(--ease-out); }
.scroll-cue span { display: block; width: 13px; height: 13px; margin-top: -5px; border-right: 2.5px solid var(--lilac); border-bottom: 2.5px solid var(--lilac); rotate: 45deg; opacity: 0; animation: cue 1.8s ease-in-out infinite; }
.scroll-cue span + span { border-color: var(--cyan); animation-delay: .22s; }
@keyframes cue { 0% { opacity: 0; transform: translate(-4px, -4px); } 45% { opacity: 1; } 100% { opacity: 0; transform: translate(5px, 5px); } }
.scroll-cue.is-gone { opacity: 0; translate: -50% 10px; visibility: hidden; pointer-events: none; transition: opacity .4s ease, translate .4s var(--ease-out), visibility 0s .4s; }
.scroll-cue.is-gone span { animation-play-state: paused; }
/* Landscape phones: the hero text fills that screen, so there is nowhere for the cue. */
@media (orientation: landscape) and (max-height: 520px) { .scroll-cue { display: none; } }

/* Click bursts, drawn over the whole page (see runBursts). */
.fx { position: fixed; inset: 0; z-index: 25; width: 100%; height: 100%; pointer-events: none; }

/* Scroll reveal. Hidden only when the script has opted in (html.reveal-on), so the
   page is complete without JavaScript. */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; }
    .reveal-on .reveal { opacity: 1; transform: none; }
    .model:hover, .btn:hover { transform: none; }
    .model:hover .model-media img { transform: none; }
    .stage-layer, .stage-logo, .stage-bg { transform: none !important; }
    .scroll-cue span { opacity: .9; }
}

/* Terms and Privacy pages */
.legal-zone { padding-block: 48px 88px; }
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { margin: 14px 0 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.01em; color: var(--text); }
.legal .updated { margin: 0 0 32px; color: var(--text-faint); font-size: 14px; }
.legal h2 { margin: 36px 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--text); }
.legal p, .legal li { color: var(--text-soft); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal code { font-size: .9em; padding: 1px 6px; border-radius: 4px; background: var(--card); color: var(--text); }
.legal .todo { padding: 0 4px; border-radius: 4px; background: rgba(243, 168, 245, .18); color: var(--pink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site .foot-links a { color: var(--text-faint); font-size: 14px; text-decoration: none; }
.site .foot-links a:hover { color: var(--text); }
@media (max-width: 480px) {
    .legal-zone { padding-block: 32px 64px; }
    .legal h2 { font-size: 20px; }
}
