/* ═══════════════════════════════════════════════════════════════════════
   Design: hivepad.app structure (hex rail, boxed panels with hard offset
   shadows, mono display type) + vortexdeployer.com tone (black canvas,
   numbered eyebrows, violet accent) in a black / violet / burgundy palette
   with a slow gradient shift running through every accent surface.
   ═══════════════════════════════════════════════════════════════════════ */
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-sans-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #07060b;
  --bg-2: #0a0810;
  --panel: #0e0b15;
  --card: #110d19;
  --card-2: #16111f;
  --elev: #1b1526;
  --surface: var(--card);
  --surface-2: var(--card-2);
  --surface-3: var(--elev);
  --mist: #1d1430;
  --line: #262033;
  --line-strong: #3a2f4e;
  --rule: #1f1929;
  --shadow-hard: #2a1a3f;
  --ink: #f4f0fa;
  --ink-2: #c0b6d1;
  --ink-3: #8c819f;
  --ink-4: #5d5370;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --violet-3: #c4b5fd;
  --violet-deep: #5b21b6;
  --wine: #a3184f;
  --wine-2: #d6336c;
  --wine-deep: #5e0f33;
  --magenta: #e879f9;
  --ember: var(--violet);
  --ember-deep: var(--violet-2);
  --ember-ink: var(--ink);
  --ember-soft: rgba(139, 92, 246, 0.14);
  --vivid: var(--violet-2);
  --mint: var(--violet-3);
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.12);
  --bad: #ff5a6e;
  --bad-soft: rgba(255, 90, 110, 0.12);
  --wait: #f5b544;
  --wait-soft: rgba(245, 181, 68, 0.12);
  --chart-grid: #1a1424;
  --grad-shift: linear-gradient(115deg, #150b26 0%, #6d28d9 22%, #a3184f 48%, #7c3aed 70%, #3b0f2a 88%, #150b26 100%);
  --grad-brand: linear-gradient(135deg, #7c3aed 0%, #a3184f 100%);
  --grad-bright: linear-gradient(135deg, #a78bfa 0%, #d6336c 100%);
  --grad-soft: linear-gradient(135deg, #16101f 0%, #1d1230 100%);
  --grad-text: linear-gradient(95deg, #c4b5fd 0%, #a78bfa 30%, #ff5a9a 60%, #e879f9 80%, #c4b5fd 100%);
  --grad-line: linear-gradient(90deg, rgba(167, 139, 250, 0), #a78bfa 35%, #d6336c 65%, rgba(214, 51, 108, 0));
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-xl: 8px;
  --shadow: 5px 6px 0 0 var(--shadow-hard);
  --shadow-lift: 7px 8px 0 0 var(--shadow-hard);
  --glow: 0 0 0 1px rgba(167, 139, 250, 0.35), 0 14px 40px -14px rgba(139, 92, 246, 0.75);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1320px;
  --nav-w: 96px;
  --top-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ── base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; min-height: 100dvh; font: 14px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; position: relative; isolation: isolate; display: flex; flex-direction: column; }
/* paper grain: a fine dot screen like hivepad, violet on black */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: radial-gradient(rgba(167, 139, 250, 0.11) 0.6px, transparent 0.8px); background-size: 3px 3px; }
/* film grain over everything */
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.06; mix-blend-mode: screen; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.55 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
::selection { background: #5b21b6; color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4, .mono, .num, .label, .eyebrow, .btn, kbd, code, .chip, .tabular { font-family: var(--mono); }
.num, .tabular { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--violet); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--ink-3); }
.label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
.label svg, .eyebrow svg { width: 13px; height: 13px; flex-shrink: 0; }
.grad-text, .outline { background: var(--grad-text); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shift 9s linear infinite; }
.outline::after { display: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.up { color: var(--ok); }
.down { color: var(--bad); }
.hide { display: none !important; }
.show-xs { display: none; }
@keyframes shift { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes shift-alt { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ── backdrop: aurora blobs + faint honeycomb ─────────── */
.aurora { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: drift 26s var(--ease) infinite alternate; }
.aurora i:nth-child(1) { width: 720px; height: 520px; right: -200px; top: -120px; background: radial-gradient(closest-side, rgba(109, 40, 217, 0.55), transparent); }
.aurora i:nth-child(2) { width: 560px; height: 460px; left: 10%; top: 30%; background: radial-gradient(closest-side, rgba(163, 24, 79, 0.42), transparent); animation-duration: 34s; animation-delay: -8s; }
.aurora i:nth-child(3) { width: 480px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(closest-side, rgba(124, 58, 237, 0.4), transparent); animation-duration: 40s; animation-delay: -16s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-60px, 40px, 0) scale(1.1); } 100% { transform: translate3d(40px, -30px, 0) scale(0.95); } }
.combs { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'><path d='M28 1 54 16v31L28 62 2 47V16Z M28 63 54 78v31L28 124 2 109V78Z M-26 32 0 47v31l-26 15-26-15V47Z M56 32l26 15v31l-26 15-26-15V47Z' fill='none' stroke='%23a78bfa' stroke-opacity='.09' stroke-width='1'/></svg>"); -webkit-mask-image: radial-gradient(70% 60% at 60% 20%, #000 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%); mask-image: radial-gradient(70% 60% at 60% 20%, #000 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%); }

/* ── top bar ──────────────────────────────────────────── */
.top { position: fixed; inset: 0 0 auto 0; height: var(--top-h); z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 14px; pointer-events: none; background: linear-gradient(180deg, rgba(7, 6, 11, 0.96) 0%, rgba(7, 6, 11, 0.75) 60%, rgba(7, 6, 11, 0) 100%); }
.top > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; height: 40px; }
.logo-mark { width: 30px; height: 30px; transition: transform 0.5s var(--ease); filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.45)); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.06); }
.logo-word { font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 0.22em; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.cabar { position: relative; display: inline-flex; align-items: stretch; height: 36px; border: 1.5px solid var(--line-strong); background: var(--card); overflow: hidden; border-radius: var(--r-sm); }
.cabar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(167, 139, 250, 0.16) 50%, transparent 70%); background-size: 260% 100%; animation: sheen 7s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.cabar-ca, .cabar-act { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0; background: none; border: 0; padding: 0; color: var(--ink); white-space: nowrap; font-family: var(--mono); font-size: 12px; }
.cabar-tag { display: grid; place-items: center; height: 100%; padding: 0 9px; background: var(--grad-shift); background-size: 300% 100%; animation: shift 9s linear infinite; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; }
.cabar-text { padding: 0 10px; font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.cabar-ca:hover .cabar-text { color: var(--violet-3); }
.cabar-act { padding: 0 9px; border-left: 1.5px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 11.5px; letter-spacing: 0.04em; }
.cabar-act:hover { color: #fff; background: var(--mist); }
.cabar-act svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cabar-buy[data-soon] { color: var(--ink-4); }
.cabar-ticker { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--violet-2); padding: 0 4px; }
.clock { font-size: 11.5px; color: var(--ink-3); width: 90px; }
.search-trigger { height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--card); color: var(--ink-3); transition: border-color 0.15s, color 0.15s; }
.search-trigger:hover { border-color: var(--violet); color: var(--ink); }
.search-trigger svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 3px; font-size: 10.5px; color: var(--ink-3); background: var(--elev); }
.wallet-dot { width: 7px; height: 7px; background: var(--ink-4); flex-shrink: 0; transition: background 0.2s, box-shadow 0.2s; }
.btn-wallet.is-connected .wallet-dot { background: var(--violet-2); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.22); }
.btn-wallet.is-member .wallet-dot { background: var(--magenta); box-shadow: 0 0 0 3px rgba(232, 121, 249, 0.25); }
.btn-wallet.is-connected { border-color: var(--violet); color: var(--violet-3); }

