/* velo-client.com - the launcher's look on the web: near-black, Velo red that glows, Sora headings, Inter text. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-semibold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-bold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/assets/fonts/inter-extrabold.woff2) format("woff2"); }
@font-face { font-family: Sora; font-weight: 600; font-display: swap; src: url(/assets/fonts/sora-semibold.woff2) format("woff2"); }
@font-face { font-family: Sora; font-weight: 700 800; font-display: swap; src: url(/assets/fonts/sora-bold.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/assets/fonts/jetbrainsmono-medium.woff2) format("woff2"); }

@view-transition { navigation: auto; }

:root {
	color-scheme: dark;
	--bg: #0b0b0e;
	--bg-2: #0e0e12;
	--surface: #121217;
	--surface-2: #17171d;
	--surface-3: #1e1e26;
	--line: rgba(255, 255, 255, .07);
	--line-2: rgba(255, 255, 255, .12);
	--text: #f4f4f6;
	--text-2: #b4b4be;
	--text-3: #8f8f9a;
	--red: #e0262e;
	--red-hi: #f0353d;
	--red-soft: #ff6b73;
	--red-glow: rgba(224, 38, 46, .5);
	--gold: #f4b82e;
	--good: #2fbf71;
	--radius: 18px;
	--wrap: 1240px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--spring: cubic-bezier(.34, 1.56, .64, 1);
	--mono: "JetBrains Mono", ui-monospace, monospace;
	--display: Sora, Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
	min-height: 100vh; background: var(--bg); color: var(--text); overflow-x: hidden;
	font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--red-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ff9aa0; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
code { font-family: var(--mono); font-size: .9em; background: rgba(255, 255, 255, .06); padding: .1em .4em; border-radius: 6px; }
::selection { background: rgba(224, 38, 46, .55); color: #fff; }
:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--red); color: #fff; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---- Ambient glow + scroll progress ---- */
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-glow span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.bg-glow span:nth-child(1) { width: 760px; height: 760px; right: -260px; top: -320px; background: radial-gradient(circle, rgba(224, 38, 46, .55), transparent 65%); }
.bg-glow span:nth-child(2) { width: 620px; height: 620px; left: -300px; top: 45vh; background: radial-gradient(circle, rgba(224, 38, 46, .22), transparent 65%); animation-delay: -7s; }
.bg-glow span:nth-child(3) { width: 520px; height: 520px; right: 10vw; bottom: -360px; background: radial-gradient(circle, rgba(120, 30, 60, .28), transparent 65%); animation-delay: -14s; }
.scroll-progress { position: fixed; z-index: 60; left: 0; top: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #8e1219, var(--red-hi)); box-shadow: 0 0 12px var(--red-hi); }

/* ---- Navigation ---- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; view-transition-name: nav; }
.nav.scrolled { background: rgba(11, 11, 14, .78); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav-inner { width: min(var(--wrap), 100% - 32px); margin-inline: auto; min-height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 18px var(--display); letter-spacing: .06em; }
.brand:hover { color: #fff; }
.brand img { filter: drop-shadow(0 0 12px var(--red-glow)); transition: transform .5s var(--spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 15px; text-decoration: none; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--red-hi); box-shadow: 0 0 10px var(--red-hi); }
.nav-links .nav-plus { color: var(--red-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 11px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }
@media (max-width: 920px) {
	.nav-inner { gap: 12px; }
	.nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; padding: 14px 16px 22px; background: rgba(11, 11, 14, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
	.nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
	.nav-links a { font-size: 17px; padding: 12px; }
	.nav-toggle { display: inline-block; }
	.nav-account span { display: none; }
	.nav-actions { margin-left: auto; }
}
@media (max-width: 420px) { .nav-actions .btn-primary { display: none; } }

/* ---- Buttons ---- */
.btn {
	position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 13px;
	border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); font: 600 15px Inter, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s, color .2s; -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: #fff; border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .07); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn svg { flex: none; }
.btn-primary { color: #fff; border-color: transparent; background: linear-gradient(180deg, #f2393f, #d81f27); box-shadow: 0 10px 30px rgba(224, 38, 46, .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { background: linear-gradient(180deg, #ff444b, #e0262e); box-shadow: 0 14px 44px rgba(224, 38, 46, .65), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost { background: transparent; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 15px; }
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .35); animation: ripple .6s var(--ease) forwards; pointer-events: none; }
.btn .spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }

