/* NEXUS design system, premium pass (04.11). Deep navy + electric blue, ice-white type, cyan accent in small doses, violet as a dot.
   Principles: tone and hairlines instead of boxes, ONE accent surface per screen, big tight display type, tabular mono numbers, one icon weight.
   Signature: a thin light orbit line + the ice-gloss N tile. No backdrop-filter, no heavy filters, no particles.
   Components (class names are API for every page, do not rename): .btn .chip .bdg .av .panel .pcard .tbl .tabs .stepper .bar .vbar .seg .field .sk .empty .toast .modal .menu .nav .tabbar .foot */
:root {
  --bg: #01092B; --bg2: #030E36; --bg3: #04123F; --panel: #050F3D; --panel2: #091756; --panel3: #0E2268;
  --line: rgba(140, 175, 255, .11); --line2: rgba(150, 185, 255, .2); --line3: rgba(160, 200, 255, .36);
  --ink: #EEF5FF; --mut: #9DB0D8; --mut2: #7B90C0;
  --b: #1E6BFF; --b2: #0A84FF; --b3: #6AA5FF; --c: #29D3FF; --v: #8A5CFF; --v2: #B79CFF;
  --ok: #3DE3B0; --warn: #FFC34D; --bad: #FF6B86;
  --glow: rgba(30, 107, 255, .5); --glowc: rgba(41, 211, 255, .35);
  --surf: rgba(150, 185, 255, .05); --surf2: rgba(150, 185, 255, .085);
  --r: 20px; --r2: 12px; --r3: 999px; --wrap: 1200px;
  --hf: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif; --bf: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --mf: 'Geist Mono', ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gloss: linear-gradient(180deg, rgba(160, 195, 255, .07), rgba(160, 195, 255, .022));
  --edge: inset 0 0 0 1px rgba(150, 185, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .06);   /* the "border" of every surface: a hairline made of light */
  --lift: 0 34px 70px -42px rgba(0, 0, 0, .85);
  --sp1: 8px; --sp2: 16px; --sp3: 24px; --sp4: 32px; --sp5: 48px; --sp6: 72px; --sp7: 112px;   /* 8px rhythm */
}
*, *::before, *::after { box-sizing: border-box }
main { overflow-x: clip }
/* the page looked small at 100% browser zoom on desktop: scale up a little (108%, 115% on large screens); 120/135% was too close */
@media (min-width: 1100px) { html { zoom: 1.08 } }
@media (min-width: 1700px) { html { zoom: 1.15 } }
:root { --zm: 1 } @media (min-width: 1100px) { :root { --zm: 1.08 } } @media (min-width: 1700px) { :root { --zm: 1.15 } }   /* vh units are not zoomed: divide by --zm wherever a box must fit the real viewport height */
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; background: var(--bg) }
html.lenis, html.lenis body { height: auto } .lenis.lenis-smooth { scroll-behavior: auto !important } .lenis.lenis-stopped { overflow: hidden }
html.modal-open body { overflow: hidden }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--bf); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column }
main { flex: 1 0 auto }
img, svg { display: block; max-width: 100% } a { color: inherit; text-decoration: none } button { font: inherit; color: inherit; cursor: pointer }
h1, h2, h3, h4 { font-family: var(--hf); margin: 0; line-height: 1.02; letter-spacing: -.035em; font-weight: 800; font-optical-sizing: auto }
p { margin: 0 } ::selection { background: var(--b); color: #fff }
:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 8px }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto }
.mono { font-family: var(--mf); font-variant-numeric: tabular-nums } .mut { color: var(--mut) } .mut2 { color: var(--mut2) } .hide { display: none !important } .up { color: var(--ok) } .dn { color: var(--bad) } .c { color: var(--c) }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.ic { width: 18px; height: 18px; flex: none }
[hidden] { display: none !important }

