/* =========================================================================
 * SkinsFlow — marketing extras for skinsflow.com (site.* pages only).
 * Pushed into the head stack by the views that need it. Builds on theme.css
 * tokens and components; only adds what the marketing pages need on top.
 *
 * Abstract decoration (brand-only: gradients, hairlines, glows, patterns and
 * the mark's own strokes; never drawn objects, never mock screens):
 *   .has-deco         section that hosts a .deco layer (content sits above it)
 *   .deco             absolutely positioned background layer, aria-hidden
 *     .deco__grid       hairline grid that fades out   (.deco__grid--center)
 *     .deco__dots       dot pattern that fades out
 *     .deco__glow--a|b  slow-drifting violet / mint radial glows
 *     .deco__mark       the mark as a large low-opacity contour (brand/flow-mark-outline.svg)
 *     .deco__grain      soft film grain
 *   .ribbon           the mark's S stretched into parallel hairlines (partials/ribbon.php)
 *
 * Surfaces & type:
 *   .glass            frosted panel with a mint→violet gradient border
 *   .spot             pointer-following highlight (site.js sets --mx/--my)
 *   .lift             hover lift
 *   .kicker           mono eyebrow with a gradient lead-in line
 *   .text-grad        mint gradient text        .h-xl  big section heading
 *   .statement        oversized statement line  .facts / .fact  big honest numbers
 *
 * Sections:
 *   .page-hero .hero--home .market-band .rail .tile .live-pill .bento .steps--flow .split-feature
 *   .flow-card .ways .games .trust .cta-xl .price-card .calc .faq
 *   .legal .contact-card .status-* .brand-* .docs
 *
 * Motion: .reveal (+ .stagger parent) fades blocks in on scroll — site.js only
 * hides blocks that start below the fold, so nothing flickers and nothing is
 * hidden without JS. Every animation is off under prefers-reduced-motion.
 * ========================================================================= */

