/* Fortune Engine — Lit Edge. Tokens mirror fortune-engine-dashboard/src/design/tokens.css; rules in its DESIGN.md. */
:root {
  --glow-rgb: 150 190 255;
  --glow: 0.24;
  --bg: #08090a;
  --bg-card: #0f1011;
  --bg-card-hover: #151618;
  --bg-input: #151618;
  --bg-elevated: #1b1c1f;
  --border: #1d1e21;
  --border-hover: #2e3035;
  --text-1: #f7f8f8;
  --text-2: #d0d6e0;
  --text-3: #8a8f98;
  --text-4: #62666d;
  --accent: #96beff;
  --blue: #3076ff;          /* the stronger blue: hovered maths, graph lines, key highlights */
  --blue-rgb: 48 118 255;
  --success: #4cc38a;
  --warning: #e5b454;
  --danger: #ff6b6b;
  --edge: inset 0 1px 0 rgb(255 255 255 / 4%);
  --edge-lit: inset 0 1px 0 rgb(var(--glow-rgb) / 55%), 0 -6px 18px -10px rgb(var(--glow-rgb) / 60%);
  --shadow-elevated: 0 12px 40px rgb(0 0 0 / 60%);
  --r-md: 6px;
  --r-lg: 12px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-code: "Geist Mono", ui-monospace, Menlo, monospace;
  --m: clamp(20px, 4vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text-2); font-family: var(--font); font-size: 16px; line-height: 1.6;
  letter-spacing: -0.005em; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
h1, h2, h3, h4 { color: var(--text-1); font-weight: 600; letter-spacing: -0.03em; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
code { font-family: var(--font-code); font-size: .92em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-md); }
::selection { background: rgb(var(--glow-rgb) / 30%); color: var(--text-1); }
.wrap { width: 100%; max-width: calc(var(--max) + var(--m) * 2); margin-inline: auto; padding-inline: var(--m); }
.link { color: var(--accent); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* The one gradient: ambient light from above */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 0%, rgb(var(--glow-rgb) / var(--glow)), transparent 70%);
}

/* Buttons: lit edge */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 38px; padding: 0 16px;
  border-radius: var(--r-md); font-size: 14px; font-weight: 500; border: 0; cursor: pointer; white-space: nowrap;
  color: var(--text-1); background: var(--bg-input); transition: background-color var(--m-fast, 120ms), transform 120ms;
}
.btn:hover { background: var(--bg-elevated); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--border); box-shadow: var(--edge-lit); }
.btn-primary:hover { background: #232428; }
.btn-quiet { background: transparent; color: var(--text-2); }
.btn-quiet:hover { background: var(--bg-input); }
.btn[disabled] { color: var(--text-4); box-shadow: none; cursor: default; }
.kbd { font-size: 12px; color: var(--text-3); background: var(--bg-elevated); padding: 1px 6px; border-radius: 4px; }
.arrow::after { content: " →"; display: inline-block; transition: transform .2s var(--ease); }
.arrow:hover::after { transform: translateX(3px); }

/* Header */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: 60px; display: flex; align-items: center; gap: 28px; padding: 0 var(--m); background: rgb(8 9 10 / 82%); backdrop-filter: saturate(1.2) blur(12px); }
.wordmark img { height: 30px; width: auto; }
.bar nav { display: flex; gap: 4px; margin-left: 20px; }
.bar nav a { font-size: 14px; color: var(--text-3); padding: 6px 10px; border-radius: var(--r-md); transition: color 120ms, background-color 120ms; }
.bar nav a:hover { color: var(--text-1); background: var(--bg-input); }
.bar nav a[aria-current] { color: var(--text-1); }
.bar-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Type */
.h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1; letter-spacing: -0.04em; max-width: 15ch; }
.sec-h { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; max-width: 26ch; }
.sec-h span, .h1 span { color: var(--text-3); }
.lede { margin-top: 24px; max-width: 38em; font-size: clamp(17px, 1.3vw, 19px); color: var(--text-3); line-height: 1.55; }
.lede strong { color: var(--text-1); font-weight: 500; }
.section { padding-top: clamp(112px, 13vw, 168px); }
.actions { margin-top: 32px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero { padding-top: 168px; }
.center { text-align: center; }
.center .h1, .center .lede, .center .sec-h { margin-inline: auto; }
.center .actions { justify-content: center; }

/* Panels: tone, not lines */
.panel-card { background: var(--bg-card); border-radius: var(--r-lg); box-shadow: var(--edge); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stack-gap { margin-top: 48px; }
.card { background: var(--bg-card); border-radius: var(--r-lg); box-shadow: var(--edge); padding: 28px; display: grid; gap: 10px; align-content: start; transition: background-color 200ms; }
a.card:hover { background: var(--bg-card-hover); }
.card h3 { font-size: 17px; letter-spacing: -0.02em; line-height: 1.35; }
.card p { color: var(--text-3); font-size: 15px; }
.card .ic { width: 32px; height: 32px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--bg-elevated); color: var(--text-2); margin-bottom: 6px; }
.card .ic svg { width: 17px; height: 17px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pill-list span { font-size: 13px; color: var(--text-2); background: var(--bg-elevated); padding: 3px 9px; border-radius: var(--r-md); }

/* Status chip: a dot and a word */
.chipd { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); }
.chipd::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-4); }
.chipd.ok::before { background: var(--success); }
.chipd.warn::before { background: var(--warning); }
.chipd.new::before { background: var(--accent); }

/* ===== Platform replica (data-ui) ===== */
.app { margin-top: 72px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px var(--border), var(--shadow-elevated); font-size: 13px; display: grid; grid-template-columns: 196px minmax(0, 1fr); text-align: left; }
.app-side { background: var(--bg-card); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.app-side .logo { height: 24px; width: auto; margin: 4px 8px 14px; }
.app-org { border-radius: var(--r-md); padding: 8px 10px; margin-bottom: 10px; background: var(--bg-input); }
.app-org b { display: block; font-size: 13px; color: var(--text-1); font-weight: 500; }
.app-org span { font-size: 12px; color: var(--text-3); }
.app-side button { all: unset; padding: 6px 10px; border-radius: var(--r-md); color: var(--text-3); cursor: pointer; font-size: 13px; }
.app-side button:hover { color: var(--text-1); background: var(--bg-input); }
.app-side button[aria-selected="true"] { color: var(--text-1); background: var(--bg-elevated); }
.app-main { padding: 16px 20px 20px; min-width: 0; display: grid; gap: 12px; align-content: start; min-height: 520px; }
.proj-head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 12px 14px; }
.proj-head h4 { font-size: 17px; display: flex; gap: 10px; align-items: center; }
.proj-stats { display: flex; gap: 22px; }
.proj-stats b { display: block; color: var(--text-1); font-weight: 500; }
.proj-stats span { color: var(--text-3); font-size: 12px; }
.next { background: var(--bg-input); border-radius: var(--r-md); padding: 7px 12px; box-shadow: var(--edge-lit); }
.next small { color: var(--text-3); font-size: 12px; display: block; }
.next b { font-size: 13px; color: var(--text-1); font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--bg-card); border-radius: var(--r-lg); padding: 4px; }
.steps button { all: unset; cursor: pointer; padding: 8px 12px; display: flex; gap: 10px; align-items: center; border-radius: var(--r-md); }
.steps button:hover { background: var(--bg-input); }
.steps button[aria-selected="true"] { background: var(--bg-elevated); }
.steps .chipd { pointer-events: none; }
.steps b { display: block; font-size: 13px; font-weight: 500; color: var(--text-1); }
.steps span.sub { font-size: 12px; color: var(--text-3); }
.panel[hidden] { display: none; }
.panel { display: grid; gap: 12px; animation: panelIn .4s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }

.oc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; }
.oc-side { display: grid; gap: 10px; align-content: start; }
.box { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 12px; }
.box-h { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.tagrow { margin-top: 8px; }
.tagrow b { font-size: 12px; display: block; margin-bottom: 5px; font-weight: 500; color: var(--text-1); }
.chip { all: unset; cursor: pointer; display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: var(--r-md); background: var(--bg-input); color: var(--text-2); margin: 0 4px 4px 0; transition: background-color 120ms; }
.chip:hover { background: var(--bg-elevated); }
.chip.on { background: var(--bg-elevated); color: var(--text-1); box-shadow: inset 0 0 0 1px rgb(var(--glow-rgb) / 55%); }
.filter-line { font-family: var(--font-code); font-size: 12px; padding: 7px 10px; border-radius: var(--r-md); background: var(--bg-input); color: var(--text-2); min-height: 32px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.kpis div { padding: 10px 12px; background: var(--bg-card); border-radius: var(--r-md); }
.kpis b { display: block; font-size: 20px; color: var(--text-1); font-weight: 500; letter-spacing: -0.02em; }
.kpis span { font-size: 12px; color: var(--text-3); }
.scatter { background: var(--bg-card); border-radius: var(--r-lg); height: 260px; }
.scatter svg { width: 100%; height: 100%; display: block; }
.scatter circle { transition: opacity .35s; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--text-3); }
.legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

.canvas { position: relative; height: 400px; border-radius: var(--r-lg); overflow: hidden; background-color: var(--bg-card);
  background-image: radial-gradient(rgb(255 255 255 / 7%) 1px, transparent 1px); background-size: 18px 18px; }
.canvas-inner { position: absolute; inset: 0; }
.canvas svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.wires path { fill: none; stroke: var(--text-4); stroke-width: 1.5; }
.node { position: absolute; background: var(--bg-elevated); border-radius: var(--r-md); padding: 8px 12px; min-width: 150px; box-shadow: var(--edge); }
.node.model { box-shadow: var(--edge-lit); }
.node b { font-size: 13px; display: block; font-weight: 500; color: var(--text-1); }
.node span { font-size: 12px; color: var(--text-3); }
.pipe-chip { position: absolute; display: flex; gap: 2px; background: var(--bg-input); border-radius: var(--r-md); padding: 3px; font-size: 11px; transform: translate(-50%, -50%); }
.pipe-chip div { padding: 1px 7px; text-align: center; border-radius: 4px; }
.pipe-chip small { display: block; color: var(--text-3); font-size: 10px; }
.pipe-chip b { font-weight: 500; color: var(--text-1); }
.toolbar { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.tool { background: var(--bg-input); border-radius: var(--r-md); padding: 4px 10px; font-size: 12px; color: var(--text-2); }
.tool.lit { background: var(--border); box-shadow: var(--edge-lit); color: var(--text-1); }
.edit { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 12px 14px; }
.edit label { font-size: 13px; color: var(--text-2); }
.edit label span { color: var(--text-4); }
.lifts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lift-col { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto 1fr; gap: 2px 12px; align-items: start; font-size: 13px; color: var(--text-2); }
.lift-col output { grid-column: 2; font-size: 20px; letter-spacing: -0.02em; }
.lift-col em { font-style: normal; color: var(--text-4); }
.lift { grid-row: 1 / 3; position: relative; height: 64px; background: var(--bg-input); border-radius: var(--r-md); cursor: ns-resize; touch-action: none; overflow: hidden; outline: none; }
.lift i { position: absolute; inset: auto 0 0; background: linear-gradient(to top, rgb(var(--glow-rgb) / 30%), var(--accent)); border-radius: var(--r-md); transition: height .12s var(--ease); }
.lift i::before { content: ""; position: absolute; top: 4px; left: 50%; width: 14px; height: 3px; margin-left: -7px; border-radius: 2px; background: rgba(0, 0, 0, .35); }
.lift:hover i, .lift:focus-visible i { box-shadow: var(--edge-lit); }
.lift:focus-visible { box-shadow: 0 0 0 1px var(--accent); }
.lift.drag i { transition: none; }
.edit output { font-weight: 500; color: var(--text-1); }
.check { font-size: 13px; color: var(--text-2); }
.check.bad { color: var(--danger); }

.play { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.crash { position: relative; height: 300px; background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden; }
.crash svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.crash-mult { position: absolute; left: 20px; top: 16px; font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -0.04em; color: var(--text-1); }
.crash-mult.bust { color: var(--danger); }
.crash-mult.won { color: var(--accent); }
.crash-msg { position: absolute; left: 22px; top: 82px; font-size: 13px; color: var(--text-3); }
.play-side { display: grid; gap: 8px; align-content: start; }
.play-side .btn { width: 100%; }
.hist { display: flex; flex-wrap: wrap; gap: 4px; }
.hist span { font-size: 12px; padding: 1px 7px; border-radius: 4px; background: var(--bg-input); }
.hist span.w { color: var(--accent); }
.hist span.l { color: var(--text-3); }
.app-note { margin-top: 14px; color: var(--text-4); font-size: 13px; text-align: center; }

/* Logos */
.logos { padding-top: 104px; overflow: hidden; }
.logos-cap { text-align: center; color: var(--text-3); font-size: 14px; }
.logo-track { display: flex; width: max-content; margin-top: 26px; animation: marquee 55s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.logo-track div { display: flex; gap: 60px; padding-right: 60px; }
.logo-track span { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-3); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Mechanics list */
.comp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 48px; }
.comp li { background: var(--bg-card); border-radius: var(--r-lg); box-shadow: var(--edge); padding: 22px; display: grid; gap: 6px; align-content: start; }
.comp h3 { font-size: 15px; }
.comp p { color: var(--text-3); font-size: 14px; }
.comp small { color: var(--text-4); font-size: 12px; }

/* Film and build videos */
.film { margin-top: 56px; position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-card); box-shadow: var(--edge); }
.film video { width: 100%; height: 100%; object-fit: cover; }
.vid { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; }
.vid-stage { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--bg-card); box-shadow: var(--edge); display: grid; place-items: center; text-align: center; }
.vid-stage .soon { display: grid; gap: 10px; justify-items: center; padding: 24px; }
.vid-stage .soon b { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.03em; color: var(--text-1); }
.vid-stage .soon p { color: var(--text-3); max-width: 30em; }
.vid-stage iframe, .vid-stage video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chapters { display: grid; gap: 4px; align-content: start; }
.chapters button { all: unset; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; border-radius: var(--r-md); background: var(--bg-card); transition: background-color 120ms; }
.chapters button:hover { background: var(--bg-card-hover); }
.chapters button[aria-pressed="true"] { background: var(--bg-elevated); box-shadow: var(--edge-lit); }
.chapters b { font-size: 14px; font-weight: 500; color: var(--text-1); display: block; }
.chapters span { font-size: 13px; color: var(--text-3); }

/* ===== Studios and games (cinematic) ===== */
.studio-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.stats div { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 18px 20px; }
.stats b { display: block; font-size: 32px; font-weight: 600; letter-spacing: -0.04em; color: var(--text-1); line-height: 1.1; }
.stats span { font-size: 13px; color: var(--text-3); }

.game-index { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 4px; }
.game-index a, .filters button { padding: 6px 12px; border-radius: var(--r-md); font-size: 14px; color: var(--text-3); background: var(--bg-input); border: 0; cursor: pointer; transition: color 120ms, background-color 120ms; }
.game-index a:hover, .filters button:hover { color: var(--text-1); background: var(--bg-elevated); }
.filters button[aria-pressed="true"] { color: var(--text-1); background: var(--bg-elevated); box-shadow: var(--edge-lit); }

.chapter { position: relative; }
.ch-cine { position: relative; overflow: hidden; }
.ch-cine .ch-media img { width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; object-fit: cover; transform: scale(1.04); transition: transform 2.2s var(--ease); }
.chapter.in .ch-media img { transform: scale(1); }
.ch-cine .ch-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, rgb(8 9 10 / 55%) 70%, rgb(8 9 10 / 85%) 100%), linear-gradient(180deg, transparent 75%, var(--bg) 100%); }
.ch-cine .ch-body { position: absolute; inset: 0 0 0 auto; width: min(46%, 560px); display: flex; flex-direction: column; justify-content: center; padding: 96px var(--m) 64px 0; }
.ch-title { font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: -0.045em; }
.ch-hook { margin-top: 14px; font-size: clamp(18px, 1.5vw, 22px); color: var(--text-1); font-weight: 500; letter-spacing: -0.02em; }
.ch-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.ch-lede { margin-top: 16px; font-size: 16px; line-height: 1.55; max-width: 34em; color: var(--text-2); }
.ch-specs { margin-top: 24px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px; }
.ch-specs div { background: rgb(15 16 17 / 80%); border-radius: var(--r-md); padding: 8px 12px; box-shadow: var(--edge); }
.ch-specs dt { font-size: 12px; color: var(--text-3); }
.ch-specs dd { font-size: 16px; font-weight: 500; color: var(--text-1); }
.ch-actions { margin-top: 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.catalogue { margin-top: 32px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.gcard { background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--edge); display: grid; align-content: start; transition: background-color 200ms; }
a.gcard:hover { background: var(--bg-card-hover); }
.gcard .art { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-elevated); }
.gcard .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.gcard:hover .art img { transform: scale(1.03); }
.gcard .info { padding: 14px 16px 16px; display: grid; gap: 6px; }
.gcard h3 { font-size: 17px; letter-spacing: -0.02em; }
.gcard p { font-size: 13px; color: var(--text-3); }
.gcard .figs { display: flex; gap: 14px; font-size: 13px; color: var(--text-2); }
.gcard .figs b { color: var(--text-1); font-weight: 500; }

