/* NovaSI — Nova Super Intelligence. Dark only, one palette:
 *   void #05050B · ink #0B0B13 · starlight #F5F6FF
 *   nova gold #FFC24B · aurora mint #4DFFB8 · ion cyan #3DD8FF · plasma violet #8B6CFF · flare rose #FF5C8A
 */
@font-face { font-family: "Inter"; src: url(/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(/fonts/inter-tight.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --void: #05050B;
  --ink: #0B0B13;
  --ink-2: #12121C;
  --ink-3: #1A1A27;
  --line: rgba(255, 255, 255, .11);
  --line-2: rgba(255, 255, 255, .2);
  --line-3: rgba(255, 255, 255, .34);
  --text: #F5F6FF;
  --dim: #A6A9C2;
  --mute: #6F7290;
  --gold: #FFC24B;
  --mint: #4DFFB8;
  --cyan: #3DD8FF;
  --violet: #8B6CFF;
  --rose: #FF5C8A;
  --nova: linear-gradient(118deg, #FFC24B 0%, #4DFFB8 38%, #3DD8FF 64%, #8B6CFF 100%);
  --nova-soft: linear-gradient(118deg, rgba(255, 194, 75, .16), rgba(77, 255, 184, .12) 38%, rgba(61, 216, 255, .12) 64%, rgba(139, 108, 255, .18));
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tight: "Inter Tight", "Inter", system-ui, sans-serif;
  --wide: "Archivo", "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 22px;
  --r-sm: 12px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--void); color: var(--text);
  font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(139, 108, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: calc(820px + var(--gut) * 2); }
.mono, code, kbd { font-family: var(--mono); font-feature-settings: "zero" 0; }
.num { font-variant-numeric: tabular-nums; }
.dim { color: var(--dim); }
.mute { color: var(--mute); }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--tight); color: var(--text); text-wrap: balance; }
.h-xl { font-size: clamp(44px, 8.4vw, 112px); font-weight: 900; letter-spacing: -.045em; line-height: .96; }
.h-lg { font-size: clamp(36px, 5.6vw, 72px); font-weight: 900; letter-spacing: -.042em; line-height: 1; }
.h-md { font-size: clamp(30px, 4vw, 56px); font-weight: 900; letter-spacing: -.038em; line-height: 1.02; }
.h-sm { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
h3 { font-size: 19px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--dim); max-width: 640px; }
.center { text-align: center; }
h2 + .lead, h1 + .lead { margin-top: 20px; }
.lookup { margin-top: 30px !important; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nova); box-shadow: 0 0 12px rgba(77, 255, 184, .7); }
.chrome {
  background-image:
    repeating-linear-gradient(180deg, rgba(5, 5, 11, 0) 0 2px, rgba(5, 5, 11, .22) 2px 3px),
    linear-gradient(180deg, #FFFFFF 0%, #EEF0FA 30%, #A9ACC4 48%, #FAFBFF 56%, #D4D6E6 78%, #9093AE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, .55));
}
.iri { background: var(--nova); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-gold { color: var(--gold); } .c-mint { color: var(--mint); } .c-cyan { color: var(--cyan); } .c-violet { color: var(--violet); } .c-rose { color: var(--rose); }

/* ---------- header: logo left, glass pill centre, round X right ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.hd-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 16px var(--gut); }
.hd a, .hd button { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.logo-badge {
  width: 46px; height: 46px; border-radius: 50%; padding: 4px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 70%), rgba(10, 10, 18, .7);
  border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 8px 30px rgba(0, 0, 0, .5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.logo-badge img { width: 100%; height: 100%; }
.wordmark { font: 800 17px/1 var(--wide); font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase; }
.wordmark b { font-weight: 800; background: var(--nova); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .wordmark { opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.hd.solid .logo .wordmark, .page .logo .wordmark { opacity: 1; transform: none; }
.pill {
  display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(12, 12, 20, .55); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 40px rgba(0, 0, 0, .45);
}
.pill a { padding: 8px 13px; border-radius: 999px; font-size: 14px; color: rgba(245, 246, 255, .82); transition: color .2s, background .2s; white-space: nowrap; }
.pill a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.pill a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hd-end { display: flex; align-items: center; gap: 10px; justify-self: end; }
.round {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(12, 12, 20, .55); border: 1px solid var(--line-2); color: #fff; cursor: pointer;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: border-color .2s, background .2s;
}
.round:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .08); }
.round svg { width: 17px; height: 17px; }
.menu-btn { display: none; }
.drawer { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px;
  border-radius: 999px; font: 600 15px/1 var(--sans); border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .25s, background .2s, border-color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-white { background: #fff; color: #05050B; }
.btn-white:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 10px 40px rgba(61, 216, 255, .25); }
.btn-nova { background: var(--nova); color: #05050B; }
.btn-nova:hover { box-shadow: 0 0 0 4px rgba(77, 255, 184, .14), 0 12px 44px rgba(139, 108, 255, .4); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .08); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled], .btn.is-off { opacity: .45; cursor: not-allowed; box-shadow: none; }
.arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; border-bottom: 1px solid var(--line-3); padding-bottom: 2px; transition: border-color .2s, gap .2s; }
.arrow::after { content: "→"; transition: transform .2s; }
.arrow:hover { border-color: var(--cyan); }
.arrow:hover::after { transform: translateX(3px); }
.arrow.ext::after { content: "↗"; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 210vh; height: 210svh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-fallback.off { display: none; }
.hero canvas.gate { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { position: absolute; inset: 0; background:
  radial-gradient(40% 40% at 50% 46%, rgba(77, 255, 184, .22), transparent 60%),
  radial-gradient(60% 55% at 50% 46%, rgba(139, 108, 255, .28), transparent 70%),
  radial-gradient(80% 60% at 50% 100%, rgba(255, 194, 75, .12), transparent 70%), var(--void); }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(50% 30% at 50% 52%, rgba(3, 3, 8, .66) 0%, rgba(3, 3, 8, .3) 60%, rgba(3, 3, 8, 0) 100%),
  linear-gradient(180deg, rgba(5, 5, 11, .7) 0%, rgba(5, 5, 11, 0) 26%, rgba(5, 5, 11, 0) 70%, rgba(5, 5, 11, .95) 100%); }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 96px var(--gut) 72px; will-change: opacity, transform; }
.hero-copy h1 { max-width: 13ch; }
.hero-sub { margin: 26px auto 30px; max-width: 560px; font-size: clamp(15px, 1.4vw, 18px); color: rgba(245, 246, 255, .8); text-shadow: 0 1px 18px rgba(0, 0, 0, .8); }
.hero .row { justify-content: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font: 600 11px/1 var(--mono); letter-spacing: .2em; color: var(--mute); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--line-3), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }
.hero-meta { position: absolute; left: var(--gut); right: var(--gut); bottom: 24px; display: flex; justify-content: space-between; gap: 16px; font: 500 12px/1.4 var(--mono); color: var(--mute); pointer-events: none; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(72px, 11vw, 150px) 0; }
.sec-tight { padding: clamp(48px, 7vw, 90px) 0; }
.sec-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head .lead { margin-top: 18px; }
.sec-no { display: block; margin-bottom: 14px; font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sec-no b { color: var(--text); font-weight: 600; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* marquee of what it works with */
.works { padding: 30px 0 10px; }
.works p { text-align: center; font: 600 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font: 600 16px/1 var(--tight); color: rgba(245, 246, 255, .55); white-space: nowrap; }
.marquee span::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--g, var(--nova)); opacity: .55; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.card {
  position: relative; border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)), rgba(11, 11, 19, .82);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 60px rgba(0, 0, 0, .35);
}
.card.glass { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)), rgba(11, 11, 19, .55); }
.card.flush { padding: 0; overflow: hidden; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--dim); }
.card p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 64px; }
.ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.ico svg { width: 20px; height: 20px; }
.chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: rgba(245, 246, 255, .85); background: rgba(255, 255, 255, .02); white-space: nowrap; }
.chip.on { border-color: rgba(77, 255, 184, .45); color: var(--mint); }
.chip.warn { border-color: rgba(255, 194, 75, .45); color: var(--gold); }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--dim); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.tag.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.list { list-style: none; padding: 0; margin: 18px 0 0; }
.list li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.list li b { color: var(--text); font: 500 13.5px/1.4 var(--mono); text-align: right; overflow-wrap: anywhere; min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: rgba(245, 246, 255, .86); font-size: 14.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--nova); -webkit-mask: radial-gradient(circle, transparent 3px, #000 3.5px); mask: radial-gradient(circle, transparent 3px, #000 3.5px); }

/* stat cards (the record in numbers) */
.stat .k { font-size: 14px; color: var(--dim); }
.stat .v { margin: 6px 0 8px; font: 900 clamp(34px, 3.6vw, 48px)/1.05 var(--tight); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat .n { font-size: 13.5px; color: var(--dim); }
.pending { color: var(--mute); }

/* command box */
.cmd { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: rgba(0, 0, 0, .45); }
.cmd code { flex: 1; min-width: 0; padding: 18px 20px; font-size: 14px; color: #E8EAFF; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd code .p { color: var(--mint); }
.cmd button { flex: none; padding: 0 22px; border: 0; border-left: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); font-weight: 600; cursor: pointer; transition: background .2s; }
.cmd button:hover { background: rgba(255, 255, 255, .12); }
pre.code { margin: 0; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .5); overflow-x: auto; font: 13.5px/1.7 var(--mono); color: #E3E5FA; }
pre.code .c { color: var(--mute); }
pre.code .p { color: var(--mint); }
pre.code .s { color: var(--gold); }

/* flow diagram: backer -> agent -> pool */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; margin: 10px 0 40px; }
.node { position: relative; text-align: center; padding: 26px 18px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.node .t { font: 800 18px/1.2 var(--tight); letter-spacing: -.01em; }
.node .s { margin-top: 6px; font-size: 13px; color: var(--dim); }
.node::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--g); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; }
.edge { position: relative; min-width: 110px; padding: 0 8px; text-align: center; font: 500 11.5px/1.35 var(--mono); color: var(--dim); }
.edge::before { content: ""; display: block; height: 1px; margin: 8px 0; background: linear-gradient(90deg, var(--line-2), var(--cyan), var(--line-2)); }
.edge i { font-style: normal; display: block; }
.edge .back { color: var(--mint); }
.steps { counter-reset: s; }
.step { position: relative; }
.step .no { font: 600 12px/1 var(--mono); letter-spacing: .14em; color: var(--mute); margin-bottom: 30px; display: block; }
.step .note { margin-top: 14px; font-size: 13px; color: var(--gold); }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 16px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--dim); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
td b { color: var(--text); font-weight: 600; }
td .mono { font-size: 13px; }
.empty { padding: 44px 20px; text-align: center; color: var(--dim); }
.empty b { display: block; margin-bottom: 6px; color: var(--text); font: 800 18px/1.3 var(--tight); }
.tbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--dim); flex-wrap: wrap; }