:root {
    --glass-bg: linear-gradient(180deg, rgba(30, 39, 51, .66), rgba(16, 22, 30, .6));
    --grad-edge: linear-gradient(140deg, rgba(46, 230, 166, .55), rgba(255, 255, 255, .07) 32%, rgba(255, 255, 255, .04) 68%, rgba(139, 108, 255, .55));
    --hair: rgba(255, 255, 255, .07);
    --r-lg: 22px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Generic ----------------------------------------------------- */

.section { position: relative; }
.layout--default > main { overflow-x: clip; }
.section + .section { border-top: 0; }
.section + .section::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 2 * var(--gutter))); height: 1px; background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent); }
.section--flush-top { padding-top: 0; }
.section--flush-top::before { display: none; }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4.5vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; align-items: center; }
.section-head .lead { margin-top: 2px; }
.h-md { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.03em; }
.section-head h2, .split-feature__copy h2, .h-xl { font-size: clamp(30px, 4.2vw, 50px); font-weight: 700; letter-spacing: -0.038em; line-height: 1.04; }
.kicker-mint { color: var(--mint); }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--mint); letter-spacing: .14em; }
.kicker::before { content: ""; width: 22px; height: 1px; flex: none; background: linear-gradient(90deg, var(--mint), var(--violet)); }
.text-grad { background: linear-gradient(100deg, var(--mint) 0%, #9DF9D9 38%, var(--mint) 62%, #7FE9D0 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-drift 9s ease-in-out infinite alternate; }
.text-grad--violet { background-image: linear-gradient(100deg, var(--mint) 0%, #8FD7E8 45%, var(--violet) 100%); }
@keyframes grad-drift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.dim { color: var(--faint); }
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; color: var(--mint); background: color-mix(in srgb, var(--mint) 12%, transparent); stroke-width: 2.4; }
.check-list li strong { color: var(--fg); }
.anchor-offset { scroll-margin-top: 88px; }
[id] { scroll-margin-top: 88px; }

/* Buttons get a little more presence on the marketing site. */
.site-header ~ main .btn--primary, .site-header .btn--primary { box-shadow: 0 0 0 1px rgba(46, 230, 166, .25), 0 10px 32px -10px rgba(46, 230, 166, .6); }
main .btn, .site-header .btn { transition: background-color .15s, border-color .15s, color .15s, transform .25s var(--ease), box-shadow .25s; }
main .btn:hover, .site-header .btn:hover { transform: translateY(-1px); }
main .btn--ghost { background: rgba(255, 255, 255, .02); border-color: rgba(255, 255, 255, .12); }
main .btn--ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); }
.btn--link:hover { transform: none !important; }

/* ---------- Abstract decoration ---------------------------------------- */

.has-deco { position: relative; isolation: isolate; overflow: hidden; }
.has-deco > :not(.deco) { position: relative; z-index: 1; }
.deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.deco > * { position: absolute; pointer-events: none; }
.deco__grid { inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 0%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 75% 70% at 50% 0%, #000 10%, transparent 72%); }
.deco__grid--center { -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 5%, transparent 70%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 5%, transparent 70%); }
.deco__dots { inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 55% 65% at 85% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse 55% 65% at 85% 50%, #000, transparent 70%); }
.deco__glow { width: min(760px, 110vw); aspect-ratio: 1; border-radius: 50%; will-change: transform; }
.deco__glow--a { top: -42%; right: -12%; background: radial-gradient(closest-side, rgba(139, 108, 255, .26), rgba(139, 108, 255, .08) 55%, transparent); animation: drift-a 24s ease-in-out infinite alternate; }
.deco__glow--b { bottom: -55%; left: -18%; background: radial-gradient(closest-side, rgba(46, 230, 166, .16), rgba(46, 230, 166, .05) 55%, transparent); animation: drift-b 28s ease-in-out infinite alternate; }
.deco__glow--c { top: 10%; left: 30%; width: min(560px, 90vw); background: radial-gradient(closest-side, rgba(46, 230, 166, .10), transparent); animation: drift-b 30s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(-7%, 9%) scale(1.08); } }
@keyframes drift-b { to { transform: translate(8%, -6%) scale(1.12); } }
.deco__mark { right: -4%; top: 50%; height: 135%; width: auto; max-width: none; transform: translateY(-50%); opacity: .16; }
.deco__mark--solid { opacity: .07; }
.deco__mark--left { right: auto; left: -8%; }
.deco__grain { inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.ribbon { position: absolute; left: 0; width: 100%; pointer-events: none; overflow: visible; }
.ribbon__lines path { stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.ribbon__pulse { stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 26 974; stroke-dashoffset: 1000; animation: ribbon-pulse 8s linear infinite; }
.ribbon__pulse--2 { animation-duration: 10s; animation-delay: -4s; }
.ribbon__pulse--3 { animation-duration: 9s; animation-delay: -7s; }
@keyframes ribbon-pulse { to { stroke-dashoffset: 0; } }
.ribbon--hero { left: 40%; width: 80%; top: 2%; height: 60%; opacity: .8; -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 38%); mask-image: linear-gradient(90deg, transparent 2%, #000 38%); }
@media (max-width: 900px) { .ribbon--hero { left: 0; width: 100%; top: 18%; height: 40%; opacity: .45; } }
.ribbon--band { top: 50%; height: 140%; transform: translateY(-50%); opacity: .45; }
@media (prefers-reduced-motion: reduce) { .ribbon__pulses { display: none; } .text-grad { animation: none; } }

/* ---------- Surfaces ---------------------------------------------------- */

.glass { background: var(--glass-bg) padding-box, var(--grad-edge) border-box; border: 1px solid transparent; border-radius: var(--r-lg); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 100px -30px rgba(0, 0, 0, .75); }
.glow-wrap { position: relative; }
.glow-wrap::before { content: ""; position: absolute; inset: 8% 0 -6% 4%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 70% 30%, rgba(139, 108, 255, .32), transparent 70%), radial-gradient(55% 55% at 25% 80%, rgba(46, 230, 166, .22), transparent 70%); filter: blur(30px); pointer-events: none; }
.spot { position: relative; --mx: 50%; --my: -40%; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(46, 230, 166, .09), transparent 45%); }
.spot:hover::after { opacity: 1; }
.lift { transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.lift:hover { transform: translateY(-4px); border-color: rgba(46, 230, 166, .28); box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .8); }

.feature { position: relative; overflow: hidden; gap: 12px; padding: clamp(22px, 2.6vw, 28px); border-radius: 18px; border-color: var(--hair); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 55%), var(--panel); }
.feature h3 { font-size: 18px; }
.feature p { line-height: 1.6; }
.feature__icon { width: 44px; height: 44px; border-radius: 13px; border: 1px solid transparent; background: linear-gradient(var(--panel-2), var(--panel-2)) padding-box, linear-gradient(140deg, rgba(46, 230, 166, .55), rgba(139, 108, 255, .45)) border-box; box-shadow: 0 0 28px -8px rgba(46, 230, 166, .4); }
.feature--row { flex-direction: row; align-items: flex-start; gap: 16px; }
.feature--row .feature__icon { flex: none; }
.grid--3x { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3x { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--3x { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Header & footer -------------------------------------------- */

.site-header { background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border-bottom-color: rgba(255, 255, 255, .06); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent 5%, rgba(46, 230, 166, .45) 35%, rgba(139, 108, 255, .45) 65%, transparent 95%); opacity: .7; pointer-events: none; }
.nav { min-height: 70px; }
.nav__links { gap: 4px; }
.nav__link { position: relative; transition: color .15s, background-color .15s; }
.nav__link.is-active { background: rgba(255, 255, 255, .05); }
.nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
@media (max-width: 900px) {
    .nav.is-open .nav__links { padding-top: 6px; }
    .nav.is-open .nav__link { padding: 12px; }
    .nav__link.is-active::after { left: auto; right: 14px; bottom: 50%; margin: 0 0 -2px; }
}

.site-footer { position: relative; overflow: hidden; isolation: isolate; border-top: 0; padding-block: clamp(56px, 8vw, 88px) 36px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(46, 230, 166, .4) 30%, rgba(139, 108, 255, .4) 70%, transparent); }
.site-footer::after { content: ""; position: absolute; z-index: -1; inset: auto -10% -18% 10%; height: 85%; pointer-events: none; opacity: .2; background: url("../brand/flow-ribbon.svg") center bottom / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
.site-footer > .container::before { content: ""; position: absolute; z-index: -1; right: -16%; top: -14%; width: min(520px, 60vw); aspect-ratio: 63 / 71; pointer-events: none; opacity: .06; background: url("../brand/flow-mark-outline.svg") center / contain no-repeat; }
.site-footer > .container { position: relative; }
.site-footer__grid { position: relative; }
.site-footer__brand { gap: 14px; }
.site-footer__tagline { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.035em; line-height: 1.05; color: var(--fg); }
.site-footer__pitch { max-width: 34ch; }
.site-footer__col a { transition: color .15s; width: fit-content; }
.site-footer__bottom { border-top-color: rgba(255, 255, 255, .06); color: var(--muted); }

/* ---------- Page hero (inner pages) ------------------------------------ */

.page-hero { padding-block: clamp(64px, 10vw, 128px) clamp(40px, 6vw, 72px); position: relative; overflow-x: clip; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero > .deco, .hero--home > .deco { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); }
.page-hero .deco__glow--b { bottom: auto; top: -10%; left: -30%; }
.hero--home > .deco { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.hero--home .deco__glow--b { bottom: -35%; }
.page-hero .hero__glow { inset: -40% -10% auto auto; width: 50%; }
.page-hero__inner { display: flex; flex-direction: column; gap: 20px; max-width: 780px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.0; }
.page-hero .lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.page-hero h1 .text-grad { display: block; }
.page-hero .hero__actions { margin-top: 6px; }
.page-hero .deco__mark { height: 120%; right: -2%; opacity: .14; }
@media (max-width: 760px) { .page-hero .deco__mark { height: 70%; right: -22%; top: 30%; opacity: .1; } }

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

.hero--home { padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 80px); }
.hero__copy { gap: 24px; }
.hero .display { font-size: clamp(50px, 7.6vw, 104px); letter-spacing: -0.05em; line-height: .96; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: #B4BDCB; }
.hero__badge { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #C9D1DD; border: 1px solid transparent; border-radius: 999px; padding: 7px 14px 7px 10px; background: linear-gradient(rgba(18, 24, 33, .85), rgba(18, 24, 33, .85)) padding-box, linear-gradient(90deg, rgba(46, 230, 166, .6), rgba(139, 108, 255, .6)) border-box; }
.hero__badge .dot { background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 18%, transparent); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--mint) 6%, transparent); } }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--mint); }
@media (max-width: 520px) { .hero__badge { font-size: 10.5px; letter-spacing: .05em; padding-right: 12px; } .hero__actions .btn { flex: 1 1 auto; } }