/* ---- Common blocks ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--red-soft); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section-head p { margin: 0; color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.grad { background: linear-gradient(100deg, #fff 10%, #ff7a80 55%, var(--red-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glow-text { color: #ff3b44; text-shadow: 0 0 40px rgba(224, 38, 46, .6); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font: 600 13px Inter; color: var(--text-2); }
.pill b { color: #fff; background: var(--red); border-radius: 999px; padding: 2px 8px; font-size: 11.5px; letter-spacing: .04em; box-shadow: 0 0 14px var(--red-glow); }
.mono { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.card { position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)), var(--surface); border: 1px solid var(--line); }

/* Reveal on scroll (site.js adds .in when visible). Hidden only when JS runs. */
.js .reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-left { opacity: 0; transform: translateX(-34px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal-right { opacity: 0; transform: translateX(34px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal-left.in, .js .reveal-right.in { opacity: 1; transform: none; }

/* Cursor spotlight on cards (site.js sets --mx/--my). */
.spot { --mx: 50%; --my: 50%; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(240, 53, 61, .14), transparent 45%); }
.spot:hover::after { opacity: 1; }
.spot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 107, 115, .7), transparent 40%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before { opacity: 1; }

/* ---- Hero ---- */
.hero { position: relative; padding: clamp(40px, 7vw, 84px) 0 0; overflow: hidden; }
.hero-copy { display: grid; justify-items: center; text-align: center; gap: 22px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.8rem, 7.6vw, 6rem); font-weight: 800; line-height: .98; letter-spacing: -0.045em; max-width: 1000px; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(.5em) rotateX(-40deg); transform-origin: 50% 100%; filter: blur(8px);
	animation: word-in .9s var(--ease) forwards; animation-delay: calc(.12s + var(--w) * 90ms); }
.hero .lead { margin: 0; max-width: 700px; color: var(--text-2); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: var(--text-3); font: 500 13.5px var(--mono); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 8px var(--red-hi); }
.fade-up { opacity: 0; animation: fade-up .9s var(--ease) forwards; animation-delay: var(--d, .5s); }

/* The 3D stack of real screenshots. site.js tilts it with the pointer and spreads it while scrolling. */
.stage { --rx: 18deg; --ry: 0deg; --spread: 0; position: relative; height: clamp(300px, 52vw, 680px); margin-top: clamp(36px, 6vw, 70px); perspective: 2000px; perspective-origin: 50% 10%; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease); }
.screen { position: absolute; left: 50%; top: 0; width: min(1000px, 86vw); aspect-ratio: 1591 / 944; border-radius: 16px; overflow: hidden; background: #0c0c10;
	border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .4); transform-style: preserve-3d; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .12), transparent 40%); pointer-events: none; }
.screen.main { z-index: 3; transform: translateX(-50%) translateZ(40px); box-shadow: 0 50px 140px rgba(0, 0, 0, .75), 0 0 120px rgba(224, 38, 46, .22); }
.screen.left { z-index: 1; width: min(640px, 56vw); aspect-ratio: 1600 / 840; top: 12%; transform: translateX(calc(-50% - min(470px, 38vw) - var(--spread) * 60px)) translateZ(-160px) rotateY(24deg); opacity: .9; }
.screen.right { z-index: 1; width: min(640px, 56vw); aspect-ratio: 1600 / 840; top: 18%; transform: translateX(calc(-50% + min(470px, 38vw) + var(--spread) * 60px)) translateZ(-160px) rotateY(-24deg); opacity: .9; }
.stage .screen { opacity: 0; animation: screen-in 1.2s var(--ease) forwards; }
.stage .screen.main { animation-delay: .35s; }
.stage .screen.left { animation-delay: .6s; }
.stage .screen.right { animation-delay: .75s; }
.float-chip { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px; background: rgba(18, 18, 23, .86); border: 1px solid var(--line-2);
	backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); font: 600 14px Inter; color: var(--text); animation: bob 6s ease-in-out infinite, fade-up .8s var(--ease) both; animation-delay: 0s, var(--d, 1.2s); white-space: nowrap; }
