:root {
  --bg: #000000;
  --bg-2: #0c0c0d;
  --panel: #111113;
  --line: #1f1f23;
  --line-2: #2a2a30;
  --text: #f4f4f5;
  --muted: #8b8b94;
  --accent: #ffffff;
  --accent-2: #d4d4d8;
  --danger: #ffffff;
  --warn: #d4d4d8;
  --ok: #a1a1aa;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code, pre, .mono { font-family: var(--mono); }
img { display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%);
  opacity: .55;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5,5,5,.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.nav__links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: 8px; width: 38px; height: 38px; cursor: pointer; padding: 11px 10px; }
.nav__toggle span { display: block; height: 2px; background: var(--text); margin-bottom: 4px; }
.nav__toggle span:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .nav__toggle { display: block; }
  .nav__cta .btn--ghost { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn--lg { height: 48px; padding: 0 22px; font-size: 14px; }
.btn--primary { background: var(--text); color: #000; }
.btn--primary:hover { background: var(--accent); box-shadow: 0 0 30px rgba(255,255,255,.35); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }

/* ---------- TICKER ---------- */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-2); font-family: var(--mono); font-size: 12px; }
.ticker__track { display: flex; gap: 40px; white-space: nowrap; padding: 9px 0; width: max-content; animation: ticker 45s linear infinite; }
.ticker__track span b { color: var(--accent); font-weight: 500; }
.ticker__track span i { font-style: normal; color: var(--danger); }
.ticker__track span em { font-style: normal; color: var(--muted); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- HERO ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 60px; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; padding-top: 48px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 12px; background: var(--bg-2);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; display: inline-block; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; margin: 22px 0 20px; }
.lead { color: var(--muted); font-size: 18px; max-width: 560px; }

.install {
  display: flex; align-items: center; gap: 12px; margin: 28px 0 20px;
  border: 1px solid var(--line-2); background: var(--panel); border-radius: 12px; padding: 12px 12px 12px 16px;
  font-family: var(--mono); font-size: 14px; max-width: 460px;
}
.install--center { margin: 24px auto 0; }
.install__prompt { color: var(--accent); }
.install code { flex: 1; overflow-x: auto; white-space: nowrap; }
.install__copy {
  font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 7px; padding: 5px 10px; cursor: pointer;
}
.install__copy:hover { color: var(--text); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { list-style: none; display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: var(--mono); font-size: 26px; font-weight: 500; }
.hero__stats span { color: var(--muted); font-size: 13px; }

/* ---------- TERMINAL ---------- */
.terminal {
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #0a0a0b; overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(255,255,255,.18), 0 0 0 1px rgba(255,255,255,.02) inset;
  min-width: 0;
}
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.terminal__bar span { width: 11px; height: 11px; border-radius: 50%; background: #2b2b30; }
.terminal__bar em { font-style: normal; margin-left: auto; margin-right: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); transform: translateX(-20px); }
.terminal__body { padding: 18px; font-size: 12.5px; line-height: 1.7; height: 420px; overflow: hidden; white-space: pre-wrap; word-break: break-word; color: #d4d4d8; }
.t-acc { color: var(--accent); } .t-cy { color: var(--accent-2); } .t-red { color: var(--danger); } .t-warn { color: var(--warn); } .t-ok { color: var(--ok); } .t-mut { color: var(--muted); }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--accent); vertical-align: -2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- WORKS WITH ---------- */
.works { text-align: center; padding-top: 20px; padding-bottom: 40px; }
.works p { font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.works__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin-top: 18px; color: #6c6c75; font-weight: 600; font-size: 17px; }

/* ---------- SECTIONS ---------- */
.section { padding-top: 110px; padding-bottom: 20px; }
.section__head { max-width: 680px; margin-bottom: 48px; }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--accent); }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.035em; margin: 12px 0 14px; }
.section__head p, .split__copy > p { color: var(--muted); font-size: 17px; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 36px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--bg); padding: 30px 26px; transition: background .25s; }
.card:hover { background: var(--panel); }
.card__icon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 18px; color: var(--accent); margin-bottom: 18px; }
.card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card code { font-size: 12px; color: var(--accent-2); background: var(--bg-2); border: 1px solid var(--line); padding: 5px 9px; border-radius: 6px; display: inline-block; }

