/* ============================================================================
   $FORM4 — "Trade the Insiders"
   Aesthetic: subverted SEC paperwork × Bloomberg-terminal × degen memecoin.
   Type: Instrument Serif (editorial gravity) · Archivo (official grotesque)
         · JetBrains Mono (data / terminal).
   ========================================================================== */

/* ---- design tokens ------------------------------------------------------- */
:root {
  /* surfaces — near-black warm carbon */
  --void:      #0a0b0a;
  --void-2:    #0c0e0b;
  --panel:     #101210;
  --panel-2:   #141712;
  --panel-3:   #191d15;

  /* hairlines — like ledger rules */
  --line:      #23281f;
  --line-2:    #2f3626;
  --line-hi:   #3c4630;

  /* ink & paper */
  --ink:       #0a0b0a;
  --paper:     #ece6d6;   /* manila / document cream */
  --paper-dim: #cfc9b8;

  /* signal palette */
  --acid:      #b6ff2e;   /* BUY / primary — degen acid lime */
  --acid-2:    #d2ff6b;
  --acid-dim:  #7fb51c;
  --acid-glow: rgba(182,255,46,.28);
  --amber:     #ffbf3f;   /* stamps / secondary highlight */
  --red:       #ff5b57;   /* SELL */
  --red-dim:   #b3413f;

  /* text */
  --txt:       #d7dacd;
  --txt-dim:   #9aa08f;
  --mute:      #6c7362;

  /* type */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Archivo', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* geometry */
  --r:   3px;
  --r-lg: 5px;
  --maxw: 1180px;
  --gutter: clamp(16px, 4.5vw, 44px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--void);
  color: var(--txt);
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* layered atmosphere: faint acid glow top-left + document grid */
  background-image:
    radial-gradient(120% 90% at 8% -8%, rgba(182,255,46,.07), transparent 46%),
    radial-gradient(90% 70% at 108% 4%, rgba(255,191,63,.045), transparent 50%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
  background-position: 0 0, 0 0, -1px -1px, -1px -1px;
  background-attachment: fixed, fixed, fixed, fixed;
}
/* keep the grid whisper-quiet */
body::before {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(140% 120% at 50% 30%, transparent 55%, var(--void) 100%);
  pointer-events: none; z-index: 1;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ol, ul { list-style: none; }
::selection { background: var(--acid); color: var(--ink); }

/* ---- texture overlays ---------------------------------------------------- */
.grain, .scan, .vignette { position: fixed; inset: 0; pointer-events: none; }
.grain {
  z-index: 9998;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scan {
  z-index: 9997;
  opacity: .5;
  background: repeating-linear-gradient(to bottom,
    rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px,
    rgba(0,0,0,.16) 3px, rgba(0,0,0,0) 4px);
  animation: scan-drift 8s linear infinite;
}
.vignette {
  z-index: 9996;
  background: radial-gradient(120% 100% at 50% 0%, transparent 60%, rgba(0,0,0,.5) 100%);
}
@keyframes scan-drift { to { background-position: 0 8px; } }

/* ---- utilities ----------------------------------------------------------- */
.lime  { color: var(--acid); }
.mono  { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }
.mono-sm { font-family: var(--mono); font-size: .72em; }
.muted { color: var(--mute); }
.num   { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.blink { animation: blink 1.05s steps(2, start) infinite; color: var(--acid); }
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* redaction bar — reveal on hover / focus */
.redact {
  background: #000;
  background-image: linear-gradient(180deg, #141414, #000);
  color: transparent;
  box-shadow: 0 0 0 1.5px #000, inset 0 1px 0 rgba(255,255,255,.09), inset 0 -1px 0 rgba(0,0,0,.6);
  border-radius: 2px;
  padding: .04em .2em;
  cursor: help;
  transition: color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  outline: none;
}
.redact::selection { background: transparent; }
.redact:hover, .redact:focus-visible {
  background: rgba(182,255,46,.12);
  background-image: none;
  box-shadow: 0 0 0 1.5px rgba(182,255,46,.35);
  color: var(--acid);
}

/* ---- logo mark ----------------------------------------------------------- */
.mark { width: 30px; height: 30px; flex: none; }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .68em 1.05em;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  color: var(--txt);
  background: var(--panel-2);
  transition: transform .12s var(--ease), background .16s var(--ease),
              border-color .16s var(--ease), box-shadow .16s var(--ease), color .16s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: var(--line-hi); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--acid);
  color: var(--ink);
  border-color: var(--acid);
  box-shadow: 0 0 0 rgba(182,255,46,0), 0 6px 22px -8px var(--acid-glow);
}
.btn-primary:hover {
  background: var(--acid-2);
  border-color: var(--acid-2);
  box-shadow: 0 0 22px -4px var(--acid-glow), 0 8px 26px -10px var(--acid-glow);
}
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--panel-2); color: #fff; }
.btn-lg { font-size: .92rem; padding: .95em 1.4em; }
.btn .arr { transition: transform .16s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---- nav ----------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: clamp(14px, 3vw, 34px);
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--void) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-word {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  line-height: 1;
}
.brand-sub {
  font-family: var(--mono);
  font-size: .52rem;
  letter-spacing: .18em;
  color: var(--mute);
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  align-self: center;
}
.nav-links {
  display: flex; gap: clamp(12px, 2.4vw, 28px);
  margin-left: auto;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .12em;
}
.nav-links a { color: var(--txt-dim); position: relative; padding: 4px 0; transition: color .16s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--acid); transition: width .2s var(--ease);
}
.nav-links a:hover { color: var(--acid); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 8px; }

/* ---- ticker tape --------------------------------------------------------- */
.tape {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(182,255,46,.05), transparent),
    var(--void-2);
  overflow: hidden;
}
.tape-label {
  flex: none;
  display: flex; align-items: center;
  padding: 0 14px;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--ink);
  background: var(--acid);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding-right: 22px;
}
.tape-viewport {
  position: relative; flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.tape-track {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 7px 0;
  will-change: transform;
  animation: tape-scroll 46s linear infinite;
}
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item {
  font-family: var(--mono);
  font-size: .78rem;
  padding: 0 20px;
  color: var(--txt-dim);
  border-right: 1px solid var(--line);
  display: inline-flex; gap: .5ch; align-items: center;
}
.tape-item b { color: var(--acid); font-weight: 700; }
.tape-item .tv { color: var(--txt); font-variant-numeric: tabular-nums; }
@keyframes tape-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- layout shells ------------------------------------------------------- */
main { position: relative; z-index: 2; }
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 104px) var(--gutter);
  scroll-margin-top: 70px;
}
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--acid-dim);
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--acid);
  border-radius: 2px;
  background: var(--panel);
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.03em;
  color: #fff;
}
.section-head h2 em, h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--acid);
  letter-spacing: 0;
}
.section-head p {
  margin-top: 16px;
  color: var(--txt-dim);
  font-size: 1.02rem;
  max-width: 60ch;
}

