/* ==========================================================================
   Botera Studio: the one stylesheet of the showcase.

   Dark by design (the products are games, seen at night), one canvas of ink where every product brings its own light. A product page sets
   `data-product` on <body>; that swaps --accent, --accent-2 and the glow, and nothing else changes. Written mobile first: the base rules are the
   phone, the media queries add room. Nothing is loaded from another host (see the Content-Security-Policy in nginx).
   Order: tokens, fonts, base, layout, components (buttons, header, hero, chapters, ...), pages, motion, print.
   ========================================================================== */

/* ---- fonts: all self-hosted, SIL OFL (assets/fonts/LICENSE-fonts-OFL.txt) ------------------------------------------------------------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('/assets/fonts/bricolage-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('/assets/fonts/bricolage-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---- tokens ----------------------------------------------------------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --ink-1000: #04050a; --ink-950: #07080e; --ink-900: #0b0d15; --ink-850: #10131d; --ink-800: #161a27; --ink-700: #1e2333; --ink-600: #2b3146;
  --text: #f1f3f8; --text-dim: #a9b1c4; --text-faint: #7c869c;
  --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .18);
  --red: #ff4655; --amber: #ffb648; --cyan: #38c8ff; --violet: #8a7bff; --pink: #ff3dbe; --green: #46e6a0;

  /* the product theme: defaults to the studio's own (the red of the mark) */
  --accent: var(--red); --accent-2: var(--amber); --accent-rgb: 255 70 85; --accent-ink: #1a0407;
  --wash-a: rgba(255, 70, 85, .16); --wash-b: rgba(255, 182, 72, .08);

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;

  --r-s: 8px; --r-m: 14px; --r-l: 22px; --r-xl: 32px;
  --gutter: clamp(18px, 4.5vw, 44px); --maxw: 1240px; --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px -28px rgba(0, 0, 0, .85);
}
[data-product="tactical-5v5"] { --accent: #ff4655; --accent-2: #ffb648; --accent-rgb: 255 70 85; --accent-ink: #1a0407;
  --wash-a: rgba(255, 70, 85, .17); --wash-b: rgba(255, 150, 60, .09); }
[data-product="practice-core"] { --accent: #38c8ff; --accent-2: #8a7bff; --accent-rgb: 56 200 255; --accent-ink: #021018;
  --wash-a: rgba(56, 200, 255, .15); --wash-b: rgba(138, 123, 255, .10); }
[data-product="lantern-deep"] { --accent: #ffb347; --accent-2: #ff3dbe; --accent-rgb: 255 179 71; --accent-ink: #1c1002;
  --wash-a: rgba(255, 179, 71, .14); --wash-b: rgba(255, 61, 190, .09); }

/* ---- base ------------------------------------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); background: var(--ink-950); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  /* film grain, very faint, a raster tile (assets/img/grain.png): it keeps the dark gradients from banding. Never an SVG filter here: that cost 1.5 s per frame. */
  background: var(--ink-950) url('/assets/img/grain.png');
  margin: 0; min-height: 100vh; color: var(--text);
  font: 400 1rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgb(var(--accent-rgb) / .35); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--text); color: var(--ink-950); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
em.serif, .serif { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.005em; }
h1 em, h2 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; padding-right: .04em; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---- layout ----------------------------------------------------------------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.section--lead { padding-bottom: clamp(8px, 2vw, 24px); }
.section--lead + .chapter { padding-top: clamp(32px, 5vw, 72px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section__head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 600 .74rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 14px 2px rgb(var(--accent-rgb) / .7); }
h2.display { font-size: clamp(2rem, 4.6vw, 3.7rem); }
h1.display { font-size: clamp(2.7rem, 7.4vw, 6rem); line-height: .95; letter-spacing: -.04em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--text-dim); max-width: 40rem; }
.dim { color: var(--text-dim); }
.glow-line { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .55), transparent); }