/* backdrop: navy gradient, one electric light from the top, a faint engineering grid that fades out, two hairline orbits (all cheap: gradients + one data-URI svg, no filters) */
.bgfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(64% 46% at 50% -12%, rgba(30, 107, 255, .34), transparent 70%), radial-gradient(38% 40% at 104% 22%, rgba(10, 132, 255, .13), transparent 70%), radial-gradient(40% 34% at -4% 100%, rgba(138, 92, 255, .11), transparent 70%), linear-gradient(180deg, #01092B 0%, #020D35 52%, #031038 100%) }
.bgfx::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(150, 190, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 190, 255, .05) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(72% 54% at 50% 0%, #000, transparent 76%); mask-image: radial-gradient(72% 54% at 50% 0%, #000, transparent 76%) }
.bgfx::after { content: ''; position: absolute; inset: 0; opacity: .9; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' fill='none' stroke='%23BFDCFF' stroke-width='1'%3E%3Cellipse cx='980' cy='420' rx='900' ry='330' transform='rotate(-14 980 420)' stroke-opacity='.08'/%3E%3Cellipse cx='980' cy='420' rx='1130' ry='470' transform='rotate(-14 980 420)' stroke-opacity='.045'/%3E%3C/svg%3E") center / cover no-repeat }
.prog { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--b), var(--c)); transform: scaleX(0); transform-origin: 0 50%; box-shadow: 0 0 12px var(--glowc) }

/* buttons: 12px corners (the N tile is a squircle, not a pill); the primary is the one bright thing */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--surf2); color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -.01em; overflow: hidden; transition: transform .25s var(--ease), background .2s, box-shadow .25s var(--ease), color .2s; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(170, 200, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .07) }
.btn:hover { background: rgba(150, 185, 255, .15); box-shadow: inset 0 0 0 1px rgba(170, 205, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .1) } .btn:active { transform: scale(.975) }
.btn.pri { background: linear-gradient(180deg, #4E93FF 0%, #1E6BFF 56%, #1858DA 100%); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(150, 195, 255, .5), 0 14px 34px -14px var(--glow) }
.btn.pri:hover { background: linear-gradient(180deg, #62A0FF 0%, #2C79FF 56%, #1E64E8 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 0 0 1px rgba(170, 210, 255, .6), 0 0 0 4px rgba(30, 107, 255, .18), 0 18px 40px -14px var(--glow); transform: translateY(-2px) }
.btn.lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px } .btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px }
.btn.icon { padding: 0; width: 44px } .btn.icon.sm { width: 40px } .btn.ghost { background: transparent; box-shadow: none } .btn.ghost:hover { background: var(--surf) }
.btn[disabled], .btn.dis { opacity: .45; cursor: not-allowed; pointer-events: none; box-shadow: none }
.btn .rip { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(0); animation: rip .7s ease-out forwards; pointer-events: none } @keyframes rip { to { transform: scale(2.6); opacity: 0 } }
.btn .ic { width: 18px; height: 18px }
.soonTag { display: inline-flex; align-items: center; justify-content: center; height: 20px; padding: 0 7px; font: 700 12px/1 var(--mf); letter-spacing: .06em; text-transform: uppercase; background: rgba(138, 92, 255, .18); color: var(--v2); border-radius: 6px }
.linkarrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--b3); min-height: 44px } .linkarrow:hover { color: var(--c) } .linkarrow .ic { width: 16px; height: 16px; transition: transform .25s var(--ease) } .linkarrow:hover .ic { transform: translateX(4px) }