/* ---- hero / dossier ------------------------------------------------------ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) var(--gutter) clamp(24px, 4vw, 40px);
}
.dossier {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(182,255,46,.03), transparent 30%),
    var(--panel);
  padding: clamp(26px, 4.5vw, 52px);
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.9);
}
/* faint FORM 4 watermark */
.dossier::before {
  content: "FORM 4";
  position: absolute;
  right: -2%; bottom: -12%;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(9rem, 24vw, 20rem);
  letter-spacing: -.05em;
  line-height: .8;
  color: #fff;
  opacity: .022;
  pointer-events: none;
  white-space: nowrap;
}
/* corner registration crop-marks */
.reg { position: absolute; width: 14px; height: 14px; pointer-events: none; opacity: .5; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--acid-dim); }
.reg::before { width: 14px; height: 1.5px; top: 0; }
.reg::after  { width: 1.5px; height: 14px; left: 0; }
.reg-tl { top: 12px; left: 12px; }
.reg-tr { top: 12px; right: 12px; transform: scaleX(-1); }
.reg-bl { bottom: 12px; left: 12px; transform: scaleY(-1); }
.reg-br { bottom: 12px; right: 12px; transform: scale(-1); }

.dossier-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--line-2);
  flex-wrap: wrap;
}
.doc-form {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: -.03em;
  line-height: 1;
}
.doc-org {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  line-height: 1.6;
  color: var(--txt-dim);
  text-transform: uppercase;
}
.doc-org .muted { display: inline-block; }
.doc-omb {
  display: grid; grid-template-columns: auto auto; gap: 2px 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 8px 12px;
  color: var(--mute);
  text-align: right;
}
.doc-omb b { color: var(--txt); font-size: .82rem; text-align: right; }
.doc-omb b.lime { color: var(--acid); }

.checkline {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 22px 0 6px;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--txt-dim);
}
.check { display: inline-flex; align-items: center; gap: 9px; }
.cb {
  width: 16px; height: 16px; flex: none;
  border: 1.5px solid var(--line-hi);
  border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; line-height: 1;
  color: transparent;
  background: var(--void-2);
}
.cb.checked { color: var(--acid); border-color: var(--acid-dim); background: rgba(182,255,46,.06); }