/* ---- buttons, badges, chips -------------------------------------------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 1.4rem; border-radius: 14px;
  font: 600 .98rem/1 var(--font-body); letter-spacing: -.005em; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid transparent;
  box-shadow: 0 12px 30px -12px rgb(var(--accent-rgb) / .65), 0 1px 0 rgba(255, 255, 255, .35) inset;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, filter .25s;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 38px -12px rgb(var(--accent-rgb) / .8), 0 1px 0 rgba(255, 255, 255, .4) inset; }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { --btn-bg: rgba(255, 255, 255, .05); --btn-fg: var(--text); border-color: var(--line-strong); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .34); box-shadow: none; filter: none; }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: .88rem; border-radius: 11px; }
.btn--lg { min-height: 58px; padding: 0 1.8rem; font-size: 1.05rem; border-radius: 16px; }
.btn--static { cursor: default; }
.btn--static:hover { transform: none; filter: none; }
.btn[aria-disabled="true"] { --btn-bg: rgba(255, 255, 255, .06); --btn-fg: var(--text-dim); border-color: var(--line-strong); box-shadow: none; cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; filter: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .95rem; color: var(--text-dim); padding: 6px 4px; transition: color .2s; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover svg { transform: translateX(3px); }
.badge { display: inline-flex; align-items: center; gap: .5em; padding: .42em .8em; border-radius: 999px; font: 600 .72rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-strong); color: var(--text); }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); }
.badge--live i { background: var(--green); box-shadow: 0 0 10px var(--green); }
.badge--new i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.badge--review i { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .45em .85em; border-radius: 10px; font: 500 .84rem/1.2 var(--font-body); color: var(--text-dim); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.chip strong { color: var(--text); font-weight: 600; }
.price { font: 700 1.5rem/1 var(--font-display); letter-spacing: -.02em; }
.price small { font: 500 .85rem/1.3 var(--font-body); color: var(--text-dim); letter-spacing: 0; margin-left: .4em; }

/* ---- header ----------------------------------------------------------------------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h); display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.is-stuck { background: rgba(7, 8, 14, .72); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 1.12rem/1 var(--font-display); letter-spacing: -.02em; }
.brand svg { width: 34px; height: 34px; }
.brand b { font-weight: 800; }
.brand span { font-weight: 400; color: var(--text-dim); margin-left: .3em; }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav a { padding: 10px 14px; border-radius: 10px; font-size: .94rem; font-weight: 500; color: var(--text-dim); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .06); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.lang a, .lang span { padding: 6px 10px; border-radius: 8px; font: 600 .74rem/1 var(--font-body); letter-spacing: .08em; color: var(--text-dim); }
.lang [aria-current="true"] { background: var(--text); color: var(--ink-950); }
.lang a:hover { color: var(--text); }
.header-cta { display: none; }
.menu-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05); }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(5, 6, 10, .96); backdrop-filter: blur(20px); padding: calc(var(--header-h) + 12px) var(--gutter) 32px; display: none; flex-direction: column; gap: 6px; overflow-y: auto; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a.m-link { padding: 16px 4px; border-bottom: 1px solid var(--line); font: 600 1.7rem/1.1 var(--font-display); letter-spacing: -.02em; }
.mobile-menu .btn-row { margin-top: 24px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { z-index: 95; background: transparent; }
@media (min-width: 960px) {
  .nav { display: flex; } .header-cta { display: inline-flex; } .menu-btn { display: none; }
}

/* ---- hero (home) ------------------------------------------------------------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px)); padding-bottom: 28px; overflow: hidden; }
.hero__backdrops { position: absolute; inset: 0; z-index: -2; }
.hero__backdrop { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-in-out); background-size: cover; background-position: center; }
.hero__backdrop.is-active { opacity: 1; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 70% at 50% 110%, var(--ink-950) 20%, transparent 70%),
  linear-gradient(180deg, rgba(7, 8, 14, .35), rgba(7, 8, 14, .1) 40%, var(--ink-950) 98%); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2rem; }
.hero__proofs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 1.8rem; font-size: .88rem; color: var(--text-dim); }
.hero__proofs li { display: inline-flex; align-items: center; gap: .55em; }
.hero__proofs svg { width: 16px; height: 16px; color: var(--accent); }
.stage { position: relative; }
.stage__slides { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease-in-out), visibility .9s, transform .9s var(--ease); transform: scale(.985); }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.frame { position: relative; display: block; width: 100%; height: 100%; border-radius: var(--r-xl); overflow: hidden; background: var(--ink-800);
  border: 1px solid var(--line-strong); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 120px -30px rgb(var(--accent-rgb) / .55); }
.frame picture, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--zoom img { transition: transform 1.4s var(--ease); }
.frame--zoom:hover img { transform: scale(1.045); }
.frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 -80px 80px -60px rgba(0, 0, 0, .55); }
.slide .frame img { animation: kenburns 14s ease-out both; }
.slide:not(.is-active) .frame img { animation: none; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.corners > i { position: absolute; width: 18px; height: 18px; border-color: rgb(var(--accent-rgb) / .9); border-style: solid; border-width: 0; z-index: 3; pointer-events: none; }
.corners > i:nth-child(1) { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
.corners > i:nth-child(2) { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
.corners > i:nth-child(3) { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
.corners > i:nth-child(4) { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
.slide__tag { position: absolute; left: 16px; bottom: 16px; z-index: 4; max-width: calc(100% - 32px); }
.slide__tag span { display: inline-block; padding: .5em .8em; border-radius: 10px; font: 500 .76rem/1.3 var(--font-body); color: #dfe4f0; background: rgba(5, 6, 10, .78); border: 1px solid var(--line); }
.slide__tag b { color: var(--text); font-weight: 600; }
.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.rail__tab { position: relative; text-align: left; padding: 12px 14px 13px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); overflow: hidden;
  transition: background .3s, border-color .3s, transform .3s var(--ease); }
.rail__tab:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.rail__tab[aria-current="true"] { background: rgba(255, 255, 255, .09); border-color: rgb(var(--tab-rgb, var(--accent-rgb)) / .7); }
.rail__tab small { display: block; font: 600 .66rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.rail__tab strong { display: block; font: 700 .98rem/1.15 var(--font-display); letter-spacing: -.015em; }
.rail__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgb(var(--tab-rgb, var(--accent-rgb))); }
.rail__tab[aria-current="true"] .rail__bar { animation: railbar var(--slide-ms, 7000ms) linear forwards; }
.stage.is-paused .rail__tab[aria-current="true"] .rail__bar { animation-play-state: paused; }
.stage.is-stopped .rail__bar { animation: none !important; width: 0; }
.stage__pause { position: absolute; top: 14px; right: 14px; z-index: 6; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(5, 6, 10, .72); border: 1px solid var(--line-strong); color: var(--text); transition: background .2s; }
.stage__pause:hover { background: rgba(5, 6, 10, .92); }
.stage__pause svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.stage__pause .i-play, .stage__pause[aria-pressed="true"] .i-pause { display: none; }
.stage__pause[aria-pressed="true"] .i-play { display: block; }
@keyframes railbar { to { width: 100%; } }
@media (max-width: 640px) { .rail__tab small { display: none; } .rail__tab { padding: 11px 12px 12px; } .rail__tab strong { font-size: .86rem; } }
@media (min-width: 960px) {
  .hero { padding-bottom: 44px; }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6.6fr); gap: clamp(32px, 4vw, 72px); }
}

/* ---- marquee ---------------------------------------------------------------------------------------------------------------------------- */
.marquee { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink-950), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink-950), transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; padding: 20px 28px; font: 600 .86rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; }
.marquee__item svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- chapters: one cinematic band per product ------------------------------------------------------------------------------------------- */
.chapter { position: relative; isolation: isolate; padding-block: clamp(56px, 8vw, 112px); }
.chapter::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 60% at var(--wash-x, 80%) 30%, var(--wash-a), transparent 70%),
  radial-gradient(50% 50% at calc(100% - var(--wash-x, 80%)) 80%, var(--wash-b), transparent 70%); }