/* chips, eyebrow, dots: tonal, no outlines (the selected / coloured ones get a tinted fill) */
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r3); background: var(--surf2); border: 0; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap }
.chip.b { background: rgba(30, 107, 255, .2); color: #C4DBFF } .chip.c { background: rgba(41, 211, 255, .12); color: var(--c) } .chip.v { background: rgba(138, 92, 255, .17); color: var(--v2) }
.chip.ok { background: rgba(61, 227, 176, .12); color: var(--ok) } .chip.bad { background: rgba(255, 107, 134, .13); color: var(--bad) } .chip.warn { background: rgba(255, 195, 77, .13); color: var(--warn) }
button.chip, a.chip { cursor: pointer; transition: background .2s, color .2s, box-shadow .2s } button.chip:hover, a.chip:hover { background: rgba(150, 185, 255, .16) } button.chip[disabled], a.chip[aria-disabled=true] { cursor: default; opacity: .75; pointer-events: none }
.chip[aria-pressed=true], .chip.on { background: rgba(30, 107, 255, .3); color: #fff; box-shadow: inset 0 0 0 1px rgba(106, 165, 255, .55) }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 rgba(41, 211, 255, .7); animation: pulse 1.8s infinite } @keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(41, 211, 255, 0) } 100% { box-shadow: 0 0 0 0 rgba(41, 211, 255, 0) } }
/* eyebrow: plain small label with a short line in front, no pill */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; height: 24px; padding: 0; font: 600 12px/1 var(--mf); letter-spacing: .16em; text-transform: uppercase; color: var(--c); white-space: nowrap }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; flex: none } .eyebrow .pulse { display: none }
.demoplate { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: var(--r3); background: rgba(138, 92, 255, .16); color: #DDD0FF; font: 700 12px/1 var(--mf); letter-spacing: .06em; white-space: nowrap } .demoplate i { width: 7px; height: 7px; border-radius: 50%; background: var(--v2); box-shadow: 0 0 10px var(--v) } .demoplate .dp-long { font-weight: 500; text-transform: none; letter-spacing: 0; color: #B9A8EE }

/* status badges: ORIGINALITY PASSED / REVIEW REQUIRED / DUPLICATE RISK / FAIR START / BUNDLE RISK / UNKNOWN / DEMO / state chips.
   A small tinted tag in the sans face (the wide mono capitals looked like a sticker sheet), no outline. */
.bdg { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font: 700 12px/1 var(--bf); letter-spacing: .045em; white-space: nowrap; border: 0; background: var(--surf2); color: var(--mut) }
.bdg .ic { width: 13px; height: 13px; stroke-width: 2.4 }
.bdg.ok { background: rgba(61, 227, 176, .12); color: var(--ok) } .bdg.warn { background: rgba(255, 195, 77, .13); color: var(--warn) }
.bdg.bad { background: rgba(255, 107, 134, .13); color: var(--bad) } .bdg.mute { color: var(--mut) }
.bdg.demo { background: rgba(138, 92, 255, .17); color: #DDD0FF } .bdg.v { background: rgba(138, 92, 255, .17); color: var(--v2) }
.bdg.b { background: rgba(30, 107, 255, .2); color: #C4DBFF } .bdg.c { background: rgba(41, 211, 255, .12); color: var(--c) }

/* avatars (gradient from project hues, clamped to the brand range) */
.av { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 30%; color: #fff; font: 800 14px/1 var(--hf); letter-spacing: -.02em; background: linear-gradient(145deg, hsl(var(--h1) 88% 62%), hsl(var(--h2) 72% 34%)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 18px -10px hsl(var(--h1) 90% 50%) }
.av.sm { width: 28px; height: 28px; font-size: 12px } .av.lg { width: 48px; height: 48px; font-size: 17px } .av.xl { width: 72px; height: 72px; font-size: 26px }
.av b { font: inherit }

/* surfaces: tone + a hairline of light, no drawn border */
.panel, .card { background: var(--gloss), var(--panel); border: 0; border-radius: var(--r); padding: 24px; box-shadow: var(--edge) }
.panel.flat { background: var(--panel); box-shadow: none } .panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap } .panel-h h3 { font-size: 20px }
.kpi { display: grid; gap: 4px } .kpi dt, .kpi .k { color: var(--mut); font-size: 13px; font-weight: 500 } .kpi dd, .kpi .v { margin: 0; font: 700 22px/1.1 var(--hf); letter-spacing: -.025em; font-variant-numeric: tabular-nums }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px }
.grid { display: grid; gap: 16px } .grid.c2 { grid-template-columns: repeat(2, 1fr) } .grid.c3 { grid-template-columns: repeat(3, 1fr) } .grid.c4 { grid-template-columns: repeat(4, 1fr) } .grid.cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) }

/* project card: identity + the one number that matters, a quiet verdict line, hairline stats, plain action row */
.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; border: 0; background: var(--gloss), var(--panel); box-shadow: var(--edge); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; transform-style: preserve-3d }
.pcard::before { content: ''; position: absolute; inset: 0; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(60, 140, 255, .2), transparent 62%); opacity: 0; transition: opacity .3s; pointer-events: none }
.pcard:hover { box-shadow: inset 0 0 0 1px rgba(120, 175, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .1), 0 28px 54px -30px var(--glow) } .pcard:hover::before { opacity: 1 }
.pc-top { display: flex; align-items: center; gap: 14px } .pc-id { min-width: 0; flex: 1 } .pc-id h3 { font-size: 21px; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .pc-id .tk { color: var(--mut); font-size: 13px; font-weight: 500 }
.pc-desc { color: var(--mut); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 43px }
.pc-badges { display: flex; flex-wrap: wrap; gap: 6px }
.pc-stats { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 10px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line) } .pc-stats dt { color: var(--mut2); font-size: 12px; font-weight: 500; margin-bottom: 3px } .pc-stats dd { margin: 0; font: 600 16px/1.25 var(--bf); font-variant-numeric: tabular-nums; letter-spacing: -.02em } .pc-stats small { font-size: 12px; font-weight: 600 }
.pc-act { display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 0; border: 0; background: none; color: var(--mut2); font-size: 13.5px; font-weight: 600 } .pc-act.live { color: var(--ink) } .pc-act .ic { width: 16px; height: 16px; color: var(--b3) } .pc-act span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .pc-act em { display: inline-flex; font-style: normal; transition: transform .25s var(--ease), color .2s } .pcard:hover .pc-act em { transform: translateX(3px); color: var(--c) }
.pcard-sk { height: 318px; border-radius: 22px }