.hero h1 {
  margin: 20px 0 18px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2.6rem, 8.5vw, 5.6rem);
  line-height: .92;
  letter-spacing: -.035em;
  color: #fff;
  max-width: 16ch;
}
.lede {
  max-width: 60ch;
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  line-height: 1.65;
  color: var(--txt-dim);
}
.lede strong { color: var(--txt); font-weight: 700; }
.lede em { font-family: var(--serif); font-style: italic; font-size: 1.12em; color: var(--acid); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* stamps */
.stamp {
  position: absolute;
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 3px solid;
  border-radius: 4px;
  padding: 5px 12px;
  opacity: .82;
  pointer-events: none;
  mix-blend-mode: screen;
}
.stamp-filed {
  top: 8%; right: 5%;
  color: var(--red); border-color: var(--red);
  font-size: clamp(1rem, 3vw, 1.7rem);
  transform: rotate(-11deg);
  box-shadow: inset 0 0 0 1px rgba(255,91,87,.25);
}
.stamp-code {
  bottom: 12%; right: 8%;
  color: var(--acid); border-color: var(--acid);
  font-size: clamp(.8rem, 2vw, 1.15rem);
  transform: rotate(8deg);
}

/* stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.stat {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  padding: 18px 18px 16px;
  overflow: hidden;
}
.stat.is-primary {
  border-color: var(--acid-dim);
  background: linear-gradient(180deg, rgba(182,255,46,.08), transparent 60%), var(--panel);
  box-shadow: inset 0 0 0 1px rgba(182,255,46,.08), 0 0 30px -18px var(--acid-glow);
}
.stat.is-primary::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--acid);
}
.stat-num {
  font-family: var(--mono);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  letter-spacing: -.02em;
  line-height: 1;
  color: #fff;
}
.stat-label {
  margin-top: 8px;
  font-size: .8rem;
  color: var(--txt-dim);
  line-height: 1.3;
}
.stat-code {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .08em;
  color: var(--mute);
}

/* ---- feed ---------------------------------------------------------------- */
.feed-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.seg {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel);
}
.seg-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 10px 16px;
  color: var(--txt-dim);
  border-right: 1px solid var(--line-2);
  transition: background .15s, color .15s;
}
.seg-btn:last-child { border-right: none; }
.seg-box {
  width: 12px; height: 12px; flex: none;
  border: 1.5px solid var(--line-hi);
  border-radius: 2px;
  display: inline-block; position: relative;
}
.seg-btn:hover { color: var(--txt); background: var(--panel-2); }
.seg-btn.active { color: var(--ink); background: var(--acid); }
.seg-btn.active .seg-box { border-color: var(--ink); background: var(--ink); }
.seg-btn.active .seg-box::after {
  content: "×"; position: absolute; inset: -4px 0 0; color: var(--acid);
  font-size: 12px; font-weight: 900; text-align: center; line-height: 1;
}
.seg-btn[data-filter="SELL"].active { background: var(--red); }
.seg-btn[data-filter="SELL"].active .seg-box::after { color: var(--red); }

.feed-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--txt-dim);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 var(--acid-glow);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--acid-glow); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.feed-wrap {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 30px 60px -50px rgba(0,0,0,.9);
}
.feed-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px;
  background: var(--void-2);
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--txt-dim);
}
.fb-dots { display: inline-flex; gap: 6px; }
.fb-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-hi); display: block; }
.fb-dots i:first-child { background: var(--red-dim); }
.fb-dots i:nth-child(2) { background: var(--amber); }
.fb-dots i:nth-child(3) { background: var(--acid-dim); }
.fb-path { color: var(--txt-dim); }
.feed-topbar .blink { margin-left: auto; }

.feed-scroll { overflow-x: auto; }
table.feed {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
  min-width: 720px;
}
table.feed thead th {
  position: sticky; top: 0;
  text-align: left;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--mute);
  padding: 11px 14px;
  background: var(--void-2);
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
table.feed th.num, table.feed td.num { text-align: right; }
table.feed tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .12s;
  cursor: pointer;
}
table.feed tbody tr:hover { background: var(--panel-2); }
table.feed tbody tr:last-child { border-bottom: none; }
table.feed td {
  padding: 12px 14px;
  vertical-align: middle;
  color: var(--txt);
}

/* BUY rows dominate */
tr.row-buy { background: linear-gradient(90deg, rgba(182,255,46,.05), transparent 70%); }
tr.row-buy:hover { background: linear-gradient(90deg, rgba(182,255,46,.1), var(--panel-2)); }
tr.row-buy td.c-sig { box-shadow: inset 3px 0 0 var(--acid); }
tr.row-sell { opacity: .82; }
tr.row-sell:hover { opacity: 1; }
tr.row-sell td.c-sig { box-shadow: inset 3px 0 0 var(--red-dim); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
}
.badge.buy  { color: var(--ink); background: var(--acid); box-shadow: 0 0 14px -4px var(--acid-glow); }
.badge.sell { color: var(--red); background: rgba(255,91,87,.1); border: 1px solid rgba(255,91,87,.3); }

.co { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.co-line { display: flex; align-items: center; gap: 7px; }
.co-tick {
  font-family: var(--mono);
  font-weight: 800;
  font-size: .92rem;
  color: #fff;
  letter-spacing: -.01em;
}
.co-name {
  font-size: .74rem;
  color: var(--txt-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 24ch;
}
.chip-onchain {
  font-family: var(--mono);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255,191,63,.4);
  background: rgba(255,191,63,.08);
  border-radius: 2px;
  padding: 2px 5px;
  white-space: nowrap;
}
.ins-name {
  font-weight: 600;
  font-size: .82rem;
  color: var(--txt);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 22ch;
}
.ins-role {
  font-family: var(--mono);
  font-size: .64rem;
  color: var(--mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 22ch;
}
td.val-strong { color: var(--acid); font-weight: 800; }
.feed .skeleton-row td {
  font-family: var(--mono);
  color: var(--txt-dim);
  padding: 26px 16px;
  text-align: center;
}
.feed .empty-row td, .feed .error-row td {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--txt-dim);
  padding: 34px 16px;
  text-align: center;
}
.feed .error-row td { color: var(--red); }

/* ---- how / cards --------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  counter-reset: card;
}
.card {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.015), transparent),
    var(--panel);
  padding: 26px 22px 24px;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card::before {
  /* top perforation / filing-tab line */
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-hi) 0 6px, transparent 6px 12px);
  opacity: .6;
}
.card:hover { border-color: var(--acid-dim); transform: translateY(-3px); }
.card-ic {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--acid);
  border: 1px solid var(--acid-dim);
  background: rgba(182,255,46,.06);
  border-radius: 3px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -.01em;
  margin-bottom: 9px;
  color: #fff;
}
.card p { font-size: .92rem; color: var(--txt-dim); line-height: 1.6; }
.card-stamp {
  position: absolute;
  top: 20px; right: 18px;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--mute);
  border: 1px dashed var(--line-hi);
  border-radius: 3px;
  padding: 3px 6px;
  transform: rotate(4deg);
}