/* Markets */
.markets { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.markets div { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 20px; }
.markets b { display: block; color: var(--text-1); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.markets span { font-size: 13px; color: var(--text-3); }
.note { margin-top: 14px; font-size: 13px; color: var(--text-4); }

/* Start */
.tiers { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tier { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 16px; align-content: start; }
.tier h2 { font-size: 28px; }
.tier .price { color: var(--text-3); }
.tier ul { display: grid; gap: 10px; }
.tier li { padding-left: 22px; position: relative; color: var(--text-2); font-size: 15px; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.tier li.no { color: var(--text-4); }
.tier li.no::before { background: var(--bg-elevated); }
.tier .btn { justify-self: start; }
.form { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 32px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--text-3); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--r-md); padding: 9px 11px; color: var(--text-1); font-size: 15px; transition: border-color 120ms; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--border-hover); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 110px; resize: vertical; }
.form .hp { display: none; }
.faq { margin-top: 32px; display: grid; gap: 4px; max-width: 820px; }
.faq details { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--text-1); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--text-3); }

.final { padding-block: 168px 136px; }

/* Footer */
.foot { padding-top: 56px; padding-bottom: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-top: 48px; box-shadow: inset 0 1px 0 var(--border); }
.foot-logo { height: 40px; width: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(140px, auto)); gap: 48px; font-size: 14px; }
.foot-cols ul { display: grid; gap: 10px; align-content: start; }
.foot-cols a { color: var(--text-3); transition: color 120ms; }
.foot-cols a:hover { color: var(--text-1); }
.fh { font-weight: 500; color: var(--text-1); }
.foot-legal { margin-top: 64px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--text-4); flex-wrap: wrap; }

/* Dialog */
.player { width: min(1100px, 94vw); padding: 0; border: 0; background: #000; border-radius: var(--r-lg); overflow: visible; box-shadow: var(--shadow-elevated); }
.player::backdrop { background: rgb(0 0 0 / 80%); }
.player-frame { aspect-ratio: 16 / 9; }
.player-frame iframe, .player-frame video { width: 100%; height: 100%; border: 0; border-radius: var(--r-lg); display: block; }
.player-x { position: absolute; top: -42px; right: 0; }

/* Entrances */
.js .rise { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .catalogue, .grid-4, .markets { grid-template-columns: repeat(2, 1fr); }
  .comp { grid-template-columns: repeat(2, 1fr); }
  .oc { grid-template-columns: 1fr; }
  .ch-cine .ch-body { position: relative; width: auto; padding: 20px var(--m) 72px; }
  .ch-cine .ch-media::after { background: linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
  .studio-head { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bar nav, .bar-cta .btn-quiet { display: none; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .proj-head { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .tiers, .vid, .play { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpis div:nth-child(n+4) { display: none; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .ch-specs { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 560px) {
  .hero { padding-top: 120px; }
  .app-main { padding: 12px; }
  .steps span.sub { display: none; }
  .catalogue, .grid-4, .markets, .comp { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .canvas { overflow-x: auto; }
  .canvas-inner { width: 640px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-track { animation: none; }
  .js .rise { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ===== Game cards: one component everywhere ===== */
.catalogue { grid-template-columns: repeat(5, 1fr); }
.gcard { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-card); box-shadow: var(--edge); display: grid; grid-template-rows: auto 1fr; transition: background-color 200ms; }
.gcard:hover { background: var(--bg-card-hover); }
.gcard .art { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-elevated); display: grid; place-items: center; }
.gcard .art > * { transition: transform .8s var(--ease); }
.gcard:hover .art > * { transform: scale(1.04); }
.gcard .art .ph { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-4); text-align: center; padding: 20px; line-height: 1.15; }
.gcard .info { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.gcard .mk { font-size: 12px; color: var(--text-3); line-height: 1.5; }
.card-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.card-actions .btn { height: 30px; padding: 0 10px; font-size: 13px; }

.markets-strip { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 4px; }
.markets-strip span { font-size: 14px; color: var(--text-2); background: var(--bg-input); padding: 5px 12px; border-radius: var(--r-md); }

/* Studio deep dive */
.stats-wide { grid-template-columns: repeat(4, 1fr); }
.show { margin-top: 48px; display: grid; gap: 12px; }
.show-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 32px; }
.show-copy { display: grid; gap: 12px; }
.show-copy h3 { font-size: 22px; }
.show-copy p { color: var(--text-3); }
.show-vis { background: var(--bg); border-radius: var(--r-lg); padding: 28px; min-height: 200px; display: grid; place-items: center; gap: 12px; }
.mini-graph { display: grid; justify-items: center; gap: 28px; width: 100%; position: relative; }
.mg-node { background: var(--bg-elevated); border-radius: var(--r-md); padding: 8px 14px; font-size: 13px; color: var(--text-1); font-weight: 500; }
.mg-node.lit { box-shadow: var(--edge-lit); }
.mg-kids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.mg-kids span { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-md); padding: 8px 6px; font-size: 12px; text-align: center; color: var(--text-2); transition: transform .3s var(--ease), background-color .3s; }
.show-row:hover .mg-kids span { transform: translateY(-3px); }
.show-row:hover .mg-kids span:nth-child(2) { transition-delay: 60ms; }
.show-row:hover .mg-kids span:nth-child(3) { transition-delay: 120ms; }
.show-row:hover .mg-kids span:nth-child(4) { transition-delay: 180ms; }
.variant-grid { display: grid; grid-template-columns: 56px repeat(2, 1fr); gap: 4px; width: 100%; max-width: 360px; font-size: 13px; }
.variant-grid b { font-weight: 500; color: var(--text-3); padding: 6px; text-align: center; }
.variant-grid i { font-style: normal; background: var(--bg-card); border-radius: var(--r-md); padding: 8px; text-align: center; color: var(--text-1); box-shadow: var(--edge); transition: box-shadow .3s; }
.show-row:hover .variant-grid i { box-shadow: var(--edge-lit); }
.chest-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; width: 100%; }
.chest-row span { background: var(--bg-card); border-radius: var(--r-md); padding: 14px 6px; font-size: 12px; text-align: center; color: var(--text-2); box-shadow: var(--edge); }
.chest-row span.lit { box-shadow: var(--edge-lit); color: var(--text-1); }
.vis-note { font-size: 12px; color: var(--text-4); }

/* Pipeline */
.pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pipe-col { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 10px; align-content: start; }
.pipe-h { margin-bottom: 4px; }
.mini-list { display: grid; gap: 4px; }
.mini { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--bg-input); border-radius: var(--r-md); padding: 10px 12px; transition: background-color 120ms, transform 200ms var(--ease); }
.mini:hover { background: var(--bg-elevated); transform: translateX(2px); }
.mini b { font-size: 14px; font-weight: 500; color: var(--text-1); }
.mini span { font-size: 12px; color: var(--text-3); }

@media (max-width: 1100px) { .catalogue { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .stats-wide, .pipeline { grid-template-columns: 1fr 1fr; }
  .show-row { grid-template-columns: 1fr; padding: 22px; }
  .catalogue { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pipeline, .catalogue { grid-template-columns: 1fr; }
  .mg-kids, .chest-row { grid-template-columns: 1fr 1fr; }
}

/* ===== Home: Linear flow ===== */
.lin-hero { padding-top: 150px; }
.lin-h1 { max-width: none; font-size: clamp(40px, 6vw, 72px); }
.deck { margin-top: 56px; }
.deck-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.deck-tabs button { all: unset; cursor: pointer; font-size: 14px; color: var(--text-3); padding: 6px 12px; border-radius: var(--r-md); transition: color 120ms, background-color 120ms; }
.deck-tabs button:hover { color: var(--text-1); background: var(--bg-input); }
.deck-tabs button[aria-selected="true"] { color: var(--text-1); background: var(--bg-elevated); box-shadow: var(--edge-lit); }
.deck-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); }
.deck-track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; min-width: 0; }
.app-flat { margin-top: 0; }
.deck-nav { display: flex; justify-content: flex-end; gap: 4px; margin-top: 10px; }
.film-slide { margin-top: 0; }
.kpis-4 { grid-template-columns: repeat(4, 1fr); }
.earn { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.spark { width: 100%; height: 170px; display: block; }
.spark .area { fill: rgb(var(--glow-rgb) / 10%); }
.spark .line { fill: none; stroke: var(--accent); stroke-width: 2; }
.rank { display: grid; gap: 2px; }
.rank li { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 4px; color: var(--text-2); }
.rank li b { color: var(--text-1); font-weight: 500; }
.bars { display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: center; font-size: 13px; color: var(--text-2); }
.bars i { height: 8px; border-radius: 4px; background: var(--bg-elevated); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: var(--text-3); border-radius: 4px; }
.dist { width: 100%; height: 180px; display: block; margin-bottom: 8px; }
.dist rect { transition: y .35s var(--ease), height .35s var(--ease), fill .2s; }
.lift-dist { cursor: ns-resize; touch-action: none; }
.lift-dist.drag rect { transition: fill .2s; }
.lift-dist rect:hover { filter: brightness(1.25); }

.statement { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -0.025em; color: var(--text-3); max-width: 30em; }
.statement b { color: var(--text-1); font-weight: 600; }
.figs3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fig-card { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 10px; align-content: start; transition: background-color 200ms; }
.fig-card:hover { background: var(--bg-card-hover); }
.fig-card h3 { font-size: 17px; }
.fig-card p { color: var(--text-3); font-size: 15px; }
.fig { width: 100%; height: 150px; margin-bottom: 12px; overflow: visible; }
.fig rect, .fig circle { fill: var(--bg-elevated); stroke: #3e3e44; stroke-width: 1; transition: transform .6s var(--ease), fill .4s, stroke .4s; transform-box: fill-box; }
.fig-card:hover .f-stack rect:nth-child(1) { transform: translateY(18px); }
.fig-card:hover .f-stack rect:nth-child(3) { transform: translateY(-18px); fill: #232428; stroke: rgb(var(--glow-rgb) / 60%); }
.f-pegs .ball { fill: var(--text-2); stroke: none; }
.f-pegs .floor { stroke: #3e3e44; stroke-width: 1.5; }
.fig-card:hover .f-pegs .ball { animation: ballDrop 1.4s var(--ease) forwards; fill: var(--accent); }
@keyframes ballDrop { 0% { transform: translate(0, 0); } 30% { transform: translate(-12px, 34px); } 60% { transform: translate(6px, 62px); } 100% { transform: translate(-6px, 94px); } }
.f-bars rect { transform-origin: bottom; }
.fig-card:hover .f-bars rect { transform: scaleY(1.25); }
.fig-card:hover .f-bars rect:nth-child(2) { transition-delay: 60ms; }
.fig-card:hover .f-bars rect:nth-child(3) { transition-delay: 120ms; fill: #232428; stroke: rgb(var(--glow-rgb) / 60%); }
.fig-card:hover .f-bars rect:nth-child(4) { transition-delay: 180ms; }

.chap-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.chap-h { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.04em; }
.chap-head p { color: var(--text-3); max-width: 34em; margin-bottom: 14px; font-size: 17px; }
.chap-vis { margin-top: 40px; background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 24px; overflow: hidden; }
.feat-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px; }
.feat-row li { font-size: 14px; color: var(--text-2); background: var(--bg-input); padding: 6px 12px; border-radius: var(--r-md); }
.feat-row li::after { content: " +"; color: var(--text-4); }
.tracks { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.board { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 8px; overflow-x: auto; }
.col { display: grid; gap: 6px; align-content: start; }
.col p { font-size: 13px; color: var(--text-2); font-weight: 500; padding: 2px 4px 6px; }
.col p span { color: var(--text-4); margin-left: 6px; }
.tk { background: var(--bg-elevated); border-radius: var(--r-md); padding: 10px; box-shadow: var(--edge); transition: transform .25s var(--ease); }
.tk:hover { transform: translateY(-2px); }
.tk.lit { box-shadow: var(--edge-lit); }
.tk b { display: block; font-size: 13px; font-weight: 500; color: var(--text-1); }
.tk span { font-size: 12px; color: var(--text-3); }

.timeline { display: grid; gap: 8px; }
.tl-months { display: grid; grid-template-columns: 140px repeat(6, 1fr); font-size: 12px; color: var(--text-4); }
.tl-months::before { content: ""; }
.tl-row { display: grid; grid-template-columns: 140px 1fr; align-items: center; }
.tl-row b { font-size: 13px; font-weight: 500; color: var(--text-2); }
.tl-row i { font-style: normal; display: flex; gap: 2px; margin-left: calc(var(--s) / 6 * 100%); height: 30px; }
.tl-row em { font-style: normal; flex: 1; background: var(--bg-elevated); border-radius: 4px; font-size: 11px; color: var(--text-3); display: grid; place-items: center; box-shadow: var(--edge); }
.tl-row em:last-child { box-shadow: var(--edge-lit); color: var(--text-1); }

.chat { display: grid; gap: 10px; max-width: 760px; margin-inline: auto; }
.msg { border-radius: var(--r-lg); padding: 12px 14px; font-size: 14px; line-height: 1.5; max-width: 85%; }
.msg.me { justify-self: end; background: var(--bg-elevated); color: var(--text-1); }
.msg.ai { justify-self: start; background: var(--bg); color: var(--text-2); box-shadow: var(--edge); }
.msg small { display: block; color: var(--text-4); font-size: 12px; margin-bottom: 4px; }
.msg .res { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; background: var(--bg-card); border-radius: var(--r-md); padding: 8px 10px; box-shadow: var(--edge-lit); }
.msg .res b { font-weight: 500; color: var(--text-1); font-size: 13px; }
.msg .res i { font-style: normal; color: var(--text-3); font-size: 12px; }

@media (max-width: 860px) {
  .earn, .figs3, .tracks, .chap-head { grid-template-columns: 1fr; }
  .kpis-4 { grid-template-columns: 1fr 1fr; }
  .kpis-4 div:nth-child(n) { display: block; }
  .tl-months, .tl-row { grid-template-columns: 96px 1fr; }
}

/* ===== Round 3 ===== */
/* Logo in product mock-ups keeps its proportions */
.app-side .logo { align-self: flex-start; width: auto; height: 24px; object-fit: contain; flex: none; }

.pre-h { color: var(--text-3); font-size: clamp(16px, 1.4vw, 19px); margin-bottom: 14px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.kpis-6 { grid-template-columns: repeat(6, 1fr); }
.dash2 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; }
.pm { width: 100%; border-collapse: collapse; font-size: 13px; }
.pm th { text-align: left; font-weight: 500; color: var(--text-3); padding: 6px 8px; border-bottom: 1px solid var(--border); }
.pm td { padding: 8px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.pm tr:last-child td { border-bottom: 0; }
.pm code { font-size: 12px; color: var(--text-1); }
.av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-elevated); font-size: 10px; color: var(--text-2); margin-right: -4px; box-shadow: 0 0 0 2px var(--bg-card); }
.story-cap { margin: 64px auto 0; max-width: 46em; text-align: center; min-height: 3.2em; }
.story-cap p { font-size: 18px; color: var(--text-3); animation: panelIn .4s var(--ease); }
.story-cap b { color: var(--text-1); font-weight: 500; }
#tour .app { margin-top: 24px; }
.test { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.test-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-card); }
.test-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.test-hud { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: linear-gradient(transparent, rgb(8 9 10 / 85%)); font-size: 13px; color: var(--text-2); }
.test-hud b { color: var(--text-1); font-weight: 600; }
.test-hud b.pop { animation: panelIn .35s var(--ease); }

/* Where we fit */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.flow-node { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 4px; min-height: 96px; align-content: center; }
.flow-node.lit { box-shadow: var(--edge-lit); background: #141518; }
.flow-node b { color: var(--text-1); font-weight: 500; }
.flow-node span { font-size: 13px; color: var(--text-3); }
.flow-arrow { width: 18px; height: 2px; background: var(--border-hover); position: relative; }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left-color: var(--border-hover); }

/* Operators */
.art-band { margin-top: 72px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 8px; padding-inline: var(--m); overflow: hidden; }
.art-band img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 25% center; border-radius: var(--r-lg); transition: transform .8s var(--ease); }
.art-band img:hover { transform: scale(1.03); }
/* Operators: Burst Games swoop into a mock lobby when it scrolls into view */
.swoop .casino-body { min-height: 0; }
.swoop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.swoop-tile { display: grid; gap: 6px; align-content: start; }
.swoop-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: var(--r-md); background: var(--bg-input); box-shadow: var(--edge); }
.swoop-tile span { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.js .swoop-tile { opacity: 0; transform: translate(calc((var(--i) - 3.5) * 60px), 140px) rotate(calc((var(--i) - 3.5) * 6deg)) scale(.6); }
.swoop.in .swoop-tile { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .9s cubic-bezier(.2, 1.3, .4, 1); transition-delay: calc(var(--i) * 110ms + 250ms); }
.swoop-cat em { font-style: normal; font-size: 10px; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--bg-input); color: var(--text-3); transition: background .4s, color .4s; }
.swoop.in .swoop-cat { background: var(--bg-elevated); color: var(--text-1); box-shadow: inset 2px 0 0 var(--accent); transition: background .4s .2s, color .4s .2s, box-shadow .4s .2s; }
.swoop.in .swoop-cat em { background: rgb(var(--glow-rgb) / 18%); color: var(--accent); }
.js .swoop-live { opacity: 0; }
.swoop.in .swoop-live { opacity: 1; transition: opacity .4s 1.3s; }
.swoop-cta { margin-top: 24px; }
@media (max-width: 860px) { .swoop .casino-body { grid-template-columns: 1fr; } .swoop .casino-side { display: none; } .swoop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .swoop-tile:nth-child(n+7) { display: none; } }
@media (prefers-reduced-motion: reduce) { .js .swoop-tile, .js .swoop-live { opacity: 1; transform: none; } }

/* Two rows of partners */
.logo-track + .logo-track { margin-top: 14px; }
.logo-track.rev { animation-direction: reverse; animation-duration: 60s; }

@media (max-width: 860px) {
  .kpis-6 { grid-template-columns: repeat(3, 1fr); }
  .kpis-6 div:nth-child(n) { display: block; }
  .dash2, .test, .burst { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { width: 2px; height: 14px; justify-self: center; }
  .flow-arrow::after { display: none; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
}

/* ===== Platform window (Linear-style) ===== */
.shell { margin-top: 64px; border-radius: 14px; overflow: hidden; background: var(--bg);
  box-shadow: 0 0 0 1px var(--border), inset 0 1px 0 rgb(255 255 255 / 6%), 0 -1px 40px -12px rgb(var(--glow-rgb) / 35%), 0 40px 120px -30px rgb(0 0 0 / 90%);
  font-size: 13px; text-align: left; }
.shell-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #0c0d0e; box-shadow: inset 0 -1px 0 #17181a; }
.shell-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2b2f; }
.shell-bar span { margin-left: auto; margin-right: auto; font-size: 12px; color: var(--text-4); background: var(--bg-input); padding: 2px 14px; border-radius: 5px; transform: translateX(-20px); }
.shell-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); height: 600px; }
.shell-side { background: var(--bg-card); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.shell-side .logo { align-self: flex-start; height: 24px; width: auto; margin: 2px 8px 14px; }
.side-h { font-size: 11px; color: var(--text-4); padding: 14px 10px 4px; }
.shell-side button { all: unset; display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: var(--r-md); color: var(--text-3); cursor: pointer; font-size: 13px; transition: color 120ms, background-color 120ms; }
.shell-side button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }
.shell-side button:hover { color: var(--text-1); background: var(--bg-input); }
.shell-side button[aria-selected="true"] { color: var(--text-1); background: var(--bg-elevated); }
.shell-side button:focus-visible { outline: 2px solid var(--accent); }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px 10px; color: var(--text-3); font-size: 12px; }
.shell-main { padding: 18px 22px; overflow: auto; min-width: 0; }
.view { display: grid; gap: 12px; align-content: start; animation: panelIn .35s var(--ease); }
.view[hidden] { display: none; }
.view-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.view-head h4 { font-size: 17px; }
.pm-lg td, .pm-lg th { padding: 10px 8px; }
.pm-lg tbody tr { transition: background-color 120ms; cursor: default; }
.pm-lg tbody tr:hover { background: var(--bg-input); }
.mkt-list { display: grid; gap: 4px; }
.mkt-list div { display: flex; justify-content: space-between; align-items: center; background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-md); padding: 12px 14px; }
.mkt-list b { font-weight: 500; color: var(--text-1); }
.shell .test-frame img { aspect-ratio: 16 / 10; }

.intake-cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--bg-card); border-radius: var(--r-lg); padding: 28px 32px; box-shadow: var(--edge-lit); }
.intake-cta b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-1); }
.intake-cta span { color: var(--text-3); }
.ticks { display: grid; gap: 8px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }

@media (max-width: 860px) {
  .shell-body { grid-template-columns: 1fr; height: auto; }
  .shell-side { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 8px; }
  .shell-side .logo, .shell-side .app-org, .side-h, .side-foot { display: none; }
  .shell-side button { white-space: nowrap; }
  .shell-main { padding: 14px; }
  .intake-cta { flex-direction: column; align-items: flex-start; }
}

/* Hero maths background */
.lin-hero { position: relative; }
.lin-hero > .wrap { position: relative; z-index: 1; }
.maths-bg { position: absolute; left: 0; top: 0; width: 100%; height: 560px; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }

/* ===== Round 4 ===== */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.rail-nav { display: flex; gap: 4px; flex: none; }
.rail { margin-top: 32px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--m), calc((100vw - var(--max)) / 2)); scroll-padding-inline: max(var(--m), calc((100vw - var(--max)) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.rail > .gcard { scroll-snap-align: start; width: clamp(230px, 22vw, 270px); }

.mech { display: grid; gap: 12px; }
.mech-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 28px 32px; }
.mech-copy { display: grid; gap: 10px; justify-items: start; }
.mech-copy h3 { font-size: 22px; }
.mech-copy p { color: var(--text-3); }
.mech-games { display: grid; gap: 4px; }

.bal-steps { display: flex; gap: 4px; }
.bal-steps span { flex: 1; text-align: center; font-size: 12px; color: var(--text-4); background: var(--bg-input); border-radius: var(--r-md); padding: 6px; transition: color .2s, background-color .2s, box-shadow .2s; }
.bal-steps span.on { color: var(--text-1); background: var(--bg-elevated); }
.bal-steps span.on:last-of-type { box-shadow: var(--edge-lit); }
.pt-row { display: flex; flex-wrap: wrap; gap: 4px; min-height: 28px; }
.pt-row span { font-size: 12px; padding: 3px 8px; border-radius: 4px; background: var(--bg-input); color: var(--text-2); animation: panelIn .25s var(--ease); }
.pt-row span.z { color: var(--text-4); }
.pt-row span.big { color: var(--accent); box-shadow: inset 0 0 0 1px rgb(var(--glow-rgb) / 40%); }
.pt-sum { margin-top: 8px; font-size: 12px; color: var(--text-3); }

@media (max-width: 860px) { .mech-row { grid-template-columns: 1fr; padding: 22px; } .rail-nav { display: none; } }

/* Maths background on every hero */
.hero { position: relative; }
.hero > .wrap, .hero > .art-band { position: relative; z-index: 1; }

/* ===== Intake v2 ===== */
.trial { position: relative; margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 48px; border-radius: 16px; background: var(--bg-card); overflow: hidden; isolation: isolate;
  box-shadow: inset 0 1px 0 rgb(var(--glow-rgb) / 45%), 0 0 0 1px var(--border), 0 -10px 60px -24px rgb(var(--glow-rgb) / 55%); }
.trial::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(50% 50% at 30% 0%, rgb(var(--glow-rgb) / 18%), transparent 70%); }
.trial h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -0.04em; max-width: 16ch; }
.trial-copy p { margin-top: 14px; color: var(--text-3); font-size: 17px; max-width: 34em; }
.trial-path { position: relative; display: grid; gap: 18px; padding-left: 28px; }
.trial-path::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--bg-elevated); border-radius: 2px; }
.trial-path::after { content: ""; position: absolute; left: 7px; top: 8px; width: 2px; height: 30%; border-radius: 2px;
  background: linear-gradient(transparent, rgb(var(--glow-rgb) / 90%)); animation: pathRun 3.6s var(--ease) infinite; }
@keyframes pathRun { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(230%); opacity: 0; } }
.trial-path li { position: relative; display: grid; gap: 2px; background: var(--bg); border-radius: var(--r-lg); padding: 14px 16px; box-shadow: var(--edge); }
.trial-path li i { position: absolute; left: -26px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-elevated); box-shadow: 0 0 0 3px var(--bg-card); }
.trial-path li:first-child i { background: var(--accent); box-shadow: 0 0 0 3px var(--bg-card), 0 0 14px rgb(var(--glow-rgb) / 70%); }
.trial-path b { font-weight: 500; color: var(--text-1); }
.trial-path span { font-size: 13px; color: var(--text-3); }

.versus { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; }
.trial + .versus { margin-top: clamp(28px, 4vw, 48px); }
.vs-card { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 10px; align-content: start;
  transition: transform .4s var(--ease), box-shadow .4s, background-color .4s; }
.vs-card:hover { transform: translateY(-4px); background: var(--bg-card-hover); box-shadow: var(--edge-lit); }
.vs-card h3 { font-size: 22px; line-height: 1.2; }
.vs-card > p { color: var(--text-3); }
.vs-art { width: 100%; height: 120px; margin-bottom: 8px; border-radius: var(--r-md); background: var(--bg); }
.vs-art .lanes rect { fill: var(--bg-input); }
.vs-art .runs rect { fill: #2e3035; transform-origin: left; transform: scaleX(.6); transition: transform 1s var(--ease), fill .4s; transform-box: fill-box; }
.vs-card:hover .vs-art .runs rect { transform: scaleX(1); fill: rgb(var(--glow-rgb) / 55%); }
.vs-card:hover .vs-art .runs rect:nth-child(2) { transition-delay: 80ms; }
.vs-card:hover .vs-art .runs rect:nth-child(3) { transition-delay: 160ms; }
.vs-art .spark circle { fill: none; stroke: #2e3035; stroke-width: 1.5; transform-origin: center; transform-box: fill-box; transition: stroke .4s; }
.vs-art .spark circle:first-child { fill: var(--text-3); stroke: none; }
.vs-card:hover .vs-art .spark circle:first-child { fill: var(--accent); }
.vs-card:hover .vs-art .ring { stroke: rgb(var(--glow-rgb) / 55%); animation: ringOut 1.6s var(--ease) infinite; }
.vs-card:hover .vs-art .r2 { animation-delay: .2s; }
.vs-card:hover .vs-art .r3 { animation-delay: .4s; }
@keyframes ringOut { 0% { transform: scale(.85); opacity: .3; } 50% { opacity: 1; } 100% { transform: scale(1.1); opacity: .2; } }
.vs-or { align-self: center; font-size: 13px; color: var(--text-3); background: var(--bg-elevated); border-radius: 999px; padding: 6px 12px; box-shadow: var(--edge); }

#price-h { scroll-margin-top: 90px; }
.pricing-sec .grid-3 { margin-bottom: 40px; }

@media (max-width: 860px) {
  .trial { grid-template-columns: 1fr; padding: 28px; }
  .versus { grid-template-columns: 1fr; }
  .vs-or { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .trial-path::after { animation: none; display: none; } }

/* Pricing split */
.split { margin-top: 12px; background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 24px 28px; display: grid; gap: 14px; }
.split-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.split-head b { font-weight: 500; color: var(--text-1); }
.split-head span { font-size: 13px; color: var(--text-3); }
.split-bar { display: flex; gap: 3px; height: 40px; }
.split-bar i { flex: var(--w) 1 0; min-width: 6px; border-radius: 6px; background: var(--bg-elevated); font-style: normal; font-size: 13px; color: var(--text-2); display: grid; place-items: center; overflow: hidden; white-space: nowrap; }
.split-bar i.you { background: var(--border); color: var(--text-1); font-weight: 500; box-shadow: var(--edge-lit); }
.split-key { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--text-3); }
.split-key i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--bg-elevated); margin-right: 8px; vertical-align: 0; }
.split-key i.you { background: var(--accent); }
.split-key i.one { background: var(--text-4); }
.pricing-sec .note { margin-top: 14px; }