/* event rows: a list with hairlines, not a stack of cards */
.evlist { display: grid; gap: 0 } .evlist > .sk { margin-bottom: 8px }
.evr { display: flex; align-items: center; gap: 14px; padding: 14px 8px 14px 6px; border-radius: 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; transition: background .25s, transform .3s var(--ease) } .evr:last-child { border-bottom-color: transparent } .evr:hover { background: var(--surf); transform: translateX(4px) }
.evi { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(30, 107, 255, .16); color: var(--b3) } .evi .ic { width: 20px; height: 20px }
.evi.t-launch { background: rgba(41, 211, 255, .12); color: var(--c) } .evi.t-acquisition { background: rgba(255, 195, 77, .12); color: var(--warn) } .evi.t-merge { background: rgba(41, 211, 255, .12); color: var(--c) } .evi.t-alliance { background: rgba(138, 92, 255, .16); color: var(--v2) } .evi.t-spawn { background: rgba(61, 227, 176, .12); color: var(--ok) } .evi.t-expansion { background: rgba(234, 243, 255, .1); color: var(--ink) } .evi.t-bounty { background: rgba(255, 195, 77, .1); color: var(--warn) } .evi.t-governance { background: rgba(30, 107, 255, .2); color: #A9CBFF }
.ev-b { display: grid; gap: 3px; min-width: 0; flex: 1 } .ev-b b { font-weight: 600; font-size: 15px; line-height: 1.35 } .ev-b small { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--mut2); font-size: 12.5px } .ev-b .evt { color: var(--mut); font-weight: 600 } .ev-b .evd { color: var(--v2) }
.evr.fresh { animation: evin .8s var(--ease) } @keyframes evin { from { opacity: 0; transform: translateY(-12px); background: rgba(30, 107, 255, .22) } }

/* table */
.tbl-wrap { overflow-x: auto; border: 0; border-radius: var(--r); background: var(--panel); box-shadow: var(--edge) }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px } .tbl th { text-align: left; padding: 13px 16px; color: var(--mut2); font: 600 12px/1.2 var(--bf); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); white-space: nowrap } .tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle } .tbl tr:last-child td { border-bottom: 0 } .tbl tbody tr:hover td { background: rgba(91, 155, 255, .05) } .tbl .num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mf) }

/* tabs (role=tablist): underline tabs. The segmented control (.seg) stays a small tonal switch for choices inside a panel */
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; width: 100%; max-width: 100% } .tabs::-webkit-scrollbar { display: none }
.tabs [role=tab] { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 16px; border-radius: 0; border: 0; background: transparent; color: var(--mut); font-weight: 600; font-size: 15px; white-space: nowrap; transition: color .2s }
.tabs [role=tab]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--b), var(--c)); transform: scaleX(0); transition: transform .35s var(--ease) }
.tabs [role=tab]:hover { color: var(--ink) } .tabs [role=tab][aria-selected=true] { color: #fff; background: transparent; box-shadow: none } .tabs [role=tab][aria-selected=true]::after { transform: scaleX(1) }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; border: 0; background: rgba(1, 9, 43, .55); box-shadow: inset 0 0 0 1px var(--line) } .seg button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 9px; border: 0; background: transparent; color: var(--mut); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s } .seg button:hover { color: var(--ink) } .seg button[aria-pressed=true] { background: rgba(106, 165, 255, .22); color: #fff; box-shadow: inset 0 0 0 1px rgba(106, 165, 255, .4) }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px } .filters::-webkit-scrollbar { display: none } .filters .chip { flex: none; height: 38px; padding: 0 16px; font-size: 14px }

/* stepper, progress, vote bar */
.stepper { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none } .stepper::-webkit-scrollbar { display: none }
.stepper li { display: flex; align-items: center; gap: 8px; flex: 1 0 auto; color: var(--mut2); font-size: 13.5px; font-weight: 600; white-space: nowrap } .stepper li::after { content: ''; flex: 1; min-width: 14px; height: 1px; background: var(--line2) } .stepper li:last-child::after { display: none }
.stepper .sn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); font: 700 12.5px var(--mf) } .stepper .sn .ic { width: 14px; height: 14px; stroke-width: 2.4 }
.stepper li.on { color: var(--ink) } .stepper li.on .sn { background: var(--b); box-shadow: 0 0 0 4px rgba(30, 107, 255, .25); color: #fff } .stepper li.done { color: var(--mut) } .stepper li.done .sn { background: rgba(61, 227, 176, .14); box-shadow: inset 0 0 0 1px rgba(61, 227, 176, .5); color: var(--ok) } .stepper li.done::after { background: rgba(61, 227, 176, .5) }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden } .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--b), var(--c)); transition: width .9s var(--ease) } .bar.ok i { background: linear-gradient(90deg, #1FB88A, var(--ok)) } .bar.warn i { background: var(--warn) } .bar.bad i { background: var(--bad) } .bar.v i { background: linear-gradient(90deg, var(--v), var(--v2)) }
.vbar { display: flex; height: 8px; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .07) } .vbar .y { background: linear-gradient(90deg, #1FB88A, var(--ok)) } .vbar .n { background: linear-gradient(90deg, var(--bad), #D6405E); margin-left: auto }
.vleg { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font: 700 12px var(--mf); letter-spacing: .04em } .vleg .y { color: var(--ok) } .vleg .n { color: var(--bad) }

/* forms: filled fields with a hairline, a clear blue focus ring */
.field { display: grid; gap: 6px; margin-bottom: 16px } .field > label, .field .lbl { font-weight: 600; font-size: 14px } .field small { color: var(--mut); font-size: 13px } .field .err { color: var(--bad); font-size: 13px; font-weight: 600 }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: rgba(1, 7, 34, .6); border: 0; box-shadow: inset 0 0 0 1px var(--line2); border-radius: var(--r2); padding: 12px 14px; min-height: 48px; transition: box-shadow .2s, background .2s } textarea { min-height: 110px; resize: vertical }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--b3), 0 0 0 4px rgba(30, 107, 255, .2) } input::placeholder, textarea::placeholder { color: var(--mut2) }
input[aria-invalid=true], textarea[aria-invalid=true] { box-shadow: inset 0 0 0 1.5px var(--bad) }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--b); box-shadow: none }
.drop { display: grid; place-items: center; gap: 8px; min-height: 180px; padding: 24px; text-align: center; border: 1.5px dashed var(--line3); border-radius: var(--r); background: rgba(30, 107, 255, .05); color: var(--mut); transition: border-color .2s, background .2s } .drop.over { border-color: var(--c); background: rgba(41, 211, 255, .08) }