.chapter__grid { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.chapter__num { font: 800 clamp(4rem, 10vw, 8rem)/.8 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgb(var(--accent-rgb) / .45); margin-bottom: 8px; user-select: none; }
.chapter h2 { margin-bottom: 1.1rem; }
.chapter h2 em { display: block; font-size: .92em; }
.chapter { content-visibility: auto; contain-intrinsic-size: auto 760px; }
.chapter .lead { margin-bottom: 1.6rem; }
.why { display: grid; gap: 14px; margin: 0 0 1.8rem; }
.why li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .98rem; line-height: 1.5; color: var(--text-dim); }
.why svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.why b { color: var(--text); font-weight: 600; }
.chapter__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 1.4rem; }
.chapter__art { position: relative; }
.chapter__art .frame { aspect-ratio: 16 / 10; }
.peek { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.peek button { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line-strong); background: var(--ink-800); }
.peek img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; filter: saturate(.9) brightness(.85); }
.peek button:hover img { transform: scale(1.06); filter: none; }
@media (min-width: 960px) {
  .chapter__grid { grid-template-columns: minmax(0, 6.4fr) minmax(0, 5fr); }
  .chapter--flip .chapter__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); }
  .chapter--flip .chapter__art { order: 2; }
  .chapter--flip { --wash-x: 20%; }
}