/* ===== Operators: lobby builder ===== */
.builder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 12px; align-items: start; }
.pick { background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; }
.pick-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pick-head b { font-weight: 500; color: var(--text-1); }
.pick-head span { font-size: 12px; color: var(--text-3); }
.pick-list { display: grid; gap: 4px; }
.pick-item { all: unset; cursor: pointer; display: grid; gap: 2px; padding: 10px 12px 10px 34px; border-radius: var(--r-md); background: var(--bg-input); position: relative; transition: background-color 120ms; }
.pick-item:hover { background: var(--bg-elevated); }
.pick-item::before { content: ""; position: absolute; left: 12px; top: 14px; width: 12px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--text-4); }
.pick-item[aria-pressed="true"] { background: var(--bg-elevated); }
.pick-item[aria-pressed="true"]::before { background: var(--accent); box-shadow: none; }
.pick-item:focus-visible { outline: 2px solid var(--accent); }
.pick-item b { font-size: 14px; font-weight: 500; color: var(--text-1); }
.pick-item span { font-size: 12px; color: var(--text-3); }
.pick .btn { justify-self: start; }

.casino { border-radius: 14px; overflow: hidden; background: #0b0c0e; box-shadow: 0 0 0 1px var(--border), inset 0 1px 0 rgb(255 255 255 / 5%), 0 30px 80px -30px rgb(0 0 0 / 90%); font-size: 13px; }
.casino-top { display: flex; align-items: center; gap: 20px; padding: 12px 16px; background: #101114; box-shadow: inset 0 -1px 0 #1a1b1e; }
.casino-top > b { font-weight: 600; color: var(--text-1); letter-spacing: -0.02em; }
.casino-top > b span { color: var(--text-3); }
.casino-top nav { display: flex; gap: 4px; }
.casino-top nav i { font-style: normal; padding: 4px 10px; border-radius: var(--r-md); color: var(--text-3); }
.casino-top nav i.on { background: var(--bg-elevated); color: var(--text-1); }
.casino-acct { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.casino-acct span { background: var(--bg-input); padding: 4px 10px; border-radius: var(--r-md); color: var(--text-2); }
.casino-acct em { font-style: normal; background: var(--border); box-shadow: var(--edge-lit); padding: 4px 12px; border-radius: var(--r-md); color: var(--text-1); }
.casino-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 420px; }
.casino-side { padding: 14px 10px; display: grid; gap: 2px; align-content: start; background: #0e0f11; }
.casino-side p { font-size: 11px; color: var(--text-4); padding: 10px 8px 4px; }
.casino-side i { font-style: normal; padding: 6px 8px; border-radius: var(--r-md); color: var(--text-3); }
.casino-side i.on { background: var(--bg-elevated); color: var(--text-1); box-shadow: inset 2px 0 0 var(--accent); }
.casino-main { padding: 16px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.casino-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px; border-radius: var(--r-lg); background: var(--bg-card); box-shadow: inset 0 1px 0 rgb(var(--glow-rgb) / 35%); }
.casino-banner h4 { font-size: 24px; margin: 8px 0 4px; letter-spacing: -0.03em; }
.casino-banner p { color: var(--text-3); max-width: 30em; }
.casino-stats { display: flex; gap: 4px; }
.casino-stats div { background: var(--bg-input); border-radius: var(--r-md); padding: 8px 12px; text-align: center; min-width: 70px; }
.casino-stats b { display: block; font-size: 18px; color: var(--text-1); font-weight: 600; }
.casino-stats span { font-size: 11px; color: var(--text-3); }
.casino-row-head { display: flex; align-items: center; gap: 10px; }
.casino-row-head b { font-weight: 500; color: var(--text-1); }
.casino-row { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.casino-row::-webkit-scrollbar { display: none; }
.ctile { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--bg-elevated); display: grid; align-items: end; padding: 10px; box-shadow: var(--edge); animation: panelIn .3s var(--ease); transition: transform .3s var(--ease); }
.ctile:hover { transform: translateY(-3px) scale(1.02); }
.ctile img { width: 100%; height: 100%; object-fit: cover; }
.ctile span { font-size: 12px; font-weight: 600; color: var(--text-2); line-height: 1.2; }
.ctile.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px #2e3035; align-items: center; text-align: center; }
.ctile.ghost span { color: var(--text-3); font-weight: 500; }

.hybrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--bg-card); box-shadow: var(--edge); border-radius: var(--r-lg); padding: 40px; }

@media (max-width: 960px) {
  .builder, .hybrid { grid-template-columns: 1fr; }
  .casino-body { grid-template-columns: 1fr; }
  .casino-side { display: none; }
  .casino-banner { flex-direction: column; align-items: flex-start; }
  .hybrid { padding: 24px; }
}

.partner-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--bg-card); border-radius: var(--r-lg); padding: 24px 28px; box-shadow: var(--edge-lit); }
.partner-cta b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-1); margin-bottom: 4px; }
.partner-cta span { color: var(--text-3); max-width: 40em; display: block; }
@media (max-width: 860px) { .partner-cta { flex-direction: column; align-items: flex-start; } }

/* Emphasis on a key word */
.em { font-style: normal; color: var(--text-1); text-decoration: underline; text-decoration-color: rgb(var(--glow-rgb) / 75%); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Closing pixel game, scroll-driven */
.pixel-final { position: relative; height: 280vh; margin-top: 40px; }
.pixel-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.pixel-sticky::before { content: ""; position: absolute; inset: 0 0 auto; height: 70%; pointer-events: none; background: radial-gradient(50% 60% at 50% 0%, rgb(var(--glow-rgb) / var(--glow)), transparent 70%); }
/* The home finale stays on the plain background below the press strip. */
.press-section + .pixel-final .pixel-sticky::before { content: none; }
.pixel-sticky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pixel-copy { position: absolute; left: 0; right: 0; top: 12%; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) { .pixel-final { height: 230vh; } }

/* Lobby builder call to action */
.builder-cta { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 16px; background: var(--bg-card);
  box-shadow: inset 0 1px 0 rgb(var(--glow-rgb) / 55%), 0 0 0 1px var(--border), 0 -10px 50px -20px rgb(var(--glow-rgb) / 55%); }
.builder-cta b { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; color: var(--text-1); margin-bottom: 6px; }
.builder-cta span { color: var(--text-3); font-size: 14px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 16px; flex: none; }
@media (max-width: 860px) { .builder-cta { flex-direction: column; align-items: flex-start; padding: 22px; } }

/* Isometric close: the engine's solve readout */
.achv { position: absolute; bottom: 40px; left: 50%; display: flex; align-items: stretch; gap: 1px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--border); box-shadow: var(--edge), 0 12px 40px rgb(0 0 0 / 60%); opacity: 0; white-space: nowrap; }
.achv > span { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 18px; background: rgb(14 15 17 / 94%); }
.achv b { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; color: var(--text-1); font-variant-numeric: tabular-nums; }
.achv small { font-size: 11px; color: var(--text-3); }
.achv .achv-st { flex-direction: row; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--text-2); letter-spacing: .02em; }
.achv-st i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-4); transition: background .3s, box-shadow .3s; }
.achv.done .achv-st { color: var(--text-1); }
.achv.done .achv-st i { background: var(--accent); box-shadow: 0 0 10px rgb(var(--glow-rgb) / 70%); }
.achv.done { box-shadow: var(--edge-lit), 0 12px 40px rgb(0 0 0 / 60%); }
@media (max-width: 560px) { .achv > span { padding: 8px 11px; } .achv b { font-size: 14px; } }
.pixel-copy .h1 { max-width: none; }
@media (max-width: 860px) { .achv { bottom: 24px; } }
.shell-side { scrollbar-width: none; }
.shell-side::-webkit-scrollbar { display: none; }

/* Game card layout fix: fixed rail columns, contained art, actions pinned to the bottom */
.rail { grid-auto-columns: clamp(230px, 22vw, 270px); gap: 16px; }
.gcard { min-width: 0; display: flex; flex-direction: column; }
.gcard .art { display: block; position: relative; }
.gcard .art img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; }
.gcard .art .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.gcard .info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.gcard h3 { min-height: 2.5em; line-height: 1.25; display: flex; align-items: flex-end; }
.gcard .card-actions { margin-top: auto; padding-top: 10px; }

/* Studios: two paths */
.paths { margin: 48px auto 0; max-width: 880px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.path-pick { text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--bg-card); border: 0; border-radius: var(--r-lg); padding: 20px 22px; display: grid; gap: 6px; box-shadow: var(--edge); transition: background-color 200ms, box-shadow 200ms; }
.path-pick b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.path-pick span { font-size: 14px; color: var(--text-3); }
.path-pick:hover { background: var(--bg-card-hover); }
.path-pick[aria-selected="true"] { background: var(--bg-card-hover); box-shadow: var(--edge), 0 0 0 1px rgb(var(--glow-rgb) / 55%), 0 0 32px rgb(var(--glow-rgb) / 18%); }
.path-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.path-panel { margin: 56px auto 0; max-width: 1040px; }
.path-panel .actions { margin-top: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .paths, .grid-2 { grid-template-columns: 1fr; } }
.path-panel[hidden] { display: none; }

