/* ==========================================================================
   Neptuv — design system
   Deep-space dark theme, Neptune blue + electric cyan.
   All tokens live in :root; change them here.
   ========================================================================== */

@font-face { font-family: "Sora"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
  --bg: #03050c;
  --bg-2: #060a17;
  --bg-3: #0a1024;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(148, 163, 184, 0.13);
  --border-strong: rgba(148, 163, 184, 0.24);
  --text: #e8eef9;
  --text-2: #a6b3c9;
  --text-3: #6b7a93;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --cyan: #67e8f9;
  --cyan-2: #22d3ee;
  --ice: #cff7ff;
  --trusted: #22d3a6;
  --good: #38bdf8;
  --caution: #fbbf24;
  --risky: #fb7185;
  --unknown: #94a3b8;
  --flagged: #f43f5e;
  --grad-brand: linear-gradient(135deg, #2563eb 0%, #22d3ee 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #bfe9ff 45%, #67e8f9 100%);
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-glow: 0 10px 40px -12px rgba(34, 211, 238, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(37, 99, 235, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(34, 211, 238, 0.08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .prose li a, td a, .answer a, .callout a, .link { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(103, 232, 249, 0.35); text-underline-offset: 3px; transition: text-decoration-color 0.2s, color 0.2s; }
p a:hover, .prose li a:hover, td a:hover, .answer a:hover, .callout a:hover, .link:hover { text-decoration-color: var(--cyan); }
p a.btn, .prose a.btn { text-decoration: none; }
p a.btn-ghost, p a.btn-white { color: var(--text); }
p a.btn-primary { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 0.5em; color: #fff; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -0.045em; line-height: 1.0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--text-2); }
strong { color: var(--text); font-weight: 600; }
code, kbd, pre { font-family: var(--font-mono); font-size: 0.9em; }
:not(pre) > code { background: rgba(103, 232, 249, 0.08); border: 1px solid rgba(103, 232, 249, 0.14); color: var(--ice); padding: 0.1em 0.4em; border-radius: 6px; word-break: break-word; }
::selection { background: rgba(34, 211, 238, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: #fff; color: #000; border-radius: 10px; transform: translateY(-200%); transition: transform 0.2s; }
.skip:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 880px; }
.container.wide { max-width: 1320px; }
.section { padding: clamp(88px, 12vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.125rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin: 0 0 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.16), 0 0 18px var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-3); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); line-height: 1.55; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Grain + cursor ─────────────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor, .cursor-follower { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; will-change: transform; }
.cursor { width: 7px; height: 7px; background: #fff; mix-blend-mode: difference; }
.cursor-follower { width: 38px; height: 38px; border: 1px solid rgba(103, 232, 249, 0.45); transition: opacity 0.3s, background 0.3s, border-color 0.3s; }
.has-cursor .cursor, .has-cursor .cursor-follower { opacity: 1; }
.cursor-follower.is-active { background: rgba(103, 232, 249, 0.08); border-color: rgba(103, 232, 249, 0.8); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-follower { display: none; } }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; line-height: 1;
  cursor: pointer; white-space: nowrap; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, border-color 0.35s, color 0.35s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 16px 50px -12px rgba(34, 211, 238, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: rgba(103, 232, 249, 0.55); background: rgba(103, 232, 249, 0.06); }
.btn-white { background: #fff; color: #050814; }
.btn-white:hover { box-shadow: 0 16px 50px -12px rgba(255, 255, 255, 0.45); }
.btn-danger { background: rgba(244, 63, 94, 0.1); color: #fecdd3; border-color: rgba(244, 63, 94, 0.35); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 0.85rem; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(3, 5, 12, 0.97); border-bottom-color: var(--border); }
.demo-on .nav { top: 34px; }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; color: #fff; }
.brand img { width: 38px; height: 38px; filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.45)); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; color: var(--text-2); transition: color 0.25s, background 0.25s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.03); color: var(--text-2); cursor: pointer; transition: color 0.25s, border-color 0.25s, background 0.25s; }
.icon-btn:hover { color: #fff; border-color: rgba(103, 232, 249, 0.5); }
.icon-btn svg { width: 18px; height: 18px; }
.sound-toggle .bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-toggle .bars i { width: 2px; background: currentColor; border-radius: 2px; height: 4px; transition: height 0.3s; opacity: 0.75; }
.sound-toggle .bars i:nth-child(1) { height: 5px; } .sound-toggle .bars i:nth-child(2) { height: 10px; } .sound-toggle .bars i:nth-child(3) { height: 7px; } .sound-toggle .bars i:nth-child(4) { height: 12px; }
.sound-toggle:not(.is-on) .bars { position: relative; }
.sound-toggle:not(.is-on) .bars::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(-35deg); border-radius: 2px; }
.sound-toggle.is-on .bars i { opacity: 1; }
.sound-toggle.is-on { color: var(--cyan); border-color: rgba(103, 232, 249, 0.45); }
.sound-toggle.is-on .bars i { height: 14px; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.sound-toggle.is-on .bars i:nth-child(2) { animation-delay: 0.15s; } .sound-toggle.is-on .bars i:nth-child(3) { animation-delay: 0.3s; } .sound-toggle.is-on .bars i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.21); } 50% { transform: scaleY(1); } }   /* transform, not height: no repaint every frame */
.menu-toggle { display: none; }
.mobile-menu { display: none; }

.demo-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 34px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; font-size: 0.8rem; color: #fde68a; background: linear-gradient(90deg, rgba(120, 53, 15, 0.9), rgba(146, 64, 14, 0.9)); border-bottom: 1px solid rgba(251, 191, 36, 0.3); text-align: center; }
.demo-banner a { color: #fff; text-decoration: underline; }

/* ── Flash messages ─────────────────────────────────────────────────── */
.flash-stack { position: fixed; top: calc(var(--nav-h) + 16px); right: 16px; z-index: 120; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.flash { padding: 14px 44px 14px 16px; border-radius: 14px; font-size: 0.92rem; background: rgba(10, 16, 36, 0.92); border: 1px solid var(--border-strong); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); position: relative; animation: flash-in 0.5s var(--ease); }
.flash.ok { border-color: rgba(34, 211, 166, 0.45); }
.flash.error { border-color: rgba(251, 113, 133, 0.5); }
.flash button { position: absolute; top: 10px; right: 10px; background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: 1.1rem; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-10px); } }

/* ── Cards, pills, chips ────────────────────────────────────────────── */
.card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.card.hoverable:hover { border-color: rgba(103, 232, 249, 0.35); box-shadow: 0 30px 80px -40px rgba(34, 211, 238, 0.45); }
.card-glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(103, 232, 249, 0.55), transparent 40%, transparent 60%, rgba(37, 99, 235, 0.55)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; font-family: var(--font-display); letter-spacing: 0.01em; white-space: nowrap; border: 1px solid currentColor; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pill.trusted { color: var(--trusted); background: rgba(34, 211, 166, 0.1); border-color: rgba(34, 211, 166, 0.3); }
.pill.good { color: var(--good); background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.3); }
.pill.caution { color: var(--caution); background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
.pill.risky { color: var(--risky); background: rgba(251, 113, 133, 0.1); border-color: rgba(251, 113, 133, 0.3); }
.pill.unknown { color: var(--unknown); background: rgba(148, 163, 184, 0.1); border-color: rgba(148, 163, 184, 0.3); }
.pill.flagged { color: #fff; background: rgba(244, 63, 94, 0.85); border-color: var(--flagged); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 0.78rem; color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); white-space: nowrap; }
.chip .chain-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); }
.chip.base .chain-dot { background: #3b82f6; } .chip.ethereum .chain-dot { background: #a5b4fc; }

/* ── Score ring ─────────────────────────────────────────────────────── */
.ring { --size: 132px; --stroke: 9px; position: relative; width: var(--size); height: var(--size); flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring .track { stroke: rgba(255, 255, 255, 0.07); }
.ring .bar { stroke: var(--ring-color, var(--cyan)); stroke-linecap: round; filter: drop-shadow(0 0 6px var(--ring-color, var(--cyan))); transition: stroke-dashoffset 1.6s var(--ease); }
.ring .value { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .num { font-family: var(--font-display); font-weight: 700; font-size: calc(var(--size) * 0.3); line-height: 1; color: #fff; letter-spacing: -0.04em; }
.ring .of { font-size: calc(var(--size) * 0.085); color: var(--text-3); margin-top: 4px; letter-spacing: 0.04em; }
.ring.sm { --size: 58px; } .ring.sm .of { display: none; } .ring.sm .num { font-size: 1.05rem; }
.ring.lg { --size: 210px; }
.ring.xl { --size: 260px; }
.ring.trusted { --ring-color: var(--trusted); } .ring.good { --ring-color: var(--good); } .ring.caution { --ring-color: var(--caution); }
.ring.risky { --ring-color: var(--risky); } .ring.unknown { --ring-color: var(--unknown); } .ring.flagged { --ring-color: var(--flagged); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; isolation: isolate; }
.demo-on .hero { padding-top: calc(var(--nav-h) + 74px); }
.starfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
/* anchored to the screen height, not the hero's: a late web font changing the hero's height no longer moves it */
.hero-glow { position: absolute; z-index: -1; width: 900px; height: 900px; right: -200px; top: 50vh; top: 50svh; transform: translateY(-50%); background: radial-gradient(circle, rgba(37, 99, 235, 0.32), rgba(34, 211, 238, 0.08) 45%, transparent 68%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 40px; }
.hero-title { margin-bottom: 26px; font-size: clamp(2.6rem, 5vw, 4.6rem); }
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-title .line-accent { display: block; }
.hero-sub { font-size: clamp(1.1rem, 1.5vw, 1.32rem); max-width: 560px; color: var(--text-2); margin-bottom: 34px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 600px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(8, 13, 30, 0.9); border: 1px solid var(--border-strong); box-shadow: 0 16px 40px -22px rgba(37, 99, 235, 0.6); transition: border-color 0.3s, box-shadow 0.3s; }
.search:focus-within { border-color: rgba(103, 232, 249, 0.65); box-shadow: 0 30px 80px -30px rgba(34, 211, 238, 0.55), 0 0 0 4px rgba(103, 232, 249, 0.08); }
.search svg { width: 20px; height: 20px; color: var(--text-3); flex: none; }
.search input { flex: 1; min-width: 0; height: 44px; background: none; border: 0; outline: none; color: #fff; font: inherit; font-size: 1rem; }
.search input::placeholder { color: var(--text-3); }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 44px; flex-wrap: wrap; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats strong { font-variant-numeric: tabular-nums; white-space: nowrap; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; color: #fff; }
.hero-stats span { font-size: 0.85rem; color: var(--text-3); }
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; perspective: 1200px; }
.hero-visual picture { display: contents; }
.hero-logo { position: relative; z-index: 2; width: 100%; height: auto; will-change: transform; }
.hero-visual::after { content: ""; position: absolute; inset: 12%; z-index: 1; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, 0.28), rgba(34, 211, 238, 0.08) 55%, transparent 72%); pointer-events: none; }   /* the logo's glow, drawn once */
.orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(103, 232, 249, 0.16); transform-style: preserve-3d; pointer-events: none; }
.orbit-1 { transform: rotateX(72deg) rotateZ(0deg); animation: orbit 38s linear infinite; inset: -4%; }
.orbit-2 { transform: rotateX(72deg) rotateY(18deg); animation: orbit 52s linear infinite reverse; inset: -14%; border-color: rgba(37, 99, 235, 0.22); }
.orbit-3 { inset: 2%; border-style: dashed; border-color: rgba(148, 163, 184, 0.12); animation: spin 90s linear infinite; }
.orbit .satellite { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px 3px rgba(103, 232, 249, 0.8); }
@keyframes orbit { from { transform: rotateX(72deg) rotateZ(0deg); } to { transform: rotateX(72deg) rotateZ(360deg); } }
.float-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(8, 13, 30, 0.94); border: 1px solid var(--border-strong); box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.9); font-size: 0.82rem; white-space: nowrap; will-change: transform; }
.float-chip .ring.sm { --size: 44px; --stroke: 5px; } .float-chip .ring.sm .num { font-size: 0.85rem; }
.float-chip b { display: block; color: #fff; font-family: var(--font-display); font-size: 0.9rem; }
.float-chip small { color: var(--text-3); }
.chip-a { top: 8%; left: -6%; } .chip-b { bottom: 14%; right: -4%; } .chip-c { bottom: 2%; left: 6%; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }
.scroll-cue::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--cyan), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ── Preloader ──────────────────────────────────────────────────────── */
.preloader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: var(--bg); }
.preloader[hidden] { display: none; }
.preloader-inner { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.preloader svg.ring-svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.preloader .pl-track { stroke: rgba(255, 255, 255, 0.07); }
.preloader .pl-bar { stroke: url(#plGrad); stroke-linecap: round; }
.preloader img { width: 96px; height: 96px; filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.5)); }
.preloader .pl-count { position: absolute; bottom: -42px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.2em; color: var(--text-3); }
.no-js .preloader, .reduced-motion .preloader { display: none; }

/* ── Marquee ────────────────────────────────────────────────────────── */
.marquee { position: relative; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: linear-gradient(90deg, var(--bg), rgba(10, 16, 36, 0.6), var(--bg)); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px rgba(207, 247, 255, 0.35); padding: 0 28px; white-space: nowrap; }
.marquee span.fill { color: #fff; -webkit-text-stroke: 0; }
.marquee i { width: 12px; height: 12px; flex: none; transform: rotate(45deg); background: var(--grad-brand); box-shadow: 0 0 16px rgba(34, 211, 238, 0.7); }

/* ── Big statement / problem ────────────────────────────────────────── */
.big-statement { font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.12; letter-spacing: -0.035em; }
.big-statement .word { display: inline-block; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.problem-grid .card h3 { margin-top: 18px; }
.icon-orb { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(37, 99, 235, 0.35), rgba(34, 211, 238, 0.12)); border: 1px solid rgba(103, 232, 249, 0.25); color: var(--cyan); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.icon-orb svg { width: 24px; height: 24px; }

/* ── Stacking cards ─────────────────────────────────────────────────── */
.stack { display: grid; gap: 28px; }
.stack-card { position: sticky; top: calc(var(--nav-h) + 40px); min-height: 380px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: linear-gradient(160deg, #0b1330 0%, #070b1a 70%); border: 1px solid var(--border-strong); box-shadow: 0 -12px 32px -22px rgba(0, 0, 0, 0.9), 0 18px 40px -28px rgba(37, 99, 235, 0.5); transform-origin: center top; overflow: hidden; will-change: transform; }
.stack-card::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, var(--card-glow, rgba(37, 99, 235, 0.35)), transparent 65%); pointer-events: none; }
.stack-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #03050c; opacity: var(--dim, 0); pointer-events: none; z-index: 3; }
.stack-card .points { font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 10vw, 8.5rem); line-height: 0.9; letter-spacing: -0.06em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack-card .points small { font-size: 0.28em; letter-spacing: -0.02em; -webkit-text-fill-color: var(--text-3); }
.stack-card h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 10px; }
.stack-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.stack-card li { display: flex; gap: 12px; color: var(--text-2); }
.stack-card li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: rgba(103, 232, 249, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; border: 1px solid rgba(103, 232, 249, 0.3); }
.stack-card.penalty { --card-glow: rgba(244, 63, 94, 0.28); }
.stack-card.penalty .points { background: linear-gradient(100deg, #fff, #fecdd3 50%, #fb7185); -webkit-background-clip: text; background-clip: text; }
.stack-card.penalty li::before { background-color: rgba(251, 113, 133, 0.12); border-color: rgba(251, 113, 133, 0.35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fb7185' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }

/* ── Example agent (home) ───────────────────────────────────────────── */
.showcase { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); }
.showcase-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.showcase h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.group-bars { display: grid; gap: 14px; margin: 22px 0; }
.gbar { display: grid; grid-template-columns: 120px 1fr 64px; align-items: center; gap: 14px; font-size: 0.9rem; }
.gbar .track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.gbar .fill { height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--grad-brand); box-shadow: 0 0 12px rgba(34, 211, 238, 0.5); transition: width 1.4s var(--ease); }
.gbar.neg .fill { background: linear-gradient(90deg, #be123c, #fb7185); }
.gbar .pts { text-align: right; font-family: var(--font-display); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.gbar .pts small { color: var(--text-3); font-weight: 400; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reasons h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.reasons ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reasons li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--text-2); line-height: 1.45; }
.reasons li::before { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; margin-top: 1px; }
.reasons .up li::before { content: "+"; color: var(--trusted); background: rgba(34, 211, 166, 0.12); }
.reasons .down li::before { content: "−"; color: var(--risky); background: rgba(251, 113, 133, 0.12); }

/* ── Audience / principles / tilt ───────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
[data-tilt] { transform-style: preserve-3d; }
.audience .card { min-height: 300px; display: flex; flex-direction: column; }
.audience .card .tag { margin-top: auto; padding-top: 22px; font-family: var(--font-display); font-weight: 600; color: var(--cyan); font-size: 0.92rem; }
.principles { background: linear-gradient(180deg, transparent, rgba(10, 16, 36, 0.65), transparent); }
.principle-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.principle { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.principle b { display: block; color: #fff; font-family: var(--font-display); margin-bottom: 4px; }
.principle p { margin: 0; font-size: 0.95rem; }
.registry-box { font-family: var(--font-mono); font-size: 0.82rem; border-radius: var(--radius); border: 1px solid var(--border); background: #050915; padding: 22px; overflow-x: auto; }
.registry-box .row { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px dashed rgba(148, 163, 184, 0.12); white-space: nowrap; }
.registry-box .row:last-child { border-bottom: 0; }
.registry-box .k { color: var(--text-3); }
.registry-box .v { color: var(--ice); }

/* ── Agent cards / explorer ─────────────────────────────────────────── */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.agent-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; min-height: 210px; }
.agent-card .top { display: flex; align-items: center; gap: 14px; }
.agent-card h3 { font-size: 1.08rem; margin: 0 0 4px; line-height: 1.25; }
.agent-card .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.agent-card p { font-size: 0.9rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.agent-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-3); padding-top: 12px; border-top: 1px solid var(--border); }
.avatar { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; background: linear-gradient(140deg, #1d4ed8, #0891b2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 30px -12px rgba(34, 211, 238, 0.6); overflow: hidden; }
.avatar { position: relative; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   /* a missing image leaves the initials showing */
.avatar.lg { width: 76px; height: 76px; border-radius: 22px; font-size: 1.5rem; }
.explorer-head { padding: calc(var(--nav-h) + 64px) 0 36px; }
.demo-on .explorer-head { padding-top: calc(var(--nav-h) + 98px); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.filters .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 0.85rem; cursor: pointer; transition: all 0.25s; }
.filter-chip:hover { color: #fff; border-color: var(--border-strong); }
.filter-chip[aria-pressed="true"], .filter-chip.active { color: #fff; border-color: rgba(103, 232, 249, 0.55); background: rgba(103, 232, 249, 0.1); }
.select, .input, textarea.input { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(8, 13, 30, 0.75); color: var(--text); font: inherit; font-size: 0.92rem; outline: none; transition: border-color 0.25s, box-shadow 0.25s; }
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6b3c9' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.input:focus, .select:focus, textarea.input:focus { border-color: rgba(103, 232, 249, 0.6); box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.08); }
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; width: 100%; }
.input.block { width: 100%; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 22px; color: var(--text-3); font-size: 0.9rem; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }

/* ── Agent profile ──────────────────────────────────────────────────── */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-3); margin-bottom: 26px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(148, 163, 184, 0.4); }
.crumbs a:hover { color: #fff; }
.profile-head { padding: calc(var(--nav-h) + 48px) 0 0; }
.demo-on .profile-head { padding-top: calc(var(--nav-h) + 82px); }
.profile-title { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.profile-title h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 0 0 8px; }
.profile-title .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--text-3); font-size: 0.88rem; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.score-panel { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 40px; padding: clamp(26px, 4vw, 48px); }
.score-panel .summary { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text); line-height: 1.55; margin-bottom: 8px; }
.sparkline { margin-top: 18px; }
.sparkline svg { width: 100%; max-width: 280px; height: 64px; overflow: visible; }
.sparkline .line { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(103, 232, 249, 0.6)); }
.sparkline .area { fill: url(#sparkGrad); opacity: 0.35; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--bg-2); padding: 20px; }
.fact span { display: block; font-size: 0.78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.fact strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; }
.fact strong.ok { color: var(--trusted); } .fact strong.no { color: var(--risky); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--text-3); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.02); white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid rgba(148, 163, 184, 0.07); color: var(--text-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: rgba(255, 255, 255, 0.015); }
.tbl .mono { font-family: var(--font-mono); font-size: 0.82rem; }
.tbl .num { font-family: var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.badge-embed { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.services { display: grid; gap: 10px; }
.service { display: flex; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 0.9rem; }
.service code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.callout { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(103, 232, 249, 0.25); background: rgba(103, 232, 249, 0.05); color: var(--text-2); font-size: 0.95rem; }
.callout.warn { border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.06); }
.callout.danger { border-color: rgba(244, 63, 94, 0.4); background: rgba(244, 63, 94, 0.07); }
.callout strong { color: #fff; }

/* ── Code ───────────────────────────────────────────────────────────── */
.code { position: relative; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #040812; overflow: hidden; margin: 14px 0 24px; }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 16px; border-bottom: 1px solid var(--border); font-size: 0.75rem; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }
.code pre { margin: 0; padding: 18px; overflow-x: auto; color: #cfe3ff; line-height: 1.6; font-size: 0.84rem; }
.copy-btn { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--text-2); font-size: 0.75rem; cursor: pointer; }
.copy-btn:hover { color: #fff; border-color: rgba(103, 232, 249, 0.5); }
.copy-btn.copied { color: var(--trusted); border-color: rgba(34, 211, 166, 0.5); }
.tok-k { color: #93c5fd; } .tok-s { color: #67e8f9; } .tok-n { color: #fbbf24; } .tok-c { color: #64748b; }

/* ── Pricing ────────────────────────────────────────────────────────── */
.period-toggle { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 44px; }
.period-toggle button { height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: none; color: var(--text-2); font: inherit; font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all 0.3s var(--ease); }
.period-toggle button[aria-pressed="true"] { background: #fff; color: #050814; }
.period-toggle .save { font-size: 0.72rem; color: var(--trusted); margin-left: 6px; }
.period-toggle button[aria-pressed="true"] .save { color: #047857; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.plan.featured { background: linear-gradient(170deg, rgba(37, 99, 235, 0.28), rgba(8, 13, 30, 0.9) 55%); border-color: rgba(103, 232, 249, 0.45); box-shadow: 0 40px 100px -50px rgba(34, 211, 238, 0.65); }
.plan .ribbon { position: absolute; top: 18px; right: 18px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #050814; background: var(--cyan); padding: 4px 10px; border-radius: 99px; }
.plan h3 { margin: 0; }
.plan .for { font-size: 0.88rem; color: var(--text-3); margin: 4px 0 0; min-height: 2.8em; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .amt { font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.price .per { color: var(--text-3); font-size: 0.9rem; }
.price-note { font-size: 0.8rem; color: var(--text-3); min-height: 1.3em; margin: -8px 0 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; color: var(--text-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--cyan); font-weight: 700; flex: none; }
.plan .btn { margin-top: auto; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 0.93rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--cyan); margin-bottom: 10px; }
.steps b { color: #fff; display: block; margin-bottom: 4px; font-family: var(--font-display); }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: rgba(103, 232, 249, 0.35); background: rgba(103, 232, 249, 0.03); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--cyan); font-size: 1.2rem; transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p { margin: 0; }

/* ── Prose (methodology, learn, legal) ──────────────────────────────── */
.page-head { padding: calc(var(--nav-h) + 72px) 0 40px; }
.demo-on .page-head { padding-top: calc(var(--nav-h) + 106px); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 30px); display: grid; gap: 4px; font-size: 0.88rem; }
.toc b { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.toc a { padding: 6px 12px; border-left: 2px solid var(--border); color: var(--text-2); transition: all 0.2s; }
.toc a:hover, .toc a.active { color: #fff; border-left-color: var(--cyan); }
.prose { max-width: 760px; font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 64px 0 18px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 36px 0 12px; font-size: 1.25rem; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose .tbl-wrap { margin: 18px 0 26px; }
.prose .answer-box { padding: 22px 24px; border-radius: 16px; border: 1px solid rgba(103, 232, 249, 0.3); background: linear-gradient(160deg, rgba(37, 99, 235, 0.14), rgba(8, 13, 30, 0.4)); margin: 0 0 28px; }
.prose .answer-box p { margin: 0; color: var(--text); font-size: 1.08rem; }

/* ── Report ─────────────────────────────────────────────────────────── */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { padding: 24px; }
.kpi span { display: block; font-size: 0.8rem; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }
.kpi strong { display: block; margin-top: 8px; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.03em; }
.dist { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; align-items: end; height: 220px; padding: 24px 24px 0; }
.dist .col { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; min-height: 0; }
.dist .bar-track { flex: 1 1 auto; width: 100%; min-height: 0; display: flex; align-items: flex-end; }
.dist .barv { width: 100%; height: var(--h, 0%); min-height: 3px; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, var(--cyan), var(--blue)); box-shadow: 0 0 18px rgba(34, 211, 238, 0.35); transition: height 1.2s var(--ease); }
.dist small { font-size: 0.72rem; color: var(--text-3); padding-bottom: 12px; white-space: nowrap; }
.dist .n { font-size: 0.78rem; color: var(--text-2); font-family: var(--font-display); }

/* ── Forms / account ────────────────────────────────────────────────── */
.auth-wrap { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 40px) var(--gutter) 60px; }
.auth-card { width: 100%; max-width: 460px; padding: 36px; text-align: center; }
.auth-card .logo { width: 84px; height: 84px; margin: 0 auto 18px; filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.5)); }
.wallet-list { display: grid; gap: 10px; margin: 22px 0 10px; }
.wallet-option { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: all 0.25s; }
.wallet-option:hover { border-color: rgba(103, 232, 249, 0.6); background: rgba(103, 232, 249, 0.06); }
.wallet-option img { width: 28px; height: 28px; border-radius: 8px; }
.form-msg { min-height: 1.4em; font-size: 0.9rem; margin-top: 12px; }
.form-msg.error { color: var(--risky); } .form-msg.ok { color: var(--trusted); }
.dash-head { padding: calc(var(--nav-h) + 48px) 0 28px; }
.demo-on .dash-head { padding-top: calc(var(--nav-h) + 82px); }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dash-grid .span-2 { grid-column: span 2; }
.meter { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin: 12px 0 6px; }
.meter i { display: block; height: 100%; width: var(--w); background: var(--grad-brand); border-radius: inherit; }
.key-box { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid rgba(34, 211, 166, 0.45); background: rgba(34, 211, 166, 0.06); margin: 14px 0; }
.key-box code { flex: 1; overflow-x: auto; white-space: nowrap; background: none; border: 0; padding: 0; }
.row-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.list-plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list-plain li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 0.92rem; }
.option-list { display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; transition: all 0.25s; }
.option:hover { border-color: rgba(103, 232, 249, 0.45); }
.option:has(input:checked) { border-color: rgba(103, 232, 249, 0.75); background: rgba(103, 232, 249, 0.07); box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.06); }
.option input { accent-color: var(--cyan-2); width: 18px; height: 18px; }
.option .grow { flex: 1; }
.option small { color: var(--text-3); display: block; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; align-items: start; }
.summary-card { position: sticky; top: calc(var(--nav-h) + 24px); }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.summary-row.total { border-bottom: 0; font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.pay-amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; color: #fff; word-break: break-all; }
.copy-field { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 12px; border: 1px solid var(--border-strong); background: #050915; font-family: var(--font-mono); font-size: 0.85rem; color: var(--ice); margin: 8px 0 18px; }
.copy-field span { flex: 1; overflow-x: auto; white-space: nowrap; }
.status-line { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); }
.status-line .spin { width: 18px; height: 18px; border: 2px solid var(--cyan); border-right-color: transparent; border-radius: 50%; animation: spin 0.9s linear infinite; flex: none; }
.status-line.paid { border-color: rgba(34, 211, 166, 0.5); background: rgba(34, 211, 166, 0.07); }
.status-line.rejected { border-color: rgba(251, 113, 133, 0.5); background: rgba(251, 113, 133, 0.06); }

/* ── CTA / footer ───────────────────────────────────────────────────── */
.cta-final { position: relative; overflow: hidden; text-align: center; isolation: isolate; }
.cta-final canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta-final h2 { font-size: clamp(3rem, 9vw, 8rem); letter-spacing: -0.055em; line-height: 0.95; margin-bottom: 26px; }
.cta-final .search { margin: 36px auto 0; }
.footer { border-top: 1px solid var(--border); padding: 72px 0 40px; background: linear-gradient(180deg, transparent, rgba(6, 10, 23, 0.85)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 32px; }
.footer h4, .footer .foot-h { font-family: inherit; font-weight: 600; line-height: 1.4; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--text-2); font-size: 0.92rem; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer .about-text { font-size: 0.92rem; max-width: 320px; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-3); }

/* ── Legal pages ────────────────────────────────────────────────────── */
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.legal-nav a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.85rem; color: var(--text-2); text-decoration: none; }
.legal-nav a:hover { color: #fff; border-color: var(--text-3); }
.legal-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: var(--text-3); }
.legal-callout { border: 1px solid var(--border); border-left: 3px solid var(--accent, #7c9cff); border-radius: 12px; padding: 16px 18px; margin: 0 0 28px; background: rgba(255, 255, 255, 0.03); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; color: var(--text-2); }
.check-row input { margin-top: 4px; flex: none; width: 16px; height: 16px; }

/* ── Admin: users and free plan time ───────────────────────────────── */
.grant-grid { display: grid; grid-template-columns: 1fr 140px 2fr; gap: 14px; }
@media (max-width: 760px) { .grant-grid { grid-template-columns: 1fr 1fr; } .grant-note { grid-column: 1 / -1; } }
.field > span { font-size: 0.86rem; color: #fff; font-weight: 550; }
.tag-src { display: inline-block; white-space: nowrap; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 0.72rem; border: 1px solid var(--border-strong); color: var(--text-2); }
.tag-src.tag-granted { border-color: rgba(103, 232, 249, 0.45); color: #a5f3fc; }

.related-guides { display: grid; gap: 14px; }
.related-guides .card { padding: 18px 20px; text-decoration: none; }

/* Owner-supplied text (skill names, URIs) can be any length: never let it widen the page. */
.chip { max-width: 100%; }
.chip.chip-text { display: inline-block; line-height: 24px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.registry-box { max-width: 100%; }
.registry-box .row { min-width: 0; }
.registry-box .v { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ── Reveal (progressive: content stays visible without JS) ─────────── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); animation: reveal-fallback 0.01s 3s forwards; }
.js.motion-ready [data-reveal] { animation: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }
.reduced-motion [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
.split-line, .split-char-mask { overflow: hidden; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
/* The full menu needs ~1140px; below that it folds into the menu button. */
@media (max-width: 1140px) {
  .nav-links, .nav-actions .hide-m { display: none; }
  .menu-toggle { display: inline-grid; }
  .mobile-menu { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99; display: grid; gap: 4px; padding: 16px var(--gutter) 24px; background: rgba(3, 5, 12, 0.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); transform: translateY(-120%); transition: transform 0.45s var(--ease); }
  .demo-on .mobile-menu { inset: calc(var(--nav-h) + 34px) 0 auto 0; }
  .mobile-menu.is-open { transform: none; }
  .mobile-menu a { padding: 12px 6px; font-family: var(--font-display); font-size: 1.1rem; border-bottom: 1px solid var(--border); }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { max-width: 380px; width: 88%; margin: 20px auto 0; }
  .chip-a { left: 0; } .chip-b { right: 0; }
  .agent-grid, .grid-3, .problem-grid { grid-template-columns: 1fr 1fr; }
  .grid-4, .kpis { grid-template-columns: 1fr 1fr; }
  .stack-card { grid-template-columns: 1fr; min-height: auto; gap: 12px; }
  .showcase, .score-panel { grid-template-columns: 1fr; justify-items: start; }
  .with-toc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: none; }
  .split, .dash-grid, .principle-list, .checkout-grid, .grid-2 { grid-template-columns: 1fr; }
  .dash-grid .span-2 { grid-column: auto; }
  .summary-card { position: static; }
  .reasons { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .agent-grid, .grid-3, .problem-grid, .plans, .grid-4, .kpis, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search { padding-left: 14px; }
  .search .btn { padding: 0 16px; }
  .search .btn .long { display: none; }
  .hero-stats { gap: 22px; }
  .float-chip { font-size: 0.74rem; padding: 8px 10px 8px 8px; }
  .chip-c { display: none; }
  .gbar { grid-template-columns: 92px 1fr 52px; font-size: 0.82rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .dist { gap: 4px; padding: 16px 12px 0; }
  .badge-embed { grid-template-columns: 1fr; }
  .auth-card { padding: 26px 20px; }
  .demo-banner { font-size: 0.7rem; }
  .profile-title { gap: 16px; }
}
@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; }
}

/* ── Motion states (progressive: visible without JS, animated with it) ─ */
.ring .bar { stroke-dasharray: 339.292; stroke-dashoffset: var(--off, 339.292); }
.js .ring[data-animate] .bar { stroke-dashoffset: 339.292; animation: ring-fallback 0.01s 3s forwards; }
.js .ring[data-animate].is-in .bar { stroke-dashoffset: var(--off); }
.js .ring[data-animate] .num { opacity: 0; animation: reveal-fallback 0.01s 3s forwards; transition: opacity 0.4s; }
@keyframes ring-fallback { to { stroke-dashoffset: var(--off); } }

.js [data-bars] .fill { width: 0; animation: bars-fallback 0.01s 3s forwards; }
.js [data-bars].is-in .fill { width: var(--w); }
@keyframes bars-fallback { to { width: var(--w); } }

.js [data-dist] .barv { height: 0; animation: dist-fallback 0.01s 3s forwards; }
.js [data-dist].is-in .barv { height: var(--h); }
.js [data-dist].is-in .col:nth-child(2) .barv { transition-delay: 0.05s; } .js [data-dist].is-in .col:nth-child(3) .barv { transition-delay: 0.1s; }
.js [data-dist].is-in .col:nth-child(4) .barv { transition-delay: 0.15s; } .js [data-dist].is-in .col:nth-child(5) .barv { transition-delay: 0.2s; }
.js [data-dist].is-in .col:nth-child(6) .barv { transition-delay: 0.25s; } .js [data-dist].is-in .col:nth-child(7) .barv { transition-delay: 0.3s; }
.js [data-dist].is-in .col:nth-child(8) .barv { transition-delay: 0.35s; } .js [data-dist].is-in .col:nth-child(9) .barv { transition-delay: 0.4s; }
.js [data-dist].is-in .col:nth-child(10) .barv { transition-delay: 0.45s; }
@keyframes dist-fallback { to { height: var(--h); } }

.js [data-split], .js [data-count] { opacity: 0; animation: reveal-fallback 0.01s 3s forwards; }
.js .page-home [data-hero-item],
.js .page-home .hero-title .line-inner,
.js .page-home [data-hero-visual],
.js .page-home [data-float] { opacity: 0; animation: reveal-fallback 0.01s 2.6s forwards; }

.js.motion-ready [data-reveal],
.js.motion-ready [data-split],
.js.motion-ready [data-count],
.js.motion-ready .ring[data-animate] .bar,
.js.motion-ready .ring[data-animate] .num,
.js.motion-ready [data-bars] .fill,
.js.motion-ready [data-dist] .barv,
.js.motion-ready .page-home [data-hero-item],
.js.motion-ready .page-home .hero-title .line-inner,
.js.motion-ready .page-home [data-hero-visual],
.js.motion-ready .page-home [data-float] { animation: none; }

.reduced-motion [data-split], .reduced-motion [data-count],
.reduced-motion .page-home [data-hero-item], .reduced-motion .page-home .hero-title .line-inner,
.reduced-motion .page-home [data-hero-visual], .reduced-motion .page-home [data-float] { opacity: 1 !important; animation: none !important; }
.reduced-motion .ring[data-animate] .bar { stroke-dashoffset: var(--off) !important; animation: none !important; }
.reduced-motion .ring[data-animate] .num { opacity: 1 !important; animation: none !important; }
.reduced-motion [data-bars] .fill { width: var(--w) !important; animation: none !important; }
.reduced-motion [data-dist] .barv { height: var(--h) !important; animation: none !important; }

[data-tilt].revealed { transition: border-color 0.4s, box-shadow 0.5s !important; }
[data-magnetic] { transition-property: box-shadow, background, border-color, color; }

/* Preloader: first visit only; hides itself even if scripts fail. */
.preloader { animation: pl-failsafe 0.4s 2.4s forwards; }
.seen .preloader { display: none; }
@keyframes pl-failsafe { to { opacity: 0; visibility: hidden; } }

/* ── Hero details ───────────────────────────────────────────────────── */
.hero-title .line { display: block; overflow: hidden; padding: 0 0.04em 0.12em; margin: 0 -0.04em -0.12em; }
.hero-title .line-inner { display: inline-block; will-change: transform; }
.hero-title .char { display: inline-block; will-change: transform; }
.float-chip { animation: bob 7s ease-in-out infinite; }
.chip-b { animation-delay: -2.3s; } .chip-c { animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hl { color: var(--cyan); }
.big-statement .word { will-change: opacity; }

/* Card spotlight that follows the cursor */
.card.hoverable::after, .plan::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, 0.09), transparent 45%);
}
.card.hoverable:hover::after, .plan:hover::after { opacity: 1; }
.audience .card .tag { color: var(--cyan); }
.audience .card .tag:hover { color: #fff; }

/* ── Misc components ────────────────────────────────────────────────── */
.list-plain svg, .chip svg { width: 18px; height: 18px; flex: none; color: var(--cyan); }
.chip svg { width: 14px; height: 14px; }
.segno { display: block; width: 100%; height: auto; }
.auth-wrap { position: relative; isolation: isolate; overflow: hidden; }
.auth-wrap .starfield { z-index: -1; }
.option-list.cols-3 { grid-template-columns: repeat(3, 1fr); }
.prose .code { margin: 14px 0 26px; }
.prose .code pre { font-size: 0.8rem; }
.tbl td .pill { vertical-align: middle; }
details > summary.link { list-style: none; display: inline-block; }
details > summary.link::-webkit-details-marker { display: none; }
.card .registry-box { background: rgba(3, 5, 12, 0.6); }
.registry-box a { color: var(--ice); }
.registry-box a:hover { color: var(--cyan); }
.icon-orb svg { stroke-width: 1.7; }
.principle .icon-orb { flex: none; width: 44px; height: 44px; border-radius: 14px; }
.principle .icon-orb svg { width: 20px; height: 20px; }
.kpi strong { color: #fff; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.empty h2 { margin-top: 0; }

@media (max-width: 640px) {
  .option-list.cols-3 { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .stack-card .points { font-size: 4rem; }
}
@media (max-height: 700px) {
  .stack-card { position: relative; top: auto !important; }
}

.spark-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.spark-head b { color: #fff; font-family: var(--font-display); letter-spacing: 0; }
.sparkline svg { max-width: none; height: 56px; }
.sparkline .area { opacity: 1; }

/* Grid children must be allowed to shrink, or long code lines push the page wider than the screen. */
.split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .with-toc > *, .checkout-grid > *, .dash-grid > *, .hero-inner > *,
.showcase > *, .score-panel > *, .badge-embed > *, .stack-card > *, .kpis > *, .plans > *, .agent-grid > *, .footer-grid > * { min-width: 0; }
.service code { min-width: 0; }
.demo-banner .short { display: none; }
@media (max-width: 640px) {
  .demo-banner .long { display: none; }
  .demo-banner .short { display: inline; }
  .hero-stats div strong { font-size: 1.6rem; }
}
.search-grow { flex: 1 1 380px; max-width: none; min-width: 0; }
.services > * { min-width: 0; }
.service strong { flex: none; }
.service code { flex: 1 1 auto; max-width: none; text-align: right; }
@media (max-width: 640px) {
  .search-grow { flex-basis: 100%; }
  .filters .select { flex: 1 1 140px; }
}
[hidden] { display: none !important; }

/* ==========================================================================
   Product v2 — dashboard shell, stat tiles, forms, charts, product pages
   ========================================================================== */
.dash { padding: calc(var(--nav-h) + 28px) 0 110px; }
.demo-on .dash { padding-top: calc(var(--nav-h) + 62px); }
.dash-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 34px; align-items: start; }
.dash-side { position: sticky; top: calc(var(--nav-h) + 22px); display: grid; gap: 14px; }
.demo-on .dash-side { top: calc(var(--nav-h) + 56px); }
.ws-card { padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.ws-card .ws-top { display: flex; align-items: center; gap: 10px; }
.ws-card .ws-avatar { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: #fff; background: var(--grad-brand); }
.ws-card .ws-name { font-weight: 600; color: #fff; font-size: 0.92rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-card .ws-sub { font-size: 0.76rem; color: var(--text-3); font-family: var(--font-mono); }
.ws-card form { margin-top: 12px; }
.ws-card .select { width: 100%; height: 38px; font-size: 0.84rem; }
.ws-plan { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-3); }
.dash-nav { display: grid; gap: 2px; }
.dash-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 11px; color: var(--text-2); font-size: 0.9rem; transition: color 0.2s, background 0.2s; }
.dash-nav a svg { width: 18px; height: 18px; flex: none; color: var(--text-3); transition: color 0.2s; }
.dash-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.dash-nav a:hover svg { color: var(--text-2); }
.dash-nav a[aria-current="page"] { color: #fff; background: linear-gradient(90deg, rgba(103, 232, 249, 0.13), rgba(103, 232, 249, 0.02)); box-shadow: inset 2px 0 0 var(--cyan); }
.dash-nav a[aria-current="page"] svg { color: var(--cyan); }
.dash-nav .nav-tag { margin-left: auto; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.dash-nav .nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: #03050c; background: var(--caution); }
.dash-side-foot { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-side-foot form { display: contents; }
.dash-main { min-width: 0; display: grid; gap: 20px; }
.dash-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.dash-title h1 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0; }
.dash-title p { margin: 6px 0 0; color: var(--text-2); max-width: 640px; }
.dash-title .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.card-head h2, .card-head h3 { font-size: 1.12rem; margin: 0; }
.card-head p { margin: 4px 0 0; font-size: 0.88rem; color: var(--text-3); }
.card.pad-sm { padding: 22px; }
.stack { display: grid; gap: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { min-width: 0; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); }
.stat > span { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-3); }
.stat > span i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.stat strong { display: block; margin-top: 6px; font-family: var(--font-body); font-weight: 650; font-size: 1.75rem; letter-spacing: -0.02em; color: #fff; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat small { display: block; margin-top: 4px; color: var(--text-3); font-size: 0.8rem; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cyan); background: rgba(103, 232, 249, 0.08); border: 1px solid rgba(103, 232, 249, 0.25); white-space: nowrap; }
.tag.gray { color: var(--text-2); background: rgba(255, 255, 255, 0.04); border-color: var(--border); }
.tag.ok { color: var(--trusted); background: rgba(34, 211, 166, 0.08); border-color: rgba(34, 211, 166, 0.28); }
.tag.warn { color: var(--caution); background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.3); }
.tag.bad { color: var(--risky); background: rgba(251, 113, 133, 0.08); border-color: rgba(251, 113, 133, 0.3); }
.lock-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed rgba(103, 232, 249, 0.35); background: radial-gradient(600px circle at 0% 0%, rgba(37, 99, 235, 0.14), transparent 55%), rgba(255, 255, 255, 0.02); }
.lock-card .icon-orb { width: 46px; height: 46px; border-radius: 14px; margin: 0; }
.lock-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.lock-card p { margin: 0; font-size: 0.9rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li a, .checklist li > span { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 0.92rem; }
.checklist li a:hover { border-color: rgba(103, 232, 249, 0.4); }
.checklist .tick { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border-strong); }
.checklist .tick svg { width: 13px; height: 13px; opacity: 0; }
.checklist li.done .tick { background: var(--trusted); border-color: var(--trusted); color: #03050c; }
.checklist li.done .tick svg { opacity: 1; }
.checklist li.done a { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(148, 163, 184, 0.4); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field > label, .field > .label { font-size: 0.86rem; color: #fff; font-weight: 550; }
.field .help { font-size: 0.8rem; color: var(--text-3); line-height: 1.45; }
.field .input, .field .select, .field textarea.input { width: 100%; }
textarea.input.tall { min-height: 120px; }
.check-row { display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.check-row input { accent-color: var(--cyan-2); width: 17px; height: 17px; margin-top: 2px; flex: none; }
.check-row b { display: block; color: #fff; font-weight: 550; font-size: 0.9rem; }
.check-row small { display: block; color: var(--text-3); font-size: 0.8rem; margin-top: 2px; }
.check-row:has(input:checked) { border-color: rgba(103, 232, 249, 0.45); background: rgba(103, 232, 249, 0.05); }
.chip-check { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check label { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 0.84rem; transition: all 0.2s; }
.chip-check input:checked + span { color: #fff; border-color: rgba(103, 232, 249, 0.6); background: rgba(103, 232, 249, 0.1); }
.chip-check input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.inline-form { display: inline; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: 0.9rem; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.policy-card { display: grid; gap: 12px; }
.policy-card .rules { display: flex; flex-wrap: wrap; gap: 6px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.muted-box { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: rgba(3, 5, 12, 0.5); font-size: 0.9rem; color: var(--text-2); }
.reason-list { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: 0.84rem; color: var(--text-2); }
.decision { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.82rem; }
.decision svg { width: 15px; height: 15px; }
.decision.allow { color: var(--trusted); }
.decision.deny { color: var(--risky); }
.dash-empty { text-align: center; padding: 34px 20px; border: 1px dashed var(--border-strong); border-radius: 16px; color: var(--text-2); }
.dash-empty svg { width: 28px; height: 28px; color: var(--text-3); margin: 0 auto 10px; display: block; }
.dash-empty p { margin: 0 auto; max-width: 440px; font-size: 0.92rem; }
.ref-box { display: grid; gap: 10px; }
.big-link { font-family: var(--font-mono); font-size: 0.95rem; }

/* ── Charts (palette validated: series-1 #3987e5, series-2 #d95926 on #0a0d18) ── */
.viz { --chart-surface: #0a0d18; --series-1: #3987e5; --series-2: #d95926; --grid: #182036; --axis: #2b3550; --ink-muted: #8a97ae; position: relative; outline: none; }
.viz:focus-visible { box-shadow: 0 0 0 2px var(--cyan); border-radius: 12px; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 0.82rem; color: var(--text-2); }
.viz-legend li { display: inline-flex; align-items: center; gap: 7px; }
.viz-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.viz-legend b { color: #fff; font-weight: 600; }
.viz-body { position: relative; padding-left: 42px; }
.viz-plot { position: relative; height: 190px; }
.viz-grid { position: absolute; inset: 0; pointer-events: none; }
.viz-grid div { position: absolute; left: 0; right: 0; border-top: 1px solid var(--grid); }
.viz-grid div.base { border-top-color: var(--axis); }
.viz-grid span { position: absolute; right: calc(100% + 10px); top: 0; transform: translateY(-50%); font-size: 0.7rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.viz-cols { position: absolute; inset: 0; display: flex; align-items: stretch; }
.viz-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column-reverse; align-items: center; gap: 2px; cursor: default; border-radius: 6px; }
.viz-col i { display: block; width: min(64%, 24px); min-height: 2px; background: var(--c); transition: filter 0.15s; }
.viz-col i:last-child { border-radius: 4px 4px 0 0; }
.viz-col.is-active { background: rgba(255, 255, 255, 0.035); }
.viz-col.is-active i { filter: brightness(1.25); }
.viz-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.72rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.viz-tip { position: absolute; top: 0; z-index: 3; pointer-events: none; transform: translate(-50%, calc(-100% - 8px)); padding: 10px 12px; border-radius: 10px; background: #0d1324; border: 1px solid var(--border-strong); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.7); font-size: 0.8rem; white-space: nowrap; display: grid; gap: 5px; }
.viz-tip-h { color: var(--text-3); font-size: 0.74rem; }
.viz-tip-row { display: flex; align-items: center; gap: 8px; }
.viz-tip-row i { width: 12px; height: 2px; border-radius: 2px; background: var(--c); }
.viz-tip-row strong { color: #fff; font-weight: 650; font-variant-numeric: tabular-nums; }
.viz-tip-row span { color: var(--text-2); }
.viz-table { margin-top: 14px; }
.viz-table summary { cursor: pointer; font-size: 0.82rem; color: var(--text-3); list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.viz-table summary::-webkit-details-marker { display: none; }
.viz-table summary:hover { color: var(--cyan); }
.viz-table .tbl-wrap { margin-top: 10px; max-height: 280px; overflow: auto; }

/* ── Product pages ─────────────────────────────────────────────────── */
.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-row > * { min-width: 0; }
.feature { display: grid; gap: 10px; align-content: start; }
.feature h3 { font-size: 1.12rem; margin: 6px 0 0; }
.feature p { margin: 0; font-size: 0.94rem; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: flow; }
.flow > div { position: relative; padding: 20px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); counter-increment: flow; min-width: 0; }
.flow > div::before { content: counter(flow, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--cyan); margin-bottom: 10px; }
.flow b { color: #fff; display: block; margin-bottom: 4px; }
.flow p { margin: 0; font-size: 0.88rem; }
.playground { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.playground > * { min-width: 0; }
.pg-steps { display: grid; gap: 10px; }
.pg-check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); font-size: 0.88rem; color: var(--text-2); }
.pg-check i { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.72rem; font-weight: 700; }
.pg-check.ok i { background: rgba(34, 211, 166, 0.16); color: var(--trusted); }
.pg-check.fail i { background: rgba(251, 113, 133, 0.16); color: var(--risky); }
.pg-check.wait i { background: rgba(148, 163, 184, 0.14); color: var(--text-3); }
.pg-verdict { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border-strong); font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.pg-verdict.ok { border-color: rgba(34, 211, 166, 0.45); background: rgba(34, 211, 166, 0.07); }
.pg-verdict.fail { border-color: rgba(251, 113, 133, 0.45); background: rgba(251, 113, 133, 0.07); }
.pg-msg pre { margin: 0; white-space: pre-wrap; word-break: break-all; font-size: 0.78rem; }
.compare-grid { display: grid; gap: 16px; }
.compare-table th:first-child, .compare-table td:first-child { position: sticky; left: 0; background: #070b16; z-index: 1; }
.compare-table td { min-width: 180px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat-grid a { display: grid; gap: 4px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); min-width: 0; transition: border-color 0.25s, background 0.25s; }
.cat-grid a:hover { border-color: rgba(103, 232, 249, 0.45); background: rgba(103, 232, 249, 0.05); }
.cat-grid b { color: #fff; font-size: 0.95rem; }
.cat-grid span { color: var(--text-3); font-size: 0.8rem; }
.graph-wrap { position: relative; height: 380px; border-radius: var(--radius); border: 1px solid var(--border); background: radial-gradient(500px circle at 50% 50%, rgba(37, 99, 235, 0.12), transparent 70%), rgba(3, 5, 12, 0.6); overflow: hidden; }
.graph-wrap canvas { width: 100%; height: 100%; display: block; }
.graph-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 0.8rem; color: var(--text-2); }
.graph-legend li { display: inline-flex; align-items: center; gap: 7px; }
.graph-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.graph-tip { position: absolute; pointer-events: none; padding: 8px 10px; border-radius: 10px; background: #0d1324; border: 1px solid var(--border-strong); font-size: 0.78rem; color: var(--text); white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); }
.incident { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); display: grid; gap: 8px; }
.incident .row-between b { color: #fff; }
.incident .owner-reply { padding: 10px 12px; border-left: 2px solid var(--cyan); background: rgba(103, 232, 249, 0.04); border-radius: 0 10px 10px 0; font-size: 0.88rem; color: var(--text-2); }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.status-item { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); min-width: 0; }
.status-item .dot-s { width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--c); box-shadow: 0 0 12px var(--c); }
.status-item b { display: block; color: #fff; font-size: 0.95rem; }
.status-item small { display: block; color: var(--text-3); font-size: 0.8rem; }
.works-with { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.works-with span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 0.88rem; }
.works-with svg { width: 16px; height: 16px; color: var(--cyan); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--border-strong); }
.timeline li { position: relative; padding: 0 0 30px 26px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 12px rgba(34, 211, 238, 0.6); }
.timeline time { font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan); }
.timeline h3 { font-size: 1.15rem; margin: 4px 0 8px; }
.timeline ul { margin: 0; padding-left: 1.1em; color: var(--text-2); display: grid; gap: 4px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .dash-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dash-side { position: static; }
  .dash-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dash-nav::-webkit-scrollbar { display: none; }
  .dash-nav a { flex: none; border: 1px solid var(--border); padding: 8px 12px; }
  .dash-nav a[aria-current="page"] { box-shadow: none; border-color: rgba(103, 232, 249, 0.5); }
  .dash-nav .nav-tag { display: none; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row, .playground, .status-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-grid, .stat-grid.cols-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat { padding: 14px 16px; }
  .stat strong { font-size: 1.4rem; }
  .lock-card { grid-template-columns: minmax(0, 1fr); }
  .lock-card .icon-orb { display: none; }
  .viz-body { padding-left: 34px; }
  .viz-plot { height: 160px; }
  .cat-grid, .flow { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .graph-wrap { height: 300px; }
}
.flow.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .flow.cols-3 { grid-template-columns: minmax(0, 1fr); } }
/* Grid children must be allowed to shrink so long code lines and tables scroll inside their card instead of widening the page. */
.dash-main > *, .stack > *, .dash-side > *, .card > *, .policy-card > *, .ref-box > *, .pg-steps > *, .compare-grid > * { min-width: 0; }
.dash-main .code pre, .card .code pre { max-width: 100%; }
@media (max-width: 960px) {
  .dash-side-foot { order: 3; }
}
.viz-tip { top: 6px; transform: none; }
.viz-table summary svg { width: 15px; height: 15px; flex: none; display: inline-block; }
/* Inline icons next to text (headings, tags, notes, links, summaries) size with the text. */
h1 > svg, h2 > svg, h3 > svg, h4 > svg, p > svg, small > svg, summary > svg, label > svg, .tag > svg,
.copy-btn > svg, a.link > svg, .callout > svg, .muted > svg, .works-with svg, .graph-legend svg {
  display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none;
}
h3 > svg { color: var(--cyan); margin-right: 4px; }
.tag > svg { width: 12px; height: 12px; vertical-align: -1px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: auto; padding-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--cyan); transition: color 0.2s; }
.card-link:hover { color: #fff; }
.audience .card { display: flex; flex-direction: column; }
.feature > .btn { justify-self: start; margin-top: 4px; }
/* Visually hidden text inside scrolling tables must not escape the scroll box (it would widen the page on phones). */
.tbl-wrap { position: relative; }
.sr-only { top: 0; left: 0; }
.stack > .code { margin: 0; }

/* Sponsors */
.sponsor-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sponsor-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 160px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); color: var(--text-2); text-decoration: none; font-size: 0.9rem; transition: border-color 0.3s, background 0.3s; }
.sponsor-card:hover, .sponsor-card:focus-visible { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.06); color: var(--text); }
.sponsor-logo { display: grid; place-items: center; width: 100%; height: 96px; padding: 10px 14px; border-radius: 12px; background: #f4f6fa; }   /* a light plate so dark or transparent logos stay visible */
.sponsor-card img { max-width: 100%; max-height: 76px; object-fit: contain; }
.sponsor-card span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sponsor-note { margin: 28px 0; color: var(--text-2); font-size: 0.92rem; max-width: 760px; }
.sponsor-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sponsor-cta h2 { margin: 0 0 6px; font-size: 1.4rem; }
.sponsor-cta p { margin: 0; max-width: 620px; }
.sponsor-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .sponsor-form { grid-template-columns: 1fr; } }

[data-count] { font-variant-numeric: tabular-nums; }

/* Owner reputation */
.owner-stats { margin-top: 18px; }
.owner-signals { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.owner-signals li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: var(--text-2); line-height: 1.45; }
.owner-signals li::before { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; margin-top: 1px; }
.owner-signals .sig-good::before { content: "+"; color: var(--trusted); background: rgba(34, 211, 166, 0.12); }
.owner-signals .sig-warn::before { content: "!"; color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.owner-signals .sig-bad::before { content: "!"; color: var(--risky); background: rgba(251, 113, 133, 0.14); }
.owner-best { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.93rem; }
@media (max-width: 760px) { .owner-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