/* skeleton, empty, toast */
.sk { position: relative; overflow: hidden; background: var(--panel); border-radius: var(--r2) } .sk::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(91, 155, 255, .09) 50%, transparent 80%); transform: translateX(-100%); animation: shim 1.3s infinite } @keyframes shim { to { transform: translateX(100%) } }
.empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 48px 20px; border: 1.5px dashed var(--line2); border-radius: var(--r); color: var(--mut) } .empty img { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 4px } .empty b { color: var(--ink); font-family: var(--hf); font-size: 20px; letter-spacing: -.03em } .empty p { max-width: 46ch; font-size: 14.5px; margin-bottom: 6px } .empty.err { border-color: rgba(255, 107, 134, .5) } .empty.err b { color: var(--bad) }
#toasts { position: fixed; z-index: 130; right: 16px; bottom: 16px; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)) } .toast { background: var(--panel3); box-shadow: inset 0 0 0 1px var(--line3), 0 20px 40px -20px #000; color: var(--ink); padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 14.5px; transform: translateY(14px) scale(.96); opacity: 0; transition: transform .35s var(--ease), opacity .3s } .toast.in { transform: none; opacity: 1 } .toast.err { box-shadow: inset 0 0 0 1px var(--bad), 0 20px 40px -20px #000 } .toast.ok::before { content: '✓ '; color: var(--ok) }