/* particle shell backdrop */
.shell-sec { overflow: hidden; }
.shell { position: absolute; top: -420px; right: -260px; width: min(1250px, 110vw); height: min(1250px, 110vw); pointer-events: none; }
.shell-sec .card.glass { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)), rgba(8, 8, 15, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.shell-sec > .wrap { position: relative; }

/* token / CA block */
.ca { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 18px; border: 1px dashed var(--line-3); border-radius: 16px; background: rgba(0, 0, 0, .35); }
.ca code { font-size: 14px; color: #E8EAFF; word-break: break-all; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line-2); border-radius: 18px; background: rgba(255, 255, 255, .02); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-3); background: rgba(255, 255, 255, .035); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; font: 700 17px/1.35 var(--tight); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 400 18px/1 var(--sans); color: var(--dim); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--dim); max-width: 760px; }
.faq .a p:last-child { margin: 0; }

/* closing band */
.band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 6vw, 84px); border: 1px solid var(--line-2);
  background: radial-gradient(70% 120% at 100% 0%, rgba(139, 108, 255, .28), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(255, 194, 75, .16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)), var(--ink); }
.band .burst { position: absolute; right: -60px; top: 50%; width: min(460px, 60vw); transform: translateY(-50%) rotate(-9deg); opacity: .9; filter: drop-shadow(0 0 60px rgba(61, 216, 255, .35)); animation: spin 90s linear infinite; }
.band > *:not(.burst) { position: relative; max-width: 620px; }
@keyframes spin { to { transform: translateY(-50%) rotate(351deg); } }