/* "Click around" hint on the interactive mock-ups */
.try-wrap { position: relative; }
/* Interactive mock-ups: a quiet 'Live preview' tag in the window's top bar, gone after the first click */
.try-hint { position: absolute; top: 9px; right: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 7px; height: 18px; font-family: Geist Mono, ui-monospace, monospace; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); pointer-events: none; transition: opacity .5s var(--ease); }
.try-hint i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); animation: tryBreathe 2.8s ease-in-out infinite; }
.try-hint em { font-style: normal; color: var(--text-4); padding-left: 9px; margin-left: 2px; box-shadow: inset 1px 0 0 #232428; }
.try-wrap.tried .try-hint { opacity: 0; }
.try-pulse { position: relative; }
.try-pulse::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: 3px; height: 1px; background: var(--text-3); opacity: 0; animation: tryHint 2.8s ease-in-out infinite; }
.try-wrap.tried .try-pulse::after { display: none; }
@keyframes tryBreathe { 50% { opacity: .35; } }
@keyframes tryHint { 0%, 100% { opacity: 0; } 50% { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .try-hint i, .try-pulse::after { animation: none; } }
@media (max-width: 700px) { .try-hint em { display: none; } }

/* Operators: player stat */
.stat-band { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding-block: 72px 24px; max-width: 980px; }
.stat-big { font-size: clamp(96px, 16vw, 200px); font-weight: 600; letter-spacing: -0.06em; line-height: .9; color: var(--text-1); text-shadow: 0 0 60px rgb(var(--glow-rgb) / 35%); }
.stat-big span { color: var(--accent); }
.stat-copy { display: grid; gap: 10px; color: var(--text-3); font-size: 17px; }
.stat-lead { font-size: clamp(22px, 3vw, 30px); color: var(--text-1); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
@media (max-width: 700px) { .stat-band { grid-template-columns: 1fr; gap: 12px; } }

/* Operators: the pile versus the hand-picked set (scroll-driven) */
.pile { position: relative; height: 330vh; --fade: 0; --rise: 0; }
.pile-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding-top: 96px; }
.pile-head { text-align: center; }
.pile-head .sec-h, .pile-sub { display: grid; }
.pile-head .sec-h > span, .pile-sub > span { grid-area: 1 / 1; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pile-head .sec-h > .pile-a { color: var(--text-1); }
.pile-sub { margin-top: 12px; color: var(--text-3); font-size: 17px; }
.pile-b { opacity: 0; transform: translateY(10px); }
.pile.after .pile-a { opacity: 0; transform: translateY(-10px); }
.pile.after .pile-b { opacity: 1; transform: none; }
.pile-head .sec-h > .pile-b { color: var(--text-1); }
.pile-stage { position: relative; display: grid; place-items: center; }
.pile-grid { position: absolute; inset: 24px -40px -40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; align-content: start;
  opacity: calc(1 - var(--fade) * .85); filter: blur(calc(var(--fade) * 4px)) grayscale(1); transform: scale(calc(1 - var(--fade) * .06)); }
.pile-grid i { aspect-ratio: 4 / 5; border-radius: 8px; background: var(--bg-card); display: grid; place-items: end start; padding: 8px; font-style: normal; }
.pile-grid i:nth-child(3n) { background: #16171a; } .pile-grid i:nth-child(5n) { background: #1a1b1e; }
.pile-grid span { font-size: 10px; color: var(--text-4); line-height: 1.2; }
.pile-picks { position: relative; display: flex; gap: 14px; justify-content: center; padding: 0 16px; }
.pile-picks img { width: clamp(96px, 14vw, 190px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px;
  opacity: clamp(0, calc(var(--rise) * 5 - var(--i) * .6), 1); transform: translateY(calc((1 - var(--rise)) * 120px)) rotate(calc((var(--i) - 2) * (1 - var(--rise)) * 6deg));
  box-shadow: 0 0 0 1px rgba(150,190,255,calc(var(--rise) * .6)), 0 20px 60px rgba(0,0,0,.6), 0 0 calc(var(--rise) * 40px) rgb(var(--glow-rgb) / 30%); }
@media (max-width: 700px) { .pile-picks { flex-wrap: wrap; } .pile-picks img { width: 28vw; } }

/* Operators: trailer reel */
.reel { margin-top: 32px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 12px; padding-inline: var(--m, 24px); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.reel::-webkit-scrollbar { display: none; }
.reel-item { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-card); box-shadow: var(--edge); scroll-snap-align: start; }
.reel-item iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.reel-item span { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 14px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: rgba(10,11,13,.7); backdrop-filter: blur(6px); }

/* Operators: tune a game */
.tune { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; }
.tune-ctl { display: grid; gap: 18px; align-content: start; background: var(--bg-card); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--edge); }
.tune-row { display: grid; gap: 8px; }
.tune-row > b { font-size: 13px; font-weight: 500; color: var(--text-3); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { font: inherit; font-size: 14px; color: var(--text-2); background: var(--bg-elevated); border: 0; border-radius: 8px; padding: 8px 12px; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button:hover { color: var(--text-1); }
.seg button[aria-pressed="true"] { color: var(--text-1); background: #1b2230; box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 60%), 0 0 18px rgb(var(--glow-rgb) / 20%); }
.tune-row input { font: inherit; font-size: 14px; color: var(--text-1); background: var(--bg-elevated); border: 0; border-radius: 8px; padding: 10px 12px; }
.tune-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.tune-out { display: grid; grid-template-columns: minmax(0, 200px) 1fr; gap: 20px; align-items: start; background: var(--bg-card); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--edge), 0 0 60px rgb(var(--glow-rgb) / 8%); }
.tune-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; display: block; animation: panelIn .35s var(--ease); }
.tune-spec { display: grid; gap: 12px; align-content: start; }
.tune-brand { font-size: 13px; color: var(--accent); }
.tune-spec h3 { font-size: 24px; letter-spacing: -0.03em; }
.tune-spec dl { display: grid; gap: 8px; }
.tune-spec dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.05); padding-bottom: 8px; }
.tune-spec dt { color: var(--text-3); } .tune-spec dd { color: var(--text-1); text-align: right; }
.tune-ok { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.tune-ok i { width: 8px; height: 8px; border-radius: 50%; background: #e3b341; animation: tryPing 1s infinite; }
.tune-ok.done { color: var(--text-1); } .tune-ok.done i { background: var(--accent); animation: none; box-shadow: 0 0 10px var(--accent); }
@media (max-width: 900px) { .tune { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tune-out { grid-template-columns: 1fr; } .tune-art img { max-width: 220px; } }

/* Operators tuner, redesigned: pick a game by its art, then five numbered choices beside a live card */
.tune { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tune-games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tune-games button { position: relative; font: inherit; color: var(--text-2); background: var(--bg-card); border: 0; border-radius: 12px; padding: 6px 6px 10px; display: grid; gap: 8px; cursor: pointer; text-align: left; box-shadow: var(--edge); transition: background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.tune-games img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; filter: saturate(.5) brightness(.75); transition: filter .25s; }
.tune-games span { font-size: 13px; padding: 0 4px; line-height: 1.25; }
.tune-games em { position: absolute; top: 12px; left: 12px; font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(10,11,13,.8); color: var(--accent); }
.tune-games button:hover img, .tune-games button[aria-pressed="true"] img { filter: none; }
.tune-games button[aria-pressed="true"] { color: var(--text-1); background: var(--bg-card-hover); transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 60%), 0 0 28px rgb(var(--glow-rgb) / 20%); }
.tune-body { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.tune-card { position: sticky; top: 88px; background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--edge), 0 0 60px rgb(var(--glow-rgb) / 10%); }
.tune-art { position: relative; }
.tune-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; animation: panelIn .35s var(--ease); }
.tune-badge { position: absolute; right: 12px; bottom: 12px; font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(10,11,13,.82); color: var(--text-1); box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 50%), 0 0 20px rgb(var(--glow-rgb) / 25%); }
.tune-info { padding: 18px 20px 20px; display: grid; gap: 10px; }
.tune-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent); }
.tune-brand i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.tune-info h3 { font-size: 22px; letter-spacing: -0.03em; }
.tune-sum { font-size: 14px; color: var(--text-3); line-height: 1.5; }
.tune-sum b { color: var(--text-1); font-weight: 500; }
.tune-info .btn { width: 100%; justify-content: center; margin-top: 4px; }
.tune-info .btn:disabled { opacity: .45; cursor: not-allowed; }
.tune-pack { font-size: 13px; color: var(--accent); text-decoration: none; text-align: center; }
.tune-pack:hover { text-decoration: underline; }
.tune-ctl { list-style: none; counter-reset: q; margin: 0; padding: 8px 24px; background: var(--bg-card); border-radius: var(--r-lg); box-shadow: var(--edge); display: grid; }
.tune-ctl li { counter-increment: q; display: grid; grid-template-columns: 28px minmax(0, 200px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.tune-ctl li:last-child { border-bottom: 0; }
.tune-ctl li::before { content: counter(q); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--accent); box-shadow: inset 0 0 0 1px rgb(var(--glow-rgb) / 45%); }
.tune-q { display: grid; gap: 2px; }
.tune-q b { font-size: 15px; font-weight: 500; color: var(--text-1); }
.tune-q span { font-size: 13px; color: var(--text-3); }
.tune-ctl input { font: inherit; font-size: 14px; color: var(--text-1); background: var(--bg-elevated); border: 0; border-radius: 8px; padding: 10px 12px; width: 100%; }
.tune-ctl input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (max-width: 1000px) { .tune-body { grid-template-columns: 1fr; } .tune-card { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .tune-art img { height: 100%; } }
@media (max-width: 700px) {
  .tune-games { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .tune-games button { scroll-snap-align: start; }
  .tune-card { grid-template-columns: 1fr; }
  .tune-ctl { padding: 4px 16px; } .tune-ctl li { grid-template-columns: 26px 1fr; } .tune-ctl li > .seg, .tune-ctl li > input { grid-column: 2; }
}

/* More breathing room around the "Already live on" logos */
.logos { padding-block: 96px 120px; }
.logos-cap { margin-bottom: 36px; }
.logo-track + .logo-track { margin-top: 28px; }
.logos + .final { margin-top: 48px; }
@media (max-width: 700px) { .tune-art img { aspect-ratio: 16 / 9; height: auto; } }

/* Operators: "You decide more than the game" explained, with one quiet graphic */
.decide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.decide-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.decide-list li { display: grid; gap: 6px; padding-left: 22px; position: relative; }
.decide-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.decide-list b { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; color: var(--text-1); }
.decide-list span { color: var(--text-3); line-height: 1.6; }
.decide-vis { position: relative; height: 520px; display: grid; place-items: center; }
.decide-vis::before { content: ""; position: absolute; inset: 10% 15%; background: radial-gradient(closest-side, rgb(var(--glow-rgb) / 18%), transparent); filter: blur(20px); }
.decide-card { position: relative; width: 280px; border-radius: 20px; overflow: hidden; background: var(--bg-card); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px rgba(0,0,0,.6); }
.decide-card img { display: block; width: 100%; height: auto; }
.decide-card p { display: flex; justify-content: space-between; padding: 14px 18px; font-size: 13px; }
.decide-card p span { color: var(--text-3); } .decide-card p b { color: var(--accent); font-weight: 500; }
.decide-chip { position: absolute; display: grid; gap: 2px; min-width: 132px; padding: 12px 16px; border-radius: 14px; background: rgba(18,20,26,.88); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 35%), 0 0 30px rgb(var(--glow-rgb) / 15%), 0 20px 40px rgba(0,0,0,.5); animation: tryBob 5s var(--ease) infinite; }
.decide-chip span { font-size: 12px; color: var(--text-3); }
.decide-chip b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-1); transition: opacity .3s, transform .3s; }
.decide-chip b.out { opacity: 0; transform: translateY(-6px); }
.decide-chip.c1 { top: 70px; left: 2%; }
.decide-chip.c2 { top: 210px; right: 0; animation-delay: -1.6s; }
.decide-chip.c3 { bottom: 70px; left: 6%; animation-delay: -3.2s; }
@media (max-width: 900px) { .decide { grid-template-columns: 1fr; gap: 24px; } .decide-vis { height: 460px; } .decide-card { width: 230px; } .decide-chip { min-width: 112px; padding: 10px 12px; } .decide-chip b { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .decide-chip { animation: none; } }
/* Lobby builder: game names under each tile */
.ctile-w { display: grid; gap: 8px; align-content: start; min-width: 0; }
.ctile-n { font-size: 12px; color: var(--text-2); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Content library picks: hairline gold-white frame, names beneath, centred heading */
.pile-head .sec-h { justify-items: center; text-align: center; max-width: none; }
.pile-picks { gap: 22px; align-items: start; }
.pile-picks figure { margin: 0; width: clamp(110px, 14vw, 200px); display: grid; gap: 14px; text-align: center;
  opacity: clamp(0, calc(var(--rise) * 5 - var(--i) * .6), 1); transform: translateY(calc((1 - var(--rise)) * 120px)) rotate(calc((var(--i) - 2) * (1 - var(--rise)) * 6deg)); }
.pk-art { padding: 1px; border-radius: 16px; background: linear-gradient(160deg, rgba(255,236,200,.75), rgba(255,255,255,.08) 45%, rgba(255,236,200,.35));
  box-shadow: 0 30px 70px rgba(0,0,0,.65), 0 0 calc(var(--rise) * 50px) rgba(255,230,190,.12); }
.pile-picks .pk-art img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 15px; opacity: 1; transform: none; box-shadow: none; }
.pile-picks figcaption { display: grid; gap: 3px; }
.pile-picks figcaption b { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-1); line-height: 1.25; }
.pile-picks figcaption span { font-size: 12px; color: var(--text-3); letter-spacing: .02em; }
@media (max-width: 700px) { .pile-picks figure { width: 28vw; } .pile-picks figcaption b { font-size: 12px; } .pile-picks figcaption span { display: none; } }

/* Lobby builder picker: a compact grid of game art so it balances the lobby preview */
.builder { grid-template-columns: 340px minmax(0, 1fr); }
.pick-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pick-item { padding: 5px 5px 8px; gap: 6px; align-content: start; }
.pick-item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; filter: grayscale(.85) brightness(.6); transition: filter .2s; }
.pick-item[aria-pressed="true"] img { filter: none; }
.pick-item[aria-pressed="true"] { box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 55%); }
.pick-item::before { left: auto; right: 10px; top: 10px; z-index: 1; background: rgba(10,11,13,.6); }
.pick-item b { font-size: 12px; line-height: 1.25; padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-item span { display: none; }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } .pick-list { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); } }
.builder { align-items: stretch; }

/* Operators closing: the content pack opens */
.packx { position: relative; height: 280vh; --shake: 0; --tear: 0; --fan: 0; --copy: 0; --hint: 1; }
.packx-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.packx-sticky::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 55% at 50% 58%, rgba(255,230,190,calc(.05 + var(--fan) * .1)), transparent 70%), radial-gradient(50% 50% at 50% 0%, rgb(var(--glow-rgb) / var(--glow)), transparent 70%); pointer-events: none; }
.packx-stage { position: absolute; inset: 0; display: grid; place-items: center; padding-top: calc(var(--copy) * 34vh); }
.packx-pack { position: relative; width: 240px; height: 340px; z-index: 2;
  transform: translateY(calc(var(--fan) * 60vh)) rotate(calc(sin(var(--shake) * 40rad) * 3deg)) scale(calc(1 - var(--fan) * .1)); opacity: calc(1 - var(--fan)); }
.packx-strip, .packx-body { position: absolute; left: 0; right: 0; border-radius: 18px;
  background: linear-gradient(135deg, #20232b, #121318 40%, #262019 70%, #14151a); box-shadow: 0 0 0 1px rgba(255,236,200,.35), 0 40px 90px rgba(0,0,0,.7), 0 0 calc(30px + var(--shake) * 40px) rgba(255,230,190,calc(.08 + var(--shake) * .15)); }
.packx-strip { top: 0; height: 52px; border-radius: 18px 18px 4px 4px; display: grid; place-items: center; transform-origin: 90% 100%;
  transform: translate(calc(var(--tear) * 140px), calc(var(--tear) * -120px)) rotate(calc(var(--tear) * 38deg)); opacity: calc(1 - var(--tear)); }
.packx-strip span { font-size: 11px; letter-spacing: .08em; color: rgba(255,236,200,.7); }
.packx-strip::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; border-bottom: 1px dashed rgba(255,236,200,.4); }
.packx-body { top: 56px; bottom: 0; border-radius: 4px 4px 18px 18px; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; overflow: hidden; }
.packx-body::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.08) 45%, transparent 60%); transform: translateX(calc(-60% + var(--shake) * 120%)); }
.packx-body img { width: 120px; height: auto; }
.packx-body p { font-size: 12px; letter-spacing: .08em; color: rgba(255,236,200,.75); }
.packx-body b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-1); }
.packx-cards { position: absolute; left: 50%; top: 50%; z-index: 1; }
.packx-cards figure { position: absolute; left: 0; top: 0; margin: 0; width: clamp(120px, 13vw, 190px); display: grid; gap: 12px; text-align: center;
  transform: translate(-50%, -50%) translate(calc(var(--i) * var(--fan) * min(16vw, 220px)), calc(var(--fan) * (-6vh + var(--i) * var(--i) * 1.6vh) + (1 - var(--fan)) * 40px)) rotate(calc(var(--i) * var(--fan) * 6deg)) scale(calc(.7 + var(--fan) * .3));
  opacity: clamp(0, calc(var(--fan) * 3), 1); }
.packx-cards figcaption { font-size: 14px; font-weight: 500; color: var(--text-1); opacity: var(--fan); }
.packx-hint { position: absolute; bottom: 10vh; left: 0; right: 0; text-align: center; font-size: 15px; color: var(--text-3); opacity: var(--hint); }
.packx-copy { position: absolute; left: 0; right: 0; top: 11vh; opacity: var(--copy); transform: translateY(calc((1 - var(--copy)) * 18px)); pointer-events: none; }
.packx-copy .actions { pointer-events: auto; }
.packx-copy .lede { margin-inline: auto; }
@media (max-width: 700px) {
  .packx-pack { width: 180px; height: 260px; }
  .packx-cards figure { width: 22vw; transform: translate(-50%, -50%) translate(calc(var(--i) * var(--fan) * 19vw), calc(var(--fan) * (-2vh + var(--i) * var(--i) * 1vh))) rotate(calc(var(--i) * var(--fan) * 5deg)) scale(calc(.7 + var(--fan) * .3)); }
  .packx-cards figcaption { font-size: 11px; }
  .packx-copy { top: 9vh; }
}
@media (prefers-reduced-motion: reduce) { .packx { height: auto; } .packx-sticky { position: relative; height: 100vh; } }
.packx-cards { top: calc(50% + var(--copy) * 22vh); } .packx-copy { z-index: 3; }

/* Pack cards: rounded, smooth-edged frames (no jagged edges when rotated) */
.packx-cards figure { will-change: transform; backface-visibility: hidden; }
.packx-cards .pk-art { position: relative; border-radius: 18px; padding: 0; overflow: hidden; background: #0d0e11; transform: translateZ(0);
  box-shadow: 0 30px 70px rgba(0,0,0,.65), 0 0 40px rgba(255,230,190,.08); }
