/* FITTS: UX laws you can feel. Signal yellow, black ink, one electric blue for targets and the cursor. */
:root {
  --y: #ffe14d;
  --y2: #f3d23a;
  --k: #0b0b0b;
  --k2: #1c1c1c;
  --b: #2440ff;
  --ln: rgba(11, 11, 11, .16);
  --lnD: rgba(255, 225, 77, .2);
  --disp: 'Darker Grotesque', 'Arial Narrow', sans-serif;
  --mono: 'Kode Mono', ui-monospace, monospace;
  --pad: clamp(16px, 3vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; overflow-x: clip; }
body {
  background: var(--y); color: var(--k);
  font-family: var(--disp); font-weight: 600; font-size: 21px; line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
::selection { background: var(--b); color: var(--y); }
:focus-visible { outline: 3px solid var(--b); outline-offset: 3px; }
html.has-cur, html.has-cur * { cursor: none !important; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.mono b { font-weight: 700; }
.blue { color: var(--b); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h1, .h2, .h3 { font-family: var(--disp); font-weight: 900; text-transform: uppercase; margin: 0; letter-spacing: -.035em; }
.h1 { font-size: clamp(72px, min(14.5vw, 19.5svh), 250px); line-height: .76; }
.h2 { font-size: clamp(54px, 9vw, 150px); line-height: .8; }
.h3 { font-size: clamp(34px, 4.2vw, 64px); line-height: .82; }
.ln { padding-bottom: .04em; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--k); color: var(--y); padding: 6px 10px 5px; border-radius: 4px; }
.chip.b { background: var(--b); color: #fff; }
.chip.o { background: transparent; color: var(--k); box-shadow: inset 0 0 0 2px var(--k); }
.sticker { display: inline-block; transform: rotate(-4deg); background: var(--k); color: var(--y); padding: 8px 12px 6px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 26px; border-radius: 999px; background: var(--k); color: var(--y);
  text-decoration: none; font-family: var(--disp); font-weight: 900; font-size: 24px; text-transform: uppercase; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate;
}
.btn > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; pointer-events: none; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--b); border-radius: inherit; transform: scale(0); transition: transform .45s cubic-bezier(.16, 1, .3, 1); z-index: 0; }
.btn:hover::before { transform: scale(1.02); }
.btn:hover { color: #fff; }
.btn.ghost { background: transparent; color: var(--k); box-shadow: inset 0 0 0 3px var(--k); }
.btn.ghost:hover { color: #fff; box-shadow: none; }
.btn.blue { background: var(--b); color: #fff; }
.btn.blue::before { background: var(--k); }
.btn.sm { min-height: 44px; font-size: 19px; padding: 0 18px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.arr { width: 18px; height: 18px; }

/* ---------- header ---------- */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 60; pointer-events: none; }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--pad); }
.hd a, .hd button, .hd .hd-r { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 900; font-size: 30px; letter-spacing: -.03em; line-height: 1; background: var(--y); padding: 4px 10px 4px 4px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--k); }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 2px; background: var(--k); border-radius: 999px; padding: 4px; }
.nav a { position: relative; display: block; text-decoration: none; color: var(--y); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 9px 14px 8px; border-radius: 999px; overflow: hidden; }
.nav a.on { background: var(--y); color: var(--k); }
.roll { display: block; height: 1.3em; overflow: hidden; line-height: 1.3; }
.roll > span { display: block; }
.hd-r { display: flex; gap: 6px; align-items: center; }
.hd-r .chip { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.hd-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--b); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 720px) {
  .hd-in { padding: 10px 12px; gap: 6px; }
  .logo { font-size: 24px; padding-right: 8px; }
  .logo svg { width: 24px; height: 24px; }
  .nav a { padding: 8px 9px 7px; font-size: 11px; letter-spacing: .02em; }
  .hd-r { display: none; }
}