.float-chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(224, 38, 46, .16); color: var(--red-soft); font-style: normal; }
.float-chip small { display: block; color: var(--text-3); font-weight: 500; font-size: 12px; }
.stage-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, var(--bg)); z-index: 6; pointer-events: none; }
@media (max-width: 760px) { .screen.left, .screen.right, .float-chip { display: none; } .stage { height: 62vw; } }

/* ---- Marquee ---- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(14, 14, 18, .7); padding: 18px 0;
	-webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 40s linear infinite; font: 600 15px Inter; color: var(--text-3); }
.marquee-track span { display: inline-flex; align-items: center; gap: 46px; }
.marquee-track b { color: var(--text-2); font-weight: 600; }
.marquee-track span::after { content: "✦"; color: var(--red); font-size: 12px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 26px 22px; text-align: left; overflow: hidden; }
.stat b { display: block; font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--red-hi); text-shadow: 0 0 24px var(--red-glow); }
.stat > span { display: block; margin-top: 8px; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Sticky showcase (text steps on the left, one 3D screen on the right that changes as you scroll) ---- */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.showcase-steps { display: grid; gap: 0; }
.step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .3; transition: opacity .5s var(--ease); }
.step.active { opacity: 1; }
.step h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.step p { margin: 0; color: var(--text-2); font-size: 17px; }
.step ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--text); }
.step li { display: flex; gap: 11px; align-items: flex-start; }
.step li::before { content: ""; flex: none; margin-top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 10px var(--red-hi); }
.showcase-view { position: sticky; top: 14vh; height: 72vh; display: grid; place-items: center; perspective: 1600px; }
.device { position: relative; width: 100%; aspect-ratio: 1591 / 944; border-radius: 18px; transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .8s var(--ease);
	box-shadow: 0 50px 120px rgba(0, 0, 0, .7), 0 0 90px rgba(224, 38, 46, .18); background: #0c0c10; border: 1px solid var(--line-2); overflow: hidden; }
.device:hover { transform: rotateY(-4deg) rotateX(2deg); }
.device img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.device img.on { opacity: 1; transform: none; }
.device-label { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 8px 12px; border-radius: 10px; background: rgba(10, 10, 13, .82); border: 1px solid var(--line-2); font: 600 13px Inter; backdrop-filter: blur(8px); }
@media (max-width: 900px) {
	.showcase { grid-template-columns: 1fr; }
	.showcase-view { position: relative; top: 0; height: auto; order: -1; }
	.step { min-height: 0; opacity: 1; padding: 22px 0; }
	.step .step-shot { display: block; }
}
.step-shot { display: none; width: 100%; border-radius: 14px; border: 1px solid var(--line-2); margin-top: 8px; }

/* ---- Bento features ---- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; grid-auto-flow: dense; }
.tile { grid-column: span 2; padding: 26px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-height: 230px; transition: transform .4s var(--ease), border-color .3s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(224, 38, 46, .3); }
.tile.wide { grid-column: span 3; }
.tile.big { grid-column: span 4; }
.tile h3 { font-size: 21px; }
.tile p { margin: 0; color: var(--text-2); font-size: 15px; }
.tile .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: var(--red-soft); background: rgba(224, 38, 46, .12);
	box-shadow: inset 0 0 0 1px rgba(224, 38, 46, .3), 0 8px 26px rgba(224, 38, 46, .2); transition: transform .5s var(--spring); }
.tile:hover .ico { transform: rotate(-8deg) scale(1.1); }
.tile .tile-img { margin: auto -26px -26px; border-top: 1px solid var(--line); overflow: hidden; }
.tile .tile-img img { display: block; width: 100%; transition: transform 1s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags span { font: 600 12px Inter; padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--text-2); border: 1px solid var(--line); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile, .tile.wide, .tile.big { grid-column: span 2; } }
@media (min-width: 640px) and (max-width: 980px) { .tile { grid-column: span 1; } }

/* ---- Cosmetics showcase ---- */
.cosmetics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cos-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.cos-card:hover { color: var(--text); transform: translateY(-6px); border-color: rgba(224, 38, 46, .35); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(224, 38, 46, .14); }
.cos-art { position: relative; height: 280px; display: grid; place-items: center; overflow: hidden;
	background: radial-gradient(circle at 50% 75%, var(--accent, rgba(224, 38, 46, .4)), transparent 62%), #0c0c10; }
.cos-art img { max-height: 86%; max-width: 86%; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .65)); transition: transform .6s var(--ease); }
.cos-card:hover .cos-art img { transform: scale(1.06) translateY(-4px); }
.cos-art .aura-img { max-height: 100%; max-width: 100%; }
.cos-body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.cos-body h3 { font-size: 19px; }
.cos-body p { margin: 0; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 900px) { .cosmetics { grid-template-columns: 1fr; } }