/* ---- tokenomics ---------------------------------------------------------- */
.tok-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--panel);
}
.tok {
  padding: 22px 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 118px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.tok-k {
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--acid-dim);
}
.tok-v {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.16rem;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.tok-v.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tok-v .muted { font-weight: 400; }

/* ---- memes --------------------------------------------------------------- */
.meme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.meme {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line-hi);
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.012) 0 12px, transparent 12px 24px),
    var(--panel);
  overflow: hidden;
  transition: border-color .2s, transform .2s var(--ease);
}
.meme:hover { border-color: var(--acid); border-style: solid; transform: translateY(-3px); }
.meme-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
}
.meme .idx {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--mute);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 3px 7px;
  background: var(--void-2);
}
.meme .stamp-slot {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--sans); font-weight: 900;
  font-size: .64rem; letter-spacing: .08em;
  color: var(--amber); border: 2px solid var(--amber);
  border-radius: 3px; padding: 2px 6px;
  transform: rotate(7deg); opacity: .85;
}
.meme h4 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 6px;
}
.meme p {
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.5;
  color: var(--txt-dim);
}

/* ---- footer -------------------------------------------------------------- */
.footer {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--gutter) 56px;
  border-top: 1px solid var(--line);
}
.foot-top {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .brand-word { font-size: 1.15rem; }
.foot-links {
  display: flex; gap: 22px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--txt-dim);
}
.foot-links a:hover { color: var(--acid); }
.disclaimer {
  margin-top: 22px;
  max-width: 90ch;
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.7;
  color: var(--mute);
}
.disc-tag { color: var(--acid-dim); font-weight: 700; margin-right: 6px; }

/* ---- pons floor (Robinhood Chain) ---------------------------------------- */
.amber { color: var(--amber); }

/* heading chip: "Live on Pons. [Robinhood Chain]" */
.chain-badge {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--mono);
  font-size: .5em;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255,191,63,.4);
  background: rgba(255,191,63,.08);
  border-radius: 3px;
  padding: 4px 8px;
  margin-left: .3em;
  transform: translateY(-.18em);
}

.floor-controls {
  display: flex; align-items: center; gap: 12px 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.seg-sort {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel);
}
.sort-label {
  display: inline-flex; align-items: center;
  padding: 0 10px;
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--mute);
  background: var(--void-2);
  border-right: 1px solid var(--line-2);
}
.sort-btn {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 9px 12px;
  color: var(--txt-dim);
  border-right: 1px solid var(--line-2);
  transition: background .15s, color .15s;
}
.sort-btn:last-child { border-right: none; }
.sort-btn:hover { color: var(--txt); background: var(--panel-2); }
.sort-btn.active { color: var(--ink); background: var(--acid); }

.stockonly {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--txt-dim);
  cursor: pointer;
  user-select: none;
}
.stockonly input { position: absolute; opacity: 0; width: 0; height: 0; }
.cb-toggle { color: transparent; }
.stockonly input:checked + .cb-toggle {
  color: var(--acid);
  border-color: var(--acid-dim);
  background: rgba(182,255,46,.08);
}
.stockonly input:focus-visible + .cb-toggle { outline: 2px solid var(--acid); outline-offset: 2px; }

.floor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 12px;
}
.floor-note {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--txt-dim);
  text-align: center;
  padding: 40px 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-lg);
  background: var(--panel);
}
.floor-note.is-error { color: var(--red); border-color: rgba(255,91,87,.3); }

/* launch card */
.lc {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--panel);
  padding: 16px 16px 18px;
  overflow: hidden;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.lc:hover { border-color: var(--line-hi); transform: translateY(-2px); }
a.lc { text-decoration: none; color: inherit; cursor: pointer; }
a.lc.lc-link:hover { border-color: var(--acid-dim); box-shadow: 0 0 26px -14px var(--acid-glow); }
a.lc.lc-link:hover .lc-sym::after {
  content: " ↗"; color: var(--acid-dim); font-family: var(--mono); font-weight: 500;
}

.lc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lc-id { min-width: 0; }
.lc-sym {
  display: block;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.05;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lc-name {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--txt-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 20ch;
}
.lc-status {
  flex: none;
  font-family: var(--mono);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 7px;
  border-radius: 2px;
  white-space: nowrap;
}
.st-new  { color: var(--txt-dim); border: 1px solid var(--line-hi); background: var(--void-2); }
.st-soon { color: var(--amber); border: 1px solid rgba(255,191,63,.4); background: rgba(255,191,63,.08); }
.st-grad { color: var(--ink); background: var(--acid); box-shadow: 0 0 14px -4px var(--acid-glow); }

.lc-pair { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pair-vs { font-family: var(--mono); font-size: .62rem; color: var(--mute); letter-spacing: .06em; }
.chip-xstock {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--amber);
  border: 1px solid rgba(255,191,63,.45);
  background: rgba(255,191,63,.08);
  border-radius: 3px;
  padding: 3px 7px;
  white-space: nowrap;
}
/* non-stock quote pair (ETH / USDG / cbBTC / …) — neutral */
.chip-quote {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--txt-dim);
  border: 1px solid var(--line-hi);
  background: var(--void-2);
  border-radius: 3px;
  padding: 3px 7px;
  white-space: nowrap;
}
/* launchpad/venue chip — Pons */
.chip-dex {
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acid-dim);
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  border-radius: 3px;
  padding: 3px 6px;
  white-space: nowrap;
}
.badge-insider {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--acid);
  border-radius: 3px;
  padding: 3px 7px;
  white-space: nowrap;
  box-shadow: 0 0 16px -2px var(--acid-glow);
  animation: insider-pulse 2s ease-in-out infinite;
}
@keyframes insider-pulse {
  0%, 100% { box-shadow: 0 0 16px -2px var(--acid-glow); }
  50% { box-shadow: 0 0 22px 1px var(--acid-glow); }
}