/* ---------- SPLIT ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split--rev .split__copy { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .split--rev .split__copy { order: 0; } }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checks li { padding-left: 28px; position: relative; color: #d4d4d8; }
.checks li::before { content: ""; position: absolute; left: 6px; top: .6em; width: 7px; height: 7px; background: var(--accent); color: var(--accent); }

/* ---------- RADAR ---------- */
.radar-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); padding: 18px; min-width: 0; }
@media (max-width: 600px) { .radar-panel { grid-template-columns: 1fr; } }
.radar { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 70%); border: 1px solid rgba(255,255,255,.25); overflow: hidden; }
.radar__ring { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; inset: 0; margin: auto; }
.r1 { width: 75%; height: 75%; } .r2 { width: 50%; height: 50%; } .r3 { width: 25%; height: 25%; }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(255,255,255,.15); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,255,255,.45), transparent 60deg); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); transform: translate(-50%,-50%); animation: blipFade 4s ease-out forwards; }
.blip--hot { background: var(--danger); box-shadow: 0 0 14px var(--danger); width: 12px; height: 12px; }
.blip span { position: absolute; left: 12px; top: -6px; font-family: var(--mono); font-size: 10px; color: var(--text); white-space: nowrap; }
@keyframes blipFade { 0% { opacity: 0; transform: translate(-50%,-50%) scale(.3); } 15% { opacity: 1; transform: translate(-50%,-50%) scale(1); } 100% { opacity: .15; } }
.feed { font-family: var(--mono); font-size: 12px; min-width: 0; display: flex; flex-direction: column; }
.feed__head { display: flex; align-items: center; gap: 8px; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.feed ul { list-style: none; overflow: hidden; height: 260px; }
.feed li { padding: 10px 0; border-bottom: 1px dashed var(--line); animation: slideIn .4s ease; }
.feed li b { color: var(--accent); font-weight: 500; }
.feed li .hot { color: var(--danger); }
.feed li small { display: block; color: var(--muted); margin-top: 2px; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- SCANNER ---------- */
.scan-form { display: flex; gap: 10px; margin-top: 26px; max-width: 480px; }
.scan-form input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--text); font-family: var(--mono); font-size: 13px; outline: none;
}
.scan-form input:focus { border-color: var(--accent); }
.scan-form .btn { height: 46px; }
.hint { font-size: 12px !important; margin-top: 10px; font-family: var(--mono); color: #55555d !important; }
.scan-card { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); padding: 26px; min-width: 0; }
.scan-card__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.scan-card__token { font-family: var(--mono); font-size: 26px; font-weight: 700; word-break: break-all; }
.gauge { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 9; }
.gauge__bg { stroke: var(--line-2); }
.gauge__fg { stroke: var(--danger); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1s ease, stroke .4s; }
.gauge__val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--mono); }
.gauge__val strong { font-size: 30px; line-height: 1; }
.gauge__val span { font-size: 11px; color: var(--muted); }
.scan-card__verdict { margin: 18px 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; padding: 6px 10px; border-radius: 6px; display: inline-block; border: 1px solid var(--line-2); color: var(--text); }
.risk-list { list-style: none; font-family: var(--mono); font-size: 13px; }
.risk-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.risk-list li span:last-child { text-align: right; }
.risk-list .bad { color: var(--danger); } .risk-list .mid { color: var(--warn); } .risk-list .good { color: var(--ok); }