/* 3D cape (CSS): the template's six faces cut out of the animated GIF, so it plays like in game. */
.cape3d { --k: 12px; width: calc(var(--k) * 10); height: calc(var(--k) * 16); perspective: 900px; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .65)); }
.cape3d .rig { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: cape-sway 7s ease-in-out infinite; }
.cape3d .face { position: absolute; left: 0; top: 0; image-rendering: pixelated; background-repeat: no-repeat; background-size: calc(var(--k) * 64) calc(var(--k) * 32); backface-visibility: hidden; }
.cape3d .out { width: calc(var(--k) * 10); height: calc(var(--k) * 16); background-position: calc(var(--k) * -1) calc(var(--k) * -1); transform: translateZ(calc(var(--k) * .5)); }
.cape3d .in { width: calc(var(--k) * 10); height: calc(var(--k) * 16); background-position: calc(var(--k) * -12) calc(var(--k) * -1); transform: rotateY(180deg) translateZ(calc(var(--k) * .5)); filter: brightness(.7); }
.cape3d .l, .cape3d .r { width: var(--k); height: calc(var(--k) * 16); left: calc(var(--k) * 4.5); filter: brightness(.75); }
.cape3d .l { background-position: 0 calc(var(--k) * -1); transform: rotateY(-90deg) translateZ(calc(var(--k) * 5)); }
.cape3d .r { background-position: calc(var(--k) * -11) calc(var(--k) * -1); transform: rotateY(90deg) translateZ(calc(var(--k) * 5)); }
.cape3d .t, .cape3d .b { width: calc(var(--k) * 10); height: var(--k); top: calc(var(--k) * 7.5); }
.cape3d .t { background-position: calc(var(--k) * -1) 0; transform: rotateX(90deg) translateZ(calc(var(--k) * 8)); }
.cape3d .b { background-position: calc(var(--k) * -11) 0; transform: rotateX(-90deg) translateZ(calc(var(--k) * 8)); filter: brightness(.6); }
.cape3d.drag .rig { animation: none; }