.packx-cards .pk-art img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.packx-cards .pk-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,236,200,.28), inset 0 1px 0 rgba(255,255,255,.18);
  background: linear-gradient(150deg, rgba(255,255,255,.14), transparent 35%); }
.packx-cards figcaption { text-shadow: 0 2px 12px rgba(0,0,0,.8); }

/* ---------- Premium round ---------- */
/* Smooth cross-fade between pages (supported browsers; others navigate normally) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
.bar { view-transition-name: site-bar; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Buttons: a slight lift, and the lit edge brightens on hover */
.btn { transition: background-color .2s, box-shadow .25s, transform .25s cubic-bezier(.2,.7,.2,1), color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary:hover { box-shadow: var(--edge-lit), 0 0 0 1px rgb(var(--glow-rgb) / 45%), 0 8px 28px rgb(var(--glow-rgb) / 18%); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* Game cards: the same rounded art, hairline edge and soft sheen as the pack cards */
.gcard { transition: background-color .2s, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.gcard:hover { transform: translateY(-3px); box-shadow: var(--edge), 0 24px 50px rgba(0,0,0,.45); }
.gcard .art { position: relative; margin: 6px 6px 0; border-radius: calc(var(--r-lg) - 4px); overflow: hidden; }
.gcard .art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,236,200,.18), inset 0 1px 0 rgba(255,255,255,.14); background: linear-gradient(150deg, rgba(255,255,255,.10), transparent 35%); }
.ctile { box-shadow: inset 0 0 0 1px rgba(255,236,200,.16), var(--edge); }

/* Home: pricing in one line */
.price-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 96px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--bg-card); box-shadow: var(--edge); }
.price-line p { color: var(--text-3); font-size: 17px; } .price-line b { color: var(--text-1); font-weight: 500; }

/* Founders and team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.person { background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--edge); display: grid; grid-template-rows: auto 1fr; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.person:hover { transform: translateY(-3px); }
.person-img { position: relative; margin: 6px 6px 0; border-radius: calc(var(--r-lg) - 4px); overflow: hidden; aspect-ratio: 1; background: var(--bg-elevated); }
.person-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.25) contrast(1.05); }
.person-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,236,200,.16); background: linear-gradient(180deg, transparent 55%, rgba(10,11,13,.55)); }
.person-info { padding: 16px 18px 20px; display: grid; gap: 6px; align-content: start; }
.person-info h3 { font-size: 18px; letter-spacing: -0.02em; }
.person-role { font-size: 13px; color: var(--accent); }
.person-info > p:not(.person-role) { font-size: 14px; color: var(--text-3); line-height: 1.55; }
.person-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.person-tags span { font-size: 11px; color: var(--text-2); padding: 4px 9px; border-radius: 999px; background: var(--bg-elevated); }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

/* Press: a quiet editorial strip */
.press-section { margin-top: clamp(64px, 8vw, 96px); }
.press-strip { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr); align-items: start; border-block: 1px solid var(--border); padding-block: 28px; }
.press-cap { padding-top: 3px; font: 400 11px/1.6 var(--font-code); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.press-link { display: grid; gap: 9px; min-width: 0; padding-inline: 28px; text-decoration: none; }
.press-link + .press-link { border-left: 1px solid var(--border); }
.press-link b { font-size: 17px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; color: var(--text-2); transition: color .2s; }
.press-link span { max-width: 38ch; font-size: 13px; line-height: 1.7; color: var(--text-3); }
.press-link:hover b { color: var(--text-1); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.press-link:focus-visible { outline-offset: 6px; }
@media (max-width: 700px) {
  .press-strip { grid-template-columns: 1fr; padding-block: 24px; }
  .press-cap { padding: 0 0 22px; }
  .press-link { padding: 0; gap: 7px; }
  .press-link + .press-link { border-left: 0; border-top: 1px solid var(--border); margin-top: 22px; padding-top: 22px; }
}

/* Legal pages */
.legal { max-width: 820px; padding-block: 140px 96px; }
.legal-meta { font-size: 13px; color: var(--text-3); margin-bottom: 12px; }
.legal-body { margin-top: 40px; display: grid; gap: 14px; color: var(--text-2); font-size: 15px; line-height: 1.7; }
.legal-body h2 { margin-top: 28px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-1); scroll-margin-top: 90px; }
.legal-body p.sub { padding-left: 24px; }
.legal-body ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-body b { color: var(--text-1); font-weight: 500; }
.foot-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.nf { min-height: 80vh; display: grid; align-content: center; }
.nf-code { font-size: clamp(96px, 18vw, 220px); font-weight: 600; letter-spacing: -0.06em; line-height: .9; color: var(--text-1); text-shadow: 0 0 60px rgb(var(--glow-rgb) / 35%); margin-bottom: 12px; }
.team-page { padding-top: 140px; }

/* Test view: canvas drop using the game's sprites */
.test-frame .dz-cv { display: block; width: 100%; aspect-ratio: 16 / 9; background: #2a1748; }
.app { position: relative; }
.side-toast { position: absolute; left: 50%; bottom: 18px; translate: -50% 12px; opacity: 0; pointer-events: none; z-index: 6; padding: 10px 16px; border-radius: 12px; font-size: 13px; color: var(--text-1); background: rgba(18,20,26,.95); box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 40%), 0 16px 40px rgba(0,0,0,.5); transition: opacity .3s, translate .3s; white-space: nowrap; }
.side-toast.on { opacity: 1; translate: -50% 0; pointer-events: auto; }
.side-toast a { color: var(--accent); }

/* Test view: the result card over the game art */
.test-frame img { filter: brightness(.55) saturate(.9); }
.test-result { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: min(78%, 360px); display: grid; gap: 6px; justify-items: center; text-align: center;
  padding: 22px 24px; border-radius: 18px; background: rgba(12,13,17,.82); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 35%), 0 0 40px rgb(var(--glow-rgb) / 15%), 0 30px 60px rgba(0,0,0,.5); }
.tr-h { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.tr-h i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.test-result.busy .tr-h i { background: #e3b341; box-shadow: none; animation: tryPing 1s infinite; }
.tr-id { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--text-2); }
.tr-val { font-size: clamp(34px, 5vw, 52px); font-weight: 600; letter-spacing: -0.04em; color: var(--text-1); line-height: 1.05; }
.test-result.busy .tr-val { color: var(--text-4); }
.test-result.done .tr-val { animation: panelIn .4s var(--ease); text-shadow: 0 0 30px rgb(var(--glow-rgb) / 45%); }
.tr-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 22px; }
.tr-tags span { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--text-2); padding: 3px 8px; border-radius: 999px; background: var(--bg-elevated); }
.test-result.busy .tr-tags { opacity: .3; }

/* Team page without photos: name-led cards with a LinkedIn link */
.team-page .person { grid-template-rows: 1fr; }
.team-page .person-info { padding: 26px 24px 24px; gap: 8px; height: 100%; }
.team-page .person-info h3 { font-size: 22px; }
.person-in { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent); text-decoration: none; }
.person-in svg { width: 16px; height: 16px; fill: currentColor; }
.person-in:hover { text-decoration: underline; }

/* Operators close: a wall of games with sample wins popping on them */
.wall-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wall-tile { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-card); box-shadow: var(--edge); color: inherit; text-decoration: none; }
.wall-tile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85) brightness(.82); transition: filter .4s var(--ease), transform .6s var(--ease); }
.wall-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(10 11 13 / 85%), transparent 45%); pointer-events: none; }
.wall-name { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 14px; font-weight: 500; color: var(--text-1); }
.wall-play { position: absolute; right: 12px; bottom: 10px; z-index: 1; font-size: 12px; padding: 4px 10px; border-radius: var(--r-md); background: var(--border); box-shadow: var(--edge-lit); color: var(--text-1); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
a.wall-tile:hover img, a.wall-tile:focus-visible img { filter: none; transform: scale(1.04); }
a.wall-tile:hover .wall-play, a.wall-tile:focus-visible .wall-play { opacity: 1; transform: none; }
.wall-tile.hit { box-shadow: var(--edge-lit), 0 0 40px -8px rgb(var(--glow-rgb) / 55%); }
.wall-tile.hit img { filter: none; }
.wall-win { position: absolute; left: 50%; top: 42%; z-index: 2; transform: translate(-50%, 0); padding: 8px 14px; border-radius: var(--r-md); background: rgb(14 15 17 / 88%); box-shadow: var(--edge-lit); text-align: center; pointer-events: none; animation: wallWin 2.2s var(--ease) forwards; white-space: nowrap; }
.wall-win b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-1); font-variant-numeric: tabular-nums; }
.wall-win small { font-size: 11px; color: var(--accent); }
@keyframes wallWin { 0% { opacity: 0; transform: translate(-50%, 16px) scale(.85); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1); } 75% { opacity: 1; transform: translate(-50%, -6px); } 100% { opacity: 0; transform: translate(-50%, -18px); } }
.wall-feed { margin-top: 10px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--bg-card); box-shadow: var(--edge); font-size: 13px; color: var(--text-2); overflow: hidden; white-space: nowrap; }
.wall-feed b { font-weight: 500; color: var(--text-1); }
.wall-feed em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--text-4); }
.wall-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgb(var(--glow-rgb) / 70%); flex: none; animation: wallPulse 1.6s ease-in-out infinite; }
@keyframes wallPulse { 50% { opacity: .35; } }
.wall-ticker { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wall-ticker i { font-style: normal; color: var(--text-1); }
.wall-cta { margin-top: 24px; }
@media (max-width: 860px) { .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wall-feed em { display: none; } }

/* Operators close: game characters fly in from the edges and land around the call to action */
.finale { position: relative; height: 320vh; }
.finale-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.finale-copy { position: relative; z-index: 2; max-width: 640px; padding-inline: 24px; }
.finale-copy .h1 { margin-inline: auto; max-width: none; }
.finale-copy .h1 span { color: var(--text-3); }
.finale-copy .lede { margin: 18px auto 0; }
.finale-copy .actions { justify-content: center; margin-top: 28px; }
.finale-char { --p: 1; position: absolute; left: var(--x); top: var(--y); width: var(--s); z-index: 1;
  transform: translate(-50%, -50%) translate(calc(var(--dx) * (1 - var(--p))), calc(var(--dy) * (1 - var(--p)))) rotate(calc(var(--r) * (1 - var(--p)))) scale(calc(.6 + .4 * var(--p)));
  opacity: calc(var(--p) * 1.4); }
.finale-char img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px var(--border), 0 0 0 5px rgb(14 15 17), 0 20px 50px -10px rgb(0 0 0 / 80%); }
.finale-char.landed img { box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 55%), 0 0 0 5px rgb(14 15 17), 0 0 40px -6px rgb(var(--glow-rgb) / 45%), 0 20px 50px -10px rgb(0 0 0 / 80%); animation: finaleBob 3.2s ease-in-out infinite; animation-delay: calc(var(--d) * 8s); }
.finale-char i { position: absolute; left: 50%; top: 100%; margin-top: 10px; transform: translateX(-50%); font-style: normal; font-size: 12px; color: var(--text-3); white-space: nowrap; opacity: 0; transition: opacity .4s; }
.finale-char.landed i { opacity: 1; }
@keyframes finaleBob { 50% { transform: translateY(-8px); } }
@media (max-width: 860px) { .finale-char { width: calc(var(--s) * .55); } .finale-char i { display: none; } }
@media (prefers-reduced-motion: reduce) { .finale { height: auto; } .finale-stage { position: relative; min-height: 100vh; } }

/* Hero: brand headline */
.hero-eyebrow { font-size: 14px; color: var(--text-3); margin-bottom: 18px; letter-spacing: .01em; }



/* Home hero: the words land first, then ice-blue light pours in through angled glass behind them (after Raycast) */
.js .ray-hero .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rayCopy .9s var(--ease) forwards; }
.js .ray-hero .hero-copy > :nth-child(2) { animation-delay: .1s; } .js .ray-hero .hero-copy > :nth-child(3) { animation-delay: .25s; } .js .ray-hero .hero-copy > :nth-child(4) { animation-delay: .4s; }
@keyframes rayCopy { to { opacity: 1; transform: none; } }
.ray-hero .maths-bg { z-index: 0; }
@media (prefers-reduced-motion: reduce) { .js .ray-hero .hero-copy > * { opacity: 1; transform: none; animation: none; } }
/* Home hero: outcomes rain down through invisible pegs and pile up into the distribution they make */
.rain-cv { position: absolute; left: 0; top: 0; width: 100%; height: 640px; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent); }
.ray-hero .maths-bg { opacity: .8; }
.ray-hero.glow::before { opacity: .35; }
.rain-cv { opacity: .75; }

/* Platform hero: the outcome graph sits centred in a band of its own under the buttons */
.rain-stage { height: 300px; }
.rain-cv.rain-center { height: 1000px; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 860px) { .rain-stage { height: 220px; } }

/* Platform close: a ball bounces down a faint peg board and lands on the Start building button */
.drop-final { position: relative; padding-block: 260px 240px; cursor: pointer; overflow: hidden; }
.drop-final .wrap { position: relative; z-index: 1; }
.drop-final a, .drop-final button { cursor: pointer; }
.drop-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.drop-final .btn-primary.hit { animation: dropHit .9s var(--ease); }
@keyframes dropHit { 0% { transform: translateY(0); } 18% { transform: translateY(3px); box-shadow: var(--edge-lit), 0 0 0 1px rgb(48 118 255 / 90%), 0 0 34px rgb(48 118 255 / 55%); } 100% { transform: none; } }
@media (max-width: 860px) { .drop-final { padding-top: 220px; } }

/* Operators hero: a faint casino lobby drifts behind the headline; now and then one game lights up as new or exclusive */
.lobby-bg { position: absolute; inset: 0 0 auto; height: 640px; z-index: 0; overflow: hidden; pointer-events: none; display: grid; align-content: start; gap: 14px; padding-top: 70px; opacity: .4;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 12%, transparent 34%, transparent 66%, #000 88%, #000), linear-gradient(180deg, #000 60%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 0, #000 12%, transparent 34%, transparent 66%, #000 88%, #000), linear-gradient(180deg, #000 60%, transparent); mask-composite: intersect; }
.lobby-row { display: flex; width: max-content; animation: lobbyDrift 120s linear infinite; }
.lobby-row:nth-child(even) { animation-direction: reverse; animation-duration: 150s; }
.lobby-row > div { display: flex; gap: 14px; padding-right: 14px; }
.lobby-row i { position: relative; width: 150px; aspect-ratio: 4 / 5; border-radius: var(--r-md); background-size: cover; background-position: center; filter: grayscale(1) brightness(.26); transition: filter 1.4s var(--ease), box-shadow 1.4s var(--ease); }
.lobby-row i.lit { filter: grayscale(0) brightness(.85); box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 45%), 0 0 40px -8px rgb(var(--glow-rgb) / 40%); }
.lobby-row i::after { content: attr(data-tag); position: absolute; left: 8px; top: 8px; font: 500 10px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--text-1); background: rgb(8 9 10 / 80%); padding: 4px 6px; border-radius: 4px; opacity: 0; transition: opacity .8s; }
.lobby-row i.lit::after { opacity: 1; }
@keyframes lobbyDrift { to { transform: translateX(-50%); } }
@media (max-width: 860px) { .lobby-row i { width: 110px; } }
@media (prefers-reduced-motion: reduce) { .lobby-row { animation: none; } }