.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; margin-inline: -4px; scrollbar-width: thin; scrollbar-color: var(--ink-600) transparent; outline-offset: 4px; }
.strip__item { position: relative; flex: 0 0 min(78vw, 520px); scroll-snap-align: start; aspect-ratio: 16 / 10; border-radius: var(--r-l); overflow: hidden; padding: 0; border: 1px solid var(--line-strong); background: var(--ink-800); cursor: zoom-in; box-shadow: 0 30px 60px -36px rgb(var(--accent-rgb) / .6); }
.strip__item picture, .strip__item img { width: 100%; height: 100%; object-fit: cover; }
.strip__item img { transition: transform .9s var(--ease); }
.strip__item:hover img { transform: scale(1.05); }
.strip__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(5, 6, 10, .85)); pointer-events: none; }
.strip__item .cap { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 13px; text-align: left; font-size: .78rem; line-height: 1.35; color: #e8ecf6; }

/* ---- try it now ------------------------------------------------------------------------------------------------------------------------- */
.demos { display: grid; gap: 16px; }
.demo { position: relative; padding: 26px; border-radius: var(--r-l); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 16px; }
.demo::before { content: ''; position: absolute; inset: -40% 40% 50% -20%; background: radial-gradient(closest-side, var(--wash-a), transparent); opacity: .9; z-index: 0; pointer-events: none; }
.demo > * { position: relative; z-index: 1; }
.demo h3 { font-size: 1.4rem; }
.demo p { color: var(--text-dim); margin: 0; font-size: .95rem; }
.demo__label { font: 600 .7rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.addr { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--ink-1000); border: 1px solid var(--line-strong); font: 500 1rem/1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.addr code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text); font: inherit; }
.addr button { padding: 9px 14px; border-radius: 10px; font: 600 .8rem/1 var(--font-body); background: rgba(255, 255, 255, .08); border: 1px solid var(--line-strong); transition: background .2s; white-space: nowrap; }
.addr button:hover { background: rgba(255, 255, 255, .16); }
.addr button.is-done { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.demo .btn-row { margin-top: auto; }
@media (min-width: 900px) { .demos { grid-template-columns: repeat(3, 1fr); } }

/* ---- steps ------------------------------------------------------------------------------------------------------------------------------ */
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 26px; border-radius: var(--r-l); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 800 3.4rem/1 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgb(var(--accent-rgb) / .55); margin-bottom: 18px; }
.step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.step p { margin: 0; color: var(--text-dim); font-size: .96rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---- promises --------------------------------------------------------------------------------------------------------------------------- */
.promises { display: grid; gap: 14px; }
.promise { padding: 32px 28px; border-radius: var(--r-l); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); border: 1px solid var(--line); }
.promise svg { width: 40px; height: 40px; color: var(--accent); margin-bottom: 22px; }
.promise h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.promise p { margin: 0; color: var(--text-dim); }
.honest { margin-top: 18px; padding: 22px 26px; border-radius: var(--r-l); border: 1px dashed var(--line-strong); color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.honest p { margin: 0; max-width: 46rem; }
@media (min-width: 860px) { .promises { grid-template-columns: repeat(3, 1fr); } }

/* ---- FAQ -------------------------------------------------------------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; max-width: 54rem; }
.faq details { border-radius: var(--r-m); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: background .25s, border-color .25s; }
.faq details[open] { background: rgba(255, 255, 255, .055); border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font: 600 1.06rem/1.35 var(--font-display); letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(var(--text), var(--text)) center / 10px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 10px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--text-dim); max-width: 46rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---- closing band ----------------------------------------------------------------------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; text-align: center; padding-block: clamp(80px, 12vw, 150px); overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 50% 100%, var(--wash-a), transparent 70%), radial-gradient(40% 60% at 15% 20%, var(--wash-b), transparent 70%); }
.cta-band h2 { max-width: 16ch; margin: 0 auto 1.2rem; }
.cta-band .lead { margin: 0 auto 2rem; }
.cta-band .btn-row { justify-content: center; }

/* ---- footer ----------------------------------------------------------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); padding-block: 64px 36px; }
.footer__grid { display: grid; gap: 40px 24px; grid-template-columns: repeat(2, 1fr); }
.footer__brand { grid-column: 1 / -1; max-width: 26rem; }
.footer__brand p { color: var(--text-dim); font-size: .95rem; margin: 16px 0 0; }
.footer__col h3 { font: 600 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.footer__col a { display: block; padding: 6px 0; color: var(--text-dim); font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: .85rem; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr repeat(3, 1fr); } .footer__brand { grid-column: auto; } }

/* ---- lightbox --------------------------------------------------------------------------------------------------------------------------- */
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--text); }
dialog.lightbox::backdrop { background: rgba(3, 4, 8, .92); backdrop-filter: blur(10px); }
.lightbox__inner { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; padding: 24px var(--gutter) 20px; gap: 14px; }
.lightbox__stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img { max-width: calc(100% - 120px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: var(--r-m); box-shadow: 0 40px 100px -30px #000; }
@media (max-width: 700px) { .lightbox__stage img { max-width: 100%; } .lightbox__btn { top: auto; bottom: -4px; translate: 0; } .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; } }
.lightbox__cap { text-align: center; color: var(--text-dim); font-size: .92rem; max-width: 52rem; margin-inline: auto; }
.lightbox__cap b { color: var(--text); }
.lightbox__btn { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-strong); }
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__prev { left: 0; } .lightbox__next { right: 0; }
.lightbox__close { position: absolute; top: 16px; right: var(--gutter); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-strong); z-index: 3; }
.lightbox__close svg { width: 20px; height: 20px; }

