/* Hallmark · macrostructure: Inset media panel + mosaic (studied-DNA, Anduril Industries) · tone: technical, menacing · anchor hue: laser red + chip gold · genre: atmospheric · theme: studied-DNA (source: https://www.anduril.com/) · display Saira + text Archivo · P5 H4 E4 S5 R4 V5 */
@font-face { font-family: "Saira"; src: url(/assets/fonts/saira.woff2) format("woff2"); font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(/assets/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --ink: #0c0c0e; --graphite: #1c1c20; --hair: #2a2a2e; --oxblood: #3a0d10;
  --gold: #d9a441; --gold-d: #8a6420; --red: #ff2a1f; --amber: #ff8a1f; --cream: #ede6d6;
  --muted: #a39d90; --m: 32px; --g: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Saira", "Archivo", system-ui, sans-serif;
  --text: "Archivo", system-ui, sans-serif;
  --cream-a35: rgba(237, 230, 214, .35);
  --void-a60: rgba(7, 7, 8, .6);
  --ink-a92: rgba(12, 12, 14, .92);
  --c-e6b65a: #e6b65a;
  --void: #070708;
  --ink-a82: rgba(12, 12, 14, .82);
  --ink-a45: rgba(12, 12, 14, .45);
  --ink-a00: rgba(12, 12, 14, 0);
  --ink-a85: rgba(12, 12, 14, .85);
  --ink-a90: rgba(12, 12, 14, .9);
  --void-a80: rgba(7, 7, 8, .8);
  --oxblood-a90: rgba(58, 13, 16, .9);
  --c-7d776c: #7d776c;
  --c-ff5045: #ff5045;
  --c-c9c1b1: #c9c1b1;
  --red-a45: rgba(255, 42, 31, .45);
  --red-a35: rgba(255, 42, 31, .35);
  --red-a50: rgba(255, 42, 31, .5);
  --c-d4ccbc: #d4ccbc;
  --c-ff8a80: #ff8a80;
  --c-ffb36b: #ffb36b;
  --c-fff7e6: #fff7e6;
  --ink-a88: rgba(12, 12, 14, .88);
  --c-cfc7b7: #cfc7b7;
  --c-3a362f: #3a362f;
  --cream-a25: rgba(237, 230, 214, .25);
  --cream-a30: rgba(237, 230, 214, .3);
  --void-a50: rgba(7, 7, 8, .5);
  --ink-a55: rgba(12, 12, 14, .55);
  --gold-a35: rgba(217, 164, 65, .35);
  --ink-a70: rgba(12, 12, 14, .7);
  --cream-a15: rgba(237, 230, 214, .15);
  --c-c9b9a8: #c9b9a8;
  --void-a00: rgba(7, 7, 8, 0);
}
* { box-sizing: border-box; }
html { overflow-x: clip; background: var(--ink); color-scheme: dark; scrollbar-color: var(--gold-d) var(--ink); scrollbar-width: thin; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-d); border: 3px solid var(--ink); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::selection { background: var(--red); color: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 17px/1.5 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--gold); color: var(--ink); padding: 12px 16px; border-radius: 6px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- etched-chip lettering (STYLE.md) ---- */
.etched {
  font-family: var(--display); font-stretch: 87.5%; font-weight: 700; color: var(--gold);
  text-shadow: 0 -1px 0 var(--cream-a35), 0 2px 0 var(--gold-d), 0 6px 18px var(--void-a60);
  letter-spacing: -.01em;
}

/* ---- header: Anduril's plain black bar ---- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  gap: 16px; padding: 0 var(--m); background: var(--ink-a92); backdrop-filter: blur(8px); transition: transform .5s var(--ease);
}
.top.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand img { width: 40px; height: 40px; border-radius: 6px; }
.brand .word { font-family: var(--display); font-stretch: 87.5%; font-weight: 800; font-size: 21px; color: var(--gold); text-shadow: 0 1px 0 var(--gold-d); letter-spacing: .01em; }
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; font-size: 15px; transition: opacity .3s var(--ease); }
.nav:hover a { opacity: .5; }
.nav a:hover { opacity: 1; }
.right { display: flex; align-items: center; gap: 12px; justify-self: end; }
.ca { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--hair); border-radius: 6px; background: var(--graphite); font-size: 14px; }
.ca-k { color: var(--gold); font-weight: 600; }
.ca-v { color: var(--muted); font-variant-numeric: tabular-nums; }
.ca.live .ca-v { color: var(--cream); }
.buy { height: 38px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 6px; background: var(--gold); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: inset 0 -2px 0 var(--gold-d); transition: background .25s var(--ease); }
.buy:hover { background: var(--c-e6b65a); }
.buy[aria-disabled="true"] { background: var(--graphite); color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair); }
.ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--hair); transition: border-color .25s var(--ease), color .25s var(--ease); }
.ico svg { width: 17px; height: 17px; fill: currentColor; }
.ico:hover { border-color: var(--gold); color: var(--gold); }
.phantom { height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--hair); background: transparent; font-size: 15px; transition: border-color .25s var(--ease); }
.phantom svg { width: 18px; height: 18px; fill: var(--cream); }
.phantom:hover { border-color: var(--gold); }
.phantom.on { border-color: var(--gold-d); color: var(--gold); }

/* ---- hero: the inset media panel ---- */
main { padding-top: 72px; }
.hero { padding: 8px var(--m) 0; }
.panel { position: relative; height: calc(100vh - 80px); min-height: 640px; max-height: 1100px; overflow: hidden; border-radius: 2px; background: var(--void); opacity: 0; transition: opacity .7s ease-out; }
.ready .panel { opacity: 1; }
.hero-img { position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover; object-position: 70% 50%; will-change: transform; }
.panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--ink-a82) 0%, var(--ink-a45) 38%, var(--ink-a00) 62%), linear-gradient(0deg, var(--ink-a85) 0%, var(--ink-a00) 40%); }
.laser { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.hero-copy { position: absolute; left: 40px; bottom: 40px; z-index: 2; width: min(660px, calc(100% - 80px)); }
.plate {
  position: relative; padding: 28px 32px 32px; background: var(--ink-a90); border: 1px solid var(--gold); border-radius: 6px;
  box-shadow: 0 18px 60px var(--void-a60), inset 0 0 0 1px var(--void-a80);
}
.plate::before, .plate::after {
  content: ""; position: absolute; left: 18px; right: 18px; height: 7px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 3px, transparent 3px 8px);
}
.plate::before { top: -8px; }
.plate::after { bottom: -8px; }
.plate h1 { margin: 0; font-size: clamp(34px, 4.3vw, 66px); line-height: 1.02; text-wrap: balance; hyphens: none; overflow-wrap: normal; word-break: keep-all; }
.beam-line { display: block; height: 2px; margin-top: 20px; background: var(--red); box-shadow: 0 0 8px var(--red); transform-origin: left; transform: scaleX(0); }
.ready .beam-line { animation: sweep 1.4s .5s var(--ease) forwards; }
@keyframes sweep { 0% { transform: scaleX(0); } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .55; } }
.scanform { display: flex; margin-top: 24px; background: var(--graphite); border: 1px solid var(--hair); border-radius: 6px; overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.scanform:focus-within { border-color: var(--gold-d); box-shadow: 0 0 0 4px var(--oxblood-a90); }
.scanform input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 16px 20px; font-size: 16px; outline: none; }
.scanform input::placeholder { color: var(--c-7d776c); }
.scanform button { border: 0; background: var(--red); color: var(--ink); font-weight: 700; padding: 0 28px; font-size: 16px; transition: background .25s var(--ease); }
.scanform button:hover { background: var(--c-ff5045); }
.scanform button:disabled { background: var(--hair); color: var(--muted); cursor: wait; }
.quota { margin: 12px 2px 0; font-size: 15px; color: var(--c-c9c1b1); }
.quota b { color: var(--gold); font-weight: 600; }
.counts { position: absolute; right: 40px; bottom: 40px; z-index: 2; display: grid; grid-template-columns: repeat(3, auto); gap: 4px 28px; text-align: left; }
.counts-h { grid-column: 1 / -1; margin: 0 0 8px; font-size: 15px; color: var(--c-c9c1b1); }
.count b { display: block; font-family: var(--display); font-stretch: 87.5%; font-weight: 700; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.count span { font-size: 15px; color: var(--c-c9c1b1); }
.count.ok b { color: var(--gold); }
.count.hot b { color: var(--amber); }
.count.fried b { color: var(--red); text-shadow: 0 0 12px var(--red-a45); }

/* ---- verdict stamps: the only caps on the page ---- */
.stamp {
  display: inline-block; font-family: var(--display); font-stretch: 87.5%; font-weight: 800; font-size: 17px; line-height: 1; letter-spacing: .04em;
  padding: 8px 12px 8px; border: 1px solid currentColor; border-radius: 4px; background: var(--ink-a82); white-space: nowrap;
}
.stamp-ok { color: var(--gold); text-shadow: 0 1px 0 var(--gold-d); }
.stamp-hot { color: var(--amber); }
.stamp-fried { color: var(--red); box-shadow: inset 0 0 14px var(--red-a35); text-shadow: 0 0 8px var(--red-a50); }
.stamp.big { font-size: 34px; padding: 16px 20px 12px; border-width: 2px; }
.stamp.land { animation: land .42s var(--ease) both; }
@keyframes land { 0% { transform: scale(1.6) rotate(-6deg); opacity: 0; } 60% { transform: scale(.94) rotate(-2deg); opacity: 1; } 100% { transform: scale(1) rotate(-2deg); } }

/* ---- readout ---- */
.readout { margin: var(--g) var(--m) 0; display: grid; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); gap: var(--g); }
.readout[hidden] { display: none; }
.ro-media { position: relative; background: var(--graphite); border-radius: 2px; overflow: hidden; min-height: 420px; }
.ro-img { position: absolute; inset: 0; background: var(--graphite); }
.ro-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(.85); }
.ro-img::after { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; opacity: .9; pointer-events: none; }
.ro-img.noimg::after, .tile .img.noimg::after { display: none; }
.noimg-sym { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.noimg-sym b { font-size: clamp(40px, 6vw, 88px); line-height: 1; word-break: break-all; }
.noimg-sym small { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); font-family: var(--text); text-shadow: none; font-weight: 400; }
.ro-beam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.ro-body { background: var(--graphite); border-radius: 2px; padding: 32px 36px; }
.ro-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.ro-head h2 { margin: 0; font-family: var(--display); font-stretch: 87.5%; font-weight: 700; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; overflow-wrap: anywhere; }
.ro-sub { margin: 8px 0 0; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.ro-sub a { color: var(--cream); }
.checks { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.checks li { display: grid; grid-template-columns: 22px 170px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--hair); opacity: 0; transform: translateX(-10px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.checks li.in { opacity: 1; transform: none; }
.checks .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hair); align-self: center; }
.checks li.pass .dot { background: var(--gold); }
.checks li.warn .dot { background: var(--amber); }
.checks li.fail .dot { background: var(--red); box-shadow: 0 0 8px var(--red); }
.checks li.unread .dot { background: transparent; border: 1px dashed var(--muted); }
.checks .k { font-weight: 600; }
.checks .v { color: var(--c-d4ccbc); font-variant-numeric: tabular-nums; }
.checks li.unread .v { color: var(--muted); }
.checks .wl { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
.checks li.pending .v { color: var(--muted); }
.reasons { margin-top: 20px; }
.reasons p { margin: 0 0 8px; }
.reasons .r-fried { color: var(--c-ff8a80); }
.reasons .r-hot { color: var(--c-ffb36b); }
.ro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.act { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--hair); background: transparent; text-decoration: none; font-size: 15px; transition: border-color .25s var(--ease), background .25s var(--ease); }
.act:hover { border-color: var(--gold); }
.act-x { background: var(--cream); color: var(--ink); border-color: var(--cream); font-weight: 600; }
.act-x:hover { background: var(--c-fff7e6); }
.act-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold-d); }
.act:disabled { opacity: .5; cursor: not-allowed; }
.ro-foot { margin: 20px 0 0; font-size: 15px; color: var(--muted); }