/* Operators: the attention-economy story before the closing contact */
.attn-kicker { font: 500 11px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.attn .card small { display: block; font: 400 11px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.attn-mail { margin-top: 22px; font-size: 14px; color: var(--text-3); }

/* Operators pile: our titles colour up and glow out of the grey mass as you scroll */
.pile-grid { opacity: 1; filter: none; transform: none; inset: 24px -40px -40px; }
.pile-grid i { transition: opacity .2s linear; }
.pile-grid i:not(.ours) { opacity: calc(1 - var(--fade) * .75); filter: blur(calc(var(--fade) * 2px)); }
.pile-grid i.ours { position: relative; z-index: 1; background-size: cover; background-position: center; background-color: var(--bg-card);
  --on: clamp(0, calc(var(--rise) * 4 - var(--d) * .35), 1);
  filter: grayscale(calc(1 - var(--on))) brightness(calc(.45 + var(--on) * .6));
  transform: scale(calc(1 + var(--on) * .14));
  box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / calc(var(--on) * 70%)), 0 0 calc(var(--on) * 44px) rgb(var(--glow-rgb) / calc(var(--on) * 45%)), 0 16px 40px rgb(0 0 0 / calc(var(--on) * 60%)); }
.pile-grid i.ours span { color: var(--text-1); opacity: var(--on); text-shadow: 0 1px 6px #000; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .pile-grid i.ours { --on: 1; } }

/* Scroll-lit heading: the grey words light up one by one as the section scrolls through */
[data-scrolllit] .w { font-style: normal; transition: color .35s var(--ease); }
[data-scrolllit] span .w { color: var(--text-3); }
[data-scrolllit] span .w.on { color: var(--text-1); }

/* Operators: player retention */
.ret-grid-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ret-fig { margin: 0; padding: 22px 22px 14px; border-radius: var(--r-lg); background: var(--bg-card); box-shadow: var(--edge); }
.ret-legend { display: flex; gap: 18px; align-items: center; font-size: 12px; color: var(--text-2); margin-bottom: 10px; }
.ret-legend i { display: inline-block; width: 14px; height: 2px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.ret-legend .lb { background: #3076ff; } .ret-legend .ls { background: var(--text-4); }
.ret-legend em { margin-left: auto; font-style: normal; font: 400 10px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); }
.ret-chart { width: 100%; height: auto; display: block; overflow: visible; }
.ret-grid line { stroke: rgb(255 255 255 / 5%); stroke-width: 1; }
.ret-x text { fill: var(--text-4); font: 400 10px Geist Mono, ui-monospace, monospace; text-anchor: middle; }
.ret-slot, .ret-burst { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }
.ret-slot { stroke: var(--text-4); stroke-width: 1.6; }
.ret-burst { stroke: #3076ff; stroke-width: 2.2; filter: drop-shadow(0 0 6px rgb(48 118 255 / 50%)); }
.ret-dot { fill: #3076ff; opacity: clamp(0, calc(var(--draw, 0) * 10 - 9), 1); filter: drop-shadow(0 0 8px rgb(48 118 255 / 80%)); }
.ret-fig figcaption { margin-top: 4px; text-align: center; font-size: 11px; color: var(--text-4); }
.ret-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ret-points b { display: block; font-weight: 500; color: var(--text-1); margin-bottom: 4px; }
.ret-points span { color: var(--text-3); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) { .ret-grid-wrap { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ret-slot, .ret-burst { stroke-dashoffset: 0; } .ret-dot { opacity: 1; } [data-scrolllit] span .w { color: var(--text-1); } }

/* Retention: more room, and a player's journey instead of a chart */
.ret { padding-block: 40px 56px; }
.ret .ret-grid-wrap { margin-top: 56px; gap: 56px; }
.ret-journey { position: relative; padding: 26px 28px 30px; --prog: 0; }
.ret-journey .ret-legend span { color: var(--text-1); font-weight: 500; }
.jr { list-style: none; margin: 22px 0 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 26px; }
.jr::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: rgb(255 255 255 / 8%); }
.jr::after { content: ""; position: absolute; left: 7px; top: 6px; width: 1px; height: calc((100% - 12px) * var(--prog)); background: #3076ff; box-shadow: 0 0 8px rgb(48 118 255 / 70%); }
.jr li { position: relative; --on: clamp(0, calc(var(--prog) * 4 - var(--i) + .2), 1); opacity: calc(.35 + var(--on) * .65); transition: opacity .3s; }
.jr li i { position: absolute; left: -29px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg-card); box-shadow: 0 0 0 1px rgb(255 255 255 / 18%); }
.jr li i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #3076ff; opacity: var(--on); box-shadow: 0 0 10px rgb(48 118 255 / 80%); }
.jr li b { display: block; font: 400 11px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.jr li span { color: var(--text-1); font-size: 15px; line-height: 1.5; }
.jr-token { position: absolute; left: 22px; top: calc(66px + (100% - 120px) * var(--prog)); width: 30px; height: 30px; object-fit: cover; object-position: 50% 25%; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 3px #3076ff, 0 0 16px rgb(48 118 255 / 60%); opacity: clamp(0, calc(var(--prog) * 8), 1); pointer-events: none; }

/* Operators contact: our characters peek up over the bottom edge, and take turns saying something */
.peek-final { position: relative; overflow: hidden; padding-bottom: 210px; }
.peek-row { position: absolute; left: 0; right: 0; bottom: -46px; display: flex; justify-content: center; gap: clamp(14px, 4vw, 56px); pointer-events: none; }
.peek { position: relative; width: clamp(84px, 11vw, 138px); transform: translateY(100%); transition: transform .9s cubic-bezier(.2, 1.4, .4, 1); transition-delay: calc(var(--i) * 120ms); }
.peek-final.in .peek { transform: translateY(0); }
.peek img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px 22px 0 0; filter: saturate(.9) brightness(.9); box-shadow: 0 0 0 1px var(--border), 0 -10px 40px rgb(0 0 0 / 50%); }
.peek-final.in .peek img { animation: peekBob 3.4s ease-in-out infinite; animation-delay: calc(1s + var(--i) * .5s); }
@keyframes peekBob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-7px) rotate(-2deg); } 60% { transform: translateY(-2px) rotate(1.5deg); } }
.peek em { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 6px); font-style: normal; font-size: 12px; font-weight: 500; white-space: nowrap; color: var(--text-1);
  background: #15161a; padding: 7px 11px; border-radius: 10px; box-shadow: var(--edge-lit); opacity: 0; transition: opacity .35s, transform .35s; }
.peek em::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #15161a; }
.peek.talk em { opacity: 1; transform: translate(-50%, 0); }
.peek.talk img { filter: none; box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / 55%), 0 -10px 40px rgb(0 0 0 / 50%), 0 0 30px -6px rgb(var(--glow-rgb) / 45%); }
@media (max-width: 700px) { .peek:nth-child(n+4) { display: none; } .peek em { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .peek { transform: none; transition: none; } .peek-final.in .peek img { animation: none; } }

/* Journey token is now a glowing marker, not a game tile */
span.jr-token { border-radius: 50%; width: 18px; height: 18px; left: 28px; background: radial-gradient(circle, #fff 0, #3076ff 45%, rgb(48 118 255 / 0) 70%); box-shadow: 0 0 18px rgb(48 118 255 / 80%); }

/* Operators close: a signal on the horizon. Light streaks race in from the vanishing point, the future arriving fast */
.horizon-final { position: relative; overflow: hidden; padding-block: 150px 300px; }
.horizon-final .wrap { position: relative; z-index: 1; }
.horizon-final .h1 { max-width: 16ch; margin-inline: auto; }
.horizon-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@media (max-width: 860px) { .horizon-final { padding-bottom: 220px; } }

/* Operators close: flying through the stars, picking up what the future of the lobby is made of */
.horizon-final { padding-block: 150px 170px; }

/* Home hero: a light "who are you" chooser, never a gate */
.who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.who a { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 11px 16px; border-radius: var(--r-lg); background: rgb(14 15 17 / 70%); box-shadow: var(--edge); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.who a:hover, .who a:focus-visible { box-shadow: var(--edge-lit); transform: translateY(-1px); }
.who small { font: 400 10px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); grid-column: 1; }
.who b { grid-column: 1; font-weight: 500; color: var(--text-1); margin-top: 5px; }
.who i { grid-column: 2; grid-row: 1 / 3; font-style: normal; color: var(--text-3); transition: transform .2s, color .2s; }
.who a:hover i { transform: translateX(3px); color: var(--accent); }

/* Operators: both kinds of content up front */
.offer-tags { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.offer-tags span { font: 500 11px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); padding: 6px 10px; border-radius: 999px; box-shadow: var(--edge); background: rgb(14 15 17 / 70%); }
.offer { padding-block: 24px 40px; }
.offer-card { text-decoration: none; color: inherit; display: grid; gap: 8px; transition: box-shadow .2s, transform .2s; }
.offer-card:hover { box-shadow: var(--edge-lit); transform: translateY(-2px); }
.offer-card small { font: 400 11px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.offer-card span { margin-top: 6px; font-size: 14px; color: var(--accent); }

/* Home: the main buttons sit under the interactive preview; the hero keeps just the two paths */
.app-after { display: grid; justify-items: center; gap: 18px; margin-top: 18px; }
.app-after .app-note { margin: 0; }
.app-after .actions { justify-content: center; }

.offer-first { font-style: normal; font-size: 13px; color: var(--text-3); }
.offer-first b { font-weight: 500; color: var(--text-1); }

/* The stronger blue, used sparingly alongside ice-blue: links, live states, focus and key highlights */
.link { color: var(--blue); }
.link:hover { color: var(--accent); }
.chipd.ok::before, .chipd.ok i { background: var(--blue) !important; }
.who a:hover i, .offer-card span { color: var(--blue); }
.offer-card:hover { box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 45%), 0 0 30px -10px rgb(var(--blue-rgb) / 50%); }
.btn-primary:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sec-h span::selection, ::selection { background: rgb(var(--blue-rgb) / 40%); }
.jr::after, .jr li i::after, span.jr-token { background-color: var(--blue); }
.offer-tags span:last-child { color: var(--text-1); box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 50%); }

/* Platform close: the pin field fades in from the section above */
.drop-cv { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 220px); mask-image: linear-gradient(180deg, transparent 0, #000 220px); }

/* Get in touch: pick creators or operators, then the matching form */
.path-pick { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.path-pick button { text-align: left; display: grid; gap: 6px; padding: 20px 22px; border: 0; border-radius: var(--r-lg); background: var(--bg-card); box-shadow: var(--edge); color: var(--text-2); cursor: pointer; font: inherit; transition: box-shadow .2s; }
.path-pick button small { font: 400 11px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); }
.path-pick button b { font-size: 17px; font-weight: 500; color: var(--text-1); }
.path-pick button span { font-size: 13px; color: var(--text-3); }
.path-pick button[aria-selected="true"] { box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 60%), 0 0 30px -12px rgb(var(--blue-rgb) / 60%); }
.path-pick button[aria-selected="true"] small { color: var(--blue); }
.path-pick + .form, .path-pick ~ .form { margin-top: 12px; }
@media (max-width: 700px) { .path-pick { grid-template-columns: 1fr; } }
.form[hidden] { display: none; }

/* Mobile menu: a burger in the top bar opens a full-screen menu */
.burger { display: none; width: 40px; height: 38px; border: 0; border-radius: var(--r-md); background: var(--bg-input); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px; background: var(--text-1); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 22px; }
.burger[aria-expanded="true"] i:first-child { top: 18.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 18.5px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 60px 0 0; z-index: 49; background: rgb(8 9 10 / 97%); backdrop-filter: blur(14px); padding: 28px var(--m) 40px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto; animation: menuIn .25s var(--ease); }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; color: var(--text-1); padding: 14px 0; box-shadow: inset 0 -1px 0 var(--border); text-decoration: none; }
.mobile-menu nav a[aria-current] { color: var(--accent); }
.mobile-menu-cta { display: grid; gap: 8px; }
.mobile-menu-cta .btn { height: 46px; font-size: 15px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .burger { display: block; } .bar-cta .btn-primary { display: none; } }
body.menu-open { overflow: hidden; }

/* Operators: an eye watches the visitor beside the attention heading */
.attn-sec { position: relative; }
.attn-eye { position: absolute; top: 40px; right: max(var(--m), 2vw); width: clamp(220px, 24vw, 340px); pointer-events: none; filter: drop-shadow(0 0 28px rgb(var(--blue-rgb) / 35%)); }
.attn-eye svg { width: 100%; height: auto; display: block; overflow: visible; }
.eye-outline { fill: rgb(14 15 17 / 90%); stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; }
.eye-lash { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; transform-origin: 160px 100px; transition: opacity .3s; }
.iris-ring { fill: none; stroke: rgb(255 255 255 / 25%); stroke-width: 1.5; }
.iris-lines line { stroke: rgb(255 255 255 / 18%); stroke-width: 1.2; }
.attn-eye [data-lid] { transform-origin: 160px 100px; transform: scaleY(.02); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.attn-eye.open [data-lid] { transform: scaleY(1); }
.attn-eye.blink [data-lid] { transform: scaleY(.04); transition-duration: .09s; }
.attn-eye .eye-lash { opacity: 0; } .attn-eye.open .eye-lash { opacity: 1; } .attn-eye.blink .eye-lash { opacity: .3; }
.attn-eye [data-iris] { transition: transform .18s ease-out; }
@media (max-width: 1000px) { .attn-eye { position: relative; top: auto; right: auto; width: 180px; margin: 0 0 18px; } }
@media (prefers-reduced-motion: reduce) { .attn-eye [data-lid] { transform: scaleY(1); transition: none; } .attn-eye .eye-lash { opacity: 1; } }
.attn-eye .eye-outline { transform-origin: 160px 100px; transform: scaleY(.02); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.attn-eye.open .eye-outline { transform: scaleY(1); }
.attn-eye.blink .eye-outline { transform: scaleY(.04); transition-duration: .09s; }
@media (prefers-reduced-motion: reduce) { .attn-eye .eye-outline { transform: scaleY(1); transition: none; } }

/* Operators: "Attention" glows blue and flickers now and then, like a sign catching the eye */
.glow-word { font-style: normal; color: #dbe7ff; text-shadow: 0 0 10px rgb(var(--blue-rgb) / 90%), 0 0 26px rgb(var(--blue-rgb) / 70%), 0 0 60px rgb(var(--blue-rgb) / 45%); animation: glowFlicker 6s infinite; }
@keyframes glowFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; text-shadow: 0 0 10px rgb(var(--blue-rgb) / 90%), 0 0 26px rgb(var(--blue-rgb) / 70%), 0 0 60px rgb(var(--blue-rgb) / 45%); }
  20%, 24%, 55% { opacity: .55; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .glow-word { animation: none; } }
/* Swoop tiles with a demo open it on click */
a.swoop-tile { position: relative; text-decoration: none; color: inherit; cursor: pointer; }
a.swoop-tile em { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 11px; padding: 4px 8px; border-radius: var(--r-md); background: rgb(8 9 10 / 85%); color: var(--text-1); box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 60%); opacity: 0; transition: opacity .2s; }
a.swoop-tile:hover em, a.swoop-tile:focus-visible em { opacity: 1; }
a.swoop-tile:hover img { box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 60%), 0 0 30px -8px rgb(var(--blue-rgb) / 60%); }

/* Operators retention: Randy gameplay loops, with captions taking turns */
.randy-reel { position: relative; margin: 48px 0 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--edge); background: #000; aspect-ratio: 16 / 9; }
.randy-reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.randy-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / 55%)); pointer-events: none; }
.randy-caps { position: absolute; left: 24px; bottom: 26px; z-index: 1; display: grid; }
.randy-caps span { grid-area: 1 / 1; justify-self: start; font-size: clamp(14px, 1.6vw, 18px); font-weight: 500; color: var(--text-1); padding: 10px 16px; border-radius: 999px; background: rgb(8 9 10 / 78%); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 60%), 0 0 30px -8px rgb(var(--blue-rgb) / 70%); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.randy-caps span.on { opacity: 1; transform: none; }
.randy-tag { position: absolute; right: 18px; top: 14px; z-index: 1; margin: 0; font: 400 10px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / 70%); text-shadow: 0 1px 4px #000; }
@media (max-width: 700px) { .randy-caps { left: 12px; bottom: 14px; } }
.attn-eye { right: 0; top: 70px; width: clamp(200px, 20vw, 300px); }
@media (max-width: 1000px) { .attn-eye { right: auto; top: auto; } }