/* modal + menu */
.modal-bg { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(1, 6, 24, .82); opacity: 0; transition: opacity .2s } .modal-bg.in { opacity: 1 }
.modal { width: min(460px, 100%); max-height: calc(100vh / var(--zm) - 32px); overflow-y: auto; background: var(--gloss), #07154A; border: 0; box-shadow: var(--lift), inset 0 0 0 1px var(--line3), inset 0 1px 0 rgba(255, 255, 255, .1); border-radius: 24px; padding: 24px; transform: translateY(14px) scale(.98); transition: transform .3s var(--ease) } .modal.wide { width: min(760px, 100%) } .modal-bg.in .modal { transform: none }
.modal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px } .modal-h h3 { font-size: 24px }
.wopts { display: grid; gap: 10px } .wopt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; border-radius: 16px; border: 0; box-shadow: inset 0 0 0 1px var(--line2); background: var(--surf); text-align: left; transition: box-shadow .2s, background .2s } .wopt:hover { box-shadow: inset 0 0 0 1px var(--b3); background: rgba(91, 155, 255, .1) } .wopt.pri { box-shadow: inset 0 0 0 1px rgba(106, 165, 255, .6); background: rgba(30, 107, 255, .16) }
.wopt .wi { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(91, 155, 255, .16); color: var(--b3); flex: none } .wopt b { display: block; font-size: 16px } .wopt small { display: block; color: var(--mut); font-size: 13.5px }
.wallet-host { position: relative; display: inline-flex }
.wchip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: rgba(30, 107, 255, .16); box-shadow: inset 0 0 0 1px rgba(106, 165, 255, .35); font-size: 13.5px; font-weight: 600; white-space: nowrap } .wchip:hover { background: rgba(30, 107, 255, .26) } .wdot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(61, 227, 176, .7) }
.menu { position: absolute; z-index: 60; right: 0; top: 48px; min-width: 220px; padding: 8px; display: grid; gap: 2px; background: #07154A; border: 0; box-shadow: var(--lift), inset 0 0 0 1px var(--line3); border-radius: 16px } .menu-h { padding: 8px 12px; color: var(--mut); font-size: 12.5px } .menu a, .menu button { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; font-size: 14.5px; font-weight: 600; text-align: left; width: 100% } .menu a:hover, .menu button:hover { background: rgba(91, 155, 255, .14) } .menu .ic { width: 17px; height: 17px; color: var(--b3) }
.wbtn .wl-short { display: none }

/* nav + drawer + mobile tab bar. Right side of the header = the X chip, the CA chip, the wallet (the DEMO plate only while demo data is on) */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: transform .45s var(--ease), background .3s, box-shadow .3s }
.nav.scrolled { background: rgba(2, 9, 38, .93); box-shadow: 0 1px 0 var(--line) } .nav.hide { transform: translateY(-110%) }
.nav-in { display: flex; align-items: center; gap: 18px; height: 72px }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 var(--hf); letter-spacing: -.04em } .brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 18px -8px var(--glow) }
.links { display: flex; gap: 2px; margin-left: 20px } .links a { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 14px; border-radius: 10px; color: var(--mut); font-weight: 600; font-size: 14.5px; transition: color .2s, background .2s } .links a:hover { color: var(--ink) } .links a[aria-current=page] { color: #fff } .links a[aria-current=page]::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--b), var(--c)) }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px } .nav-chips { display: inline-flex; align-items: center; gap: 8px }
.nav-chips .chip { height: 40px; padding: 0 14px; border-radius: 12px; background: var(--surf2); box-shadow: inset 0 0 0 1px rgba(170, 200, 255, .12); font-size: 14px; font-weight: 650; min-width: 40px } .nav-chips a.chip { font-weight: 800; letter-spacing: -.01em } .nav-chips button.chip[disabled] { opacity: 1; color: var(--mut) }
.nav-chips a.chip:hover, .nav-chips button.chip:not([disabled]):hover { background: rgba(150, 185, 255, .18) }
.motion { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--r3); border: 0; background: var(--surf2); font-size: 12.5px; font-weight: 600; color: var(--mut); white-space: nowrap } .motion i { width: 8px; height: 8px; border-radius: 50%; background: var(--c) } .motion[aria-pressed=false] i { background: var(--mut2) }
.burger { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--surf2) } .burger i, .burger i::before, .burger i::after { content: ''; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s } .burger i::before { position: absolute; top: -6px } .burger i::after { position: absolute; top: 6px }
.burger[aria-expanded=true] i { background: transparent } .burger[aria-expanded=true] i::before { top: 0; transform: rotate(45deg) } .burger[aria-expanded=true] i::after { top: 0; transform: rotate(-45deg) }
.drawer { position: fixed; z-index: 49; inset: 72px 0 auto 0; background: #030E36; border-bottom: 1px solid var(--line); padding: 14px 16px 22px; display: grid; gap: 4px; transform: translateY(-120%); transition: transform .35s var(--ease); visibility: hidden } .drawer.open { transform: none; visibility: visible }
.drawer a:not(.chip) { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 12px; font-weight: 650; font-size: 18px; border: 0; border-bottom: 1px solid var(--line) } .drawer a[aria-current=page] { background: rgba(30, 107, 255, .16); border-bottom-color: transparent } .drawer a:not(.chip) .ic { color: var(--b3) }
.drawer-foot { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px }
.tabbar { display: none; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; grid-template-columns: repeat(5, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #030C30; border-top: 1px solid var(--line2) }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 12px; color: var(--mut); font-size: 12px; font-weight: 600 } .tabbar a .ic { width: 22px; height: 22px } .tabbar a[aria-current=page] { color: #fff; background: rgba(30, 107, 255, .2) } .tabbar a[aria-current=page] .ic { color: var(--c) }
.tabbar a.mid { margin-top: -20px; min-height: 72px; justify-content: flex-end; color: var(--ink); background: none !important } .tabbar a.mid .ic { width: 42px; height: 42px; padding: 10px; border-radius: 14px; color: #fff; background: linear-gradient(180deg, #4E93FF, #1E6BFF); box-shadow: 0 8px 22px -6px var(--glow), 0 0 0 4px #030C30 }

/* footer: the brand large on the left, three quiet columns, one small legal line at the bottom */
.foot { position: relative; margin-top: 120px; padding: 64px 0 56px; color: var(--mut); font-size: 14px; background: linear-gradient(180deg, transparent, rgba(1, 5, 24, .7)) }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(150, 195, 255, .3) 30%, rgba(150, 195, 255, .3) 70%, transparent) }
.foot-in { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px } .foot a:not(.brand):not(.chip):hover { color: var(--ink) } .foot .col { display: grid; gap: 10px; align-content: start } .foot h4 { font: 600 12px/1 var(--mf); letter-spacing: .16em; text-transform: uppercase; color: var(--mut2); margin-bottom: 6px }
.foot-brand { display: grid; gap: 16px; align-content: start } .foot-tag { font: 800 clamp(22px, 2.4vw, 30px)/1.1 var(--hf); letter-spacing: -.035em; color: var(--ink); max-width: 18ch }
.foot-chips { display: flex; gap: 8px; flex-wrap: wrap }
.foot-legal { grid-column: 1 / -1; display: flex; gap: 14px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 28px; margin-top: 8px; border-top: 1px solid var(--line) }
.foot-note { display: block; max-width: 640px; line-height: 1.6; color: var(--mut2); font-size: 13px } .foot-note b { color: #D5C6FF }
.foot-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap }
.linkbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--r3); background: transparent; box-shadow: inset 0 0 0 1px var(--line2); color: var(--mut); font-size: 12.5px; font-weight: 600; white-space: nowrap } .linkbtn:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--b3) }