/* ---- feed mosaic ---- */
.feed { padding: 120px var(--m) 40px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; font-family: var(--display); font-stretch: 87.5%; font-weight: 700; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; letter-spacing: -.01em; max-width: 16em; text-wrap: balance; }
.feed-status { margin: 0; color: var(--muted); font-size: 15px; text-align: right; max-width: 52ch; }
.feed-status .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 8px; box-shadow: 0 0 8px var(--red); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(300px, 26vw); gap: var(--g); grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; border-radius: 2px; background: var(--graphite); text-decoration: none; color: var(--cream); opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.tile.in { opacity: 1; transform: none; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile .img { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.tile .img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.3) brightness(.8); transition: filter .6s var(--ease); }
.tile .img::after { content: ""; position: absolute; inset: 0; background: var(--red); mix-blend-mode: multiply; transition: opacity .6s var(--ease); }
.tile:hover .img, .tile:focus-visible .img { transform: scale(1.04); }
.tile:hover .img img, .tile:focus-visible .img img { filter: none; }
.tile:hover .img::after, .tile:focus-visible .img::after { opacity: 0; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--ink-a88) 0%, var(--ink-a00) 55%); pointer-events: none; }
.tile .scanline { position: absolute; left: 0; right: 0; height: 2px; top: 0; z-index: 2; background: var(--red); box-shadow: 0 0 10px var(--red); opacity: 0; }
.tile.in .scanline { animation: tilescan 1.1s .2s var(--ease) both; }
@keyframes tilescan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.tile .stamp { position: absolute; top: 16px; left: 16px; z-index: 2; transform: rotate(-2deg); }
.tile .cap { position: absolute; left: 20px; right: 64px; bottom: 18px; z-index: 2; }
.tile .cap b { display: block; font-size: 22px; font-weight: 600; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile.big .cap b { font-size: 34px; }
.tile .cap span { display: block; font-size: 15px; color: var(--c-cfc7b7); margin-top: 4px; }
.tile .arrow { position: absolute; right: 20px; bottom: 20px; z-index: 2; width: 22px; height: 22px; transition: transform .4s var(--ease); }
.tile:hover .arrow { transform: translate(4px, -4px); }
.tile .age { position: absolute; top: 18px; right: 18px; z-index: 2; font-size: 15px; color: var(--c-cfc7b7); }
.empty { grid-column: 1 / -1; padding: 60px 32px; background: var(--graphite); border-radius: 2px; color: var(--muted); text-align: center; }

/* ---- rules band (Anduril's light band, in cream) ---- */
.rules { margin: 100px 0 0; background: var(--cream); color: var(--ink); padding: 112px var(--m) 100px; }
.rules-in { max-width: 1440px; margin: 0 auto; }
.rules h2 { margin: 0; font-family: var(--display); font-stretch: 87.5%; font-weight: 700; font-size: clamp(36px, 3.6vw, 58px); line-height: 1.04; letter-spacing: -.015em; max-width: 15em; }
.reveal-lines span { display: inline-block; clip-path: inset(0 0 100% 0); transform: translateY(30%); transition: clip-path .7s var(--ease), transform .7s var(--ease); }
.reveal-lines.in span { clip-path: inset(0 0 -10% 0); transform: none; }
.reveal-lines.in span:nth-child(2) { transition-delay: .12s; }
.reveal-lines.in span:nth-child(3) { transition-delay: .24s; }
.rules-lede { max-width: 68ch; margin: 28px 0 0; font-size: 19px; color: var(--c-3a362f); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); margin-top: 56px; }
.tier { background: var(--ink); color: var(--cream); padding: 28px; border-radius: 2px; }
.tier .stamp { background: transparent; }
.tier p, .tier li { color: var(--c-d4ccbc); font-size: 16px; }
.tier ul { margin: 20px 0 0; padding: 0; list-style: none; }
.tier li { padding: 12px 0; border-top: 1px solid var(--hair); }
.tier p { margin: 20px 0 0; }
.nfa { margin: 40px 0 0; font-size: 19px; font-weight: 600; }