.lc-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 12px 0 2px;
  border-top: 1px solid var(--line);
}
.lcs { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lcs-k { font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; color: var(--mute); }
.lcs-v {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.lc-grad { display: flex; flex-direction: column; gap: 6px; }
.grad-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .12em;
  color: var(--mute);
}
.grad-pct { color: var(--txt); font-weight: 700; font-variant-numeric: tabular-nums; }
.grad-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--void-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.grad-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--acid-dim), var(--acid));
  transition: width .6s var(--ease);
  min-width: 2px;
}
.lc.is-soon .grad-fill { background: linear-gradient(90deg, #cc8f1f, var(--amber)); }
.lc.is-grad .grad-fill { background: linear-gradient(90deg, var(--acid), var(--acid-2)); box-shadow: 0 0 12px -2px var(--acid-glow); }
.lc.is-grad .grad-pct { color: var(--acid); }

/* flagged: paired to a stock insiders are buying — the money feature */
.lc-flagged {
  border-color: var(--acid);
  background: linear-gradient(180deg, rgba(182,255,46,.09), transparent 55%), var(--panel);
  box-shadow: 0 0 0 1px rgba(182,255,46,.25), 0 0 34px -14px var(--acid-glow);
}
.lc-flagged::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--acid);
}
.lc-flagged:hover { border-color: var(--acid); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--acid), 0 0 40px -12px var(--acid-glow); }
.lc-flagged .lc-sym { color: #fff; }

/* ---- how it works : flow diagram ----------------------------------------- */
.works .section-head { max-width: 760px; }

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px minmax(230px, .66fr);
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.flow-rails { display: grid; grid-template-rows: auto auto; gap: 20px; min-width: 0; }
.rail { position: relative; min-width: 0; }
.rail-tag {
  display: inline-block; margin-bottom: 10px;
  font-family: var(--mono);
  font-size: .58rem; font-weight: 700; letter-spacing: .12em;
  padding: 4px 9px; border-radius: 2px;
  border: 1px solid var(--line-2); background: var(--panel);
}
.rail-tag-sec  { color: var(--acid-dim); border-left: 3px solid var(--acid); }
.rail-tag-pons { color: var(--amber);    border-left: 3px solid var(--amber); }

.rail-steps { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 8px; }
.rail-pons .rail-steps { grid-template-columns: 1fr; }

.step {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent), var(--panel);
  padding: 16px;
  min-width: 0;
}
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.step-n {
  font-family: var(--mono); font-weight: 800; font-size: .88rem; line-height: 1;
  color: var(--acid);
  border: 1px solid var(--acid-dim); background: rgba(182,255,46,.06);
  border-radius: 3px; padding: 4px 8px;
}
.step-ic { width: 26px; height: 26px; color: var(--txt-dim); flex: none; }
.step h3 { font-family: var(--sans); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: #fff; }
.step p { font-size: .86rem; line-height: 1.55; color: var(--txt-dim); }
.step p strong { color: var(--txt); font-weight: 700; }
.step-feeds { margin-top: auto; padding-top: 4px; font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; color: var(--mute); }
.step-feeds a { color: var(--acid-dim); border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.step-feeds a:hover { color: var(--acid); border-color: var(--acid); }

.rail-arrow { align-self: center; justify-self: center; font-family: var(--mono); font-size: 1.3rem; color: var(--acid-dim); }

.flow-join { align-self: center; justify-self: center; width: 56px; height: 96px; }
.flow-join svg { width: 100%; height: 100%; }
.flow-join-v { display: none; }

.step-match {
  border-color: var(--acid);
  background: linear-gradient(180deg, rgba(182,255,46,.1), transparent 55%), var(--panel);
  box-shadow: 0 0 0 1px rgba(182,255,46,.22), 0 0 40px -16px var(--acid-glow);
}
.step-match::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--acid); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.step-match .step-n { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.step-match .step-ic { color: var(--acid); }
.step-match .badge-insider { align-self: flex-start; }
.match-note { font-size: .82rem; }
.stamp-mini {
  position: absolute; right: 12px; bottom: 12px;
  font-family: var(--sans); font-weight: 900; font-size: .6rem; letter-spacing: .06em;
  color: var(--acid); border: 2px solid var(--acid); border-radius: 3px; padding: 2px 6px;
  transform: rotate(7deg); opacity: .8; pointer-events: none;
}

.flow-tldr {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-top: 24px; padding: 16px 22px;
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(182,255,46,.04), transparent), var(--panel);
  text-align: center;
}
.tldr-k { font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: var(--acid-dim); flex: none; }
.tldr-v { font-family: var(--sans); font-weight: 800; font-size: clamp(1rem, 2.6vw, 1.35rem); letter-spacing: -.01em; color: #fff; }
.tldr-v b { color: var(--acid-dim); margin: 0 .15em; font-weight: 800; }

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-rails { gap: 0; }
  .rail-steps, .rail-pons .rail-steps { grid-template-columns: 1fr; gap: 0; }
  .rail-arrow { transform: rotate(90deg); margin: 10px auto; }
  .flow-join { display: none; }
  .flow-join-v { display: block; text-align: center; font-family: var(--mono); font-size: 1.4rem; color: var(--acid); margin: 12px 0; }
  .rail-pons { margin-top: 4px; }
  .rail-pons::before { content: "\2193"; display: block; text-align: center; font-family: var(--mono); font-size: 1.4rem; color: var(--amber); margin: 12px 0; }
}

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .cards, .tok-grid, .meme-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .brand-sub { display: none; }
  .nav { gap: 10px; }
  .nav-cta .btn-ghost { display: none; }
  .cards, .tok-grid, .meme-grid { grid-template-columns: 1fr; }
  .doc-omb { display: none; }
  .stamp-filed { top: 4%; right: 4%; }
  /* mobile feed: drop shares + price + date, keep signal / issuer / insider / value */
  table.feed { min-width: 0; font-size: .82rem; }
  table.feed th.c-sh, table.feed td.c-sh,
  table.feed th.c-pr, table.feed td.c-pr,
  table.feed th.c-dt, table.feed td.c-dt { display: none; }
  .feed-scroll { overflow-x: hidden; }
  .co-name { max-width: 14ch; }
  .ins-name, .ins-role { max-width: 12ch; }
  table.feed td { padding: 11px 10px; }
}
@media (max-width: 470px) {
  /* very narrow: keep signal + issuer + value fully legible; tap row for full filing */
  table.feed th.c-ins, table.feed td.c-ins { display: none; }
  .co-name { max-width: 20ch; }
}
@media (max-width: 400px) {
  .stat-row { grid-template-columns: 1fr; }
  .badge { font-size: .62rem; padding: 3px 6px; }
}