/* ---- product page ------------------------------------------------------------------------------------------------------------------------ */
.phero { position: relative; isolation: isolate; padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.phero::after { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(90% 60% at 80% 0%, var(--wash-a), transparent 70%),
  linear-gradient(180deg, rgba(7, 8, 14, .45), rgba(7, 8, 14, .15) 40%, var(--ink-950) 100%); }
.phero__grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.phero .eyebrow { margin-bottom: 1.2rem; }
.phero h1 { margin-bottom: 1.2rem; }
.phero h1 em { display: block; font-size: .8em; margin-top: .08em; }
.phero .tagline { font: 500 clamp(1.15rem, 2vw, 1.5rem)/1.4 var(--font-display); letter-spacing: -.015em; color: var(--text); max-width: 34rem; margin-bottom: 1rem; }
.phero .tagline em { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--accent); font-size: 1.08em; }
.phero .lead { margin-bottom: 1.8rem; }
.phero .chips { margin-top: 1.6rem; }
.phero__buy { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-bottom: 1.2rem; }
.phero__art .frame { aspect-ratio: 16 / 10; }
@media (min-width: 960px) { .phero__grid { grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.4fr); } }

.subnav { position: sticky; top: var(--header-h); z-index: 60; background: rgba(7, 8, 14, .86); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.subnav .container { display: flex; align-items: center; gap: 16px; }
.subnav__links { display: flex; gap: 4px 26px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__buy { display: flex; align-items: center; gap: 14px; flex: none; }
.subnav a:not(.btn) { flex: none; padding: 15px 2px 13px; font: 500 .9rem/1 var(--font-body); color: var(--text-dim); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:not(.btn):hover { color: var(--text); }
.subnav a[aria-current="true"] { color: var(--text); border-bottom-color: var(--accent); }
.subnav .price { font-size: 1.05rem; }
.subnav .btn { flex: none; }
@media (max-width: 899px) { .subnav .price { display: none; } }
@media (max-width: 640px) { .subnav .btn--sm { padding: 0 .8rem; } }

.features { display: grid; gap: clamp(64px, 10vw, 130px); }
.feature { display: grid; gap: 26px; align-items: center; }
.feature__art .frame { height: auto; }
.feature__art .frame picture, .feature__art .frame img { height: auto; }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgb(var(--accent-rgb) / .12); border: 1px solid rgb(var(--accent-rgb) / .35); color: var(--accent); margin-bottom: 1.2rem; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.02; margin-bottom: 1rem; }
.feature p { color: var(--text-dim); font-size: 1.04rem; max-width: 34rem; }
.feature .link-arrow { margin-top: .6rem; color: var(--accent); }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 6.2fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); }
  .feature:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr); }
  .feature:nth-child(even) .feature__art { order: 2; }
}

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.shot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; background: var(--ink-800); border: 1px solid var(--line); cursor: zoom-in; padding: 0; }
.shot picture, .shot img { width: 100%; height: 100%; object-fit: cover; }
.shot img { transition: transform .8s var(--ease), filter .4s; filter: saturate(.92); }
.shot:hover img { transform: scale(1.05); filter: saturate(1.05); }
.shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 10, .75)); opacity: 0; transition: opacity .3s; }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot .cap { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; font-size: .78rem; line-height: 1.35; color: #e5e9f4; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; text-align: left; }
.shot:hover .cap, .shot:focus-visible .cap { opacity: 1; transform: none; }
@media (hover: none) { .shot::after, .shot .cap { opacity: 1; transform: none; } .shot .cap { font-size: .7rem; } }
@media (min-width: 820px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery .shot { grid-column: span 2; }
  .gallery .shot:nth-child(1) { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
}

.split { display: grid; gap: 14px; }
.panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); }
.panel h3 { font-size: 1.35rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6em; }
.panel h3 svg { width: 22px; height: 22px; color: var(--accent); }
.panel--honest { border-style: dashed; border-color: var(--line-strong); background: rgba(255, 255, 255, .02); }
.ticks { display: grid; gap: 13px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--text-dim); font-size: .98rem; line-height: 1.5; }
.ticks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.ticks--not svg { color: var(--amber); }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 1fr; } }

.buyzone { display: grid; gap: 22px; align-items: start; }
.spec { margin: 0; display: grid; }
.spec div { display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec div:first-child { border-top: 1px solid var(--line); }
.spec dt { font: 600 .74rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.spec dd { margin: 0; color: var(--text); }
.buy { position: relative; padding: 28px; border-radius: var(--r-l); background: linear-gradient(180deg, rgb(var(--accent-rgb) / .1), rgba(255, 255, 255, .02)); border: 1px solid rgb(var(--accent-rgb) / .35); box-shadow: 0 30px 80px -40px rgb(var(--accent-rgb) / .6); display: grid; gap: 16px; }
.buy .price { font-size: 2.3rem; }
.buy .price small { display: block; margin: .35em 0 0; }
.buy p { margin: 0; color: var(--text-dim); font-size: .94rem; }
.buy .btn { width: 100%; }
.buy hr { border: 0; height: 1px; background: var(--line); margin: 4px 0; }
.buy .ticks { gap: 9px; }
.buy .ticks li { font-size: .9rem; }
@media (min-width: 900px) {
  .buyzone { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
  .spec div { grid-template-columns: 11rem 1fr; }
  .buy { position: sticky; top: calc(var(--header-h) + 72px); }
}

.disclosure { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-l); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .025); display: grid; gap: 22px; }
.disclosure h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .6em; }
.disclosure h3 svg { width: 20px; height: 20px; color: var(--accent); }
.disclosure h4 { font: 600 .74rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .6rem; }
.disclosure blockquote { margin: 0; padding: 0 0 0 20px; border-left: 2px solid rgb(var(--accent-rgb) / .6); color: var(--text-dim); font-size: .98rem; max-width: 52rem; }
.disclosure .note { font-size: .84rem; color: var(--text-faint); margin: 0; }