/* ---- Velo+ ---- */
.plus-card { position: relative; border-radius: 30px; padding: clamp(28px, 5vw, 60px); overflow: hidden; isolation: isolate;
	background: radial-gradient(800px 420px at 90% 0%, rgba(224, 38, 46, .35), transparent 70%), linear-gradient(160deg, #1b0b0e, #0f0e12 58%); }
.plus-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
	background: conic-gradient(from var(--angle, 0deg), rgba(224, 38, 46, .1), rgba(255, 90, 98, .9), rgba(224, 38, 46, .1) 40%, rgba(224, 38, 46, .1) 60%, rgba(255, 90, 98, .9) 80%, rgba(224, 38, 46, .1));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-angle 6s linear infinite; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plus-badge { display: inline-flex; align-items: center; gap: 6px; font: 800 13px Inter; letter-spacing: .1em; color: #fff; background: var(--red); border-radius: 8px; padding: 6px 11px; box-shadow: 0 0 24px var(--red-glow); }
.plus-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-end; }
.plus-top h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin-top: 14px; }
.plus-top p { color: #c9c9d1; font-size: 17px; max-width: 620px; margin: 14px 0 0; }
.price { font: 800 clamp(2.4rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -0.03em; }
.price small { font: 500 17px Inter; color: var(--text-2); letter-spacing: 0; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.perk { padding: 20px; border-radius: 18px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 8px; align-content: start; }
.perk .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #f0353d, #8e1219); box-shadow: 0 8px 24px rgba(224, 38, 46, .4); }
.perk h3 { font-size: 18px; }
.perk p { margin: 0; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* ---- Comparison table ---- */
.compare { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 20px; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: rgba(255, 255, 255, .02); font: 700 15px var(--display); }
.compare tbody th { text-align: left; font-weight: 500; color: #e4e4e8; }
.compare td { text-align: center; font-weight: 600; }
.compare td.no { color: #6e6e78; }
.compare td.plus, .compare th.plus { color: #ff8a90; }

/* ---- Categories (features page) ---- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.cat { padding: 22px; display: grid; gap: 10px; align-content: start; }
.cat-top { display: flex; align-items: center; justify-content: space-between; }
.cat-top b { font: 700 24px var(--mono); }
.cat h3 { font-size: 19px; }
.cat p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--red-soft); background: rgba(224, 38, 46, .12); box-shadow: inset 0 0 0 1px rgba(224, 38, 46, .28); }
.addon-groups { display: flex; flex-wrap: wrap; gap: 10px; }
.addon-groups span { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px; border-radius: 999px; font: 600 14px Inter; background: rgba(0, 0, 0, .3); border: 1px solid var(--line-2); }
.addon-groups i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }

/* ---- Themes strip ---- */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.theme { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line-2); aspect-ratio: 16 / 9; }
.theme img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.theme:hover img { transform: scale(1.06); }
.theme span { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 9px; background: rgba(10, 10, 13, .8); font: 600 13px Inter; backdrop-filter: blur(6px); }
@media (max-width: 820px) { .themes { grid-template-columns: 1fr 1fr; } }

/* ---- News ---- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.news-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none;
	transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.news-card:hover { color: var(--text); border-color: rgba(224, 38, 46, .35); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.news-card-img { display: block; aspect-ratio: 16 / 9.75; overflow: hidden; background: #0c0c10; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.news-meta { display: flex; align-items: center; gap: 10px; font: 500 12.5px var(--mono); color: var(--text-3); }
.tag { font: 700 11px Inter; letter-spacing: .06em; text-transform: uppercase; border-radius: 6px; padding: 4px 8px; color: #ff8a90; background: rgba(224, 38, 46, .15); }
.tag-news, .tag-store { color: #c4b5fd; background: rgba(139, 92, 246, .18); }
.news-title { font: 600 19px/1.3 var(--display); }
.news-summary { color: var(--text-2); font-size: 14.5px; }
.article { max-width: 780px; margin-inline: auto; }
.article-hero { display: grid; gap: 16px; padding: clamp(36px, 6vw, 70px) 0 30px; }
.article-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.article-hero p { margin: 0; color: var(--text-2); font-size: 19px; }
.article-cover { border-radius: 20px; border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 80px rgba(224, 38, 46, .12); width: 100%; }
.prose { font-size: 17.5px; line-height: 1.75; color: #dcdce2; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; color: var(--text); }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; color: var(--text); }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--red-hi); }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border-radius: 16px; border: 1px solid var(--line-2); }
.prose figcaption { margin-top: 10px; color: var(--text-3); font-size: 14px; text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }
.prose strong { color: #fff; }
.callout { margin: 1.6em 0; padding: 16px 20px; border-radius: 14px; background: rgba(224, 38, 46, .08); border: 1px solid rgba(224, 38, 46, .3); }
.callout p { margin: 0; }
.callout-tip, .callout-success { background: rgba(47, 191, 113, .07); border-color: rgba(47, 191, 113, .3); }
.callout-warning { background: rgba(242, 179, 61, .07); border-color: rgba(242, 179, 61, .3); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { height: 40px; padding: 0 15px; border-radius: 11px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: 600 14px Inter; cursor: pointer; transition: all .2s; }
.filters button[aria-pressed="true"] { background: #f4f4f6; color: #0b0b0e; border-color: transparent; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(224, 38, 46, .35); background: linear-gradient(180deg, rgba(224, 38, 46, .06), transparent), var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font: 600 17px Inter; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); border-color: var(--red-soft); }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq .answer p { margin: 0; }
.faq details[open] .answer { animation: fade-up .45s var(--ease); }

/* ---- Download ---- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.dl.best { background: linear-gradient(180deg, rgba(224, 38, 46, .14), var(--surface) 60%); border-color: rgba(224, 38, 46, .45); box-shadow: 0 0 60px rgba(224, 38, 46, .14); }
.dl h2 { font-size: 24px; }
.dl p { margin: 0; color: var(--text-2); flex: 1; }
.dl .os { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); }
.dl .versions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }
.steps-list { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps-list li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; color: #d4d4da; }
.steps-list li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--display); background: rgba(224, 38, 46, .16); color: var(--red-soft); box-shadow: inset 0 0 0 1px rgba(224, 38, 46, .35); }
.kv { display: grid; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--text-2); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }

/* ---- Store ---- */
.store-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: clamp(30px, 5vw, 56px); }
.store-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.wallet { display: flex; align-items: center; gap: 10px; }
.coins { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; background: rgba(244, 184, 46, .08); border: 1px solid rgba(244, 184, 46, .3); font: 700 16px Inter; font-variant-numeric: tabular-nums; color: #ffe08a; }
.coin-dot, .coins::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #ffe38a, #f4b82e 55%, #c9861a); box-shadow: 0 0 10px rgba(244, 184, 46, .55); flex: none; display: inline-block; }
.who { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 6px; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 600; background: rgba(255, 255, 255, .03); }
.who img, .avatar { width: 32px; height: 32px; border-radius: 8px; image-rendering: pixelated; background: linear-gradient(145deg, #f0353d, #7a0f15); display: grid; place-items: center; font: 700 14px var(--display); color: #fff; }
.store-tabs { position: sticky; top: 72px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; margin: 18px 0 8px; background: linear-gradient(var(--bg) 70%, transparent); scrollbar-width: none; }
.store-tabs::-webkit-scrollbar { display: none; }
.store-tabs a { flex: none; height: 40px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 11px; color: var(--text-2); font: 600 14.5px Inter; text-decoration: none; border: 1px solid transparent; transition: all .2s; }
.store-tabs a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.store-tabs a.on { color: #fff; background: rgba(224, 38, 46, .14); border-color: rgba(224, 38, 46, .35); }
.store-section { padding: 36px 0; scroll-margin-top: 140px; }
.store-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.store-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.store-section-head span { color: var(--text-3); font-size: 14.5px; }
.featured { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 28px; overflow: hidden;
	background: radial-gradient(700px 400px at 80% 50%, rgba(224, 38, 46, .25), transparent 70%), linear-gradient(160deg, #19090c, #0f0e12 60%); border: 1px solid rgba(224, 38, 46, .3); }
.featured h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 10px 0; }
.featured p { color: var(--text-2); margin: 0 0 20px; }
.featured-art { display: flex; justify-content: center; align-items: center; gap: 4%; min-height: 240px; }
.featured-art > * { flex: 1; max-width: 32%; animation: bob 6s ease-in-out infinite; }
.featured-art > *:nth-child(2) { animation-delay: -2s; transform: scale(1.15); }
.featured-art > *:nth-child(3) { animation-delay: -4s; }
.featured-art img { width: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.item { padding: 0; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; color: var(--text); text-align: left; font: inherit; border: 1px solid var(--line);
	transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.item:hover { transform: translateY(-5px); border-color: rgba(224, 38, 46, .35); box-shadow: 0 26px 60px rgba(0, 0, 0, .5), 0 0 50px rgba(224, 38, 46, .14); }
.item .art { position: relative; aspect-ratio: 1 / .85; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 72%, var(--accent, rgba(224, 38, 46, .35)), transparent 64%), #0c0c10; }
.item .art img { max-width: 82%; max-height: 86%; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .6)); transition: transform .5s var(--ease); }
.item .art .aura-img { max-width: 100%; max-height: 100%; }
.item:hover .art img { transform: scale(1.07); }
.item .body { padding: 13px 15px 15px; display: grid; gap: 6px; }
.item .body b { font: 600 15.5px var(--display); }
.item .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-tag s { color: var(--text-3); font-weight: 500; font-size: 13px; }
.ribbon { position: absolute; top: 10px; left: 10px; z-index: 2; font: 700 11px Inter; letter-spacing: .06em; padding: 4px 8px; border-radius: 7px; background: var(--red); color: #fff; box-shadow: 0 0 16px var(--red-glow); }
.ribbon.owned { background: var(--good); box-shadow: none; }
.kind { color: var(--text-3); font-size: 12.5px; text-transform: capitalize; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.toolbar input, .toolbar select, .field input { height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); padding: 0 14px; font: 500 15px Inter; }
.toolbar input { flex: 1 1 240px; }
.toolbar input:focus, .toolbar select:focus, .field input:focus { outline: none; border-color: rgba(240, 53, 61, .7); box-shadow: 0 0 0 4px rgba(224, 38, 46, .16); }
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pack { padding: 22px; display: grid; gap: 8px; text-align: center; justify-items: center; }
.pack .big { font: 800 30px var(--display); font-variant-numeric: tabular-nums; }
.pack .bonus { font: 700 12px Inter; color: #8fe3b6; background: rgba(47, 191, 113, .12); border-radius: 999px; padding: 3px 10px; }
.pack.popular { border-color: rgba(224, 38, 46, .45); background: linear-gradient(180deg, rgba(224, 38, 46, .12), var(--surface) 60%); }
@media (max-width: 860px) { .packs { grid-template-columns: 1fr 1fr; } }
.bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 16px; }
.bundle { padding: 24px; display: grid; gap: 12px; }
.bundle-items { display: flex; gap: 10px; }
.bundle-items .art { width: 33%; aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; background: #0c0c10; overflow: hidden; }
.bundle-items .art img { max-width: 86%; max-height: 86%; }
.free-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.free-ways .card { padding: 22px; display: grid; gap: 8px; }
@media (max-width: 860px) { .free-ways { grid-template-columns: 1fr; } }

/* Dialogs */
dialog { width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; color: var(--text);
	background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)), #111116; box-shadow: 0 50px 140px rgba(0, 0, 0, .75), 0 0 80px rgba(224, 38, 46, .12); overflow: auto; }
dialog.small { width: min(480px, calc(100vw - 24px)); }
dialog[open] { animation: pop .4s var(--spring); }
dialog::backdrop { background: rgba(4, 4, 6, .72); backdrop-filter: blur(8px); }
.dlg-close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(10, 10, 13, .7); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.dlg-close:hover { background: rgba(255, 255, 255, .08); }
.detail { display: grid; grid-template-columns: 1.1fr 1fr; }
.detail-art { min-height: 440px; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 50% 70%, var(--accent, rgba(224, 38, 46, .4)), transparent 62%), #0a0a0d; border-right: 1px solid var(--line); cursor: grab; touch-action: pan-y; }
.detail-art img { max-width: 86%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.detail-art .hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: var(--text-3); font-size: 12.5px; }
.detail-body { padding: 34px 30px 30px; display: grid; gap: 14px; align-content: start; }
.detail-body h2 { font-size: 30px; }
.detail-body p { margin: 0; color: var(--text-2); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; } .detail-art { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); } }
.dlg-pad { padding: 32px 28px 28px; display: grid; gap: 16px; }
.dlg-pad h2 { font-size: 26px; }
.dlg-pad p { margin: 0; color: var(--text-2); }
.code-input { width: 100%; height: 64px; text-align: center; font: 700 30px var(--mono) !important; letter-spacing: .4em; border-radius: 16px !important; }
.notice { padding: 14px 16px; border-radius: 14px; background: rgba(224, 38, 46, .08); border: 1px solid rgba(224, 38, 46, .25); color: var(--text-2); font-size: 14.5px; }
.error { padding: 12px 14px; border-radius: 12px; background: rgba(255, 90, 95, .08); border: 1px solid rgba(255, 90, 95, .3); color: #ffc2c4; font-size: 14.5px; }
.field { display: grid; gap: 7px; font-weight: 600; font-size: 14px; color: var(--text-2); }
#toasts { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: grid; gap: 10px; }
.toast { padding: 13px 16px; border-radius: 14px; background: #15151b; border: 1px solid var(--line-2); box-shadow: 0 18px 44px rgba(0, 0, 0, .55); animation: slide-in .4s var(--spring); max-width: min(380px, calc(100vw - 32px)); }
.toast.err { border-color: rgba(255, 90, 95, .45); }
.toast.ok { border-color: rgba(47, 191, 113, .4); }
.confetti { position: fixed; z-index: 95; pointer-events: none; width: 8px; height: 14px; border-radius: 2px; animation: confetti 1.4s var(--ease) forwards; }
.skeleton { border-radius: 18px; background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }

/* ---- Legal ---- */
.legal { max-width: 820px; margin-inline: auto; padding: clamp(40px, 6vw, 72px) 0 40px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.legal .updated { color: var(--text-3); font: 500 14px var(--mono); margin: 0 0 30px; }
.legal h2 { font-size: 1.45rem; margin: 2.2em 0 .7em; }
.legal h3 { font-size: 1.12rem; margin: 1.6em 0 .5em; }
.legal p, .legal li { color: #d2d2d8; line-height: 1.75; }
.legal ul { padding-left: 1.3em; }
.legal li::marker { color: var(--red-hi); }
.legal address { font-style: normal; line-height: 1.8; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.legal .toc { padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); columns: 2; column-gap: 30px; }
.legal .toc a { display: block; padding: 3px 0; color: var(--text-2); text-decoration: none; break-inside: avoid; }
.legal .toc a:hover { color: #fff; }
@media (max-width: 640px) { .legal .toc { columns: 1; } }

/* ---- Footer ---- */
.footer { margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(224, 38, 46, .04)); view-transition-name: footer; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 40px clamp(24px, 4vw, 48px); margin-top: -1px; transform: translateY(-50%);
	border-radius: 26px; background: radial-gradient(600px 300px at 90% 0%, rgba(224, 38, 46, .35), transparent 70%), linear-gradient(140deg, #1c0b0e, #121217 60%); border: 1px solid rgba(224, 38, 46, .3); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.footer-cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.footer-cta p { margin: 6px 0 0; color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; padding: 10px 0 40px; }
.footer-brand p { color: var(--text-3); font-size: 14px; max-width: 320px; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav h2 { font: 700 12px Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.footer nav a { color: var(--text-2); text-decoration: none; font-size: 15px; width: fit-content; }
.footer nav a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px 0 34px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13.5px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } .footer-cta { transform: translateY(-30%); } }

/* ---- 404 ---- */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.notfound b { display: block; font: 800 clamp(6rem, 22vw, 14rem)/1 var(--display); letter-spacing: -0.06em; background: linear-gradient(180deg, #fff, rgba(224, 38, 46, .4)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(224, 38, 46, .35)); }

/* ---- Keyframes ---- */
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes screen-in { from { opacity: 0; filter: blur(10px); } to { opacity: var(--o, 1); filter: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.15); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-angle { to { --angle: 360deg; } }
@keyframes cape-sway { 0%, 100% { transform: rotateX(8deg) rotateY(-30deg); } 50% { transform: rotateX(4deg) rotateY(24deg); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes confetti { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal, .js .reveal-left, .js .reveal-right, .hero h1 .word, .fade-up, .stage .screen { opacity: 1 !important; transform: none; filter: none; }
	.screen.left, .screen.right { transform: translateX(-50%); }
}