/* ---------- Live market rails (real items, official Steam images) ------ */
/* partials/market-rail.php: one announced list + aria-hidden copies; the track
   moves by exactly one group (-25% of 4 groups), so the loop is seamless. */

.hero__intro .hero__copy { max-width: 760px; }
.market-band { position: relative; margin-top: clamp(48px, 7vw, 96px); }
.market-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; margin-bottom: 10px; }
.live-pill { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg); padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(46, 230, 166, .07); border: 1px solid rgba(46, 230, 166, .32); }
.live-pill .dot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 22%, transparent); animation: beat 2.4s ease-in-out infinite; }
.market-head__note { font: 12px/1.4 var(--f-mono); color: var(--muted); letter-spacing: .02em; }
.market-band__rails { display: flex; flex-direction: column; gap: 16px; padding-block: 28px 12px; margin-inline: -3vw; transform: rotate(-2.4deg); transform-origin: 50% 50%; }

.rail { position: relative; overflow: hidden; border-radius: 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.rail:focus-visible { outline-offset: -2px; }
.rail__track { display: flex; width: max-content; padding-block: 10px 12px; animation: rail-scroll var(--dur, 40s) linear infinite; will-change: transform; }
.rail--reverse .rail__track { animation-direction: reverse; }
.rail--second .rail__track { animation-delay: calc(var(--dur, 40s) * -.42); }
.rail:hover .rail__track, .rail:focus-within .rail__track { animation-play-state: paused; }
@keyframes rail-scroll { to { transform: translateX(-25%); } }
.rail__group { list-style: none; margin: 0; padding: 0 16px 0 0; display: flex; gap: 16px; }

.tile { --rar: var(--violet); position: relative; flex: none; width: 212px; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; border-radius: 18px; overflow: hidden; isolation: isolate; border: 1px solid rgba(255, 255, 255, .07); background: radial-gradient(90% 62% at 50% 34%, color-mix(in srgb, var(--rar) 24%, transparent), transparent 72%), linear-gradient(180deg, #17202B, #10161E); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .9); transition: transform .5s var(--ease), border-color .5s, box-shadow .5s; }
.tile::before { content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 2px; border-radius: 0 0 3px 3px; background: var(--rar); box-shadow: 0 0 16px 2px color-mix(in srgb, var(--rar) 70%, transparent); }
.tile::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(11, 15, 20, .55)); pointer-events: none; }
.tile:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--rar) 45%, rgba(255, 255, 255, .08)); box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .95), 0 0 0 1px color-mix(in srgb, var(--rar) 20%, transparent); }
.tile__art { position: relative; z-index: 0; display: block; aspect-ratio: 16 / 10; margin: 14px -6px 6px; }
.tile__art img { position: absolute; left: 0; top: 50%; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transform: translateY(-50%) scale(.98); pointer-events: none; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .55)); transition: transform .6s var(--ease); }
.tile:hover .tile__art img { transform: translateY(-50%) scale(1.06) rotate(-3deg); }
.tile__chip { position: absolute; z-index: 2; top: 12px; left: 12px; font: 500 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); padding: 4px 7px; border-radius: 6px; background: rgba(11, 15, 20, .65); border: 1px solid color-mix(in srgb, var(--rar) 55%, transparent); }
.tile__name { position: relative; font: 600 14px/1.35 var(--f-body); color: var(--fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.tile__foot { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; }
.tile__wear { font: 11px/1.3 var(--f-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tile__price { font: 600 17px/1 var(--f-mono); color: var(--mint); white-space: nowrap; font-variant-numeric: tabular-nums; }

.market-band--flat { margin-top: clamp(32px, 5vw, 56px); }
.market-band--flat .market-band__rails { transform: none; margin-inline: 0; padding-top: 8px; }
.market-checks { padding-top: 8px; }
@media (min-width: 901px) { .market-checks { padding-top: 64px; } }

/* Small screens and reduced motion: a swipeable scroll-snap row, no loop. */
@media (max-width: 720px) {
    .market-band__rails { transform: none; margin-inline: 0; padding-block: 4px 0; }
    .rail--second { display: none; }
    .rail { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
    .rail::-webkit-scrollbar { display: none; }
    .rail__track { animation: none; padding-inline: var(--gutter); }
    .rail__group { padding-right: 0; gap: 12px; }
    .rail__group--copy { display: none; }
    .tile { width: min(58vw, 230px); scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
    .market-band__rails { transform: none; margin-inline: 0; }
    .rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
    .rail__track { animation: none; padding-inline: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); }
    .rail__group--copy { display: none; }
    .tile { scroll-snap-align: start; }
}
@media (max-width: 480px) { .fee-table .table td, .fee-table .table th { padding: 12px 10px; } }

/* ---------- Statement & facts ------------------------------------------ */

.statement { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 5.4vw, 72px); letter-spacing: -0.045em; line-height: 1.02; max-width: 17ch; text-wrap: balance; }
.statement-wrap { display: flex; flex-direction: column; gap: clamp(36px, 6vw, 64px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 0 0; min-width: 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact__value { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.05em; line-height: 1; }
.fact__label { color: var(--muted); font-size: 15px; max-width: 26ch; }
@media (max-width: 620px) {
    .fact { padding-right: 10px; }
    .fact + .fact { padding-left: 12px; }
    .fact__label { font-size: 13px; }
}

.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
.facts--2 .fact, .facts--2 .fact + .fact { padding: 22px 16px 22px 0; border-left: 0; border-top: 1px solid var(--line); }
.facts--2 .fact:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.facts--2 .fact__value { font-size: clamp(40px, 5vw, 64px); }
.split-feature--top { align-items: start; }
.about-prose { font-size: 18px; color: #C3CBD7; }

/* ---------- Bento ------------------------------------------------------- */

.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bento__card { grid-column: span 2; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 12px; min-height: 240px; padding: clamp(22px, 2.8vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--hair); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 50%), var(--panel); }
.bento__card--wide { grid-column: span 4; }
.bento__card--half { grid-column: span 3; }
.bento__card--accent { background: radial-gradient(120% 120% at 100% 0%, rgba(139, 108, 255, .16), transparent 55%), radial-gradient(90% 90% at 0% 100%, rgba(46, 230, 166, .10), transparent 60%), var(--panel); }
.bento__card h3 { font-size: clamp(19px, 1.8vw, 22px); letter-spacing: -0.02em; }
.bento__card p { color: var(--muted); font-size: 15px; max-width: 48ch; }
.bento__card .feature__icon { margin-bottom: 6px; }
.bento__card > .deco { z-index: -1; }
.bento__big { margin-top: auto; padding-top: 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.05em; line-height: 1; }
.bento__tag { align-self: flex-start; margin-top: auto; }
@media (max-width: 960px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento__card { grid-column: span 1; }
    .bento__card--wide, .bento__card--half { grid-column: span 2; }
}
@media (max-width: 620px) {
    .bento { grid-template-columns: minmax(0, 1fr); }
    .bento__card, .bento__card--wide, .bento__card--half { grid-column: auto; min-height: 0; }
    .bento__card:not(.bento__card--wide) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-content: start; padding: 20px; }
    .bento__card:not(.bento__card--wide) > .feature__icon { grid-row: span 2; margin: 0; }
    .bento__card:not(.bento__card--wide) > .bento__big { grid-column: 1 / -1; padding-top: 10px; font-size: 36px; }
    .bento__card:not(.bento__card--wide) > .deco { display: none; }
}

/* ---------- Steps along a line ----------------------------------------- */

ol.steps { list-style: none; padding: 0; margin: 0; }
.steps--flow { --gap: clamp(20px, 3vw, 36px); position: relative; gap: var(--gap); grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.steps--flow::before { content: ""; position: absolute; top: 28px; left: 28px; right: calc((100% - (var(--n, 3) - 1) * var(--gap)) / var(--n, 3) - 28px); height: 1px; background: linear-gradient(90deg, var(--mint), rgba(95, 169, 210, .8), var(--violet)); opacity: .55; }
.steps--flow .steps__item { padding: 0; background: none; border: 0; border-radius: 0; gap: 12px; }
.steps--flow .steps__item::before { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; border: 1px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(140deg, var(--mint), var(--violet)) border-box; color: var(--fg); font-size: 14px; box-shadow: 0 0 0 6px var(--ink), 0 0 30px -4px rgba(46, 230, 166, .35); }
.steps--flow .steps__item h3 { font-size: 20px; letter-spacing: -0.02em; }
.steps--flow .steps__item p { color: var(--muted); font-size: 15px; max-width: 34ch; }
.steps--4 { --n: 4; }
@media (max-width: 860px) {
    .steps--flow { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .steps--flow::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--mint), var(--violet)); }
    .steps--flow .steps__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; row-gap: 6px; align-items: start; }
    .steps--flow .steps__item::before { grid-row: span 2; margin-bottom: 0; }
}

/* Vertical variant (always stacked, compact) for short checklists. */
.steps--list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.steps--list::before { top: 20px; bottom: 20px; left: 19px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--mint), var(--violet)); }
.steps--list .steps__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: start; }
.steps--list .steps__item::before { grid-row: span 2; width: 40px; height: 40px; margin: 0; font-size: 12px; }
.steps--list .steps__item h3 { font-size: 16px; padding-top: 2px; }
.steps--list .steps__item p { font-size: 14px; }