.explore { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.explore a { position: relative; display: grid; gap: 8px; padding: 22px; border-radius: var(--r-l); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.explore a:hover { transform: translateY(-4px); border-color: rgb(var(--accent-rgb) / .5); background: rgba(255, 255, 255, .06); }
.explore svg { width: 26px; height: 26px; color: var(--accent); }
.explore b { font: 700 1.15rem/1.2 var(--font-display); letter-spacing: -.015em; }
.explore span { color: var(--text-dim); font-size: .9rem; line-height: 1.45; }
@media (min-width: 900px) { .explore { grid-template-columns: repeat(4, 1fr); } }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .84rem; color: var(--text-faint); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---- text pages and the product index ------------------------------------------------------------------------------------------------------ */
.page-hero { position: relative; isolation: isolate; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(28px, 5vw, 56px); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 15% 0%, var(--wash-a), transparent 70%), radial-gradient(50% 60% at 90% 10%, var(--wash-b), transparent 70%); }
.page-hero h1 { margin-bottom: 1.2rem; max-width: 18ch; }
.page-hero .lead { max-width: 44rem; }
.prose { max-width: 46rem; padding-bottom: clamp(48px, 7vw, 96px); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin: 2.6em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.prose p { color: var(--text-dim); font-size: 1.06rem; line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; color: var(--text-dim); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5em; margin-bottom: .6em; line-height: 1.65; }
.prose ul li::before { content: ''; position: absolute; left: .15em; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.prose ol li { margin-bottom: .6em; }
.prose a:not(.btn):not(.link-arrow) { color: var(--text); text-decoration: underline; text-decoration-color: rgb(var(--accent-rgb) / .6); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:not(.btn):not(.link-arrow):hover { text-decoration-color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose .btn-row { margin: 0 0 1.6rem; }
.prose .disclosure { margin-bottom: 14px; }
.note { padding: 18px 22px; border-radius: var(--r-m); border: 1px dashed var(--line-strong); background: rgba(255, 255, 255, .025); color: var(--text-dim); margin: 0 0 1.4em; }
.addrs { display: grid; gap: 10px; margin: 0 0 1.6rem; }
.addrs .row { display: grid; gap: 8px; padding: 14px 16px; border-radius: var(--r-m); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.addrs .row b { font: 600 .74rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
@media (min-width: 700px) { .addrs .row { grid-template-columns: 15rem 1fr; align-items: center; } }

.pgroup + .pgroup { margin-top: clamp(48px, 7vw, 96px); }
.pgroup h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1.4rem; display: flex; align-items: center; gap: .7em; }
.pgroup h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pcards { display: grid; gap: 18px; }
.pcard { position: relative; display: grid; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.pcard:hover { transform: translateY(-5px); border-color: rgb(var(--accent-rgb) / .55); box-shadow: 0 30px 70px -36px rgb(var(--accent-rgb) / .7); }
.pcard__art { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-800); }
.pcard__art picture, .pcard__art img { width: 100%; height: 100%; object-fit: cover; }
.pcard__art img { transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__art img { transform: scale(1.05); }
.pcard__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 14, .85)); }
.pcard__art .badge { position: absolute; left: 16px; top: 16px; z-index: 2; background: rgba(5, 6, 10, .78); }
.pcard { grid-template-rows: auto 1fr; }                       /* equal-height cards: the spare height goes to the text, never between the picture and the title */
.pcard__body { padding: 24px 26px 26px; display: grid; gap: 14px; align-content: start; }
.pcard h3 { font-size: 1.55rem; }
.pcard h3 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--text-dim); font-size: .92em; }
.pcard p { margin: 0; color: var(--text-dim); font-size: .96rem; }
.pcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.pcard a.cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pcard .btn-row { position: relative; z-index: 2; }
@media (min-width: 760px) { .pcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pcards--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---- documentation ----------------------------------------------------------------------------------------------------------------------- */
.docs { display: grid; gap: 28px; padding-bottom: clamp(56px, 8vw, 110px); }
.docs .doc-body { max-width: 52rem; min-width: 0; }
.toc { padding: 18px 20px; border-radius: var(--r-m); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); align-self: start; }
.toc__title { font: 600 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin: 0; padding: 4px 0 12px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: ''; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.toc:not([open]) .toc__title { padding-bottom: 4px; }
.toc[open] .toc__title::after { transform: rotate(-135deg) translateY(-2px); }
@media (min-width: 1000px) { .toc__title { cursor: default; pointer-events: none; } .toc__title::after { display: none; } }
.toc ol { display: grid; gap: 2px; list-style: none; counter-reset: toc; }
.toc a { display: block; padding: 7px 10px; margin-inline: -10px; border-radius: 8px; font-size: .9rem; color: var(--text-dim); line-height: 1.35; transition: color .2s, background .2s; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.toc a[aria-current="true"] { color: var(--text); background: rgb(var(--accent-rgb) / .12); box-shadow: inset 2px 0 0 var(--accent); }
@media (min-width: 1000px) {
  .docs { grid-template-columns: 17rem minmax(0, 52rem); justify-content: center; gap: clamp(32px, 5vw, 72px); }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
}
.doc-body h2 { padding-top: 1.2em; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.doc-body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.6em; }
.doc-body h3, .doc-body h4 { scroll-margin-top: calc(var(--header-h) + 24px); }
.doc-body h4 { font-size: 1rem; margin: 1.4em 0 .4em; color: var(--text); }
.doc-body li { color: var(--text-dim); }
.doc-body li b, .doc-body td b { color: var(--text); }
.doc-body code { font: 500 .86em/1.4 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; padding: .16em .42em; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #e7ecf8; }
.doc-body pre { margin: 0 0 1.4em; padding: 18px 20px; border-radius: var(--r-m); background: var(--ink-1000); border: 1px solid var(--line-strong); overflow-x: auto; line-height: 1.6; }
.doc-body pre code { padding: 0; background: none; font-size: .86rem; color: #dfe5f3; }
.doc-body .dim { color: var(--text-faint); }
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--r-m); border: 1px solid var(--line); }
.doc-body table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 32rem; }
.doc-body th { text-align: left; font: 600 .72rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); padding: 12px 16px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }
.doc-body td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-dim); }
.doc-body tr:last-child td { border-bottom: 0; }
.rel { padding-top: 2.2em; margin-top: 2.2em; border-top: 1px solid var(--line); }
.rel:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.rel h2 { border: 0; padding: 0; margin: 0 0 .2em; font-size: 1.9rem; }
.reldate { color: var(--text-faint) !important; font-size: .88rem !important; margin: 0 0 1.2rem; }

