/* Variant × Pluralis-8B — institutional, monochrome, screenshot-ready.
   Type: Space Grotesk (display) · Inter (ui) · IBM Plex Mono (data/feed).
   Palette: near-black ink on off-white; ONE restrained green, only for "live". */
:root {
  --bg: #FCFCFB;
  --panel: #FFFFFF;
  --ink: #121212;
  --muted: #6B6B64;
  --faint: #9C9C93;
  --line: #E8E7E1;
  --line-strong: #DAD9D1;
  --accent: #117A57;          /* live / online — used sparingly */
  --accent-soft: rgba(17,122,87,.10);
  --warn: #B23B2E;            /* the "$0 earned" emphasis */
  --shadow: 0 1px 0 rgba(0,0,0,.02), 0 1px 2px rgba(20,20,20,.03);
  --r: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv05" 1;
}
.mono { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; }
b { font-weight: 600; }
a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 34px 26px;
}

/* ---------- header ---------- */
.hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; }
/* logo + "Variant" are ONE clickable unit linking to variant.fund; the inline
   SVG uses fill:currentColor, so it and the wordmark share a single color and
   recolor together on hover — impossible to desync, and the logo renders even
   if this stylesheet is stale/unloaded. */
.brand-link { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); transition: color .15s ease; }
.brand-link:hover { color: #084bd7; }
.brand .mark { width: 22px; height: 22px; flex: none; display: block; fill: currentColor; }
.brand .bword { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand .x { color: var(--faint); font-weight: 500; font-size: 16px; }
.hd-right { display: flex; align-items: center; gap: 14px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 13px 6px 11px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; color: var(--ink); background: var(--panel);
  text-transform: uppercase; transition: border-color .2s;
}
.status-pill:hover { border-color: var(--ink); }
.ext { font-size: 12.5px; color: var(--muted); text-decoration: none; font-weight: 500; }
.ext:hover { color: var(--ink); }

/* live dot */
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.live { background: var(--accent); box-shadow: 0 0 0 0 var(--accent-soft); animation: pulse 2s infinite; }
.dot.online { background: var(--accent); }
.dot.stale { background: var(--faint); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(17,122,87,.45); }
  70% { box-shadow: 0 0 0 7px rgba(17,122,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(17,122,87,0); }
}

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  gap: 28px; margin-top: 30px;
}
.hero-col { min-width: 0; }
.hero-col:last-child { text-align: right; }
.hero-label { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.hero-num {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(46px, 9.2vw, 116px); line-height: .9; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.hero-num .unit { font-size: .42em; font-weight: 600; color: var(--muted); margin-left: .06em; letter-spacing: -0.02em; }
.hero-div { width: 1px; align-self: stretch; background: var(--line); margin: 6px 0; }
.hero-sub {
  margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: 14px; color: var(--ink);
}
.hero-sub .sep { color: var(--line-strong); }
.hero-sub .muted { color: var(--muted); }
.hstatus { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.aka { color: var(--faint); font-size: 12.5px; }

/* ---------- panels ---------- */
.panels { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; margin-top: 26px; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px 16px; box-shadow: var(--shadow);
}
.panel-h { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.ast { display: flex; gap: 20px; align-items: baseline; margin-bottom: 14px; }
.ast-item { font-size: 13px; color: var(--muted); }
.ast-item b { font-family: "Space Grotesk"; font-size: 26px; font-weight: 700; color: var(--ink); margin-right: 5px; font-variant-numeric: tabular-nums; }
.ast-item b.on { color: var(--accent); }
.ast-item b.sy { color: var(--muted); }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.kv .k { font-size: 12.5px; color: var(--muted); }
.kv .v { font-size: 14px; font-weight: 500; }
.uptime { margin-top: 13px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.uptime #uptime { color: var(--ink); font-weight: 600; }

.buy-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 8px; }
.buy { padding: 4px 0; }
.bk { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.bv { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.01em; margin: 3px 0 2px; }
.bnote { font-size: 11px; color: var(--faint); }

/* ---------- given strip ---------- */
.given {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 16px; padding: 16px 22px;
  background: var(--ink); color: #F4F4EF; border-radius: var(--r);
}
.given-item { display: flex; align-items: baseline; gap: 9px; padding: 2px 8px; }
.given .gv { font-size: 23px; font-weight: 600; letter-spacing: -0.01em; color: #FFFFFF; }
.given .gk { font-size: 12.5px; color: #B9B9B0; letter-spacing: .01em; }
.given .est { color: #8C8C84; cursor: help; border-bottom: 1px dotted #6f6f68; }
.gdiv { width: 1px; height: 26px; background: rgba(255,255,255,.13); }
.given .earned .gv { color: #FF7A6B; }
.given .earned .gk { color: #C99; }

/* ---------- live feed ---------- */
.feed-wrap { margin-top: 22px; }
.feed-h {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600;
  margin-bottom: 8px;
}
.feed-legend { display: inline-flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--faint); }
.feed-legend .lg { width: 7px; height: 7px; border-radius: 2px; display: inline-block; margin-left: 6px; margin-right: 1px; }
.lg.node { background: var(--ink); } .lg.milestone { background: var(--accent); } .lg.swarm { background: var(--faint); }
.feed {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
  max-height: 232px; overflow: hidden; box-shadow: var(--shadow);
}
.feed li {
  display: grid; grid-template-columns: 76px 14px 1fr; align-items: baseline; gap: 10px;
  padding: 7px 16px; border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--ink);
}
.feed li:last-child { border-bottom: 0; }
.feed li .t { color: var(--faint); font-size: 11.5px; }
.feed li .badge { width: 7px; height: 7px; border-radius: 2px; transform: translateY(1px); }
.feed li.node .badge { background: var(--ink); }
.feed li.milestone .badge { background: var(--accent); }
.feed li.swarm .badge { background: var(--faint); }
.feed li.milestone .x { font-weight: 600; }
.feed li.swarm { color: var(--muted); }
.feed li.enter { animation: slideIn .5s ease both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- footer ---------- */
.ft {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line);
}
.ft a { color: var(--ink); text-decoration: none; font-weight: 600; }
.ft a:hover { text-decoration: underline; }

.stale-banner { color: var(--warn); }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .wrap { padding: 20px 18px; }
  .hero { grid-template-columns: 1fr; gap: 14px; }
  .hero-col:last-child { text-align: left; }
  .hero-div { display: none; }
  .panels { grid-template-columns: 1fr; }
  .buy-grid { grid-template-columns: 1fr 1fr; gap: 12px 8px; }
  .given { gap: 4px; } .gdiv { display: none; }
  .feed li { grid-template-columns: 64px 12px 1fr; font-size: 11.5px; }
  .ft { flex-direction: column; gap: 8px; align-items: flex-start; }
}
