/* Quantum Inu. Colours come from the NFTs themselves: the name plate's navy and text, and the
   four eye-glint colours (cyan, gold, green, pink). */
:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --panel: #0e1626;
  --panel-2: #121c30;
  --line: #1c2840;
  --line-2: #26365a;
  --text: #e9eef6;
  --muted: #8d9ab3;
  --cyan: #1ee0ff;
  --gold: #ffc93c;
  --green: #7dff4f;
  --pink: #ff5fd2;
  --plate: #0d1420;
  --px: 4px;
  --radius: 0;
  --wrap: 1180px;
  --pixel: "Silkscreen", ui-monospace, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--pixel); letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; line-height: 1.3; }
p { margin: 0; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- buttons & chips ---------- */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; gap: 8px;
  font: 400 15px/1 var(--pixel);
  text-decoration: none; cursor: pointer;
  padding: 15px 22px;
  border: 0; color: var(--text); background: var(--panel-2);
  box-shadow: inset 0 0 0 2px var(--b);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cyan); color: #04121a; --b: var(--cyan); box-shadow: 0 4px 0 #0b8ea3, inset 0 0 0 2px var(--b); }
.btn-primary:hover { box-shadow: 0 6px 0 #0b8ea3, 0 0 32px rgba(30, 224, 255, .35); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { --b: var(--cyan); }
.btn-small { padding: 10px 14px; font-size: 13px; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--mono); color: var(--muted);
  padding: 9px 12px; background: rgba(30, 224, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(30, 224, 255, .25);
}
.dot { width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.tag { display: inline-block; font-size: 12px; padding: 5px 8px; background: rgba(125, 255, 79, .1); color: var(--green); box-shadow: inset 0 0 0 1px rgba(125, 255, 79, .35); }
.tag-next { background: rgba(255, 201, 60, .08); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 201, 60, .35); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 20, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 16px/1 var(--pixel); letter-spacing: .02em; }
.brand-mark { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-fringe {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(30, 224, 255, .035) 22px 44px);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.5vw, 66px); line-height: 1.04; margin: 26px 0 26px; }
.lead { font-size: 19px; color: #c7d1e3; max-width: 580px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 44px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 34px; margin: 0; justify-content: start; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font: 400 28px/1.1 var(--pixel); color: var(--text); }
.stats dt { font: 400 12px/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; margin-top: 4px; }

/* the reveal card: a sealed inu, collapsing into a measured one */
.reveal-card {
  margin: 0; justify-self: end; width: min(440px, 100%);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  padding: 16px; box-shadow: inset 0 0 0 2px var(--line-2), 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0,0,0,.4);
  position: relative;
}
.reveal-card::before, .reveal-card::after { content: ""; position: absolute; width: 10px; height: 10px; background: var(--cyan); }
.reveal-card::before { top: -4px; left: -4px; }
.reveal-card::after { bottom: -4px; right: -4px; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card-label { font: 400 13px/1 var(--pixel); color: var(--muted); }
.card-state { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); padding: 6px 8px; box-shadow: inset 0 0 0 1px rgba(30, 224, 255, .35); transition: color .3s, box-shadow .3s; }
.card-state.is-revealed { color: var(--green); box-shadow: inset 0 0 0 1px rgba(125, 255, 79, .4); }
.screen { position: relative; aspect-ratio: 1; background: var(--plate); overflow: hidden; }
.screen-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen-img.revealed { clip-path: inset(0 0 100% 0); }
.screen.is-revealing .screen-img.revealed { animation: collapse 1.6s steps(24) forwards; }
.screen.is-revealed .screen-img.revealed { clip-path: inset(0 0 0 0); }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 3%; background: var(--cyan); box-shadow: 0 0 24px 6px rgba(30, 224, 255, .7); opacity: 0; }
.screen.is-revealing .scanline { animation: sweep 1.6s steps(24) forwards; }
@keyframes collapse { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sweep { 0% { top: 0; opacity: 1; } 96% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.card-meta { margin-top: 14px; }
.card-row { display: flex; gap: 8px; font-size: 13px; }
.bits { margin-top: 10px; font-size: 12.5px; line-height: 1.5; letter-spacing: .06em; word-break: break-all; color: var(--muted); min-height: 4.5em; }
.bits b { font-weight: 500; color: var(--text); }

/* ---------- ticker tape ---------- */
.tape { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 14px 0; }
.tape-track { display: flex; gap: 34px; width: max-content; animation: tape 90s linear infinite; }
.tape-item { display: inline-flex; align-items: center; gap: 10px; font: 400 14px/1 var(--pixel); white-space: nowrap; }
.tape-item i { width: 10px; height: 10px; display: inline-block; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; max-width: 900px; }
.section-lead { margin-top: 22px; max-width: 720px; font-size: 18px; color: #c3cde0; }

/* how it works */
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--panel); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.step-art { aspect-ratio: 1; background: var(--plate); margin-bottom: 20px; display: grid; place-items: center; overflow: hidden; }
.step-art img { width: 100%; height: 100%; }
.step-art-code { align-content: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 18px; justify-items: start; background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 2px, transparent 2px 4px), var(--plate); }
.step-art-code .hash { color: var(--gold); }
.step-art-code span::before { content: "▸ "; color: var(--cyan); }
.step-n { font: 400 13px/1 var(--pixel); color: var(--cyan); }
.step h3 { font-family: var(--pixel); font-weight: 400; font-size: 22px; margin: 8px 0 10px; }
.step p { font-size: 15px; color: #b8c3d8; }
.qpu { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; width: 78%; }
.qpu i { aspect-ratio: 1; background: #1a2744; transition: background .2s; }
.qpu i.on { background: var(--cyan); box-shadow: 0 0 10px rgba(30, 224, 255, .6); }

.receipts { margin-top: 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 22px 24px; }
.receipts-title { font-size: 13px; color: var(--muted); margin-bottom: 16px; letter-spacing: .06em; }
.receipt-chain { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.receipt-chain div { position: relative; }
.receipt-chain div:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 2px; color: var(--line-2); font-family: var(--mono); }
.receipt-chain .tag { background: rgba(30, 224, 255, .08); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(30, 224, 255, .3); }
.receipt-chain p { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* quantum */
.registers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.reg { background: var(--panel); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.reg header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.reg header .mono { margin-left: auto; font-size: 12px; }
.reg-swatch { width: 12px; height: 12px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.reg p { font-size: 15px; color: #b8c3d8; }

.decoder { margin-top: 28px; background: var(--panel); box-shadow: inset 0 0 0 2px var(--line-2); padding: 28px; }
.decoder-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.decoder-title { font: 400 26px/1.2 var(--pixel); margin-top: 8px; }
.decoder-title [data-dec-ticker] { color: var(--cyan); }
.decoder-nav { display: flex; gap: 8px; }
.bitstrip { display: flex; flex-wrap: wrap; gap: 6px; }
.bgroup { display: flex; flex-direction: column; gap: 6px; cursor: default; padding: 6px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s, background .15s; }
.bgroup .cells { display: flex; gap: 2px; }
.bgroup .cells i { width: 14px; height: 22px; font: 500 12px/22px var(--mono); font-style: normal; text-align: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: color-mix(in srgb, var(--c) 70%, white); }
.bgroup .cells i.one { background: var(--c); color: #061019; }
.bgroup label { font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .04em; }
.bgroup.is-hot { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--c); }
.decoder-body { display: grid; grid-template-columns: 240px 1fr; gap: 28px; margin-top: 24px; align-items: start; }
.decoder-inu { background: var(--plate); aspect-ratio: 1; }
.decoder-inu img { width: 100%; height: 100%; }
.decoder-traits { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.decoder-traits div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-bottom: 1px solid var(--line); transition: background .15s; }
.decoder-traits dt { font: 500 12px/1.5 var(--mono); color: var(--muted); white-space: nowrap; }
.decoder-traits dd { margin: 0; font-size: 14px; text-align: right; }
.decoder-traits div.is-hot { background: color-mix(in srgb, var(--c) 14%, transparent); }
.decoder-traits div.is-hot dt { color: var(--c); }
.decoder-hint { margin-top: 16px; }

.fair { margin-top: 28px; display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding: 28px; background: linear-gradient(90deg, rgba(30,224,255,.06), transparent 60%); box-shadow: inset 0 0 0 1px var(--line); }
.fair h3 { font: 400 22px/1.25 var(--pixel); }
.fair-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; counter-reset: f; }
.fair-list li { font-size: 15px; color: #b8c3d8; padding-left: 34px; position: relative; counter-increment: f; }
.fair-list li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 1px; font: 400 13px/1.4 var(--pixel); color: var(--cyan); }
.fair-list strong { color: var(--text); font-weight: 600; display: block; }

/* collection */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 20px; }
.filter { font: 500 13px/1 var(--mono); background: transparent; color: var(--muted); border: 0; padding: 10px 12px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); }
.filter[aria-selected="true"] { color: #04121a; background: var(--cyan); box-shadow: none; }
.filter span { opacity: .6; margin-left: 6px; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.wall-tile { position: relative; aspect-ratio: 1; background: var(--plate); overflow: hidden; outline: 0; }
.wall-tile img { width: 100%; height: 100%; transition: transform .25s steps(4); }
.wall-tile:hover img, .wall-tile:focus img { transform: scale(1.08); }
.wall-tile .tip {
  position: absolute; inset: auto 0 0 0; padding: 8px; font-size: 11.5px; line-height: 1.35;
  background: rgba(7, 11, 20, .94); transform: translateY(101%); transition: transform .2s ease;
}
.wall-tile:hover .tip, .wall-tile:focus .tip { transform: translateY(0); }
.wall-tile .tip b { display: block; font: 400 12px/1.3 var(--pixel); color: var(--cyan); }
.wall-tile.is-hidden { display: none; }

.trait-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tcard { background: var(--panel); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.tcard h3 { font: 400 18px/1.3 var(--pixel); }
.tcard p { font-size: 14px; margin: 6px 0 16px; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.strip-dense { grid-template-columns: repeat(4, 1fr); gap: 5px; }
.strip img { width: 100%; aspect-ratio: 1; background: var(--plate); }
.strip figure { margin: 0; }
.strip figcaption { font: 500 11px/1.3 var(--mono); color: var(--muted); margin-top: 6px; }

.numbers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 40px 0 0; }
.numbers div { display: flex; flex-direction: column; padding: 18px 0; border-top: 2px solid var(--line-2); }
.numbers dd { margin: 0; font: 400 34px/1.1 var(--pixel); }
.numbers dt { font: 500 13px/1.4 var(--mono); color: var(--muted); margin-top: 6px; }
.fine { margin-top: 18px; font-size: 13px; }

/* rewards */
.flywheel { margin-top: 56px; }
.fly-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.fly-steps li { background: var(--panel); padding: 22px 20px; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.fly-steps li:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 38px; width: 16px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 4px, transparent 4px 8px); background-size: 16px 2px;
  animation: flow 0.8s linear infinite;
}
@keyframes flow { to { background-position: 16px 0; } }
.fly-n { display: inline-grid; place-items: center; width: 28px; height: 28px; font-size: 13px; color: #04121a; background: var(--gold); margin-bottom: 14px; }
.fly-steps h3 { font: 400 18px/1.3 var(--pixel); margin-bottom: 8px; }
.fly-steps p { font-size: 14.5px; color: #b8c3d8; }
.fly-loop { position: relative; height: 70px; margin-top: 4px; }
.fly-loop svg { position: absolute; inset: 0; width: 100%; height: 60px; overflow: visible; }
.loop-path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -14; } }
.loop-label { position: absolute; left: 50%; top: 42px; transform: translateX(-50%); background: var(--bg-2); padding: 0 14px; font-size: 13px; color: var(--gold); white-space: nowrap; }

.rewards-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; margin-top: 40px; }
.payout, .rules { background: var(--panel); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); }
.payout-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.payout h3, .rules h3 { font: 400 20px/1.3 var(--pixel); }
.payout > p { font-size: 15px; margin: 8px 0 18px; }
.payout-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.payout-list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 8px; background: var(--panel-2); }
.payout-list img { width: 44px; height: 44px; background: var(--plate); }
.payout-list .amt { font: 500 13px/1.3 var(--mono); }
.payout-list .tk { font: 400 13px/1 var(--pixel); color: var(--cyan); }
.payout-list .usd { font: 500 12px/1 var(--mono); color: var(--green); }
.checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 26px; font-size: 15px; color: #b8c3d8; }
.checks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; background: var(--green); box-shadow: 0 0 10px rgba(125,255,79,.5); }

/* verify */
.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; align-items: start; }
.vsteps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: v; }
.vsteps li { background: var(--panel); padding: 20px 22px 20px 64px; box-shadow: inset 0 0 0 1px var(--line); position: relative; counter-increment: v; }
.vsteps li::before { content: counter(v); position: absolute; left: 22px; top: 20px; width: 26px; height: 26px; display: grid; place-items: center; font: 400 13px/1 var(--pixel); color: #04121a; background: var(--cyan); }
.vsteps h3 { margin-bottom: 4px; }
.vsteps p { font-size: 15px; color: #b8c3d8; }
.receipt-card { background: var(--plate); padding: 24px; box-shadow: inset 0 0 0 2px var(--line-2); position: sticky; top: 88px; }
.receipt-head { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line-2); }
.receipt-head img { width: 88px; height: 88px; }
.receipt-head h3 { font: 400 22px/1.2 var(--pixel); margin-top: 6px; }
.receipt-rows { margin: 14px 0 0; display: grid; gap: 2px; }
.receipt-rows div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.receipt-rows dt { font: 500 12px/1.6 var(--mono); color: var(--muted); }
.receipt-rows dd { margin: 0; font: 500 13px/1.6 var(--mono); word-break: break-all; }
.receipt-rows a { color: var(--cyan); text-decoration: none; }
.receipt-rows a:hover { text-decoration: underline; }

/* status */
.status { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.status li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.status li .tag { flex: none; margin-top: 2px; }
.status h3 { margin-bottom: 4px; }
.status p { font-size: 14.5px; color: #b8c3d8; }

/* faq */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 20px/1 var(--pixel); color: var(--cyan); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 22px; color: #b8c3d8; font-size: 15.5px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer-row { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.footer p { max-width: 720px; justify-self: end; line-height: 1.6; }

/* entrance */
.fade { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.fade.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .steps, .registers { grid-template-columns: repeat(2, 1fr); }
  .fly-steps { grid-template-columns: repeat(3, 1fr); }
  .fly-steps li:nth-child(3)::after { display: none; }
  .fly-loop { display: none; }
  .fair { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); padding: 16px 16px 24px; gap: 4px; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav-links a { font-size: 16px; padding: 10px 0; color: var(--text); }
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .reveal-card { justify-self: center; }
  .stats { grid-template-columns: repeat(2, auto); }
  .section { padding: 88px 0; }
  .receipt-chain { grid-template-columns: 1fr 1fr; }
  .receipt-chain div::after { display: none; }
  .decoder-body { grid-template-columns: 1fr; }
  .decoder-inu { max-width: 240px; }
  .trait-cards, .rewards-grid, .verify-grid { grid-template-columns: 1fr; }
  .receipt-card { position: static; }
  .footer-row { grid-template-columns: 1fr; }
  .footer p { justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 31px; }
  .section h2 { font-size: 27px; }
  .lead { font-size: 17px; }
  .section-lead { font-size: 16.5px; }
  .steps, .registers, .fly-steps, .fair-list, .decoder-traits, .payout-list { grid-template-columns: 1fr; }
  .fly-steps li::after { display: none; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .decoder { padding: 18px; }
  .decoder-head { flex-direction: column; align-items: flex-start; }
  .bgroup .cells i { width: 12px; height: 20px; font-size: 11px; line-height: 20px; }
  .wall { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
  .receipt-rows div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .screen-img.revealed { clip-path: none; }
  .fade { opacity: 1; transform: none; }
}