/* ---- split panels ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--g); padding: var(--g) var(--m) 0; margin-top: 100px; }
.half { padding: 44px 40px 48px; border-radius: 2px; }
.half h2 { margin: 0; padding-bottom: 20px; border-bottom: 1px solid var(--cream-a25); font-family: var(--display); font-stretch: 87.5%; font-weight: 700; font-size: clamp(30px, 2.6vw, 42px); line-height: 1.05; }
.half-lede { margin: 24px 0 0; max-width: 64ch; }
.oc { background: var(--oxblood); }
.oc h2 { color: var(--gold); text-shadow: 0 -1px 0 var(--cream-a30), 0 2px 0 var(--gold-d), 0 6px 18px var(--void-a50); }
.oc-state { margin-top: 28px; padding: 24px; background: var(--ink-a55); border: 1px solid var(--gold-a35); border-radius: 6px; }
.oc-state p { margin: 0 0 16px; }
.watch { margin-top: 20px; }
.watchform { display: flex; gap: 8px; }
.watchform input { flex: 1; min-width: 0; background: var(--ink-a70); border: 1px solid var(--gold-a35); border-radius: 6px; padding: 12px 16px; outline: none; }
.watchform input:focus { border-color: var(--gold); }
.watchform button { border: 0; border-radius: 6px; background: var(--gold); color: var(--ink); font-weight: 600; padding: 0 20px; }
.watchlist { list-style: none; margin: 16px 0 0; padding: 0; }
.watchlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--cream-a15); }
.watchlist a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watchlist a:hover { color: var(--gold); }
.watchlist .stamp { font-size: 16px; padding: 8px 8px 4px; }
.watchlist .rm { border: 0; background: none; color: var(--muted); font-size: 15px; padding: 4px 8px; }
.watchlist .rm:hover { color: var(--cream); }
.watch-empty { color: var(--c-c9b9a8); margin: 16px 0 0; }
.method { background: var(--graphite); }
.method-list { margin: 24px 0 0; }
.method-list dt { font-weight: 600; margin-top: 20px; }
.method-list dd { margin: 4px 0 0; color: var(--c-c9c1b1); }

/* ---- footer ---- */
.foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--g); padding: 92px var(--m) 40px; margin-top: 20px; }
.foot-brand img { width: 72px; height: 72px; border-radius: 8px; }
.foot-word { margin: 20px 0 0; font-size: 34px; line-height: 1; }
.foot-line { margin: 8px 0 0; color: var(--muted); }
.foot-col h3 { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--muted); }
.foot-col a { display: block; text-decoration: none; padding: 4px 0; }
.foot-col a:hover { color: var(--gold); }
.foot-ca { margin: 0 0 8px; color: var(--c-c9c1b1); font-size: 15px; overflow-wrap: anywhere; }
.legal { grid-column: 1 / -1; margin: 52px 0 0; padding-top: 24px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 15px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--graphite); border: 1px solid var(--gold-d); border-radius: 6px; padding: 12px 20px; max-width: min(520px, calc(100% - 40px)); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---- responsive ---- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .top { grid-template-columns: auto minmax(0, 1fr); }
  .counts { position: static; padding: 0; }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .counts { position: absolute; right: 40px; bottom: auto; top: 40px; }
}
@media (max-width: 900px) {
  .readout, .split { grid-template-columns: minmax(0, 1fr); }
  .ro-media { min-height: 280px; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 260px; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --m: 14px; --g: 12px; }
  .top { height: 62px; padding: 0 var(--m); gap: 8px; }
  main { padding-top: 64px; }
  .brand .word { display: none; }
  .brand img { width: 36px; height: 36px; }
  .right { gap: 8px; }
  .ca { height: 36px; padding: 0 8px; font-size: 13px; }
  .ca-v { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .buy { height: 36px; padding: 0 12px; }
  .ico { width: 36px; height: 36px; }
  .phantom { height: 36px; padding: 0 12px; }
  .phantom span { display: none; }
  .panel { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
  .hero-img { position: relative; inset: auto; height: 300px; object-position: 78% 50%; }
  .laser { height: 300px; bottom: auto; }
  .panel::after { background: linear-gradient(0deg, var(--void) 0%, var(--void-a00) 22%); height: 300px; }
  .hero-copy { position: relative; left: 0; bottom: 0; width: 100%; padding: 0 16px 24px; margin-top: -60px; }
  .plate { padding: 20px 20px 24px; }
  .plate h1 { font-size: 31px; }
  .scanform button { padding: 0 16px; }
  .counts { padding: 0 16px 28px; gap: 4px 20px; }
  .count b { font-size: 34px; }
  .readout { margin: 12px var(--m) 0; }
  .ro-body { padding: 24px 20px; }
  .ro-head { flex-direction: column; }
  .checks li { grid-template-columns: 18px minmax(0, 1fr); }
  .checks .v { grid-column: 2; }
  .feed { padding-top: 80px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .feed-status { text-align: left; }
  .mosaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 300px; }
  .tile.big { grid-column: auto; grid-row: span 1; }
  .tile.big .cap b { font-size: 26px; }
  .rules { padding: 72px var(--m); margin-top: 60px; }
  .split { margin-top: 60px; }
  .half { padding: 32px 20px 36px; }
  .foot { grid-template-columns: minmax(0, 1fr); padding-top: 60px; }
}
@media (min-width: 1800px) {
  .plate h1 { font-size: 72px; }
  .hero-copy { width: 760px; left: 56px; bottom: 56px; }
  .counts { right: 56px; bottom: 56px; }
  .mosaic { grid-auto-rows: minmax(300px, 24vw); }
}
@media (min-width: 2400px) {
  body { font-size: 19px; }
  .plate h1 { font-size: 92px; }
  .hero-copy { width: 940px; }
  .count b { font-size: 60px; }
  .mosaic { grid-auto-rows: 560px; }
  .tile .cap b { font-size: 28px; }
  .tile.big .cap b { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .panel, .tile, .checks li { opacity: 1; transform: none; }
  .reveal-lines span { clip-path: none; transform: none; }
}

/* ---- pressed and disabled states for every control ---- */
.buy:active, .ico:active, .phantom:active, .act:active, .scanform button:active, .watchform button:active, .ca:active { transform: translateY(1px); }
.ca, .buy, .ico, .phantom, .act, .scanform button, .watchform button { white-space: nowrap; }
.watchform button:disabled, .act:disabled, .phantom:disabled { opacity: .55; cursor: not-allowed; }
.ca:hover { border-color: var(--gold-d); }
.act[hidden], .ro-actions[hidden] { display: none; }

/* ---- input states: invalid entry is shown on the field itself ---- */
.scanform:has(input[aria-invalid="true"]), .watchform input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px var(--oxblood-a90); }
.scanform input:disabled { color: var(--muted); cursor: wait; }