/* Platform hero: one click, every variant */
.variant-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.variant-panel { background: rgb(14 15 17 / 92%); border-radius: var(--r-lg); box-shadow: var(--edge), 0 30px 80px -30px rgb(0 0 0 / 90%); padding: 18px; font-size: 13px; position: relative; z-index: 1; }
.vp-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.vp-head b { font-weight: 500; color: var(--text-1); } .vp-head span { font: 400 10px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--text-4); }
.vp-row { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1fr; gap: 8px; align-items: center; padding: 11px 12px; border-radius: var(--r-md); color: var(--text-2); transition: background .4s; }
.vp-row + .vp-row { margin-top: 4px; }
.vp-row:not(.vp-cols) { background: var(--bg-input); }
.vp-row b { font-weight: 500; color: var(--text-1); font-variant-numeric: tabular-nums; }
.vp-cols { font: 400 10px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--text-4); padding-block: 4px; }
.vp-st { font-size: 12px; color: var(--text-4); }
.vp-row.busy .vp-st { color: var(--text-2); } .vp-row.busy .vp-st::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; border: 1.5px solid var(--text-3); border-top-color: transparent; animation: vpSpin .7s linear infinite; vertical-align: -1px; }
.vp-row.done { background: rgb(var(--blue-rgb) / 9%); box-shadow: inset 0 0 0 1px rgb(var(--blue-rgb) / 30%); }
.vp-row.done .vp-st { color: var(--blue); }
.vp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.vp-foot button { font: 500 13px Geist, sans-serif; color: var(--text-1); background: #1d1e21; border: 0; border-radius: var(--r-md); padding: 9px 14px; box-shadow: var(--edge-lit); cursor: default; transition: transform .12s; }
.vp-foot button.press { transform: scale(.95); box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 80%), 0 0 24px rgb(var(--blue-rgb) / 50%); }
.vp-foot span { font: 400 11px Geist Mono, ui-monospace, monospace; color: var(--blue); opacity: 0; transition: opacity .4s; } .vp-foot span.on { opacity: 1; }
@keyframes vpSpin { to { transform: rotate(360deg); } }
@media (max-width: 960px) { .variant-wrap { grid-template-columns: 1fr; gap: 28px; } }

/* Platform: scroll-through explainer, steps on the left, the matching screen sticks on the right */
.feat-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; margin-top: 56px; }
.feat-steps { list-style: none; margin: 0; padding: 0; }
.feat-steps li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .4s; }
.feat-steps li.on { opacity: 1; }
.feat-steps small { font: 400 11px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.feat-steps h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; margin-bottom: 12px; }
.feat-steps p { color: var(--text-3); font-size: 16px; line-height: 1.6; max-width: 34em; }
.feat-stage { position: sticky; top: 16vh; align-self: start; }
.feat-frame { position: relative; border-radius: 14px; background: #0b0c0e; box-shadow: 0 0 0 1px var(--border), 0 30px 80px -30px rgb(0 0 0 / 90%); height: 430px; overflow: hidden; }
.feat-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #0c0d0e; box-shadow: inset 0 -1px 0 #17181a; }
.feat-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2b2f; }
.feat-bar span { margin: 0 auto; font-size: 11px; color: var(--text-4); transform: translateX(-20px); }
.feat-panel { position: absolute; inset: 34px 0 0; padding: 26px; display: flex; flex-direction: column; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.feat-panel.on { opacity: 1; transform: none; }
.feat-foot { margin-top: auto; font: 400 11px Geist Mono, ui-monospace, monospace; color: var(--blue); }
.feat-note { margin-top: 10px; font-size: 12px; color: var(--text-4); }
.fx-code { margin: 0; font: 400 13px/1.7 Geist Mono, ui-monospace, monospace; color: var(--text-2); white-space: pre; overflow: hidden; }
.fx-code .k { color: #8fb4ff; } .fx-code .f { color: #e6e9ef; } .fx-code .s { color: #9fd3a8; } .fx-code .n { color: #f2c38b; } .fx-code .c { color: var(--text-4); } .fx-code .p { color: #8fb4ff; } .fx-code .v { color: #c7b6ff; }
.fx-graph { position: relative; flex: 1; }
.fx-graph svg { position: absolute; inset: 0; width: 100%; height: 100%; } .fx-graph path { fill: none; stroke: rgb(var(--blue-rgb) / 60%); stroke-width: .6; vector-effect: non-scaling-stroke; stroke-width: 1.4; }
.fg-node { position: absolute; transform: translateY(-50%); background: var(--bg-input); border-radius: var(--r-md); padding: 10px 12px; box-shadow: var(--edge); display: grid; gap: 3px; min-width: 120px; z-index: 1; }
.fg-node b { font-weight: 500; font-size: 13px; color: var(--text-1); } .fg-node span { font-size: 11px; color: var(--text-3); }
.fg-node.lit { box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 60%), 0 0 24px -6px rgb(var(--blue-rgb) / 60%); }
.fx-table { display: grid; gap: 4px; font-size: 13px; }
.ft-row { display: grid; grid-template-columns: 1fr 1fr 1.3fr .8fr; gap: 8px; padding: 12px; border-radius: var(--r-md); background: rgb(var(--blue-rgb) / 8%); box-shadow: inset 0 0 0 1px rgb(var(--blue-rgb) / 25%); color: var(--text-2); }
.ft-row b { font-weight: 500; color: var(--text-1); } .ft-ok { color: var(--blue); }
.ft-h { background: none; box-shadow: none; font: 400 10px/1 Geist Mono, ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--text-4); padding-block: 4px; }
.fx-bars { flex: 1; display: flex; align-items: flex-end; gap: 5px; padding-bottom: 14px; box-shadow: inset 0 -1px 0 rgb(255 255 255 / 10%); }
.fx-bars i { flex: 1; height: var(--h); min-height: 3px; border-radius: 2px 2px 0 0; background: rgb(255 255 255 / 8%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%); }
.fx-flow { flex: 1; display: grid; align-content: center; gap: 0; }
.fx-flow div { padding: 14px 16px; border-radius: var(--r-md); background: var(--bg-input); box-shadow: var(--edge); display: grid; gap: 3px; }
.fx-flow div:first-child { box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 60%), 0 0 24px -6px rgb(var(--blue-rgb) / 60%); }
.fx-flow b { font-weight: 500; color: var(--text-1); } .fx-flow span { font-size: 12px; color: var(--text-3); }
.fx-flow i { width: 1px; height: 22px; margin-left: 24px; background: rgb(var(--blue-rgb) / 60%); }
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; gap: 0; }
  .feat-stage { top: 70px; z-index: 2; margin-bottom: 20px; order: -1; }
  .feat-frame { height: 300px; } .fx-code { font-size: 11px; }
  .feat-steps li { min-height: 55vh; }
}

/* Operators retention: the Randy clip sits in the right column, above the points */
.ret-side { display: grid; gap: 28px; }
.ret-side .randy-reel { margin: 0; }
.ret-side .ret-points { gap: 18px; }
.ret-side .randy-caps span { font-size: 14px; padding: 8px 13px; }
.ret-grid-wrap:has(.ret-side) { align-items: stretch; }
.ret-side .randy-reel { height: 100%; aspect-ratio: auto; min-height: 280px; }
.vp-foot button { cursor: pointer; animation: vpPulse 2.4s ease-in-out infinite; } .vp-foot button:hover { background: #26282c; }
@keyframes vpPulse { 50% { box-shadow: var(--edge-lit), 0 0 0 4px rgb(var(--blue-rgb) / 18%); } }
.vp-foot span { font-size: 12px; }
.fx-code { font-size: 12.5px; line-height: 1.65; }

/* Platform explainer: small tool interfaces instead of code */
.ui-sim { flex: 1; display: grid; align-content: center; gap: 16px; }
.ui-card { background: var(--bg-input); border-radius: var(--r-md); box-shadow: var(--edge); padding: 18px; display: grid; gap: 4px; }
.ui-card > b { font-weight: 500; color: var(--text-1); } .ui-card > span { font-size: 12px; color: var(--text-3); }
.ui-prog { height: 6px; border-radius: 6px; background: rgb(255 255 255 / 6%); margin: 14px 0 12px; overflow: hidden; }
.ui-prog i { display: block; height: 100%; width: 100%; background: var(--blue); border-radius: 6px; }
.feat-panel.on .ui-prog i { animation: uiFill 1.6s var(--ease) both; } @keyframes uiFill { from { width: 0; } }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-stats small { display: block; font-size: 11px; color: var(--text-4); } .ui-stats b { font-weight: 500; color: var(--text-1); font-size: 15px; } .ui-stats b.ok { color: var(--blue); }
.ui-btn { justify-self: start; font: 500 13px Geist, sans-serif; color: var(--text-1); background: #1d1e21; border: 0; border-radius: var(--r-md); padding: 9px 14px; box-shadow: 0 0 0 1px rgb(var(--blue-rgb) / 70%), 0 0 22px -6px rgb(var(--blue-rgb) / 70%); }
.ui-opts { display: grid; gap: 8px; margin-top: 12px; } .ui-opts div { padding: 12px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--border); display: grid; gap: 2px; }
.ui-opts div.sel { box-shadow: inset 0 0 0 1px rgb(var(--blue-rgb) / 70%); background: rgb(var(--blue-rgb) / 8%); }
.ui-opts b { font-weight: 500; font-size: 13px; color: var(--text-1); } .ui-opts span { font-size: 12px; color: var(--text-3); }
.ui-bal { flex: 1; display: flex; flex-direction: column; }
.ui-bal-head { display: flex; justify-content: space-between; margin-bottom: 14px; } .ui-bal-head b { font-weight: 500; color: var(--text-1); } .ui-bal-head span { font: 400 11px Geist Mono, monospace; color: var(--text-3); }
.ui-bal-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-4); margin-top: 8px; }
.fx-bars i.lift { background: rgb(var(--blue-rgb) / 35%); box-shadow: inset 0 1px 0 var(--blue); }
.feat-panel.on .fx-bars i { animation: uiGrow .8s var(--ease) both; } @keyframes uiGrow { from { height: 3px; } }
.ui-app { flex: 1; display: flex; flex-direction: column; position: relative; margin: -26px -26px 0; }
.ui-menu { display: flex; gap: 2px; padding: 6px 10px; box-shadow: inset 0 -1px 0 #17181a; font-size: 12px; color: var(--text-3); }
.ui-menu span { padding: 5px 9px; border-radius: 5px; } .ui-menu span.open { background: rgb(var(--blue-rgb) / 18%); color: var(--text-1); }
.ui-drop { position: absolute; left: 150px; top: 36px; z-index: 2; width: 260px; background: #15161a; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--border), 0 20px 40px -10px #000; padding: 5px; font-size: 12.5px; color: var(--text-2); }
.ui-drop div { padding: 8px 10px; border-radius: 5px; } .ui-drop div.hi { background: var(--blue); color: #fff; }
.ui-app .fx-table { padding: 110px 26px 0; }
@media (max-width: 600px) { .ui-drop { left: 20px; } .ui-menu span:nth-child(5) { display: none; } }

.ui-gen { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ui-gen-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ui-gen-head b { font-weight: 500; color: var(--text-1); } .ui-gen-head span { font-size: 12px; color: var(--text-3); }
.ui-gen-head em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--text-1); margin-left: 6px; }
.ui-gen canvas { flex: 1; width: 100%; min-height: 0; display: block; }

/* Home: one opening message, then a separate product preview. */
.home-hero { min-height: 100vh; min-height: 100svh; padding-block: clamp(120px, 15vh, 168px) 80px; display: grid; align-items: center; isolation: isolate; }
.home-hero-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px); }
.home-hero .lin-h1 { max-width: 14ch; font-size: clamp(40px, 5.2vw, 72px); }
.home-hero .lede { max-width: 32em; }
.home-hero > .rain-cv, .home-hero > .maths-bg { height: 100%; }
.home-graph { height: clamp(360px, 48vh, 500px); min-width: 0; }
.platform-preview { padding-top: clamp(56px, 7vw, 96px); }
.preview-intro { max-width: 42em; }
.preview-intro p { margin-top: 14px; font-size: 17px; color: var(--text-3); }
.platform-preview .shell { margin-top: 32px; }
@media (max-width: 899px) {
  .home-hero { min-height: 0; padding-block: 120px 32px; }
  .home-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-hero .lin-h1 { max-width: 17ch; font-size: clamp(40px, 7vw, 64px); }
  .home-graph { height: 280px; }
}

.licence-line { margin-top: 28px; color: var(--text-3); font-size: 17px; } .licence-line b { color: var(--text-1); font-weight: 500; }