/* ---------- STEPS ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-2); min-width: 0; }
.steps li > span { font-family: var(--mono); color: var(--accent); font-size: 13px; }
.steps h3 { margin: 10px 0 6px; font-size: 19px; }
.steps p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.steps code { font-size: 12px; color: var(--accent-2); display: block; overflow-x: auto; white-space: nowrap; }

/* ---------- MARKETPLACE ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { font-family: var(--mono); font-size: 12px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; }
.chip.is-active, .chip:hover { color: #000; background: var(--text); border-color: var(--text); }
.market { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .market { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .market { grid-template-columns: 1fr; } }
.agent { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: .2s; }
.agent:hover { border-color: var(--line-2); transform: translateY(-2px); }
.agent__top { display: flex; align-items: center; gap: 12px; }
.agent__name { font-weight: 600; }
.agent__by { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.agent p { color: var(--muted); font-size: 14px; flex: 1; }
.agent__meta { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.agent__meta .tag { color: var(--accent-2); }
.agent__price { color: var(--text); }
.agent__price small { color: var(--muted); }

/* ---------- CODE ---------- */
.tabs { display: inline-flex; margin-top: 24px; border: 1px solid var(--line-2); border-radius: 10px; padding: 4px; gap: 4px; }
.tab { font-family: var(--mono); font-size: 12px; padding: 7px 14px; border-radius: 7px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.tab.is-active { background: var(--text); color: #000; }
.code { border: 1px solid var(--line-2); border-radius: var(--radius); background: #0a0a0b; overflow: hidden; min-width: 0; }
.code__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--bg-2); }
.code pre { padding: 20px; font-size: 13px; line-height: 1.7; overflow-x: auto; color: #d4d4d8; }
.k { color: var(--accent-2); } .s { color: var(--accent); } .c { color: #55555d; }

/* ---------- PRICING ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; } }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--bg-2); display: flex; flex-direction: column; position: relative; }
.plan--hot { border-color: var(--accent); box-shadow: 0 0 60px -20px rgba(255,255,255,.35); }
.plan__tag { position: absolute; top: -11px; left: 30px; background: var(--accent); color: #000; font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.plan h3 { font-family: var(--mono); font-size: 14px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.price { font-size: 46px; font-weight: 700; letter-spacing: -.04em; margin: 8px 0 18px; }
.price span { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; font-size: 15px; }
.plan li::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin: 0 10px 2px 0; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; max-width: 820px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 700px; }
.faq code { color: var(--accent-2); font-size: 14px; }

/* ---------- CTA / FOOTER ---------- */
.cta { text-align: center; padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; align-items: center; }
.cta img { margin-bottom: 18px; filter: drop-shadow(0 0 30px rgba(255,255,255,.2)); }
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer nav a:hover { color: var(--text); }
.footer p { font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   COLOR LAYER — colour lives in backgrounds, borders, glows
   and graphics. All text stays white / grey.
   ========================================================= */
:root {
  --c1: #7c5cff;   /* violet */
  --c2: #22d3ee;   /* cyan */
  --c3: #f472b6;   /* pink */
  --ok-c: #10b981;
  --warn-c: #f59e0b;
  --bad-c: #f43f5e;
  --grad: linear-gradient(135deg, var(--c1), var(--c2));
  --grad-3: linear-gradient(135deg, var(--c1), var(--c3) 50%, var(--c2));
}

.nav { background: rgba(0,0,0,.72); }

/* buttons: coloured fill, white label */
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -10px rgba(124,92,255,.7); }
.btn--primary:hover { background: var(--grad-3); color: #fff; box-shadow: 0 10px 40px -8px rgba(124,92,255,.9); }
.btn--ghost:hover { border-color: var(--c2); box-shadow: 0 0 0 1px rgba(34,211,238,.3) inset; }

/* small accents */
.ticker { background: linear-gradient(90deg, rgba(124,92,255,.12), rgba(34,211,238,.08)); border-bottom-color: rgba(124,92,255,.2); }
.ticker__track span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c2); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 8px var(--c2); }
.ticker__track span:has(i)::before { background: var(--bad-c); box-shadow: 0 0 8px var(--bad-c); }
.pill { border-color: rgba(124,92,255,.4); background: rgba(124,92,255,.1); }
.install { border-color: rgba(124,92,255,.35); box-shadow: 0 0 40px -18px rgba(34,211,238,.6); }
.cursor { background: var(--c2); }
.checks li::before { background: var(--grad); }
.plan li::before { background: var(--c2); }
.kicker::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--grad); margin-right: 8px; vertical-align: 4px; }
.scan-form input:focus { border-color: var(--c1); box-shadow: 0 0 0 3px rgba(124,92,255,.25); }
.chip.is-active, .chip:hover, .tab.is-active { background: var(--grad); color: #fff; border-color: transparent; }

/* terminal + code glow */
.terminal { border-color: rgba(124,92,255,.35); box-shadow: 0 40px 120px -30px rgba(124,92,255,.55), 0 0 80px -40px rgba(34,211,238,.6); }
.terminal__bar span:nth-child(1) { background: #f43f5e; }
.terminal__bar span:nth-child(2) { background: #f59e0b; }
.terminal__bar span:nth-child(3) { background: #10b981; }
.code { border-color: rgba(34,211,238,.3); box-shadow: 0 30px 80px -40px rgba(34,211,238,.5); }

/* feature cards: coloured top line + glow on hover */
.cards { background: rgba(124,92,255,.18); border-color: rgba(124,92,255,.25); }
.card { position: relative; background: rgba(5,5,5,.92); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-3); opacity: .35; transition: opacity .25s; }
.card:hover { background: rgba(20,14,40,.95); }
.card:hover::before { opacity: 1; }

/* radar */
.radar { background: radial-gradient(circle, rgba(34,211,238,.14), rgba(124,92,255,.06) 60%, transparent 72%); border-color: rgba(34,211,238,.4); }
.radar__ring { border-color: rgba(34,211,238,.2); }
.radar::before, .radar::after { background: rgba(34,211,238,.2); }
.radar__sweep { background: conic-gradient(from 0deg, rgba(34,211,238,.55), rgba(124,92,255,.15) 40deg, transparent 70deg); }
.blip { background: var(--c2); box-shadow: 0 0 12px var(--c2); }
.blip--hot { background: var(--c3); box-shadow: 0 0 16px var(--c3); }
.radar-panel, .scan-card { border-color: rgba(124,92,255,.3); background: linear-gradient(160deg, rgba(124,92,255,.1), rgba(17,17,19,.95) 45%); }
.feed li { border-left: 2px solid var(--c2); padding-left: 10px; }

/* rug scanner: gauge + verdict colour by risk, text stays white */
.gauge__bg { stroke: rgba(255,255,255,.08); }
.gauge__fg { filter: drop-shadow(0 0 6px rgba(124,92,255,.6)); }
.scan-card__verdict { border: 0; color: #fff; }

/* steps */
.steps li { border-color: rgba(124,92,255,.2); background: linear-gradient(180deg, rgba(124,92,255,.08), var(--bg-2)); }
.steps li:hover { border-color: rgba(34,211,238,.45); }

/* marketplace */
.agent { border-color: rgba(124,92,255,.18); }
.agent:hover { border-color: rgba(34,211,238,.45); box-shadow: 0 20px 50px -30px rgba(124,92,255,.8); }

/* pricing */
.plan { border-color: rgba(124,92,255,.2); }
.plan--hot { border: 1px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad-3) border-box; box-shadow: 0 0 80px -25px rgba(124,92,255,.8); }
.plan__tag { background: var(--grad); color: #fff; }

/* faq + cta + footer */
.faq details[open] { border-top-color: var(--c1); }
.cta { position: relative; }
.cta img { filter: drop-shadow(0 0 30px rgba(124,92,255,.8)); }
.footer { border-top-color: rgba(124,92,255,.25); }


/* hero headline: three short beats, the last one in white outline */
.hero__title { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.05em; }
.hero__title span { white-space: nowrap; }
@media (max-width: 960px) { .hero__title { font-size: clamp(40px, 10.5vw, 84px); } }
.hero__title span { display: block; opacity: 0; transform: translateY(18px); filter: blur(8px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__title span:nth-child(2) { animation-delay: .15s; }
.hero__title span:nth-child(3) { animation-delay: .3s; }
.hero__title .outline { color: transparent; -webkit-text-stroke: 1.5px #fff; position: relative; width: max-content; }
.hero__title .outline::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: var(--grad-3); border-radius: 99px; transform-origin: left; transform: scaleX(0); animation: underline .9s .9s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
@keyframes underline { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero__title span { opacity: 1; transform: none; filter: none; } .hero__title .outline::after { transform: none; } }

/* legal pages */
.legal { max-width: 760px; padding-top: 72px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin: 12px 0 8px; }
.legal h2 { font-size: 20px; letter-spacing: -.02em; margin: 36px 0 8px; }
.legal p { color: #c4c4cc; }
.legal > .muted { font-family: var(--mono); font-size: 13px; margin-bottom: 24px; color: var(--muted); }

/* ===== LIVE DATA ===== */
.feed__status { margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--muted); }
.feed ul { overflow-y: auto; }
.feed__item { all: unset; display: block; width: 100%; cursor: pointer; box-sizing: border-box; }
.feed__item:hover b { text-decoration: underline; }
.feed__item:focus-visible { outline: 1px solid var(--c2); outline-offset: 2px; }
a.blip { text-decoration: none; cursor: pointer; }
a.blip:hover span { color: #fff; }
.scan-card__name { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; word-break: break-all; }
.scan-card.is-loading .gauge, .scan-card.is-loading #scanVerdict { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.scan-error { color: var(--bad-c); font-family: var(--mono); font-size: 12px; margin-top: 10px; min-height: 0; }
.scan-error:empty { display: none; }
.scan-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.scan-suggest .hint { margin: 0; }
.scan-suggest .chip { padding: 5px 12px; }
.agent--soon { opacity: .55; }
.agent--soon:hover { transform: none; }
.agent--soon .agent__price { color: var(--muted); }
.btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.install code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
a.blip { animation: blipIn .5s ease-out forwards; }
@keyframes blipIn { from { opacity: 0; transform: translate(-50%,-50%) scale(.3); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.docs pre { background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-family: var(--mono); font-size: 13px; margin: 10px 0 18px; }
.docs h3 { margin-top: 22px; font-size: 16px; }
.docs code { font-family: var(--mono); }
.feed__status { white-space: nowrap; font-size: 10px; }
.gauge { --gauge-tint: transparent; }
.gauge::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 9px solid var(--gauge-tint); opacity: .18; transition: border-color .4s; }

/* ===== MULTI-PAGE ===== */
.nav__links a.is-current { color: var(--text); position: relative; }
.nav__links a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); border-radius: 2px; }
@media (max-width: 900px) { .nav__links a.is-current::after { display: none; } .nav__links a.is-current { background: rgba(124,92,255,.12); } }
.btn.is-current { border-color: var(--c1); }
.btn--sm { height: 30px; padding: 0 12px; font-size: 12px; }
.small { font-size: 13px; }

.page-head { padding-top: 72px; padding-bottom: 8px; }
.page-head h1, .page-head .lead { max-width: 860px; }
.page-head h1 { font-size: clamp(36px, 5.5vw, 60px); margin: 14px 0 16px; }
.page-head .lead { max-width: 720px; }
.page-head .lead a { color: #fff; text-decoration: underline; text-decoration-color: var(--c2); }
.section--tight { padding-top: 48px; }
.section__head--left { margin-bottom: 20px; }
.section__head--left h2 { font-size: 28px; }

/* clickable cards */
.cards--links .card { display: block; color: inherit; }
.cards--links .card:hover { background: rgba(124,92,255,.08); }
.cards--links .card code { color: #fff; }

/* toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0 18px; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); font-family: var(--mono); font-size: 13px; }
.toolbar label { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.toolbar select { background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 10px; font-family: var(--mono); font-size: 13px; }
.toolbar .toggle input { accent-color: var(--c1); }
.toolbar__status { margin-left: auto; color: var(--muted); font-size: 12px; }
@media (max-width: 600px) { .toolbar__status { margin-left: 0; width: 100%; } }

/* stats */
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { border: 1px solid var(--line-2); border-radius: 12px; padding: 16px; background: var(--bg-2); }
.stat span { display: block; color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.stat strong { display: block; font-family: var(--mono); font-size: 24px; font-weight: 500; margin-top: 6px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(5,5,5,.92); }
.table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
.table th { text-align: left; color: var(--muted); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 12px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; }
.table tbody tr:hover { background: rgba(124,92,255,.06); }
.table--sort th[data-k] { cursor: pointer; user-select: none; }
.table--sort th[data-k]:hover, .table th.is-sorted { color: #fff; }
.table th.is-sorted::after { content: " ↕"; color: var(--c2); }
.table tr.is-swarm td:first-child { box-shadow: inset 2px 0 0 var(--c3); }
.table td.empty, .empty { color: var(--muted); text-align: center; padding: 28px; font-family: var(--mono); font-size: 13px; }
.panel .empty { text-align: left; padding: 6px 0; }
.tok { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tok small { width: 100%; color: var(--muted); font-size: 11px; }
.tok small a:hover, .kv a:hover, .holder a:hover, .mini-table a:hover { color: #fff; text-decoration: underline; }
.score { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.score .bar { width: 60px; }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 6px; }
.badge { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 2px 7px; border-radius: 99px; border: 1px solid var(--line-2); }
.badge--hot { background: var(--c3); border-color: transparent; color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.legend b { color: #fff; font-weight: 500; }

/* home: top swarms */
.top-swarms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .top-swarms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .top-swarms { grid-template-columns: 1fr; } }
.top-swarms .empty { grid-column: 1 / -1; }
.swarm-card { display: block; border: 1px solid rgba(124,92,255,.22); border-radius: var(--radius); padding: 20px; background: rgba(5,5,5,.92); transition: .2s; color: inherit; }
.swarm-card:hover { border-color: rgba(34,211,238,.5); transform: translateY(-2px); }
.swarm-card__top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; }
.swarm-card__sym { font-family: var(--mono); font-size: 22px; font-weight: 700; margin: 8px 0 4px; word-break: break-all; }
.swarm-card__score { font-family: var(--mono); margin-bottom: 8px; }
.swarm-card__score b { font-size: 28px; font-weight: 500; }
.swarm-card__score span { color: var(--muted); font-size: 12px; }
.swarm-card__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 12px; }

/* panels */
.panel { border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(5,5,5,.92); padding: 22px; min-width: 0; }
.panel__title { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 18px 0 8px; }
.panel__title:first-child { margin-top: 0; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 500; text-align: right; word-break: break-all; }
.good { color: var(--ok-c); } .bad { color: var(--bad-c); } .mid { color: var(--warn-c); }

/* scanner page */
.scan-form--wide { max-width: 760px; margin-top: 24px; }
.scan-layout { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 20px; align-items: start; }
@media (max-width: 960px) { .scan-layout { grid-template-columns: 1fr; } }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-width: 0; }
.panel--wide { grid-column: 1 / -1; }
@media (max-width: 700px) { .detail-grid { grid-template-columns: 1fr; } }
.powers { list-style: none; margin-top: 10px; font-family: var(--mono); font-size: 12px; }
.powers li { display: flex; gap: 10px; padding: 5px 0; color: #d4d4d8; }
.powers li span { min-width: 72px; font-size: 11px; }
.powers li.good span { color: var(--ok-c); } .powers li.bad span { color: var(--bad-c); } .powers li.bad { color: #fff; }
.mini-table { margin-top: 8px; font-family: var(--mono); font-size: 12px; }
.mini-table div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; color: var(--muted); }
.mini-table b { color: #fff; font-weight: 500; }
.holders { margin: 10px 0; display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; }
.holder { display: grid; grid-template-columns: 22px 110px 1fr 64px; align-items: center; gap: 12px; }
.holder b { text-align: right; font-weight: 500; }
.scan-layout .scan-card { position: sticky; top: 84px; }
@media (max-width: 960px) { .scan-layout .scan-card { position: static; } }

/* marketplace */
.agent__io { font-family: var(--mono); font-size: 12px; color: #d4d4d8; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.agent__io span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.agent__open { color: #fff; }
.agent__open:hover { color: var(--c2); }

/* faq groups */
.faq__group { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--c2); margin: 40px 0 6px; }
.faq__group:first-child { margin-top: 0; }
.faq details p a { color: #fff; text-decoration: underline; text-decoration-color: var(--c2); }

/* connect */
#mcpOut { min-height: 220px; white-space: pre-wrap; }
#mcpTest { margin-top: 20px; }
.page-head .install { margin-bottom: 0; }

/* footer */
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer__grid h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #fff; font-weight: 500; margin-bottom: 4px; }
.footer__tag { margin-top: 12px; font-size: 14px; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; }

/* =========================================================
   LOGO THEME — the logo is a swarm of squares that shrink as
   they move right. Echo it everywhere: drifting square field,
   animated mark, square accents, softer shapes.
   ========================================================= */
:root { --radius: 20px; --soft: rgba(255,255,255,.06); }
.grid-bg { display: none; }
.swarm-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body::before { content: ""; position: fixed; inset: -20% -10% auto; height: 70vh; z-index: -2; pointer-events: none;
  background: radial-gradient(40% 60% at 25% 30%, rgba(124,92,255,.16), transparent 70%), radial-gradient(35% 50% at 80% 10%, rgba(34,211,238,.10), transparent 70%); }

/* animated mark: squares pulse in a wave from left to right */
.mark rect { transform-box: fill-box; transform-origin: center; animation: markFlow 3.2s var(--d, 0s) ease-in-out infinite; }
@keyframes markFlow { 0%, 100% { opacity: .55; transform: scale(.82); } 45% { opacity: 1; transform: scale(1); } }
.mark--nav { width: 30px; height: 30px; }
.brand:hover .mark--nav rect { animation-duration: 1.2s; }
.mark--big { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 0 40px rgba(124,92,255,.45)); }
.mark--cta { margin-bottom: 18px; filter: drop-shadow(0 0 30px rgba(124,92,255,.8)); }

/* page heads: copy + big mark */
.page-head { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: center; }
.page-head__mark { display: flex; justify-content: center; opacity: .9; }
@media (max-width: 860px) { .page-head { grid-template-columns: 1fr; } .page-head__mark { display: none; } }

/* kicker: three shrinking squares, like one row of the logo */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.kicker::before { content: ""; width: 9px; height: 9px; margin: 0 14px 0 0; background: var(--c1); vertical-align: 0;
  box-shadow: 13px 1px 0 -1px var(--c1), 24px 2px 0 -2px var(--c2); }

/* bullets: small gradient squares */
.checks li::before { width: 8px; height: 8px; top: .55em; border-radius: 2px; background: var(--grad); box-shadow: 0 0 10px rgba(124,92,255,.6); }

/* softer, rounder UI; sans for controls */
.btn { border-radius: 999px; font-family: var(--sans); font-weight: 600; letter-spacing: .01em; }
.btn--lg { padding: 0 26px; }
.chip, .tab { font-family: var(--sans); font-weight: 500; }
.tab { border-radius: 999px; }
.nav__links { font-weight: 500; }
.install { border-radius: 999px; padding: 8px 8px 8px 20px; }
.install__copy { border-radius: 999px; padding: 7px 14px; }
.install__prompt { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scan-form input { border-radius: 999px; padding-left: 20px; }
.toolbar { border-radius: 999px; padding: 10px 14px 10px 20px; }
@media (max-width: 760px) { .toolbar { border-radius: 20px; } }
.toolbar select { border-radius: 999px; }
.pill { font-family: var(--sans); font-weight: 500; }
.dot { border-radius: 2px; background: var(--c2); box-shadow: 0 0 10px var(--c2); }

/* glass surfaces instead of hard boxes */
.card, .agent, .steps li, .panel, .stat, .swarm-card, .scan-card, .radar-panel, .terminal, .code, .table-wrap {
  border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cards { gap: 16px; background: none; border: 0; overflow: visible; border-radius: 0; }
.card { border: 1px solid rgba(124,92,255,.2); background: linear-gradient(160deg, rgba(124,92,255,.09), rgba(8,8,10,.85) 55%); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card::before { display: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.45); box-shadow: 0 24px 60px -30px rgba(124,92,255,.9); background: linear-gradient(160deg, rgba(124,92,255,.16), rgba(8,8,10,.85) 55%); }
/* logo echo: shrinking squares in the card corner */
.card::after, .agent::after, .swarm-card::after { content: ""; position: absolute; right: 44px; top: 22px; width: 10px; height: 10px; border-radius: 2px; background: var(--c1); opacity: .35;
  box-shadow: 15px 1px 0 -1px var(--c1), 28px 2px 0 -2px var(--c2); transition: opacity .25s, transform .25s; }
.card:hover::after, .agent:hover::after, .swarm-card:hover::after { opacity: 1; transform: translateX(4px); }
.agent, .swarm-card { position: relative; }
.card code, .agent__meta .tag { border-radius: 999px; padding: 4px 11px; }
.stat { background: linear-gradient(160deg, rgba(124,92,255,.10), rgba(8,8,10,.85) 60%); border-color: rgba(124,92,255,.22); }
.stat strong { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; font-size: 28px; }
.stat span { font-family: var(--sans); letter-spacing: .06em; }
.hero__stats strong { font-family: var(--sans); font-weight: 600; font-size: 30px; letter-spacing: -.02em; }
.panel { background: linear-gradient(160deg, rgba(124,92,255,.07), rgba(8,8,10,.88) 50%); border-color: rgba(124,92,255,.2); }
.panel__title { font-family: var(--sans); font-weight: 600; letter-spacing: .06em; }
.table-wrap { background: rgba(8,8,10,.85); border-color: rgba(124,92,255,.22); }
.steps li { border-radius: var(--radius); }
.steps li > span { display: inline-block; font-family: var(--sans); font-weight: 600; color: #fff; background: var(--grad); padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.section__head h2, .split__copy h2, .cta h2 { letter-spacing: -.035em; }
.faq details { border-top-color: rgba(255,255,255,.08); }
.faq__group { font-family: var(--sans); font-weight: 600; }
.footer__grid h4 { font-family: var(--sans); font-weight: 600; }

/* bars and badges as pixel blocks */
.bar { border-radius: 3px; }
.bar i { border-radius: 3px; background: var(--grad); background-size: 200% 100%; }
.badge { font-family: var(--sans); border-radius: 4px; }

/* loading: three squares stepping in the logo rhythm */
.scan-card.is-loading #scanVerdict::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; background: #fff; animation: stepSq 1s infinite steps(3); box-shadow: 9px 0 0 -1px rgba(255,255,255,.6), 17px 0 0 -2px rgba(255,255,255,.35); vertical-align: 1px; }
@keyframes stepSq { 50% { opacity: .3; } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mark rect { animation: none; opacity: 1; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero__copy, .terminal { min-width: 0; }
.kicker::before { margin-right: 26px; }
.install--center { max-width: min(460px, 100%); }
.hero__title .outline { padding-bottom: .12em; } .hero__title .outline::after { bottom: 0; }