/* ── hex rail (desktop nav) ───────────────────────────── */
.rail { position: fixed; left: 0; top: var(--top-h); bottom: 0; width: var(--nav-w); z-index: 35; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding-top: 14px; pointer-events: none; }
.rail a { pointer-events: auto; position: relative; width: 78px; height: 86px; display: grid; place-items: center; color: var(--ink-3); outline: none; transition: color 0.15s, transform 0.3s var(--ease); margin-top: -8px; }
.rail a:first-child { margin-top: 0; }
.rail a .hex-bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rail a .hex-bg path { fill: var(--card); stroke: var(--line-strong); stroke-width: 2.5; transition: fill 0.2s, stroke 0.2s; }
.rail a .hex-bg .hex-shadow { fill: var(--shadow-hard); stroke: none; transform: translate(4px, 5px); opacity: 0; transition: opacity 0.2s; }
.rail a:hover { color: var(--ink); transform: translateX(3px); }
.rail a:hover .hex-bg path { stroke: var(--violet); }
.rail a:hover .hex-bg .hex-shadow { opacity: 1; }
.rail a.active { color: #fff; }
.rail a.active .hex-bg .hex-fill { fill: url(#rail-grad); stroke: var(--violet-3); }
.rail a.active .hex-bg .hex-shadow { opacity: 1; }
.rail a:focus-visible .hex-bg path { stroke: var(--violet-3); }
.rail-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.rail-in svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail-in b { font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.rail-in b.long { font-size: 7.5px; letter-spacing: 0.04em; }

/* ── bottom tab bar (phones) ──────────────────────────── */
.tabbar { display: none; position: fixed; inset: auto 0 0 0; z-index: 40; border-top: 1.5px solid var(--line-strong); background: rgba(10, 8, 16, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { flex: 1; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--ink-3); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.tabbar a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a .hex-bg { display: none; }
.tabbar a.active { color: var(--violet-3); }
.tabbar a.active svg { filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.6)); }

/* ── buttons & chips ──────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink); transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.2s, filter 0.15s; user-select: none; overflow: hidden; }
.btn:hover { border-color: var(--violet); background: var(--card-2); }
.btn:active { transform: translate(1px, 1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary, .btn-primary:hover { color: #fff; border-color: rgba(196, 181, 253, 0.55); background: var(--grad-shift); background-size: 300% 100%; animation: shift 9s linear infinite; box-shadow: var(--glow); }
.btn-primary:hover { filter: brightness(1.12); box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.6), 0 18px 44px -14px rgba(139, 92, 246, 0.9); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.6s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: transparent; }
.btn-md { height: 42px; padding: 0 18px; font-size: 12px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 12.5px; }
.btn-block { width: 100%; }
.text-btn { background: none; border: 0; padding: 0; color: var(--violet-3); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(167, 139, 250, 0.4); }
.text-btn:hover { color: #fff; text-decoration-color: currentColor; }
.icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--card); font-size: 18px; line-height: 1; color: var(--ink-2); }
.icon-btn:hover { border-color: var(--violet); color: var(--ink); }
.icon-btn:disabled { opacity: 0.4; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 7px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--elev); color: var(--ink-2); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.chip-live { background: var(--ember-soft); color: var(--violet-3); border-color: rgba(139, 92, 246, 0.45); }
.chip-live::before, .dot::before { content: ""; width: 5px; height: 5px; background: currentColor; animation: pulse-dot 1.4s ease-in-out infinite; }
.chip-wait { background: var(--wait-soft); color: var(--wait); border-color: rgba(245, 181, 68, 0.4); }
.chip-bad { background: var(--bad-soft); color: var(--bad); border-color: rgba(255, 90, 110, 0.4); }
.pump-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 4px; border: 1px solid var(--line-strong); border-radius: 2px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--card); }
.pump-pill svg { width: 16px; height: 16px; }
.live-dot { display: inline-block; width: 6px; height: 6px; background: var(--violet-2); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.18); animation: pulse-dot 1.2s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── layout primitives ────────────────────────────────── */
main.wrap { flex: 1; padding: calc(var(--top-h) + 24px) 28px 96px calc(var(--nav-w) + 28px); outline: none; max-width: calc(var(--max) + var(--nav-w)); overflow-x: clip; }
.footer { overflow-x: clip; }
.page { display: flex; flex-direction: column; gap: 72px; animation: page-in 0.4s var(--ease) both; }
.page-tight { gap: 40px; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card { position: relative; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--card); box-shadow: var(--shadow); }
.card-pad { padding: 28px; }
.box { border-radius: var(--r-sm); background: var(--card-2); border: 1px solid var(--line); }
/* boxed panel header, hivepad style */
.box-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1.5px solid var(--line-strong); }
.box-head .label { font-size: 10px; }
.box-head h2, .box-head h3 { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }
.box-head .right { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet-3); white-space: nowrap; }
.box-head .right a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.sec-head h2 span, h1 .accent, h2 .accent { color: var(--violet-2); }
.sec-head p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); max-width: 560px; line-height: 1.7; }
.sec-head .label { margin-bottom: 10px; }
.eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--violet-2); }
.eyebrow .n { color: var(--ink-3); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.spot { --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(167, 139, 250, 0.12), transparent 45%); z-index: 0; }
.spot:hover::before { opacity: 1; }
.grad-border { position: relative; }
.grad-border::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; background: var(--grad-bright); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.grad-border:hover::after { opacity: 1; }