/* ---- motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .tape-track { animation: none; }
  .blink { opacity: 1; animation: none; }
  .scan { display: none; }
}

/* ---- floor: search filter + expand toggle -------------------------------- */
.floor-search {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 10px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--panel-2);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.floor-search:focus-within { border-color: var(--acid); box-shadow: 0 0 0 1px var(--acid-dim); }
.floor-search .fs-ic { color: var(--mute); font-size: 14px; line-height: 1; }
.floor-search input {
  background: transparent; border: none; outline: none;
  color: var(--txt); font-family: var(--mono); font-size: 12px; letter-spacing: .01em;
  width: min(210px, 44vw);
}
.floor-search input::placeholder { color: var(--mute); }

.floor-more { display: flex; justify-content: center; margin-top: 22px; }
.floor-toggle {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--acid); background: var(--panel-2);
  border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 11px 24px;
  transition: transform .14s var(--ease), border-color .15s var(--ease),
              background .15s var(--ease), box-shadow .15s var(--ease);
}
.floor-toggle:hover {
  border-color: var(--acid); background: rgba(182, 255, 46, .08);
  box-shadow: 0 0 18px -6px var(--acid-glow); transform: translateY(-1px);
}
.floor-toggle[hidden] { display: none; }

/* ===========================================================================
   EXHIBIT A/2 — THE AGENT : autonomous insider->launch engine (dry-run)
   =========================================================================== */
.agent-wrap { max-width: var(--maxw); margin: 0 auto; }

.agent-status {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.ag-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--panel); font: 600 11px/1 var(--mono); letter-spacing: .04em;
  color: var(--txt-dim); text-transform: uppercase;
}
.ag-chip .ag-k { color: var(--mute); }
.ag-chip .ag-v { color: var(--txt); }
.ag-chip-live {
  border-color: var(--acid-dim); color: var(--acid-2);
  background: rgba(182, 255, 46, .06);
}
.ag-chip-live .live-dot { background: var(--acid); }
.ag-chip-off {
  border-color: var(--red-dim); color: var(--red);
  background: rgba(255, 91, 87, .06); letter-spacing: .06em;
}

.agent-term {
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--void-2), var(--void));
  overflow: hidden; box-shadow: 0 24px 60px -34px #000;
}
.agent-log {
  font: 500 12.5px/1.65 var(--mono); color: var(--txt);
  padding: 14px 16px; max-height: 280px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line-hi) transparent;
}
.agent-log::-webkit-scrollbar { width: 8px; }
.agent-log::-webkit-scrollbar-thumb { background: var(--line-hi); border-radius: 4px; }

.agent-line {
  display: grid; grid-template-columns: 68px 78px 1fr; gap: 12px;
  padding: 4px 0; border-bottom: 1px dashed rgba(35, 40, 31, .55);
  animation: agIn .35s var(--ease) both;
}
.agent-line:last-child { border-bottom: 0; }
@keyframes agIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.agent-line .ag-t { color: var(--mute); font-size: 11px; white-space: nowrap; }
.agent-line .ag-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  align-self: start; padding: 1px 0;
}
.agent-line .ag-msg { color: var(--txt); word-break: break-word; }
.agent-line .ag-msg b { color: var(--acid-2); font-weight: 700; }