/* word-by-word headline masks (fx.js splitIn): the mask opens when the animation ends so no glyph is cut */
.sp { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .2em 0; margin: 0 -.06em -.2em 0 } .sp > i { display: inline-block; font-style: normal; will-change: transform } .sp.done { overflow: visible }
.rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms) } .rise.in { opacity: 1; transform: none }

/* network graph (netgraph.js) */
.ng-box { position: relative; width: 100%; overflow: hidden; touch-action: pan-y } .ng { display: block; width: 100%; height: 100%; user-select: none; touch-action: pan-y } .ng.grab { cursor: grabbing }
.ng-n { cursor: pointer; outline: none } .ng-c { stroke: rgba(234, 243, 255, .4); stroke-width: 1.5; transition: stroke .2s, stroke-width .2s } .ng-halo { fill: none; stroke: transparent; stroke-width: 2; transition: stroke .2s }
.ng-n.risk .ng-halo { stroke: rgba(255, 107, 134, .7); stroke-dasharray: 3 3 } .ng-n.chain .ng-c { stroke: var(--v2); stroke-dasharray: 4 4 }
.ng-n:hover .ng-halo, .ng-n:focus-visible .ng-halo { stroke: rgba(41, 211, 255, .8) } .ng-n.sel .ng-c { stroke: #fff; stroke-width: 3 } .ng-n.sel .ng-halo { stroke: rgba(41, 211, 255, .6) }
.ng-t { fill: #fff; font: 800 13px var(--hf); pointer-events: none } .ng-name { fill: var(--ink); font: 600 12.5px var(--bf); pointer-events: none; paint-order: stroke; stroke: #020B30; stroke-width: 4px; stroke-linejoin: round }
.ng.hl .ng-n:not(.on) { opacity: .28 } .ng.hl .ng-e:not(.on) { opacity: .15 } .ng-e { transition: opacity .2s } .ng-e.on { stroke-width: 3 }
.ng.ng-in .ng-n { animation: ngin .6s var(--ease) both; animation-delay: var(--d, 0ms) } .ng.ng-in .ng-e { animation: ngfade .9s ease both .25s } @keyframes ngin { from { opacity: 0 } } @keyframes ngfade { from { opacity: 0 } }
.ng-tip { position: absolute; z-index: 5; left: 0; top: 0; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: #081854; box-shadow: inset 0 0 0 1px var(--line3), 0 18px 40px -16px #000; font-size: 13px; pointer-events: none; white-space: nowrap } .ng-tip b { font-size: 14.5px }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--mut) } .legend li { display: inline-flex; align-items: center; gap: 9px } .legend b { color: var(--ink); font-size: 12.5px }
.lgd { position: relative; display: inline-block; width: 30px; height: 12px } .lgd::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; border-top: 2px solid var(--c) } .lgd.dash::before { border-top-style: dashed } .lgd.dot::before { border-top: 3px dotted var(--c) } .lgd.thin::before { border-top-width: 1px } .lgd.double::before { top: 3px; height: 4px; border-top: 1.5px solid var(--c); border-bottom: 1.5px solid var(--c) }

/* sparkline */
.spark { width: 100%; height: 56px; overflow: visible } .spark.up { color: var(--ok) } .spark.dn { color: var(--bad) }

/* orbit signature: a thin tilted ring with a light travelling along it. <div class="orbit" style="--tilt:-12deg"><i class="o-ring"></i><i class="o-spark"><b class="o-x"><b class="o-y"></b></b></i></div> */
.orbit { position: absolute; pointer-events: none; inset: 0; -webkit-mask-image: linear-gradient(105deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(105deg, transparent 0, #000 22%, #000 78%, transparent 100%) }
.o-ring { position: absolute; inset: 5% 1.5%; border-radius: 50%; border: 1.3px solid rgba(190, 222, 255, .42); transform: rotate(var(--tilt, -12deg)); box-shadow: 0 0 22px -4px rgba(41, 211, 255, .25), inset 0 0 22px -8px rgba(41, 211, 255, .2) }
.o-spark { position: absolute; inset: 5% 1.5%; transform: rotate(var(--tilt, -12deg)) }
.o-x { position: absolute; top: 0; left: 50%; width: 0; height: 100%; animation: ox 11s cubic-bezier(.37, 0, .63, 1) infinite alternate } .o-y { position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(41, 211, 255, .18), 0 0 18px 4px rgba(41, 211, 255, .8); animation: oy 11s cubic-bezier(.37, 0, .63, 1) infinite alternate -5.5s }
@keyframes ox { from { transform: translateX(-50%) } to { transform: translateX(50%) } } @keyframes oy { from { top: 0 } to { top: 100% } }
.star4 { position: absolute; width: 38px; height: 38px; color: #fff; background: radial-gradient(closest-side, rgba(150, 215, 255, .55), transparent) } .star4 svg { width: 100%; height: 100% }
/* the N tile: the real mark as a large glossy graphic (ice edge, deep shadow) */
.ntile { position: relative; display: block; width: var(--s, 320px); aspect-ratio: 1; border-radius: 22.5%; overflow: hidden; box-shadow: 0 60px 100px -40px rgba(10, 80, 255, .75), 0 0 0 1px rgba(190, 220, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .5) } .ntile img { width: 100%; height: 100%; object-fit: cover }
.ntile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(255, 255, 255, .22), transparent 34%); pointer-events: none }

/* the manual motion switch adds .calm; reduced-motion is NOT used on purpose */
html.calm *, html.calm *::before, html.calm *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important }

.foot .motion { justify-self: start }
@media (max-width: 1099px) { .links a { padding: 0 11px } .links { margin-left: 8px } }
@media (max-width: 900px) {
  .links { display: none } .burger { display: inline-flex } .nav-in { gap: 10px; height: 64px } .nav-cta { gap: 8px } .drawer { inset: 64px 0 auto 0 }
  .tabbar { display: grid } body { padding-bottom: 76px } .foot { margin-top: 80px; padding: 48px 0 56px } #toasts { bottom: 88px }
  .foot-in { grid-template-columns: 1fr 1fr } .foot-brand { grid-column: 1 / -1 }
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 640px) {
  .demoplate .dp-long { display: none } .demoplate { padding: 0 10px }
  .wbtn .wl-long { display: none } .wbtn .wl-short { display: inline } .wbtn { padding: 0 14px }
  .brand span { display: none } .brand img { width: 36px; height: 36px }
  .nav-chips .chip { height: 38px; padding: 0 11px; font-size: 13px; min-width: 38px } .nav-cta .btn.pri { min-height: 40px; padding: 0 14px }
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr } .grid.cards { grid-template-columns: 1fr }
  .modal { padding: 20px; border-radius: 20px }
}
@media (max-width: 560px) { body { font-size: 15.5px } .btn.lg { min-height: 52px; padding: 0 22px; font-size: 16px } #toasts { left: 16px; right: 16px } .foot-in { grid-template-columns: 1fr } .pc-stats { grid-template-columns: 1fr 1fr 1fr } .foot-legal { flex-direction: column; align-items: flex-start } }

/* shared with Home: lead text, mono label, demo notice line (a quiet dotted line, not a box). Inner pages (Explore, Launch ...) use them. */
.lead { color: var(--mut); font-size: clamp(16px, 1.9vw, 19px); max-width: 640px }
.exlab { font: 600 12px var(--mf); letter-spacing: .08em; text-transform: uppercase; color: var(--mut2) }
.demo-line { display: block; margin-top: 26px; padding: 0; max-width: 560px; border: 0; background: none; color: var(--mut2); font-size: 13.5px; line-height: 1.5 } .demo-line::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 10px 1px 0; vertical-align: middle; border-radius: 50%; background: var(--v2); box-shadow: 0 0 10px var(--v) } .demo-line b { color: #D5C6FF; font-weight: 600 }

/* inner-page headers: the orbit holds the N tile like a planet (the ring alone read as an empty hole) */
.ex-orbit::after, .lz-orbit::after, .pp-orbit::after, .nf-orbit::after { content: ''; position: absolute; left: 50%; top: 50%; width: 132px; aspect-ratio: 1; border-radius: 22.5%; background: url('/img/icon-512.png') center / cover; box-shadow: 0 40px 70px -26px rgba(10, 80, 255, .8), 0 0 0 1px rgba(190, 220, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .4); transform: translate(-50%, -50%) rotate(-9deg) }
@media (max-width: 640px) { .eyebrow { white-space: normal; height: auto; min-height: 24px; line-height: 1.5 } }
@media (max-width: 480px) { .nav-cta .demoplate { display: none } }
.drawer-demo { margin-top: 8px }