/* ---------- Two-column feature sections -------------------------------- */

.split-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-feature__copy { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .split-feature { grid-template-columns: minmax(0, 1fr); } .split-feature > .split-feature__art--first { order: 2; } }

.flow-card { position: relative; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 22px; }
.flow-card__rail { position: absolute; left: calc(clamp(18px, 3vw, 28px) + 34px); top: 56px; bottom: 56px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--mint), var(--violet)); opacity: .45; }
.flow-card__rail::after { content: ""; position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #E9FFF7; box-shadow: 0 0 12px 3px rgba(46, 230, 166, .8); animation: rail 3.6s var(--ease) infinite; }
@keyframes rail { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.flow-line { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; background: rgba(11, 15, 20, .55); border: 1px solid rgba(255, 255, 255, .07); }
.flow-line__icon { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--mint); flex: none; border: 1px solid transparent; background: linear-gradient(var(--panel-2), var(--panel-2)) padding-box, linear-gradient(140deg, rgba(46, 230, 166, .6), rgba(139, 108, 255, .4)) border-box; }
.flow-line__icon svg { width: 19px; height: 19px; }
.flow-line__icon--violet { color: var(--violet); }
.flow-line__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.flow-line__text strong { font-size: 15px; }
.flow-line__text span { font-size: 13px; color: var(--muted); }
.flow-line__amount { font-family: var(--f-mono); font-size: 14px; white-space: nowrap; }

/* ---------- Ways in (integration options, marketing level) ------------- */

.ways { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.way { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 16px; border-radius: 16px; border: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.way:hover { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .06); }
.way .feature__icon { grid-row: span 2; box-shadow: none; }
.way strong { font-family: var(--f-display); font-size: 16px; letter-spacing: -0.01em; }
.way span { color: var(--muted); font-size: 14px; }
.way + .way { position: relative; }
.way + .way::before { content: ""; position: absolute; top: -4px; left: 76px; right: 16px; height: 1px; background: rgba(255, 255, 255, .05); }

/* ---------- Payment states (how it works) ----------------------------- */

.states { padding: 8px; display: flex; flex-direction: column; }
.state { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; transition: background-color .3s; }
.state:hover { background: rgba(255, 255, 255, .03); }
.state + .state { box-shadow: 0 -1px 0 rgba(255, 255, 255, .05); }
.state__text { color: #C3CBD7; font-size: 14px; }
@media (max-width: 520px) { .state { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.center-row { justify-content: center; margin-top: clamp(28px, 4vw, 40px); }

/* ---------- Games ------------------------------------------------------- */

.games { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.game { position: relative; overflow: hidden; isolation: isolate; padding: clamp(24px, 3vw, 32px); min-height: 230px; border-radius: var(--r-lg); border: 1px solid var(--hair); background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.game::before { content: ""; position: absolute; z-index: -1; inset: auto -35% -70% auto; width: 90%; aspect-ratio: 1; background: radial-gradient(closest-side, var(--game-glow, rgba(46, 230, 166, .16)), transparent); pointer-events: none; transition: transform .6s var(--ease); }
.game:hover::before { transform: scale(1.25); }
.game::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%); opacity: .7; }
/* Official game logo as a large background silhouette, bottom-right, fading toward the text */
.game__logo { position: absolute; z-index: -1; right: -4%; bottom: 8%; width: 72%; max-width: none; height: auto; transform: rotate(-8deg); transform-origin: 100% 100%; filter: brightness(0) invert(1); opacity: .13; pointer-events: none; user-select: none; -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 98%); mask-image: linear-gradient(to left, #000 35%, transparent 98%); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.game:hover .game__logo { opacity: .24; transform: rotate(-6deg) translate(-3%, -4%); }
.game--cs .game__logo { width: 76%; }
.game--rust .game__logo { width: 62%; bottom: 6%; }
@media (max-width: 620px) { .game__logo { width: 64%; bottom: 10%; right: -3%; opacity: .12; } .game--rust .game__logo { width: 54%; } }
@media (prefers-reduced-motion: reduce) { .game__logo { transition: none; } }
.game__tag { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.game__name { margin-top: auto; font-family: var(--f-display); font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.game p { color: var(--muted); font-size: 15px; }
@media (max-width: 620px) { .game { min-height: 0; } .game__name { margin-top: 18px; } }
.game--cs { --game-glow: rgba(255, 200, 97, .2); }
.game--dota { --game-glow: rgba(255, 122, 138, .2); }
.game--rust { --game-glow: rgba(139, 108, 255, .24); }

/* ---------- Trust ------------------------------------------------------- */

.trust { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* ---------- Closing band ------------------------------------------------ */

.cta-band { position: relative; overflow: hidden; isolation: isolate; border: 1px solid transparent; border-radius: var(--r-lg); background: radial-gradient(120% 140% at 100% 0%, rgba(139, 108, 255, .14), transparent 55%), radial-gradient(100% 120% at 0% 100%, rgba(46, 230, 166, .10), transparent 55%), linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad-edge) border-box; }
.cta-band > .deco { z-index: -1; }
.cta-xl { padding: clamp(36px, 7vw, 88px) clamp(24px, 6vw, 72px); border-radius: 28px; align-items: flex-end; }
.cta-xl__copy { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.cta-xl h2 { font-size: clamp(36px, 5.6vw, 72px); font-weight: 700; letter-spacing: -0.048em; line-height: 1; }
.cta-xl .deco__mark { height: 160%; right: -6%; opacity: .2; }
.cta-xl--stack { flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(32px, 5vw, 56px); align-self: stretch; }
.cta-xl--stack h2 { font-size: clamp(34px, 4.4vw, 54px); }
.cta-xl--stack .deco__mark { height: 110%; right: -14%; top: 60%; }
@media (max-width: 700px) { .cta-xl { align-items: flex-start; } .cta-xl .deco__mark { height: 90%; right: -25%; top: 70%; opacity: .14; } }

/* ---------- Pricing ----------------------------------------------------- */

.price-card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.price-card > .deco { z-index: -1; }
.price-card .deco__mark { height: 115%; right: -30%; opacity: .1; }
.price-card__value { font-family: var(--f-display); font-weight: 700; font-size: clamp(72px, 11vw, 132px); letter-spacing: -0.06em; line-height: .95; }
.price-card__value small { display: block; font-size: 18px; color: var(--muted); letter-spacing: -0.01em; font-weight: 600; margin-top: 12px; -webkit-text-fill-color: var(--muted); }
.example-card { border-radius: var(--r-lg); border-color: var(--hair); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%), var(--panel); }
.calc { display: flex; flex-direction: column; gap: 0; }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc__row:last-child { border-bottom: 0; }
.calc__row span:first-child { color: var(--muted); }
.calc__row span:last-child { font-family: var(--f-mono); white-space: nowrap; }
.calc__row--total span:first-child { color: var(--fg); font-weight: 600; }
.calc__row--total span:last-child { color: var(--mint); font-size: 20px; }
.fee-table { border-radius: var(--r-lg); border-color: var(--hair); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 30%), var(--panel); }
.fee-table .table td, .fee-table .table th { padding: 16px 20px; }
.fee-table .table td:first-child { color: var(--fg); font-weight: 600; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details.disclosure { border-radius: 16px; border-color: var(--hair); background: var(--panel); transition: border-color .25s, background-color .25s; }
.faq details.disclosure[open] { border-color: rgba(46, 230, 166, .3); background: linear-gradient(180deg, rgba(46, 230, 166, .04), transparent 60%), var(--panel); }
.faq details.disclosure > summary { padding: 18px 20px; font-family: var(--f-display); font-size: 16px; letter-spacing: -0.01em; }
.faq details.disclosure > summary::after { color: var(--mint); }
.faq details.disclosure > div { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Legal ------------------------------------------------------- */

.legal { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal__toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; max-height: calc(100vh - 110px); overflow-y: auto; padding-bottom: 12px; }
.legal__toc h2 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.legal__toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: flex; gap: 8px; color: var(--muted); padding: 5px 8px; border-radius: 8px; line-height: 1.4; }
.legal__toc a::before { content: counter(toc) "."; color: var(--faint); font-family: var(--f-mono); font-size: 12px; min-width: 1.6em; padding-top: 1px; }
.legal__toc a:hover { color: var(--fg); background: var(--panel-2); }
.page-hero--legal h1 { font-size: clamp(34px, 5vw, 56px); }
.legal__toc { padding: 16px; border: 1px solid var(--hair); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%), var(--panel); }
.legal__toc a:hover { color: var(--fg); background: rgba(46, 230, 166, .06); }
.legal__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.prose h2 { scroll-margin-top: 92px; }
.prose ol ol, .prose ul ul { margin-top: .4em; }
.prose .table-wrap { margin-top: 1em; }
.prose .table th, .prose .table td { border: 0; border-bottom: 1px solid var(--line); }
.prose dl { margin: 0; }
@media (max-width: 900px) {
    .legal { grid-template-columns: minmax(0, 1fr); }
    .legal__toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--panel); }
}

/* ---------- Contact ----------------------------------------------------- */

.contact-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg); border-color: var(--hair); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 55%), var(--panel); }
.contact-card .card__title { font-size: 20px; }
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.press-grid { align-items: start; }
.contact-card a.mono { font-size: 15px; overflow-wrap: anywhere; }
.contact-card .cluster { margin-top: auto; padding-top: 6px; }

/* ---------- Status ------------------------------------------------------ */

.status-hero { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.status-hero strong { font-family: var(--f-display); font-size: 20px; letter-spacing: -0.02em; }
.status-hero .dot { width: 12px; height: 12px; flex: none; }
.status-hero .dot--ok { box-shadow: 0 0 0 5px color-mix(in srgb, var(--mint) 16%, transparent), 0 0 18px var(--mint); animation: beat 2.4s ease-in-out infinite; }
.status-list { display: flex; flex-direction: column; }
.status-card { border-radius: var(--r-lg); border-color: var(--hair); }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.status-row:last-child { border-bottom: 0; }
.status-row__name { display: flex; flex-direction: column; gap: 2px; }
.status-row__name strong { font-size: 15px; }
.status-row__name span { font-size: 13px; color: var(--muted); }
.dot--warn { background: var(--warning); }
.card--warning.status-hero { background: var(--glass-bg) padding-box, linear-gradient(140deg, rgba(255, 200, 97, .6), rgba(255, 255, 255, .06)) border-box; }

/* ---------- Press ------------------------------------------------------- */

.press-card { border-radius: var(--r-lg); border-color: var(--hair); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%), var(--panel); }
.press-quote { font-family: var(--f-display); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; letter-spacing: -0.01em; color: #DCE2EA; }

/* ---------- Brand kit --------------------------------------------------- */

.brand-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.brand-hero__lock { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px); font-family: var(--f-display); font-weight: 700; letter-spacing: -0.045em; font-size: clamp(40px, 6vw, 80px); line-height: 1; }
.brand-hero__lock svg { width: 1.3em; height: 1.3em; flex: none; }
.brand-hero h1 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
@media (max-width: 860px) { .brand-hero { grid-template-columns: minmax(0, 1fr); } }
.brand-nav { position: sticky; top: 68px; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand-nav .tabs { border-bottom: 0; }
.brand-section { scroll-margin-top: 130px; }
.brand-meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }

.logo-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.logo-tile__art--ink { background: var(--ink); }
.logo-tile__art--paper { background: var(--paper); }
.logo-tile__art--violet { background: var(--violet-deep); }
.logo-tile__art--mint { background: var(--mint); }
.logo-tile__art { min-height: 0; }
.logo-tile__art img { width: 78%; height: auto; max-width: 78%; max-height: none; }
.logo-tile__art--sq img { width: auto; height: 62%; max-height: 62%; }
.logo-tile__name { display: flex; flex-direction: column; min-width: 0; }
.logo-tile__name strong { font-family: var(--f-display); font-weight: 600; font-size: 15px; }
.logo-tile__name span { font-size: 13px; color: var(--muted); }

.space-demo { display: flex; justify-content: center; padding: 12px 0; }
.space-box { position: relative; padding: 24px; outline: 1.5px dashed var(--violet); border-radius: 4px; }
.space-box .logo { font-size: 32px; gap: 8px; }
.space-box .logo svg { width: 42px; height: 42px; }
.space-tag { position: absolute; font-family: var(--f-mono); font-size: 11px; color: var(--violet); }
.space-tag--t { top: 3px; left: 50%; transform: translateX(-50%); }
.space-tag--l { left: 5px; top: 50%; transform: translateY(-50%); }
.sizes { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding: 8px 0; }
.sizes figure { margin: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.sizes figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.sizes .logo { font-size: 18px; gap: 6px; }
.sizes .logo svg { width: 24px; height: 24px; }

.dont-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.dont-grid figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dont-grid__art { height: 130px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--ink); }
.dont-grid__art .logo { font-size: 26px; gap: 7px; pointer-events: none; }
.dont-grid__art .logo svg { width: 34px; height: 34px; }
.dont-grid figcaption { padding: 12px 16px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.dont-grid figcaption b { color: var(--danger); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.dont--stretch .logo { transform: scaleX(1.45); }
.dont--colors .logo { filter: hue-rotate(150deg); }
.dont--rotate .logo { transform: rotate(-14deg); }
.dont--glow .logo { filter: drop-shadow(0 0 10px #FF4DD8) drop-shadow(4px 4px 0 #FFC861); }
.dont-grid__art.dont--busy { background: repeating-linear-gradient(45deg, #2EE6A6 0 10px, #8B6CFF 10px 20px, #F4F6FA 20px 30px); }
.dont--type .logo { font-family: Georgia, serif; letter-spacing: 0; font-weight: 400; font-style: italic; }

.swatches { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.swatches--sup { grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr)); }
button.swatch { appearance: none; text-align: left; color: var(--fg); padding: 0; cursor: pointer; display: flex; flex-direction: column; font: inherit; width: 100%; transition: border-color .15s; }
button.swatch:hover { border-color: var(--line-2); }
.swatch__chip--lg { height: 130px; }
.swatches--sup .swatch__chip { height: 84px; }
.swatch__info code { background: none; border: 0; padding: 0; color: var(--muted); font-size: 12.5px; word-break: normal; }
.ratio { display: flex; height: 56px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.ratio div { display: flex; align-items: flex-end; padding: 8px 10px; font-family: var(--f-mono); font-size: 11px; min-width: 0; overflow: hidden; white-space: nowrap; }
.pair { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; padding: 6px 12px; border-radius: 8px; font-family: var(--f-display); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }

.spec { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec:last-child { border-bottom: 0; }
.spec__label { display: flex; flex-direction: column; gap: 4px; }
.spec__label strong { font-family: var(--f-display); font-weight: 600; }
.spec__label span { font-size: 13px; color: var(--muted); }
.spec__display { font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.spec__body { font-size: 17px; line-height: 1.65; max-width: 62ch; }
.spec__mono { font-family: var(--f-mono); font-size: clamp(20px, 3vw, 30px); font-variant-numeric: tabular-nums; }
.type-scale { display: flex; flex-direction: column; gap: 14px; }
.type-scale div { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.type-scale code { background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px; width: 150px; flex: none; word-break: normal; }
.ts-display { font: 700 40px/1 var(--f-display); letter-spacing: -0.04em; }
.ts-h1 { font: 700 28px/1.1 var(--f-display); letter-spacing: -0.02em; }
.ts-h2 { font: 600 22px/1.2 var(--f-display); }
.ts-body { font: 400 16px/1.6 var(--f-body); }
@media (max-width: 640px) { .spec { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

.tagline { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 6vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.words-use li { color: var(--mint); }
.words-avoid li { color: #FF9AA6; text-decoration: line-through; text-decoration-color: color-mix(in srgb, #FF9AA6 60%, transparent); }
.word-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.word-list li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--panel-2); }

.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { appearance: none; border: 0; background: transparent; color: var(--muted); font: 600 14px/1 var(--f-body); padding: 10px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--ink); }
.ban-groups { display: flex; flex-direction: column; gap: 44px; }
.ban-group { display: flex; flex-direction: column; gap: 16px; }
.ban-group h3 small { font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.bans { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.ban { margin: 0; display: flex; flex-direction: column; gap: 10px; max-width: 100%; min-width: 0; }
.ban canvas { display: block; max-width: 100%; width: auto; height: auto; max-height: min(420px, 60vh); border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.ban figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.ban figcaption b { font-family: var(--f-mono); font-size: 12px; color: var(--fg); font-weight: 500; }
.no-js-note { font-size: 13px; color: var(--muted); }

/* ---------- Developer docs --------------------------------------------- */

.docs { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.docs__nav { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; display: flex; flex-direction: column; gap: 16px; font-size: 14px; padding-bottom: 16px; scrollbar-width: thin; }
.docs__nav h2 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin: 0 0 4px; padding-left: 8px; }
.docs__nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; }
.docs__nav a { display: flex; align-items: center; gap: 8px; color: var(--muted); padding: 5px 8px; border-radius: 8px; line-height: 1.35; }
.docs__nav a:hover { color: var(--fg); background: var(--panel-2); }
.docs__main { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.docs__section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 92px; min-width: 0; }
.docs__section > h2 { padding-top: 8px; }
.docs__section p, .docs__section li { color: #D3DAE5; }
.docs__section p.muted { color: var(--muted); }
.docs__section ul, .docs__section ol { display: flex; flex-direction: column; gap: 6px; }
.endpoint { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 92px; min-width: 0; }
.endpoint__sig { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 15px; }
.endpoint__sig code { background: none; border: 0; padding: 0; font-size: 15px; word-break: break-all; }
.method { display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; min-width: 48px; }
.method--get { color: var(--info); background: color-mix(in srgb, var(--info) 12%, transparent); border: 1px solid color-mix(in srgb, var(--info) 40%, var(--line)); }
.method--post { color: var(--mint); background: color-mix(in srgb, var(--mint) 10%, transparent); border: 1px solid color-mix(in srgb, var(--mint) 40%, var(--line)); }
.docs__nav .method { min-width: 38px; font-size: 9.5px; padding: 2px 5px; }
.params { font-size: 14px; }
.params td:first-child { white-space: nowrap; }
.params code { word-break: normal; }
.params .req { font-family: var(--f-mono); font-size: 10.5px; color: var(--warning); margin-left: 6px; }
.params .opt { font-family: var(--f-mono); font-size: 10.5px; color: var(--faint); margin-left: 6px; }
.params .type { font-family: var(--f-mono); font-size: 12px; color: var(--violet); }
.code-pair { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.code-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: block; }
.docs .code { max-height: 560px; overflow: auto; }
.docs__nav-groups { display: flex; flex-direction: column; gap: 18px; }
a.feature { color: var(--fg); transition: border-color .15s; }
a.feature:hover { color: var(--fg); border-color: var(--line-2); }
@media (max-width: 960px) {
    .docs { grid-template-columns: minmax(0, 1fr); }
    .docs__nav { position: static; max-height: 360px; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--panel); }
    .docs__nav-groups { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
}


address { font-style: normal; }
.prose > h2:first-child { margin-top: 0; }
.stack > .section-head { margin-bottom: 0; }
.logo-grid { align-items: start; }
.code code { background: none; border: 0; padding: 0; font-size: inherit; word-break: normal; white-space: inherit; color: inherit; }
.docs code, .prose code, .check-list code { word-break: normal; overflow-wrap: anywhere; }

/* ---------- Reveal on scroll (site.js) --------------------------------- */

.reveal.is-pending { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.stagger > .reveal:nth-child(2) { transition-delay: .07s; }
.stagger > .reveal:nth-child(3) { transition-delay: .14s; }
.stagger > .reveal:nth-child(4) { transition-delay: .21s; }
.stagger > .reveal:nth-child(5) { transition-delay: .28s; }
.stagger > .reveal:nth-child(6) { transition-delay: .35s; }
.stagger > .reveal:nth-child(7) { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) { .reveal.is-pending { opacity: 1; transform: none; } }