/* per-type accents */
.agent-line.ag-boot    .ag-tag { color: var(--acid-2); }
.agent-line.ag-boot    .ag-msg { color: var(--acid-2); }
.agent-line.ag-scan    .ag-tag { color: var(--mute); }
.agent-line.ag-scan    .ag-msg { color: var(--txt-dim); }
.agent-line.ag-detect  .ag-tag { color: var(--amber); }
.agent-line.ag-draft   .ag-tag { color: var(--acid); }
.agent-line.ag-draft   .ag-msg { color: var(--acid-2); }
.agent-line.ag-verify  .ag-tag { color: #6fd6ff; }
.agent-line.ag-dryrun  .ag-tag { color: var(--red); }
.agent-line.ag-dryrun  .ag-msg { color: #f0b6b4; }
.agent-line.ag-skip    .ag-tag { color: var(--mute); }
.agent-line.ag-skip    .ag-msg { color: var(--mute); }

.agent-foot {
  margin-top: 12px; font: 500 11.5px/1.6 var(--mono);
  color: var(--mute); max-width: 82ch;
}
.agent-foot .mono { color: var(--txt-dim); }

@media (max-width: 620px) {
  .agent-line { grid-template-columns: 54px 1fr; }
  .agent-line .ag-tag { grid-column: 2; }
  .agent-line .ag-msg { grid-column: 1 / -1; }
  .agent-log { font-size: 12px; }
}

/* ===========================================================================
   Nav X button + hero contract-address (CA) bar
   =========================================================================== */
.btn-x { gap: 7px; }
.btn-x .x-ic { width: 15px; height: 15px; display: block; }

.ca-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding: 12px 16px; max-width: 660px;
  border: 1px solid var(--acid-dim); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(182, 255, 46, .08), rgba(182, 255, 46, .02));
  box-shadow: 0 0 0 1px rgba(182, 255, 46, .12), 0 0 28px -6px var(--acid-glow), inset 0 0 26px -14px var(--acid-glow);
  animation: caPulse 3.4s var(--ease) infinite;
}
@keyframes caPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(182, 255, 46, .12), 0 0 22px -8px var(--acid-glow), inset 0 0 26px -14px var(--acid-glow); }
  50%      { box-shadow: 0 0 0 1px rgba(182, 255, 46, .24), 0 0 42px -4px var(--acid-glow), inset 0 0 26px -12px var(--acid-glow); }
}
@media (prefers-reduced-motion: reduce) { .ca-bar { animation: none; } }

.ca-k {
  font: 800 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--acid-dim); white-space: nowrap;
}
.ca-v {
  flex: 1; min-width: 0; word-break: break-all;
  font: 700 14px/1.25 var(--mono); letter-spacing: .02em;
  color: var(--acid-2); text-shadow: 0 0 14px var(--acid-glow);
}
.ca-bar.is-empty .ca-v { color: var(--acid); opacity: .85; letter-spacing: .06em; }

.ca-copy, .ca-scan {
  display: inline-flex; align-items: center; gap: 6px;
  font: 800 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 11px; border-radius: var(--r); cursor: pointer; text-decoration: none;
  border: 1px solid var(--acid-dim); background: rgba(182, 255, 46, .08); color: var(--acid-2);
  transition: background .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}
.ca-copy svg { width: 14px; height: 14px; }
.ca-copy:hover, .ca-scan:hover {
  background: var(--acid); color: var(--ink); border-color: var(--acid);
  box-shadow: 0 0 18px -4px var(--acid-glow);
}
.ca-copy.copied { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.ca-copy[hidden], .ca-scan[hidden] { display: none; } /* beat the display:inline-flex above */

@media (max-width: 560px) {
  .ca-bar { gap: 8px 10px; padding: 11px 13px; }
  .ca-v { flex-basis: 100%; font-size: 12.5px; }
}

/* ===========================================================================
   EXHIBIT A/3 — AGENT LAUNCHES : coins the agent drafts on insider buys
   =========================================================================== */
.lab-controls { max-width: var(--maxw); margin: 0 auto 14px; display: flex; justify-content: flex-end; }
.lab-grid {
  max-width: var(--maxw); margin: 0 auto; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
}
.lab-note { grid-column: 1 / -1; font: 500 13px/1.6 var(--mono); color: var(--mute); padding: 8px 2px; }

.lab-empty {
  grid-column: 1 / -1; text-align: center; padding: 44px 22px;
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel), var(--void-2));
}
.lab-empty-ic { font-size: 34px; color: var(--acid-dim); display: block; margin-bottom: 10px; }
.lab-empty h3 { font: 600 18px/1.2 var(--sans); color: var(--txt); margin: 0 0 8px; }
.lab-empty p { font: 400 13.5px/1.6 var(--sans); color: var(--txt-dim); max-width: 54ch; margin: 0 auto; }