/* ---- documentation search --------------------------------------------------------------------------------------------------------------- */
.search { position: relative; margin-top: clamp(22px, 3vw, 34px); max-width: 46rem; }
.search[hidden] { display: none; }
.search__field { display: flex; align-items: center; gap: 12px; padding: 0 16px; min-height: 56px; border-radius: var(--r-m); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); transition: border-color .2s, box-shadow .2s, background .2s; }
.search__field:focus-within { border-color: var(--accent); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .16); }
.search__field > svg { width: 20px; height: 20px; flex: none; color: var(--text-dim); }
.search__input { flex: 1; min-width: 0; padding: 14px 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 1.02rem/1.3 var(--font-body); }
.search__input::placeholder { color: var(--text-faint); }
.search__input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.search__key { font: 600 .78rem/1 var(--font-body); color: var(--text-faint); border: 1px solid var(--line-strong); border-radius: 6px; padding: 4px 8px; }
@media (hover: none) { .search__key { display: none; } }
.search__hint { margin: 10px 2px 0; font-size: .84rem; color: var(--text-faint); }
.search__status { margin: 10px 2px 0; font-size: .86rem; color: var(--text-dim); }
.search__status:empty { display: none; }
.search__list { list-style: none; margin: 12px 0 0; padding: 6px; border-radius: var(--r-m); background: var(--ink-900); border: 1px solid var(--line-strong); box-shadow: var(--shadow-card); max-height: min(62vh, 34rem); overflow-y: auto; scrollbar-width: thin; }
.search__list[hidden] { display: none; }
.search__list li { margin: 0; }
.search__list a { display: grid; gap: 3px; padding: 11px 14px; border-radius: 10px; color: var(--text-dim); text-decoration: none; }
.search__list a:hover, .search__list li[aria-selected="true"] a { background: rgb(var(--accent-rgb) / .12); box-shadow: inset 2px 0 0 var(--accent); color: var(--text); }
.search__page { display: flex; gap: 8px; align-items: center; font: 600 .7rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.search__tag { border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 6px; letter-spacing: .06em; }
.search__title { color: var(--text); font-weight: 600; font-size: .98rem; line-height: 1.35; }
.search__snip { font-size: .88rem; line-height: 1.5; overflow-wrap: anywhere; }
.search mark { background: rgb(var(--accent-rgb) / .24); color: var(--text); border-radius: 3px; padding: 0 2px; }

/* ---- Tactical 5v5 deep dives: modes, agents, ranked, models --------------------------------------------------------------------------------- */
h2.display.sub { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 1.4rem; }
.pixel { image-rendering: pixelated; }
.modes { display: grid; gap: 12px; }
.mode { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; padding: 26px; border-radius: var(--r-l); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); }
.mode__n { font: 800 2.6rem/.9 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgb(var(--accent-rgb) / .55); grid-row: span 2; }
.mode h2 { font-size: 1.55rem; margin-bottom: 8px; }
.mode > p { grid-column: 2; margin: 8px 0 0; color: var(--text-dim); }
.mode .chip { display: inline-block; margin: 0; }
@media (min-width: 760px) { .modes { grid-template-columns: repeat(2, 1fr); } }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter .chip { cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter .chip:hover { border-color: var(--line-strong); color: var(--text); }
.filter .chip.is-on { background: var(--text); color: var(--ink-950); border-color: transparent; font-weight: 600; }
.agents { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 23rem), 1fr)); }
.agent { padding: 24px; border-radius: var(--r-l); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-top: 2px solid var(--ag); }
.agent[hidden] { display: none; }
.agent header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.agent h2 { font-size: 1.6rem; color: var(--ag); }
.agent .role { font: 600 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.agent .tag { color: var(--text-dim); font-size: .94rem; margin: 0 0 18px; }
.abil { display: grid; gap: 0; }
.abil li { display: grid; gap: 2px; padding: 12px 0 12px 14px; border-top: 1px solid var(--line); position: relative; }
.abil li::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--ag); opacity: .7; }
.abil b { font-size: .98rem; line-height: 1.25; }
.abil small { font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-faint); }
.abil i { font-style: normal; font-size: .84rem; color: var(--text-dim); line-height: 1.45; }
.glyph { flex: none; width: 56px; height: 56px; background: url('/assets/product/abilities.png') 0 calc(var(--row) * -56px) / 448px 560px no-repeat; image-rendering: pixelated; filter: drop-shadow(0 0 14px var(--ag)); }