/* page hero (inner pages) */
.phero { position: relative; padding: clamp(140px, 17vw, 200px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 120%; background:
  radial-gradient(38% 50% at 22% 30%, rgba(139, 108, 255, .22), transparent 70%),
  radial-gradient(30% 40% at 70% 18%, rgba(61, 216, 255, .14), transparent 70%),
  radial-gradient(26% 36% at 88% 60%, rgba(255, 194, 75, .1), transparent 70%); pointer-events: none; }
.phero > .wrap { position: relative; }
.phero .h-lg { max-width: 15ch; }
.phero .lead { margin-top: 22px; }
.phero .row { margin-top: 30px; }
.phero .ring { position: absolute; right: -120px; top: 60px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; opacity: .55;
  background: repeating-radial-gradient(circle, transparent 0 22px, rgba(255, 255, 255, .06) 22px 23px);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); }

/* prose (protocol, privacy, log) */
.prose { color: var(--dim); font-size: 15.5px; line-height: 1.75; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 900; letter-spacing: -.03em; margin: 64px 0 18px; color: var(--text); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 10px; color: var(--text); }
.prose strong { color: var(--text); }
.prose a { color: var(--text); border-bottom: 1px solid var(--line-3); }
.prose a:hover { border-color: var(--cyan); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose code { font-size: 13px; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #E3E5FA; }
.prose pre.code code { padding: 0; background: none; }
.prose .card { margin: 22px 0; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); color: var(--dim); }
.toc a:hover { color: #fff; border-color: var(--cyan); }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); }
.kv { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; margin: 18px 0; }
.kv > div { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; min-width: 0; }
.kv > div:nth-child(-n+2) { border-top: 0; }
.kv > div:nth-child(odd) { color: var(--dim); background: rgba(255, 255, 255, .02); }
.kv > div:nth-child(even) { color: var(--text); font-family: var(--mono); font-size: 13.5px; }
.callout { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255, 194, 75, .35); background: rgba(255, 194, 75, .06); color: rgba(245, 246, 255, .88); font-size: 14.5px; }
.callout b { color: var(--gold); }
.callout.mint { border-color: rgba(77, 255, 184, .35); background: rgba(77, 255, 184, .05); }
.callout.mint b { color: var(--mint); }

/* forms */
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--dim); }
.input { height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .4); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(61, 216, 255, .12); }
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.lookup { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.lookup .input { height: 46px; border-radius: 999px; text-align: center; }

/* board */
.tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.score-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.score-bar i { display: block; height: 100%; background: var(--nova); border-radius: inherit; }
.meter { display: grid; grid-template-columns: 120px 1fr 60px; gap: 14px; align-items: center; font-size: 13.5px; padding: 10px 0; border-top: 1px solid var(--line); }
.meter span:last-child { text-align: right; font-family: var(--mono); color: var(--text); }

/* brand page */
.swatch { border-radius: 18px; border: 1px solid var(--line-2); overflow: hidden; }
.swatch .chip-c { height: 120px; }
.swatch .meta { padding: 14px 16px; font-size: 13px; }
.swatch .meta b { display: block; color: var(--text); font: 700 15px/1.3 var(--tight); }
.swatch .meta code { color: var(--dim); }
.brand-tile { display: grid; place-items: center; min-height: 260px; border-radius: 22px; border: 1px solid var(--line-2); background: radial-gradient(60% 60% at 50% 50%, rgba(139, 108, 255, .14), transparent 70%), var(--ink); }

/* footer */
.ft { position: relative; margin-top: 40px; border-top: 1px solid var(--line); padding: 64px 0 40px; background: linear-gradient(180deg, transparent, rgba(139, 108, 255, .05)); }
.ft-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.ft .logo .wordmark { opacity: 1; transform: none; }
.ft h4 { font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft ul a { color: var(--dim); font-size: 14px; }
.ft ul a:hover { color: #fff; }
.ft-blurb { margin: 18px 0 0; max-width: 340px; color: var(--dim); font-size: 14px; }
.ft-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: #fff; color: #05050B; font-weight: 600; font-size: 14px; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pill a { padding: 8px 10px; font-size: 13.5px; }
}
@media (max-width: 980px) {
  .hd-in { grid-template-columns: 1fr auto; }
  .pill { display: none; }
  .menu-btn { display: grid; }
  .logo .wordmark { opacity: 1; transform: none; }
  .drawer { position: fixed; inset: 0; z-index: 60; display: block; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; background: rgba(5, 5, 11, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 92px var(--gut) 40px; overflow-y: auto; pointer-events: auto; }
  .drawer.on { visibility: visible; opacity: 1; }
  .drawer a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 800 26px/1.1 var(--tight); letter-spacing: -.02em; }
  .drawer .btn { display: flex; margin-top: 26px; width: 100%; font: 600 16px/1 var(--sans); border: 0; }
  .hd-in { position: relative; z-index: 61; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-grid > :first-child { grid-column: 1 / -1; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .edge { padding: 6px 0; min-width: 0; }
  .edge::before { width: 1px; height: 26px; margin: 4px auto; background: linear-gradient(180deg, var(--line-2), var(--cyan), var(--line-2)); }
}
@media (max-width: 680px) {
  .hide-sm { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-top { margin-bottom: 36px; }
  .hero-meta { display: none; }
  .kv { grid-template-columns: 1fr; }
  .kv > div:nth-child(even) { border-top: 0; padding-top: 0; }
  .kv > div:nth-child(odd) { background: none; padding-bottom: 6px; }
  .kv > div:nth-child(2) { border-top: 0; }
  th, td { padding: 13px 14px; }
  .cmd { flex-direction: column; }
  .cmd button { border-left: 0; border-top: 1px solid var(--line-2); height: 46px; }
  .cmd code { white-space: normal; word-break: break-all; }
  .band .burst { opacity: .35; right: -120px; }
  .lookup { flex-direction: column; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .meter { grid-template-columns: 96px 1fr 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee-track, .band .burst, .scroll-cue i { animation: none; }
}

/* ---------- wallet, desk, transactions ---------- */
.btn-wallet { height: 38px; padding: 0 16px; font-size: 14px; font-family: var(--mono); }
.btn-wallet.on { border-color: rgba(77, 255, 184, .45); color: var(--mint); }
.sheet { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(5, 5, 11, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sheet[hidden] { display: none; }
.sheet-in { width: min(440px, 100%); border-radius: 24px; padding: 26px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)), var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.sheet-in h3 { font-size: 22px; margin-bottom: 10px; }
.sheet-in p { color: var(--dim); font-size: 14.5px; }
.sheet-in code { font-size: 12.5px; word-break: break-all; color: var(--text); }
.sheet-list { display: grid; gap: 8px; margin-top: 16px; }
.sheet-list button, .sheet-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); font-weight: 600; cursor: pointer; text-align: left; }
.sheet-list button:hover, .sheet-list a:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .07); }
.sheet-list img { width: 26px; height: 26px; border-radius: 6px; }
.sheet-foot { display: flex; justify-content: flex-end; margin-top: 18px; }
.txs { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--dim); overflow-wrap: anywhere; }
.txs.wait { border-color: rgba(61, 216, 255, .35); color: var(--text); }
.txs.ok { border-color: rgba(77, 255, 184, .4); background: rgba(77, 255, 184, .05); color: var(--text); }
.txs.bad { border-color: rgba(255, 92, 138, .45); background: rgba(255, 92, 138, .06); color: var(--text); }
.txs .arrow { font-size: 13.5px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--text); font: inherit; font-weight: 600; border-bottom: 1px solid var(--line-3); cursor: pointer; }
.linkbtn:hover { border-color: var(--cyan); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--dim); transition: border-color .2s, color .2s, background .2s; }
.seg input:checked + span { color: var(--text); border-color: rgba(61, 216, 255, .55); background: rgba(61, 216, 255, .08); }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.desk .stat .v { font-size: clamp(26px, 2.6vw, 34px); }
.desk details summary::-webkit-details-marker { display: none; }
.desk table .btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.mine { display: grid; gap: 12px; margin-top: 18px; }
@media (max-width: 480px) {
  .hd-end > .btn-nova { display: none; }
  .btn-wallet { padding: 0 12px; }
}