.labc {
  border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 15px 16px;
  background: linear-gradient(180deg, var(--panel), var(--void-2));
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.labc.is-flagged { border-color: var(--acid-dim); box-shadow: 0 0 26px -10px var(--acid-glow); }
.labc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.labc-sym { font: 800 17px/1 var(--mono); color: var(--acid-2); letter-spacing: .02em; }
.labc-conv { font: 800 11px/1 var(--mono); color: var(--acid); border: 1px solid var(--acid-dim); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.labc-conv::before { content: "CONV "; color: var(--mute); }
.labc-name { font: 500 12px/1.3 var(--sans); color: var(--txt-dim); }
.labc-pair { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.labc-desc { font: 400 12.5px/1.55 var(--sans); color: var(--txt-dim); margin: 0; }
.labc-desc b { color: var(--acid-2); font-weight: 700; }
.labc-foot { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
.labc-verif { font: 600 10.5px/1.35 var(--mono); color: #6fd6ff; letter-spacing: .02em; }
.labc-verif::before { content: "✓ "; }
.labc-status { font: 800 10px/1 var(--mono); letter-spacing: .06em; color: var(--red); text-transform: uppercase; }

/* ===========================================================================
   THE FLOOR — featured curated coin × tokenized-stock pairs
   =========================================================================== */
.floor-featured { max-width: var(--maxw); margin: 0 auto 22px; }
.ff-tag {
  display: inline-block; font: 800 10.5px/1 var(--mono); letter-spacing: .14em;
  color: var(--acid-dim); text-transform: uppercase; margin-bottom: 10px;
}
.ff-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }

.ffc {
  display: flex; flex-direction: column; gap: 9px;
  border: 1px solid var(--acid-dim); border-radius: var(--r-lg); padding: 14px 15px;
  background: linear-gradient(180deg, rgba(182, 255, 46, .06), rgba(182, 255, 46, .015));
  box-shadow: 0 0 24px -10px var(--acid-glow); position: relative; overflow: hidden;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), border-color .14s var(--ease);
}
.ffc:hover { transform: translateY(-2px); border-color: var(--acid); box-shadow: 0 0 34px -6px var(--acid-glow); }
.ffc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ffc-sym { font: 800 16px/1 var(--mono); color: var(--acid-2); letter-spacing: .01em; }
.ffc-pair { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ffc-stock { font: 500 11.5px/1.3 var(--sans); color: var(--txt-dim); }
.ffc-cta {
  margin-top: 2px; font: 800 10px/1 var(--mono); letter-spacing: .07em; color: var(--acid);
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px;
}
.ffc:hover .ffc-cta { color: var(--acid-2); }

/* ===========================================================================
   EXHIBIT A/3 — agent EDGAR scanner (pulsating "looking for filings" widget)
   =========================================================================== */
.lab-scanner {
  max-width: var(--maxw); margin: 0 auto 16px;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(182, 255, 46, .05), var(--void-2));
  overflow: hidden;
}
.scan-radar {
  position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%;
  border: 1px solid var(--acid-dim);
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 10px, rgba(182, 255, 46, .10) 10px 11px),
    radial-gradient(circle at 50% 50%, rgba(182, 255, 46, .06), transparent 72%);
  overflow: hidden;
}
.scan-radar::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(182, 255, 46, .5), rgba(182, 255, 46, .05) 55deg, transparent 90deg);
  animation: scan-sweep 2.2s linear infinite;
}
.scan-radar::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
  border: 1px solid var(--acid); border-radius: 50%; transform: translate(-50%, -50%);
  animation: scan-pulse 1.9s ease-out infinite;
}
@keyframes scan-sweep { to { transform: rotate(360deg); } }
@keyframes scan-pulse { 0% { width: 6px; height: 6px; opacity: .85; } 100% { width: 46px; height: 46px; opacity: 0; } }
.scan-blip {
  position: absolute; width: 5px; height: 5px; border-radius: 50%; z-index: 2;
  background: var(--acid); box-shadow: 0 0 8px var(--acid); top: 26%; left: 64%;
  animation: scan-blip 2.2s steps(1, end) infinite;
}
@keyframes scan-blip {
  0%, 24% { top: 26%; left: 64%; opacity: 1; } 25% { opacity: 0; }
  26%, 49% { top: 60%; left: 32%; opacity: 1; } 50% { opacity: 0; }
  51%, 78% { top: 46%; left: 70%; opacity: 1; } 79% { opacity: 0; }
  80%, 100% { top: 34%; left: 40%; opacity: 1; }
}
.scan-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.scan-title { font: 800 12px/1 var(--mono); letter-spacing: .1em; color: var(--acid-2); }
.scan-caret { color: var(--acid); animation: blink 1.05s steps(2, start) infinite; }
.scan-sub { font-size: 11px; color: var(--txt-dim); }
.scan-eq { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.scan-eq i {
  width: 3px; height: 30%; border-radius: 2px; transform-origin: bottom;
  background: linear-gradient(var(--acid), var(--acid-dim)); animation: scan-eq 1s ease-in-out infinite;
}
.scan-eq i:nth-child(1) { animation-delay: 0s; }
.scan-eq i:nth-child(2) { animation-delay: .13s; }
.scan-eq i:nth-child(3) { animation-delay: .26s; }
.scan-eq i:nth-child(4) { animation-delay: .39s; }
.scan-eq i:nth-child(5) { animation-delay: .19s; }
.scan-eq i:nth-child(6) { animation-delay: .31s; }
.scan-eq i:nth-child(7) { animation-delay: .07s; }
@keyframes scan-eq { 0%, 100% { height: 18%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .scan-radar::before, .scan-radar::after, .scan-blip, .scan-caret, .scan-eq i { animation: none; }
}
@media (max-width: 560px) { .scan-sub { font-size: 10px; } }