.tiers { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.tier { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 24px 10px 20px; border-radius: var(--r-l); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.tier__icons { display: flex; gap: 4px; min-height: 32px; }
.tier b { font: 700 1.15rem/1.1 var(--font-display); letter-spacing: -.015em; margin-top: 8px; }
.tier span { color: var(--text-dim); font-size: .85rem; }
.tier small { color: var(--text-faint); font-size: .78rem; }
.rank { display: inline-block; width: 32px; height: 32px; background: url('/assets/product/ranks.png') calc(var(--i) * -32px) 0 / 640px 32px no-repeat; image-rendering: pixelated; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(6, 1fr); } }
.explore--3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 700px) { .explore--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .explore--3 { grid-template-columns: repeat(3, 1fr); } }
.rule { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r-l); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.rule svg { width: 26px; height: 26px; color: var(--accent); }
.rule b { font: 700 1.15rem/1.2 var(--font-display); letter-spacing: -.015em; }
.rule strong { font: 800 1.9rem/1 var(--font-display); letter-spacing: -.03em; color: var(--accent); }
.rule span { color: var(--text-dim); font-size: .92rem; line-height: 1.5; }

.weapons { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.weapon { margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--ink-1000); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.weapon:hover { transform: translateY(-3px); border-color: rgb(var(--accent-rgb) / .5); }
.weapon img { width: 100%; height: auto; aspect-ratio: 19 / 10; object-fit: contain; background: radial-gradient(60% 80% at 50% 45%, rgb(var(--accent-rgb) / .16), transparent 75%), #000; }
.weapon figcaption { display: grid; gap: 3px; padding: 14px 16px 16px; }
.weapon b { font: 700 1.1rem/1.2 var(--font-display); letter-spacing: -.01em; }
.weapon small { font: 600 .68rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.weapon i { font-style: normal; font-size: .84rem; color: var(--text-dim); line-height: 1.45; margin-top: 4px; }
.weapons--props { grid-template-columns: repeat(2, 1fr); }
.weapons--props img, .weapons--abil img { aspect-ratio: 1; }
.weapons--abil { grid-template-columns: repeat(2, 1fr); }
.weapons--abil figcaption { padding: 10px 12px 12px; }
.weapons--abil b { font-size: .9rem; }
@media (min-width: 900px) { .weapons { grid-template-columns: repeat(4, 1fr); } .weapons--props, .weapons--abil { grid-template-columns: repeat(5, 1fr); } }

/* ---- reveal on scroll (only when JS runs: without it everything is simply there) ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@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 { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