/* ── page header (every inner page) ───────────────────── */
.page-head, .launch-intro, .dir-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1.5px solid var(--line-strong); }
.page-head h1, .launch-intro h1, .dir-hero h1, .prose h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin-top: 12px; max-width: 760px; }
.page-head p, .launch-intro p, .dir-hero p { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); max-width: 640px; line-height: 1.7; }
.page-head > div:first-child, .dir-hero > div:first-child { min-width: 0; flex: 1 1 480px; }
.launch-intro { flex-direction: column; align-items: stretch; }
.display { font-weight: 700; line-height: 1.02; letter-spacing: -0.025em; font-size: clamp(34px, 5.2vw, 64px); }
.display > span { display: block; }
.lead { margin-top: 20px; max-width: 560px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.dir-stats { display: grid; grid-template-columns: repeat(3, minmax(90px, 1fr)); border: 1.5px solid var(--line-strong); background: var(--card); flex-shrink: 0; box-shadow: var(--shadow); }
.dir-stats > div { padding: 14px 18px; border-right: 1.5px solid var(--line); }
.dir-stats > div:last-child { border-right: 0; }
.dir-stats dd { margin-top: 6px; font-family: var(--mono); font-size: 24px; font-weight: 700; }

/* ── empty states / notices ───────────────────────────── */
.empty { border: 1.5px dashed var(--line-strong); padding: 44px 24px; text-align: center; background: var(--card-2); }
.empty .ring-icon { margin: 0 auto 16px; width: 48px; height: 48px; }
.empty h3 { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.empty p { margin: 8px auto 0; max-width: 460px; color: var(--ink-2); font-size: 13.5px; line-height: 1.65; }
.empty .actions { justify-content: center; margin-top: 20px; }
.empty.compact { padding: 22px; }
.notice { padding: 12px 14px; border: 1px solid rgba(245, 181, 68, 0.4); background: var(--wait-soft); color: var(--wait); font-size: 13px; line-height: 1.55; }
.notice a { text-decoration: underline; }
.notice.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(52, 211, 153, 0.4); }

/* ── toasts ───────────────────────────────────────────── */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line-strong); background: var(--elev); color: #fff; font-size: 13px; box-shadow: var(--shadow); animation: toast-in 0.25s var(--ease) both; max-width: 360px; }
.toast::before { content: ""; width: 8px; height: 8px; background: var(--violet-2); flex-shrink: 0; }
.toast.is-error::before { background: var(--bad); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── misc pages ───────────────────────────────────────── */
.notfound { text-align: center; padding: 60px 0; }
.notfound .display { font-size: clamp(90px, 20vw, 220px); }
.notfound p { margin-top: 16px; color: var(--ink-2); }
.notfound .actions { justify-content: center; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 1360px) { .hide-lg { display: none !important; } }
@media (max-width: 1180px) {
  .coin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .docs { grid-template-columns: 190px minmax(0, 1fr); }
  .toc { display: none; }
  .home-grid { grid-template-columns: 1fr; }
  .side-col { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr); }
}
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 12px; min-height: 0; }
  .hive { min-height: 420px; }
  .split-card { flex-direction: column; align-items: stretch; }
  .token-grid, .launch-grid { grid-template-columns: 1fr; }
  .side, .preview-col { position: static; }
  .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how:nth-child(2) { border-right: 0; }
  .how:nth-child(-n + 2) { border-bottom: 1.5px solid var(--line); }
  .two-col, .faq-grid { grid-template-columns: 1fr; }
  .dir-hero { flex-direction: column; align-items: stretch; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sim { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-w: 0px; --top-h: 58px; }
  .top { position: sticky; top: 0; height: var(--top-h); padding: 0 12px; background: rgba(10, 8, 16, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1.5px solid var(--line-strong); pointer-events: auto; }
  .rail { display: none; }
  .tabbar { display: flex; }
  main.wrap { padding: 28px 20px 110px; max-width: var(--max); }
  .wrap { padding: 0 20px; }
  .hero { margin-left: 0; padding-left: 0; }
  .hero::after { left: -20px; right: -20px; }
  .footer { padding-left: 0; padding-bottom: 64px; }
  .hide-md { display: none !important; }
  .clock, .cabar-ticker { display: none; }
  .search-trigger { padding: 0 9px; }
  .dir-body { grid-template-columns: 1fr; }
  .filters { position: static; flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; padding: 8px; }
  .filters .label { display: none; }
  .filter { flex-shrink: 0; border-color: var(--line); }
  .coin-grid, .coin-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs { grid-template-columns: 1fr; }
  .docs-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .docs-nav .label { display: none; }
  .docs-nav a { white-space: nowrap; border: 1px solid var(--line); }
  .features, .burn-grid { grid-template-columns: 1fr; }
  .features .how { padding: 18px 0; }
  .features .how + .how { border-left: 0; border-top: 1.5px solid var(--line); padding-left: 0; }
  .recipients, .pills { align-items: flex-start; justify-content: flex-start; }
  .side-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  main.wrap { padding: 24px 16px 110px; }
  .hide-sm { display: none !important; }
  .page { gap: 48px; }
  .top-actions { gap: 6px; }
  .cabar-text { max-width: 86px; }
  .cabar-buy { display: none; }
  .logo-word { font-size: 12px; letter-spacing: 0.16em; }
  .hero .display { font-size: clamp(34px, 9.5vw, 44px); }
  .hive { min-height: 360px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
  .card-pad { padding: 18px; }
  .form-card { padding: 0 18px 18px; }
  .form-head { margin: 0 -18px 18px; padding: 12px 18px; }
  .divider { margin: 20px -18px; }
  .stat-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-boxes .stat-box:last-child { grid-column: span 2; }
  .market { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .how { border-right: 0; border-bottom: 1.5px solid var(--line); }
  .how:last-child { border-bottom: 0; }
  .chart-box { height: 300px; }
  .ohlc { font-size: 10px; gap: 2px 10px; }
  .ohlc span:nth-child(-n + 2) { display: none; }
  .rec-row { grid-template-columns: minmax(0, 1fr) 92px 34px; }
  .row-2 { grid-template-columns: 1fr; }
  .vaults, .kpis { grid-template-columns: 1fr; }
  .sim-row { grid-template-columns: 110px minmax(0, 1fr) 90px; }
  .toolbar { flex-direction: column; }
  .segmented { align-self: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .dir-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dir-stats > div { padding: 12px; }
  .dir-stats dd { font-size: 18px; }
  .cells dd { font-size: 16px; }
  table.data th, table.data td { padding: 9px 10px; }
}
@media (max-width: 480px) {
  .hide-xs { display: none !important; }
  .show-xs { display: inline; }
  .coin-grid, .coin-grid.cols-3 { grid-template-columns: 1fr; }
  .kv > div { grid-template-columns: 1fr; gap: 4px; }
  .cabar-act:not(.cabar-buy) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   qacc.fun layer: splash boot, serif accent headlines, hologram, lab, chapters, observatory, intelligence, thesis
   ═══════════════════════════════════════════════════════════════════════ */
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root { --serif: "Instrument Serif", "Times New Roman", Georgia, serif; --cyan: #c4b5fd; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.glow { text-shadow: 0 0 28px rgba(167, 139, 250, 0.55), 0 0 60px rgba(214, 51, 108, 0.25); }
h2 .serif, h1 .serif { background: var(--grad-text); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shift 9s linear infinite; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border: 1px solid var(--violet); border-radius: 999px; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-3); white-space: nowrap; }
.pill.dashed { border-style: dashed; border-color: var(--line-strong); color: var(--ink-3); }
.pill.live { border-color: var(--ok); color: var(--ok); }
.pill.live::before { content: ""; width: 5px; height: 5px; background: var(--ok); animation: pulse-dot 1.4s infinite; }
.filament { position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--grad-line); background-size: 200% 100%; animation: line-run 8s linear infinite; opacity: 0.8; }
.x-btn { width: 36px; padding: 0; font-size: 14px; }
.x-btn[aria-disabled="true"] { color: var(--ink-4); border-style: dashed; cursor: default; }
.btn.is-disabled { opacity: 0.45; border-style: dashed; pointer-events: none; }

/* splash */
.splash { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: radial-gradient(60% 50% at 50% 30%, rgba(109, 40, 217, 0.32), transparent 70%), var(--bg); overflow-y: auto; animation: page-in 0.4s var(--ease) both; }
.splash.out { opacity: 0; transition: opacity 0.45s var(--ease); pointer-events: none; }
.splash-in { width: min(560px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.emblem { width: 96px; height: 96px; filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.7)); animation: emblem-spin 18s linear infinite; }
@keyframes emblem-spin { to { transform: rotate(360deg); } }
.splash-brand { font-family: var(--serif); font-size: 52px; line-height: 1; letter-spacing: 0.02em; color: #fff; }
.splash-sub { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; max-width: 440px; }
.boot { width: 100%; min-height: 176px; margin: 8px 0 0; padding: 14px 16px; text-align: left; border: 1.5px solid var(--line-strong); background: var(--bg-2); font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: var(--violet-3); white-space: pre-wrap; box-shadow: var(--shadow); }
.boot::after { content: "▋"; animation: caret-blink 1s steps(1) infinite; color: var(--magenta); }
@keyframes caret-blink { 0%, 70%, 100% { opacity: 1; } 20%, 50% { opacity: 0; } }
.boot-bar { width: 100%; height: 3px; background: var(--elev); overflow: hidden; }
.boot-bar span { display: block; height: 100%; width: 0; background: var(--grad-shift); background-size: 300% 100%; animation: shift 6s linear infinite; transition: width 0.25s var(--ease); }
.splash .btn-primary { margin-top: 8px; }

/* observatory hero */
.hero.obs { grid-template-columns: minmax(320px, 1.02fr) minmax(0, 1fr); gap: 36px; align-items: center; min-height: 0; padding-bottom: 40px; }
.hero.obs .display { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.03em; font-family: var(--font); font-weight: 600; }
.hero.obs .display .serif { font-size: 1.12em; }
.hero.obs .lead { max-width: 520px; }
.ca-box { margin-top: 30px; padding: 12px; max-width: 560px; }
.ca-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ca-row code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-actions { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ca-actions .btn { height: 34px; font-size: 11px; }
.hero-holo { min-width: 0; }

/* hologram */
.holo { display: flex; flex-direction: column; min-height: 520px; padding: 0; overflow: hidden; }
.tabs { display: flex; gap: 2px; padding: 4px; border: 1.5px solid var(--line-strong); background: var(--card-2); overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: 1 0 auto; height: 34px; padding: 0 12px; border: 0; background: none; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; transition: background 0.15s, color 0.15s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--grad-shift); background-size: 300% 100%; animation: shift 9s linear infinite; color: #fff; }
.holo-tabs { border: 0; border-bottom: 1.5px solid var(--line-strong); }
.holo-body { position: relative; flex: 1; min-height: 440px; background: radial-gradient(60% 60% at 50% 45%, rgba(109, 40, 217, 0.22), transparent 70%), var(--bg-2); }
.holo-view { position: absolute; inset: 0; }
.bloch { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); transform-style: preserve-3d; perspective: 600px; }
.bl-lbl { font-family: var(--mono); font-size: 10px; fill: var(--ink-3); text-anchor: middle; }
.bl-tip { filter: drop-shadow(0 0 8px rgba(232, 121, 249, 0.9)); transition: cx 0.3s var(--ease), cy 0.3s var(--ease); }
.bl-vecs line { transition: x2 0.3s var(--ease), y2 0.3s var(--ease); }
.holo-cap { position: absolute; left: 12px; top: 12px; max-width: 72%; pointer-events: none; }
.holo-cap p { margin-top: 3px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.holo-cap.wide { top: auto; bottom: 12px; left: 12px; right: 12px; max-width: none; padding: 12px 14px; border: 1.5px solid var(--line-strong); background: rgba(7, 6, 11, 0.86); backdrop-filter: blur(8px); pointer-events: auto; }
.holo-cap.wide b { display: block; margin-top: 4px; font-family: var(--mono); font-size: 12.5px; color: var(--violet-3); }
.holo-cap.wide p { font-family: var(--font); font-size: 12.5px; line-height: 1.6; }
.graph-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.graph-lines line { stroke: var(--line-strong); stroke-width: 0.5; vector-effect: non-scaling-stroke; transition: stroke 0.2s; }
.graph-lines line.lit { stroke: var(--magenta); stroke-width: 1.2; }
.graph-node { position: absolute; transform: translate(-50%, -50%); padding: 7px 9px; border: 1.5px solid var(--line-strong); background: var(--card); font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); line-height: 1.2; max-width: 150px; text-align: center; transition: border-color 0.15s, color 0.15s; }
.graph-node:hover { color: var(--ink); border-color: var(--violet); }
.graph-node[aria-pressed="true"] { border-color: var(--magenta); color: #fff; box-shadow: 0 0 0 3px rgba(232, 121, 249, 0.18); }
.pulse { position: absolute; inset: 0; width: 100%; height: 100%; }

/* sections */
.sec { position: relative; padding-top: 40px; }
.sec-intro { max-width: 760px; }
.h-sec { margin-top: 14px; font-family: var(--font); font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.03em; }
.h-sec .serif { font-size: 1.08em; }
.sec-lead { margin-top: 18px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 680px; }
.h-sub { margin-top: 28px; font-family: var(--font); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.sec .tabs { margin-top: 32px; }
.chapter { margin-top: 8px; }
.defs { margin-top: 20px; border-top: 1.5px solid var(--line-strong); border-bottom: 1.5px solid var(--line-strong); }
.defs li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 32px; padding: 16px 0; border-top: 1px solid var(--rule); }
.defs li:first-child { border-top: 0; }
.defs .k { font-family: var(--mono); font-size: 13px; color: var(--violet-3); }
.defs .v { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.disclose { margin-top: 16px; border: 1.5px solid var(--line-strong); background: var(--card-2); padding: 0 16px; transition: border-color 0.2s; }
.disclose[open] { border-color: var(--violet); }
.disclose summary { cursor: pointer; list-style: none; padding: 12px 0; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-3); display: flex; align-items: center; gap: 8px; }
.disclose summary::-webkit-details-marker { display: none; }
.disclose .caret { display: inline-block; transition: transform 0.2s; font-size: 14px; }
.disclose[open] .caret { transform: rotate(90deg); }
.disclose p { padding-bottom: 14px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.disclose p + p { margin-top: -4px; }
.disclose div > p:last-child { padding-bottom: 16px; }
.src-line { margin-top: 16px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); line-height: 1.8; }
.src-line a { color: var(--violet-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--wine-2); }
.layers { margin-top: 20px; border-top: 1.5px solid var(--line-strong); }
.layer { border-bottom: 1.5px solid var(--line-strong); }
.layer summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; font-size: 14.5px; font-weight: 500; }
.layer summary::-webkit-details-marker { display: none; }
.layer .caret { color: var(--violet-2); transition: transform 0.2s; }
.layer[open] .caret { transform: rotate(90deg); }
.layer p { padding: 0 4px 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.period-demo, .grover-demo { margin-top: 20px; padding: 18px; border: 1.5px solid var(--line-strong); background: var(--card); box-shadow: var(--shadow); }
.period-pick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.period-pick button { width: 36px; height: 36px; border: 1.5px solid var(--line-strong); background: var(--card-2); font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.period-pick button[aria-pressed="true"] { background: var(--violet-deep); border-color: var(--violet-3); color: #fff; }
.period-bars { margin-top: 18px; height: 150px; display: flex; align-items: flex-end; gap: 5px; }
.pbar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; }
.pbar span { display: block; width: 100%; background: var(--elev); border: 1px solid var(--line-strong); border-bottom: 0; transition: height 0.4s var(--ease), background 0.3s; }
.pbar.hit span { background: linear-gradient(180deg, #a78bfa, #7c3aed 60%, #a3184f); border-color: rgba(196, 181, 253, 0.5); }
.pbar small { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.scale-rows { margin-top: 10px; display: grid; gap: 10px; }
.scale-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) 70px; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.scale-row b { text-align: right; color: var(--ink); }

/* lab */
.lab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; margin-top: 24px; align-items: start; }
.lab-panel { padding: 20px; }
.circuit { margin: 18px 0 0; padding: 14px 16px; border: 1.5px solid var(--line-strong); background: var(--bg-2); font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--violet-3); overflow-x: auto; white-space: pre; }
.lab-ctl { margin-top: 22px; }
.lab-ctl-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; }
.lab-ctl-head .val { color: var(--violet-3); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; margin-top: 12px; background: linear-gradient(90deg, var(--violet), var(--wine-2)); border-radius: 2px; outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--magenta); border: 2px solid var(--bg); box-shadow: 0 0 0 2px var(--violet-2), 0 0 14px rgba(232, 121, 249, 0.8); cursor: pointer; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--magenta); border: 2px solid var(--bg); box-shadow: 0 0 0 2px var(--violet-2); cursor: pointer; }
.lab-note { margin-top: 22px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.lab-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.lab-actions { display: flex; gap: 6px; }
.lab-actions .btn-primary { height: 34px; font-size: 11px; }
.probs { margin-top: 20px; display: grid; gap: 12px; }
.prob { display: grid; grid-template-columns: 48px minmax(0, 1fr) 100px; align-items: center; gap: 12px; }
.prob .ket { font-family: var(--mono); font-size: 13px; }
.prob-track { position: relative; height: 22px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.prob-th { position: absolute; inset: 0 auto 0 0; background: rgba(139, 92, 246, 0.55); transition: width 0.45s var(--ease); }
.prob-ob { position: absolute; left: 0; bottom: 0; height: 6px; background: var(--magenta); transition: width 0.45s var(--ease); box-shadow: 0 0 8px rgba(232, 121, 249, 0.8); }
.prob-val { text-align: right; font-size: 12px; }
.prob-val small { display: block; font-size: 10.5px; color: var(--magenta); }
.legend-mini { margin-top: 12px; display: flex; gap: 16px; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.legend-mini i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: -1px; }
.legend-mini .th { background: rgba(139, 92, 246, 0.55); } .legend-mini .ob { background: var(--magenta); }
.amps { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.amp { padding: 8px 10px; border: 1px solid var(--line-strong); background: var(--bg-2); font-family: var(--mono); font-size: 12px; }
.amp span { display: block; color: var(--ink-3); font-size: 11px; }
.lab-foot { margin-top: 16px; font-size: 12px; color: var(--ink-3); line-height: 1.65; }

/* token observatory */
.obs-card { margin-top: 28px; padding: 20px; }
.obs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.market-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1.5px solid var(--line-strong); }
.market-grid > div { padding: 14px 16px; background: var(--card); min-width: 0; }
.market-grid dd { margin-top: 8px; font-family: var(--mono); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.market-grid dd.muted { font-weight: 500; }

/* intelligence */
.intel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.briefs { margin-top: 14px; border-top: 1.5px solid var(--line-strong); border-bottom: 1.5px solid var(--line-strong); }
.briefs li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 16px 0; border-top: 1px solid var(--rule); }
.briefs li:first-child { border-top: 0; }
.briefs .src { font-size: 11px; color: var(--ink-3); }
.briefs .brief-title { flex-basis: 100%; font-weight: 500; font-size: 14.5px; color: var(--violet-3); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--wine-2); }
.briefs .brief-title:hover { text-decoration-color: var(--violet-3); }
.briefs p { flex-basis: 100%; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ai-briefs { margin-top: 40px; padding: 22px; }
.ai-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ai-head h3 { font-family: var(--font); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.ai-list { margin-top: 16px; display: grid; gap: 8px; }
.ai-list button { width: 100%; text-align: left; padding: 10px 12px; border: 1.5px solid var(--line-strong); background: var(--card-2); font-size: 13.5px; color: var(--ink); transition: border-color 0.15s, color 0.15s; }
.ai-list button:hover:enabled { border-color: var(--violet); color: var(--violet-3); }
.ai-list button[aria-pressed="true"] { border-color: var(--magenta); }
.ai-list button:disabled { color: var(--ink-4); cursor: not-allowed; border-style: dashed; }
.ai-out { margin-top: 18px; padding: 18px; border: 1.5px solid var(--violet); background: var(--bg-2); font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.ai-out-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ai-out h4 { margin: 14px 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-3); }
.ai-out a { color: var(--violet-3); text-decoration: underline; word-break: break-all; }

/* thesis */
.thesis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; align-items: start; }
.thesis-text p { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.thesis-text p + p { margin-top: 16px; }
.thesis-text .strong { color: var(--ink); }
.quote-card { padding: 26px; }
.quote-card .serif { margin-top: 12px; font-size: 30px; line-height: 1.3; color: var(--violet-3); }
.numbered { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); padding: 0; }
.numbered li { padding: 24px; background: var(--card); }
.numbered .n { font-family: var(--mono); font-size: 11px; color: var(--magenta); }
.numbered h3 { margin-top: 12px; font-family: var(--font); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.numbered p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.cta-band { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0 0; border-top: 1.5px solid var(--line-strong); flex-wrap: wrap; }
.cta-band h2 { margin-top: 8px; font-family: var(--font); font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.02em; }

/* footer */
.footer { position: relative; border-top: 1.5px solid var(--line-strong); background: var(--bg-2); overflow: hidden; padding-left: var(--nav-w); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1.5px; height: 1.5px; background: var(--grad-line); background-size: 200% 100%; animation: line-run 8s linear infinite; }
.footer-in { max-width: var(--max); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px 0 24px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand .logo small { display: block; font-family: var(--font); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0; text-transform: none; margin-top: 2px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--ink-2); }
.footer-nav a:hover { color: var(--violet-3); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a, .footer-socials span { width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink-2); font-family: var(--mono); font-weight: 800; font-size: 12px; }
.footer-socials span { opacity: 0.45; cursor: default; }
.footer-socials a:hover { border-color: var(--violet); color: #fff; }
.footer-mark { font-family: var(--mono); font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.82; font-size: clamp(64px, 15vw, 220px); color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); background: var(--grad-shift); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: shift 14s linear infinite; opacity: 0.55; transition: opacity 0.8s var(--ease); user-select: none; white-space: nowrap; margin-bottom: -0.08em; }
.footer:hover .footer-mark { opacity: 1; }
.footer-disclaimer { position: relative; padding: 20px 0 0; font-size: 12px; line-height: 1.7; color: var(--ink-3); max-width: 960px; background: var(--bg-2); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 24px; margin-top: 16px; border-top: 1.5px solid var(--line-strong); font-family: var(--mono); font-size: 11px; color: var(--ink-3); flex-wrap: wrap; position: relative; background: var(--bg-2); }

@media (max-width: 1180px) { .hero.obs { grid-template-columns: 1fr; } .hero-holo { max-width: 760px; } }
@media (max-width: 1024px) { .lab-grid, .intel-grid, .thesis-grid { grid-template-columns: 1fr; } .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numbered { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .hero.obs .display { font-size: clamp(32px, 9vw, 42px); }
  .defs li { grid-template-columns: 1fr; gap: 4px; }
  .ca-actions { grid-template-columns: 1fr; }
  .holo { min-height: 440px; }
  .holo-body { min-height: 380px; }
  .scale-row { grid-template-columns: 110px minmax(0, 1fr) 60px; }
  .period-bars { height: 110px; }
  .splash-brand { font-size: 40px; }
  .boot { font-size: 10.5px; min-height: 150px; }
  .footer { padding-bottom: 72px; }
}

/* base pieces the launchpad layer used to own */
.hero { position: relative; z-index: 0; display: grid; }
.hero-copy { min-width: 0; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { text-align: left; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 11px 14px; border-bottom: 1.5px solid var(--line-strong); white-space: nowrap; }
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); line-height: 1.55; }
table.data td:first-child { font-family: var(--mono); color: var(--violet-3); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
.chapter .table-wrap { margin-top: 20px; }