/* ---------- cursor ---------- */
.cur { position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: 0; }
.cur > * { position: absolute; top: 0; left: 0; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--b); }
.cur-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.cur-ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--b); }
.cur-ring.fill i { background: var(--b); border-color: var(--b); }
.cur-lab { margin: -10px 0 0 -40px; width: 80px; text-align: center; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; opacity: 0; }
.cur-k { width: 14px; height: 14px; border: 0 solid var(--b); opacity: 0; }
.cur-k.k0 { border-width: 3px 0 0 3px; } .cur-k.k1 { border-width: 3px 3px 0 0; } .cur-k.k2 { border-width: 0 0 3px 3px; } .cur-k.k3 { border-width: 0 3px 3px 0; }
.cur-w { font-family: var(--mono); font-size: 10px; font-weight: 700; color: #fff; background: var(--b); padding: 2px 5px 1px; opacity: 0; white-space: nowrap; }
.pop { position: fixed; z-index: 190; pointer-events: none; font-family: var(--mono); font-size: 12px; font-weight: 700; background: var(--b); color: #fff; padding: 4px 7px 3px; white-space: nowrap; letter-spacing: .03em; }
.pop small { opacity: .75; font-size: 10px; margin-left: 4px; }
.burst { position: fixed; z-index: 189; pointer-events: none; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 3px solid var(--b); }

/* ---------- HUD: your Fitts curve ---------- */
.hud {
  position: fixed; right: 14px; top: 76px; z-index: 70; width: 238px; background: var(--k); color: var(--y);
  border-radius: 14px; padding: 10px 12px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 0 0 2px var(--k);
}
.hud-top { display: flex; align-items: baseline; gap: 6px; }
.hud-top .k { opacity: .6; }
.hud-spd { font-size: 20px; font-weight: 700; letter-spacing: 0; min-width: 4ch; }
.hud-tg { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--y); color: var(--k); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.hud-tg svg { width: 12px; height: 12px; }
.hud-meter { height: 4px; background: rgba(255, 225, 77, .15); margin: 6px 0 8px; border-radius: 2px; overflow: hidden; }
.hud-meter i { display: block; height: 100%; background: var(--b); transform-origin: 0 50%; transform: scaleX(0); }
.hud-plot { width: 100%; height: auto; overflow: visible; }
.hud-plot .ax { stroke: rgba(255, 225, 77, .35); stroke-width: 1; fill: none; }
.hud-plot .gr { stroke: rgba(255, 225, 77, .1); stroke-width: 1; }
.hud-plot text { fill: rgba(255, 225, 77, .6); font-family: var(--mono); font-size: 8px; }
.hud-plot .dt { fill: var(--y); }
.hud-plot .dt.new { fill: var(--b); }
.hud-plot .fit { stroke: var(--b); stroke-width: 3; fill: none; stroke-linecap: round; }
.hud-row { display: flex; justify-content: space-between; gap: 6px; margin-top: 6px; white-space: nowrap; }
.hud-row b { color: #fff; }
.hud-more { display: none; }
.hud.big { width: min(460px, calc(100vw - 28px)); }
.hud.big .hud-more { display: block; }
.hud-more p { font-family: var(--disp); font-size: 17px; line-height: 1.2; text-transform: none; letter-spacing: 0; font-weight: 600; margin: 10px 0 8px; color: var(--y); }
.hud-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.hud-stats div { background: rgba(255, 225, 77, .08); padding: 6px 8px; border-radius: 6px; }
.hud-stats b { display: block; font-size: 16px; color: #fff; }
.hud-act { display: flex; gap: 8px; margin-top: 8px; }
.hud-act button { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--y); color: var(--y); }
.hud-act button:hover { background: var(--y); color: var(--k); }
@media (max-width: 720px) {
  .hud { left: 10px; right: auto; top: auto; bottom: 10px; width: 168px; padding: 8px 10px; border-radius: 12px; }
  .hud:not(.big) .hud-plot, .hud:not(.big) .hud-row .eq { display: none; }
  .hud-spd { font-size: 16px; }
  .hud.big { width: calc(100vw - 20px); }
}

/* ---------- preloader: CRT power on and off ---------- */
.pre { position: fixed; inset: 0; z-index: 300; background: var(--k); color: var(--y); clip-path: inset(0 0 0 0); }
.pre-in { position: absolute; inset: 0; display: grid; place-items: center; }
.pre-top { position: absolute; top: 18px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; }
.pre-bot { position: absolute; bottom: 18px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; }
.pre-c { position: relative; width: min(56vw, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.pre-c svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pre-c circle, .pre-c path { fill: none; stroke: var(--b); stroke-width: 3; }
.pre-c .x { stroke: var(--y); stroke-width: 1.5; opacity: .5; }
.pre-n { position: relative; font-weight: 900; font-size: clamp(110px, 22vw, 200px); line-height: .8; height: .8em; overflow: hidden; }
.pre-n span { display: block; text-align: center; }
html.wiping .pre { display: none; }

/* ---------- page wipe ---------- */
.wipe { position: fixed; inset: 0; z-index: 290; background: var(--b); color: #fff; visibility: hidden; clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); }
html.wiping .wipe { visibility: visible; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.wipe-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: var(--pad); text-align: center; }
.wipe-t { font-weight: 900; font-size: clamp(64px, 14vw, 220px); line-height: .78; text-transform: uppercase; letter-spacing: -.035em; }
.wipe-m { display: flex; gap: 16px; }

/* ---------- velocity marquee ---------- */
.marq { position: relative; background: var(--k); color: var(--y); overflow: hidden; padding: 14px 0 10px; border-block: 3px solid var(--k); }
.marq-t { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.marq-t span { font-weight: 900; font-size: clamp(44px, 7vw, 110px); line-height: .8; text-transform: uppercase; letter-spacing: -.02em; padding-right: .4em; display: inline-flex; align-items: center; gap: .4em; }
.marq-t i { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--b); }
.marq-v { position: absolute; right: 12px; top: 6px; z-index: 2; background: var(--y); color: var(--k); padding: 3px 7px 2px; }

/* ---------- footer ---------- */
.ft { background: var(--k); color: var(--y); padding: clamp(60px, 9vw, 120px) 0 120px; position: relative; z-index: 2; }
.ft-big { font-weight: 900; font-size: clamp(70px, 14vw, 230px); line-height: .76; text-transform: uppercase; letter-spacing: -.04em; }
.ft-big .blue { color: var(--b); }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 60px; }
.ft-cols a { display: block; text-decoration: none; font-weight: 800; font-size: 26px; line-height: 1.15; }
.ft-cols a:hover { color: #fff; }
.ft-cols .mono { display: block; opacity: .6; margin-bottom: 12px; }
.ft-note { font-size: 19px; margin: 0; max-width: 34ch; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 60px; padding-top: 18px; border-top: 2px solid var(--lnD); opacity: .7; }
@media (max-width: 720px) { .ft-cols { grid-template-columns: 1fr; } }

/* ---------- toast ---------- */
.toast { position: fixed; right: 14px; bottom: 14px; z-index: 120; background: var(--k); color: var(--y); padding: 12px 16px; border-radius: 12px; max-width: min(340px, calc(100vw - 28px)); font-size: 18px; transform: translateY(160%); opacity: 0; }
.toast .mono { display: block; color: #8fa0ff; margin-bottom: 2px; }
@media (max-width: 720px) { .toast { bottom: 76px; right: 10px; } }

/* =================== INDEX =================== */
.hero { position: relative; min-height: 100svh; padding-top: 84px; padding-bottom: 40px; display: flex; flex-direction: column; overflow: hidden; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(18px, 3vw, 34px); }
.hero-meta .chip { font-size: 11px; }
.hero h1 { position: relative; z-index: 1; }
.hero h1 .row { display: block; }
.hero h1 .dot { display: inline-block; width: .19em; height: .19em; border-radius: 50%; background: var(--b); vertical-align: baseline; margin-left: .03em; position: relative; }
.hero h1 .dot::after { content: ''; position: absolute; inset: -.12em; border-radius: 50%; border: .03em solid var(--b); }
.hero-ring { position: absolute; right: -8vw; top: 6vh; width: min(70vw, 760px); aspect-ratio: 1; z-index: 0; pointer-events: none; }
.hero-ring circle { fill: none; stroke: var(--k); stroke-width: 1.4; }
.hero-ring circle.b { stroke: var(--b); stroke-width: 3; }
.hero-ring path { stroke: var(--k); stroke-width: 1.4; fill: none; }
.hero-low { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); margin-top: clamp(26px, 4vw, 46px); align-items: end; }
.lede { font-size: clamp(22px, 2vw, 28px); line-height: 1.12; max-width: 30ch; margin: 0 0 22px; font-weight: 700; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.toss { position: relative; }
.toss-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.toss-row { display: flex; gap: clamp(6px, 1vw, 12px); }
.tile { flex: 1 1 0; aspect-ratio: 1; max-width: 140px; background: var(--k); color: var(--y); border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: clamp(54px, 7vw, 112px); line-height: 1; padding-bottom: .12em; touch-action: none; user-select: none; position: relative; z-index: 3; }
.tile:nth-child(3) { background: var(--b); color: #fff; }
@media (max-width: 860px) { .hero-low { grid-template-columns: 1fr; } .hero-ring { right: -40vw; top: 18vh; width: 120vw; } }

/* pinned scenes */
.sc { position: relative; }
.pin { position: relative; height: 100svh; overflow: hidden; }
.pin-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; padding-bottom: 24px; z-index: 1; }
.sc-tag { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

.sc1 .world { position: absolute; inset: 0; background: var(--k); color: var(--y); clip-path: circle(46px at 50% 50%); z-index: 1; }
.s1-under { position: absolute; left: 0; right: 0; top: calc(50% + 100px); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sc1 .ring0 { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; border: 3px solid var(--b); }
.law > span { display: block; }
.law > .law-top { display: flex; }
.sc1-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: center; margin-top: clamp(10px, 2vw, 26px); }
.stage { width: 100%; height: auto; overflow: visible; }
.stage .rl { stroke: currentColor; stroke-width: 2; }
.stage .rt { stroke: currentColor; stroke-width: 2; }
.stage text { font-family: var(--mono); font-size: 14px; fill: currentColor; letter-spacing: .04em; }
.stage .path { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 6 8; opacity: .5; }
.stage .trail { fill: none; stroke: var(--b); stroke-width: 4; stroke-linecap: round; }
.stage .tg circle { fill: var(--b); }
.stage .tg .rg { fill: none; stroke: var(--b); stroke-width: 3; }
.stage .st { stroke: currentColor; stroke-width: 3; }
.stage .ghost { fill: #fff; stroke: var(--k); stroke-width: 2; }
.formula { font-weight: 900; font-size: clamp(30px, 3.6vw, 56px); line-height: .9; text-transform: uppercase; letter-spacing: -.02em; margin: 10px 0 14px; }
.formula sub { font-size: .45em; }
.reads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.reads > div { border: 2px solid currentColor; border-radius: 10px; padding: 8px 10px; }
.reads b { display: block; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: 0; margin-top: 3px; white-space: nowrap; }
.reads .hot { background: var(--b); border-color: var(--b); color: #fff; }
.idg { width: 100%; height: auto; overflow: visible; margin-top: 12px; }
.idg .ax { stroke: currentColor; stroke-width: 1.5; fill: none; opacity: .7; }
.idg .gr { stroke: currentColor; opacity: .12; }
.idg .cv { stroke: var(--b); stroke-width: 4; fill: none; stroke-linecap: round; }
.idg .dot { fill: var(--b); }
.idg .drop { stroke: var(--b); stroke-width: 1.5; stroke-dasharray: 3 4; }
.idg text { font-family: var(--mono); font-size: 10px; fill: currentColor; opacity: .75; }
.caps { position: relative; height: 1.1em; overflow: hidden; font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); margin-top: 10px; }
.caps span { position: absolute; left: 0; top: 0; white-space: nowrap; }
@media (max-width: 860px) {
  .sc1-grid { grid-template-columns: 1fr; gap: 8px; }
  .reads { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .reads > div { padding: 6px 6px; border-radius: 8px; font-size: 10px; }
  .reads b { font-size: 18px; }
  .idg { max-height: 22svh; margin-top: 6px; }
  .formula { margin: 4px 0 8px; }
  .caps { display: none; }
}

.sc2 { background: var(--y); }
.sc2 .ghostn { position: absolute; right: -2vw; bottom: -6vh; font-weight: 900; font-size: clamp(220px, 46vw, 760px); line-height: .75; color: transparent; -webkit-text-stroke: 2px var(--k); opacity: .16; z-index: 0; pointer-events: none; letter-spacing: -.05em; }
.sc2-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 44px); margin-top: clamp(10px, 2vw, 26px); align-items: start; }
.menu-p { background: var(--k); color: var(--y); border-radius: 16px; padding: 12px; clip-path: inset(0 0 72% 0 round 16px); }
.menu-h { display: flex; justify-content: space-between; padding: 4px 4px 10px; }
.menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.menu li { background: rgba(255, 225, 77, .08); border-radius: 7px; padding: 7px 8px 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu li.t { background: var(--b); color: #fff; }
.hick-c svg { width: 100%; height: auto; overflow: visible; }
.hick-c .ax { stroke: var(--k); stroke-width: 1.5; fill: none; }
.hick-c .gr { stroke: var(--k); opacity: .12; }
.hick-c .lin { stroke: var(--k); stroke-width: 2.5; fill: none; stroke-dasharray: 7 7; opacity: .45; }
.hick-c .cv { stroke: var(--b); stroke-width: 5; fill: none; stroke-linecap: round; }
.hick-c .dot { fill: var(--b); stroke: var(--y); stroke-width: 3; }
.hick-c text { font-family: var(--mono); font-size: 10px; fill: var(--k); }
.hick-r { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.hick-r > div { border: 2px solid var(--k); border-radius: 10px; padding: 8px 10px; }
.hick-r b { display: block; font-size: clamp(22px, 2.6vw, 36px); margin-top: 2px; }
.hick-r .hot { background: var(--k); color: var(--y); }
.hick-note { font-size: clamp(19px, 1.6vw, 23px); margin: 12px 0 0; max-width: 40ch; }
@media (max-width: 860px) {
  .sc2-grid { grid-template-columns: 1fr; gap: 10px; }
  .menu li { font-size: 10px; padding: 5px 5px 4px; }
  .menu { gap: 3px; }
  .hick-c svg { max-height: 20svh; }
  .hick-note { display: none; }
  .hick-r { margin-top: 6px; }
  .hick-r > div { padding: 5px 8px; }
}

/* law cards */
.laws { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 120px); }
.laws-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(26px, 4vw, 50px); }
.laws-h p { max-width: 34ch; margin: 0; font-size: 22px; }
.lgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.law { position: relative; text-align: left; display: flex; flex-direction: column; min-height: 400px; padding: 16px; border-radius: 18px; color: var(--k); isolation: isolate; }
.law .shell { position: absolute; inset: 0; border-radius: 18px; background: var(--y); box-shadow: inset 0 0 0 3px var(--k); z-index: -1; }
.law:nth-child(4n+2) .shell, .law:nth-child(4n+4) .shell { background: var(--y2); }
.law-top { display: flex; justify-content: space-between; align-items: center; }
.law-n { font-family: var(--mono); font-weight: 700; font-size: 13px; }
.law-demo { margin: 14px 0; aspect-ratio: 16 / 10; width: 100%; }
.law-demo svg { width: 100%; height: 100%; overflow: visible; }
.law-name { font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 3.3vw, 54px); line-height: .8; letter-spacing: -.03em; margin: auto 0 8px; }
.law-one { font-size: 19px; line-height: 1.15; margin: 0; }
.law-open { margin-top: 12px; }
.law:hover .shell { background: var(--k); }
.law:hover { color: var(--y); }
.law:hover .law-open { background: var(--y); color: var(--k); }
@media (max-width: 1100px) { .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lgrid { grid-template-columns: 1fr; } .law { min-height: 0; } }

/* demo svg shared look */
.dm .k { fill: currentColor; }
.dm .ks { stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dm .bl { fill: var(--b); }
.dm .bls { stroke: var(--b); fill: none; stroke-width: 4; stroke-linecap: round; }
.dm .o { fill: none; stroke: currentColor; stroke-width: 2.5; }
.dm text { font-family: var(--mono); font-size: 11px; fill: currentColor; letter-spacing: .03em; }
.dm .bt { fill: #fff; }

/* law detail overlay */
.lo { position: fixed; inset: 0; z-index: 80; display: none; padding: 80px var(--pad) 24px; }
.lo.on { display: block; }
.lo-scrim { position: absolute; inset: 0; background: rgba(11, 11, 11, .55); opacity: 0; }
.lo-card { position: relative; height: 100%; max-width: 1300px; margin: 0 auto; color: var(--y); padding: clamp(18px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 50px); overflow: auto; overscroll-behavior: contain; isolation: isolate; }
.lo-card .shell { position: absolute; inset: 0; border-radius: 22px; background: var(--k); z-index: -1; }
.lo-x { position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--y); color: var(--k); display: grid; place-items: center; z-index: 2; }
.lo-x svg { width: 18px; height: 18px; }
.lo-l .law-n { color: var(--y); }
.lo-name { font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 8vw, 130px); line-height: .78; letter-spacing: -.035em; margin: 10px 0 18px; }
.lo-rule { font-size: clamp(22px, 2vw, 30px); line-height: 1.12; font-weight: 700; margin: 0 0 18px; max-width: 30ch; }
.lo-f { display: inline-block; font-family: var(--mono); font-size: 14px; background: var(--b); color: #fff; padding: 8px 12px 7px; border-radius: 6px; }
.lo-demo { aspect-ratio: 16 / 10; width: 100%; color: var(--y); }
.lo-demo svg { width: 100%; height: 100%; overflow: visible; }
.lo-blocks { display: grid; gap: 10px; margin-top: 18px; }
.lo-blocks div { border-top: 2px solid var(--lnD); padding-top: 10px; }
.lo-blocks p { margin: 4px 0 0; font-size: 20px; line-height: 1.2; }
.lo-go { margin-top: 18px; }
.lo-go .btn { background: var(--y); color: var(--k); }
@media (max-width: 860px) { .lo { padding: 66px 10px 10px; } .lo-card { grid-template-columns: 1fr; padding-top: 60px; } }

/* =================== ARCADE =================== */
.ph { padding-top: 110px; padding-bottom: 30px; }
.ph-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.ph p { max-width: 36ch; margin: 0; font-size: 22px; }
.sel { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 26px 0 16px; }
.tl { position: relative; text-align: left; padding: 10px 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--k); min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; }
.tl b { font-weight: 900; font-size: 26px; line-height: .85; text-transform: uppercase; letter-spacing: -.02em; display: block; margin-top: 6px; }
.tl .hs { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; opacity: .7; margin-top: 8px; }
.tl.on { color: #fff; }
.tl.on .hs { opacity: .85; }
.selF { position: absolute; inset: 0; border-radius: 12px; background: var(--b); z-index: -1; }
.tl { isolation: isolate; }
@media (max-width: 1100px) { .sel { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sel { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tl { min-height: 84px; } .tl b { font-size: 23px; } }

.cab { background: var(--k); color: var(--y); border-radius: 22px; padding: clamp(14px, 2.4vw, 30px); margin-bottom: 80px; }
.cab-body { clip-path: inset(0 0 0 0); }
.cab-h { display: flex; justify-content: space-between; align-items: start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cab-h h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 7vw, 108px); line-height: .78; letter-spacing: -.035em; margin: 6px 0 0; }
.cab-how { max-width: 38ch; font-size: 20px; margin: 0; }
.cab-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.arena { position: relative; min-height: 440px; background: var(--k2); border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--lnD); }
.arena-c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.arena .hudl { position: absolute; left: 12px; top: 10px; right: 12px; display: flex; justify-content: space-between; color: var(--y); pointer-events: none; z-index: 2; }
.res { background: rgba(255, 225, 77, .06); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.res h3 { margin: 0; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: .85; }
.res svg { width: 100%; height: auto; overflow: visible; }
.res .ax { stroke: rgba(255, 225, 77, .5); stroke-width: 1.2; fill: none; }
.res .gr { stroke: rgba(255, 225, 77, .1); }
.res text { font-family: var(--mono); font-size: 9px; fill: rgba(255, 225, 77, .7); }
.res .dt { fill: var(--y); }
.res .fit, .res .cv { stroke: var(--b); stroke-width: 4; fill: none; stroke-linecap: round; }
.res .bar { fill: var(--y); }
.res .bar.b { fill: var(--b); }
.res .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.res .stats div { background: rgba(255, 225, 77, .08); border-radius: 8px; padding: 7px 9px; }
.res .stats b { display: block; font-size: 22px; color: #fff; font-family: var(--mono); letter-spacing: 0; }
.res p { margin: 0; font-size: 18px; line-height: 1.2; }
.res .best { color: #fff; }
.tgt { position: absolute; border-radius: 50%; background: var(--b); box-shadow: 0 0 0 4px rgba(36, 64, 255, .25); }
.tgt::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; background: #fff; }
.go { background: var(--y); color: var(--k); }
.go::before { background: var(--b); }
.mitems { position: absolute; inset: 46px 12px 12px; display: grid; gap: 6px; align-content: center; }
.mitems button { background: rgba(255, 225, 77, .1); color: var(--y); border-radius: 8px; padding: 9px 6px 8px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mitems button:hover { background: var(--b); color: #fff; }
.find { font-family: var(--mono); background: var(--y); color: var(--k); padding: 3px 8px 2px; border-radius: 4px; }
.dbtn { width: min(42%, 220px); aspect-ratio: 1; border-radius: 50%; background: var(--y); color: var(--k); font-weight: 900; font-size: 64px; display: grid; place-items: center; position: relative; }
.dbtn .lamp { position: absolute; inset: -10px; border-radius: 50%; border: 5px solid var(--b); opacity: 0; transform: scale(.8); }
.drow { display: flex; justify-content: center; gap: clamp(16px, 5vw, 60px); width: 100%; }
.wlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 520px); }
.wlist span { background: rgba(255, 225, 77, .1); border-radius: 8px; padding: 10px 12px 9px; font-weight: 800; font-size: 24px; text-transform: uppercase; text-align: left; }
.wlist span.iso { background: var(--b); color: #fff; transform: rotate(-3deg); }
.pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
.pick button { background: rgba(255, 225, 77, .1); border-radius: 8px; padding: 9px 4px 8px; font-weight: 800; font-size: 19px; text-transform: uppercase; color: var(--y); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick button.on { background: var(--y); color: var(--k); }
.pick button.ok { box-shadow: inset 0 0 0 3px var(--b); }
.pick button.miss { opacity: .35; }
.flash { font-weight: 900; font-size: clamp(56px, 9vw, 120px); line-height: .8; text-transform: uppercase; }
.digits { font-family: var(--mono); font-size: clamp(30px, 5vw, 56px); letter-spacing: .08em; font-weight: 700; }
.fld { display: flex; flex-direction: column; gap: 4px; text-align: left; width: 100%; }
.fld input { background: var(--y); color: var(--k); border: 0; border-radius: 8px; padding: 12px; font-family: var(--mono); font-size: 18px; width: 100%; }
.fld small { font-family: var(--mono); font-size: 10px; opacity: .65; letter-spacing: .03em; }
.form { display: grid; gap: 10px; width: min(100%, 420px); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chips button { padding: 12px 16px 10px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--y); font-weight: 900; font-size: 22px; text-transform: uppercase; }
.chips button.on { background: var(--y); color: var(--k); }
.mock { position: absolute; inset: 40px 12px 12px; background: #f4f1e6; border-radius: 10px; color: var(--k); }
.mock .ic { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 10px; color: var(--k); }
.mock .ic svg { width: 26px; height: 26px; }
.mock .ic:hover { background: var(--b); color: #fff; }
.mock .sk { position: absolute; background: rgba(11, 11, 11, .1); border-radius: 6px; }
.err { color: #ff8a8a; }
.shake { animation: none; }
@media (max-width: 860px) {
  .cab-grid { grid-template-columns: 1fr; }
  .arena { min-height: 400px; }
  .pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pick button { font-size: 16px; }
  .wlist span { font-size: 19px; padding: 8px 10px 7px; }
  .mitems button { font-size: 10px; padding: 7px 3px 6px; }
}

/* =================== AUDIT =================== */
.au-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 18px; }
.score { display: flex; gap: 6px; }
.score .chip { font-family: var(--mono); font-size: 12px; }
.tog { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--k); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.tog i { position: relative; width: 50px; height: 28px; border-radius: 999px; background: var(--k); }
.tog i::after { content: ''; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--y); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.tog[aria-pressed="true"] i { background: var(--b); }
.tog[aria-pressed="true"] i::after { transform: translateX(22px); }
.au-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-bottom: 90px; }
.dev { background: var(--k); border-radius: 26px; padding: 10px; }
.co { background: #fbf9f1; color: #1b1b1b; border-radius: 18px; padding: 18px; font-family: 'Darker Grotesque', sans-serif; font-weight: 600; font-size: 18px; position: relative; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head head" "sum contact" "sum form" "totals ship" "promo card" "trust pay"; align-items: start; }
.co.fixed { grid-template-areas: "head head" "contact sum" "form sum" "ship totals" "card promo" "pay trust"; }
.co > * { min-width: 0; }
.co .z { position: relative; border-radius: 12px; padding: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); text-align: left; display: block; width: 100%; }
.co .z.tagged { box-shadow: 0 0 0 3px var(--b); }
.co .z.no { box-shadow: 0 0 0 3px #1b1b1b; }
.co .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; opacity: .55; display: block; margin-bottom: 6px; }
.co .fake { display: block; background: #f1efe6; border-radius: 6px; padding: 8px 10px 7px; font-family: var(--mono); font-size: 13px; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co .row { display: flex; justify-content: space-between; gap: 8px; font-size: 17px; line-height: 1.5; }
.co .row b { font-weight: 800; }
.co .tot { font-weight: 900; }
.co .bd { font-family: var(--mono); font-size: 9px; background: #1b1b1b; color: #ffe14d; padding: 1px 4px; margin-left: 4px; border-radius: 3px; vertical-align: middle; }
.z-head { grid-area: head; } .z-sum { grid-area: sum; } .z-totals { grid-area: totals; } .z-contact { grid-area: contact; } .z-form { grid-area: form; } .z-ship { grid-area: ship; } .z-promo { grid-area: promo; } .z-card { grid-area: card; } .z-pay { grid-area: pay; } .z-trust { grid-area: trust; }
.headr { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.co:not(.fixed) .headr { flex-direction: row-reverse; }
.steps { display: flex; gap: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.steps span { padding: 5px 8px 4px; background: #f1efe6; border-radius: 999px; }
.steps span.now { background: #1b1b1b; color: #fff; }
.co:not(.fixed) .steps { flex-direction: row-reverse; justify-content: flex-end; }
.brand { font-weight: 900; font-size: 26px; letter-spacing: -.02em; }
.opts { display: grid; gap: 4px; }
.opt { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.1; }
.opt i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 2px #1b1b1b; flex: none; }
.opt.sel i { background: #1b1b1b; }
.paybig { display: block; text-align: center; background: var(--b); color: #fff; font-weight: 900; font-size: 24px; text-transform: uppercase; padding: 12px; border-radius: 10px; }
.paytiny { font-family: var(--mono); font-size: 9px; text-decoration: underline; }
.cancelbig { display: block; text-align: center; background: #1b1b1b; color: #fff; font-weight: 900; font-size: 24px; text-transform: uppercase; padding: 14px; border-radius: 10px; margin-bottom: 6px; }
.spin { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #1b1b1b; border-right-color: transparent; vertical-align: -1px; margin-right: 6px; }
.co .fx { display: none; }
.co.fixed .fx { display: block; }
.co.fixed .br { display: none; }
.co .fx.inl, .co .br.inl { display: none; }
.co.fixed .fx.inl { display: inline; }
.co:not(.fixed) .br.inl { display: inline; }
.co.fixed .opt.extra { display: none; }
.co.fixed .row.extra { display: none; }
.stamp { position: absolute; right: -8px; top: -10px; background: var(--b); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 700; padding: 4px 7px 3px; border-radius: 4px; transform: rotate(4deg); pointer-events: none; z-index: 3; white-space: nowrap; }
.tagger { position: fixed; left: 0; top: 0; z-index: 95; width: 270px; background: var(--k); color: var(--y); border-radius: 14px; padding: 10px; display: none; }
.tagger.on { display: block; }
.tagger .mono { display: block; padding: 2px 4px 8px; opacity: .7; }
.tagger button { display: flex; width: 100%; justify-content: space-between; text-align: left; padding: 8px 10px 7px; border-radius: 8px; font-weight: 800; font-size: 19px; text-transform: uppercase; line-height: 1; }
.tagger button:hover { background: var(--b); color: #fff; }
.tagger button span { font-family: var(--mono); font-size: 10px; opacity: .6; }
.tagger .none { box-shadow: inset 0 0 0 1.5px var(--lnD); margin-top: 6px; }
.notes { background: var(--k); color: var(--y); border-radius: 22px; padding: 18px; position: sticky; top: 80px; }
.notes h3 { margin: 0 0 6px; font-weight: 900; text-transform: uppercase; font-size: 34px; line-height: .85; }
.notes ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.notes li { border-radius: 10px; padding: 9px 11px; background: rgba(255, 225, 77, .07); }
.notes li .mono { display: block; opacity: .7; }
.notes li p { margin: 3px 0 0; font-size: 17px; line-height: 1.18; }
.notes li.lock p { filter: blur(4px); opacity: .5; user-select: none; }
.notes li.ok { background: rgba(36, 64, 255, .25); }
.meter { height: 8px; background: rgba(255, 225, 77, .12); border-radius: 4px; overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; background: var(--b); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 960px) {
  .au-grid { grid-template-columns: 1fr; }
  .notes { position: relative; top: 0; }
}
@media (max-width: 600px) {
  .co, .co.fixed { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "sum" "totals" "promo" "contact" "form" "ship" "card" "trust" "pay"; padding: 10px; gap: 10px; }
  .co.fixed { grid-template-areas: "head" "sum" "totals" "contact" "form" "ship" "card" "promo" "pay" "trust"; }
  .dev { padding: 6px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn::before, .tog i::after { transition: none; }
}
.co.fixed .row.fx { display: flex; }
.sc .h2 { font-size: clamp(46px, min(7.4vw, 11.5svh), 130px); }
.pin-in { justify-content: safe center; }
@media (max-width: 860px) { .sc .h2 { font-size: clamp(40px, min(12.5vw, 8svh), 80px); } }
