/* stick — grey ground, white cards floating on it, black ink, cabinet grotesk */

:root {
  /* ground = neutral grey. cards float on it in white. */
  --bg: #dfdfdf;
  --bg-deep: #cfcfcf;
  --surface: #FFFFFF;
  --surface-2: #E9E9E9;
  --surface-3: #FFFFFF;
  --line: rgba(12, 11, 11, 0.10);
  --line-strong: rgba(12, 11, 11, 0.20);
  --text: #0C0B0B;
  --text-2: rgba(12, 11, 11, 0.62);
  --text-3: rgba(12, 11, 11, 0.44);
  --cream: #FFFFFF;
  --red: #FA453C;
  --red-press: #E23A31;
  --red-deep: #BE2A21;
  --red-tint: #FBE3E0;
  --up: #0B7A4E;
  --down: #C22A21;
  --leg-commit: #0C0B0B;
  --leg-settle: #FA453C;
  --leg-execute: #8E8E8E;
  --num: "Inter", "Cabinet Grotesk", system-ui, sans-serif;
  --r-1: 4px; --r-2: 10px; --r-3: 14px; --r-4: 20px; --pill: 999px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 10px; --sp-4: 14px; --sp-5: 20px; --sp-6: 26px; --sp-7: 38px; --sp-8: 52px;
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-gutter: stable; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Cabinet Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mono { font-variant-numeric: tabular-nums; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font: inherit; color: inherit; }
ul { list-style: none; }
::placeholder { color: var(--text-3); }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
main:focus, main:focus-visible { outline: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(12, 11, 11, 0.25); border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(12, 11, 11, 0.4); }

.up { color: var(--up); }
.down { color: var(--down); }

/* numbers stay tabular so columns never drift */
.stat-value, .tstat .v, .table td, .table th.num, .cc-nums, .fw-stat .v,
.feed .amt, .feed .t, .kv .v, .buy-est b, .bondbar .pctxt, .price-chip,
.quick-amts button, .qb, .split-legend, .split-lock-row .pct, .buy-input input,
.leg .cut, .ca-chip-v {
  font-family: var(--num);
  font-variant-numeric: tabular-nums;
}

.disp, .page-title, .token-title, .brand-word, .foot-brand,
.how-hero h1, .leg h3, .cc-ticker, .fw-name, .modal-title, .empty .disp {
  font-family: "Cabinet Grotesk", "Inter", sans-serif;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.03em;
}

/* ---------- topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: 0 var(--sp-6);
  height: 60px;
  border-bottom: 1px solid rgba(12, 11, 11, 0.16);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand-mark { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.brand-word { font-size: 24px; letter-spacing: -0.035em; color: var(--text); }

.nav { display: flex; gap: 2px; }
.nav a {
  padding: 8px 15px;
  border-radius: var(--pill);
  color: rgba(12, 11, 11, 0.66);
  font-weight: 700;
  font-size: 14px;
  text-transform: lowercase;
  transition: color 140ms var(--ease), background 140ms var(--ease);
}
.nav a:hover { background: rgba(12, 11, 11, 0.09); color: var(--text); }
.nav a.active { background: var(--text); color: var(--cream); font-weight: 800; }

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); }

.ca-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: var(--pill);
  box-shadow: inset 0 0 0 1.5px rgba(12, 11, 11, 0.24);
  color: var(--text); font-size: 13px; font-weight: 700;
  transition: background 140ms var(--ease), color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.ca-chip-k { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.52; }
.ca-chip-v { letter-spacing: 0.01em; }
.ca-chip:hover { background: var(--text); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--text); }
.ca-chip.copied { background: var(--text); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--text); }

.chip-soon { position: relative; padding-right: 26px; }
.chip-soon::after {
  content: ""; position: absolute; right: 12px; top: 50%; margin-top: -3.5px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--text);
}
@media (prefers-reduced-motion: no-preference) {
  .chip-soon::after { animation: chipblink 2.2s var(--ease) infinite; }
  @keyframes chipblink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
}

.x-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: var(--pill);
  box-shadow: inset 0 0 0 1.5px rgba(12, 11, 11, 0.24);
  color: var(--text); font-weight: 700; font-size: 13px;
  transition: background 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.x-chip svg { width: 12px; height: 12px; fill: currentColor; }
.x-chip:hover { background: var(--text); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--text); }

/* ---------- buttons: black pills ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--pill);
  font-weight: 800; font-size: 13.5px; text-transform: lowercase; white-space: nowrap;
  transition: background 150ms var(--ease), transform 150ms var(--ease), color 150ms var(--ease), opacity 150ms var(--ease);
}
.btn svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--text); color: var(--cream); }
.btn-gold:hover { background: #000000; transform: scale(1.03); }
.btn-gold:active { transform: scale(0.99); }
.btn-ghost { background: rgba(12, 11, 11, 0.09); color: var(--text); }
.btn-ghost:hover { background: rgba(12, 11, 11, 0.15); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-gold[disabled]:hover { background: var(--text); transform: none; }

.qb {
  padding: 7px 14px; border-radius: var(--pill);
  background: var(--text); color: var(--cream);
  font-weight: 700; font-size: 12.5px;
  transition: background 140ms var(--ease), transform 140ms var(--ease);
}
.qb:hover { background: #000000; }
.qb:active { transform: translateY(1px); }

/* ---------- page frame ---------- */

main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: var(--sp-6) var(--sp-6) var(--sp-8); }

.page-head { display: flex; align-items: baseline; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.page-title { font-size: 44px; line-height: 0.9; }
.page-sub { color: rgba(12, 11, 11, 0.66); font-size: 14px; font-weight: 500; text-transform: lowercase; }

.back-link { color: rgba(12, 11, 11, 0.6); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--sp-4); text-transform: lowercase; transition: color 140ms var(--ease); }
.back-link:hover { color: var(--text); }

/* ---------- stat strip ---------- */

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-3); }
.stat { background: var(--surface); border: none; border-radius: var(--r-4); padding: var(--sp-4) var(--sp-5) 15px; }
.stat-label { font-size: 12px; font-weight: 600; text-transform: lowercase; color: var(--text-3); margin-bottom: 1px; }
.stat-value { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.stat-value .unit { color: var(--text-3); font-size: 13px; margin-left: 3px; font-weight: 600; }
.stat-note { font-size: 12px; color: var(--text-3); margin-top: 2px; text-transform: lowercase; }

/* ---------- board ---------- */

.board-toolbar { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.seg { display: inline-flex; gap: 2px; background: rgba(12, 11, 11, 0.10); border-radius: var(--pill); padding: 4px; }
.seg button { padding: 8px 16px; font-size: 13px; font-weight: 700; color: rgba(12, 11, 11, 0.62); border-radius: var(--pill); text-transform: lowercase; transition: background 140ms var(--ease), color 140ms var(--ease); }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--text); color: var(--cream); font-weight: 800; }

.board-count { color: rgba(12, 11, 11, 0.6); font-size: 12.5px; font-weight: 600; text-transform: lowercase; }

.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border-radius: var(--pill);
  padding: 0 14px; min-width: 220px; border: 1px solid transparent;
  transition: box-shadow 140ms var(--ease);
}
.search:focus-within { box-shadow: inset 0 0 0 1.5px var(--text); }
.search svg { width: 14px; height: 14px; stroke: var(--text-3); fill: none; stroke-width: 1.6; flex-shrink: 0; }
.search input { background: none; border: none; outline: none; padding: 9px 0; font-size: 13px; width: 100%; }

/* the hero slab — the one raise, on black */
.hero-slab {
  background: var(--text); border: none; border-radius: var(--r-4);
  padding: var(--sp-6);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--sp-6); row-gap: var(--sp-6);
  margin-bottom: var(--sp-3); color: var(--cream);
  transition: box-shadow 160ms var(--ease), transform 160ms var(--ease);
}
.hero-meter { grid-column: 1 / -1; }

.hero-slab:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
/* the mark sits on its own plate, the way every token tile does */
.hero-tile {
  width: 116px; height: 116px; flex-shrink: 0;
  border-radius: var(--r-4);
  background: var(--cream);
  display: grid; place-items: center;
  overflow: hidden;
}
.hero-tile img {
  width: 86px; height: 86px;
  image-rendering: pixelated;
  transform: rotate(-6deg);
  transition: transform 220ms var(--ease);
}
.hero-tile:hover img { transform: rotate(0deg) scale(1.06); }
.hero-copy { min-width: 0; max-width: 46ch; }
.hero-title {
  font-family: "Cabinet Grotesk", "Inter", sans-serif;
  font-weight: 800; text-transform: lowercase; letter-spacing: -0.04em;
  font-size: 46px; line-height: 0.95; color: var(--cream); margin: 6px 0 8px;
}
.hero-sub { color: rgba(255, 255, 255, 0.62); font-size: 14px; line-height: 1.45; }
.hero-actions { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); }
.btn-cream { background: var(--cream); color: var(--text); }

.hero-slab .pill-upcoming { background: rgba(255, 255, 255, 0.14); color: var(--cream); }
.hero-slab .pill-live { background: var(--cream); color: var(--text); }

.fw-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: lowercase; color: var(--cream); background: rgba(255, 255, 255, 0.14); padding: 4px 10px; border-radius: var(--pill); }
.fw-stats { display: flex; gap: var(--sp-6); text-align: right; flex-shrink: 0; }
.fw-stat .k { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); text-transform: lowercase; }
.fw-stat .v { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; color: var(--cream); }
.fw-stat .v .tbd { color: rgba(255, 255, 255, 0.38); font-weight: 600; }

.coin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--sp-3); }

.coin-card {
  background: var(--surface); border: none; border-radius: var(--r-4);
  padding: var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-3);
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.coin-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(12, 11, 11, 0.14); }
.coin-card:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

.cc-top { display: flex; align-items: flex-start; gap: var(--sp-3); }
.cc-name { min-width: 0; }
.cc-ticker { font-weight: 800; font-size: 17px; text-transform: lowercase; }
.cc-by { color: var(--text-3); font-size: 11.5px; text-transform: lowercase; }
.cc-desc { color: var(--text-2); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.cc-nums { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); text-transform: lowercase; }
.cc-nums span { white-space: nowrap; }
.cc-nums b { color: var(--text); font-weight: 700; }
.cc-nums .fee { color: var(--red); font-weight: 700; }
.cc-status { margin-left: auto; }

.tile {
  position: relative; width: 32px; height: 32px;
  border-radius: var(--r-2); overflow: hidden;
  display: grid; place-items: center;
  font-family: "Cabinet Grotesk", "Inter", sans-serif;
  font-weight: 800; font-size: 15px; text-transform: lowercase;
  color: var(--cream); background: var(--text);
  flex-shrink: 0;
}

.pill { font-size: 11px; font-weight: 700; text-transform: lowercase; padding: 4px 10px; border-radius: var(--pill); white-space: nowrap; }
.pill-live { color: var(--cream); background: var(--text); }
.pill-upcoming { color: var(--text-2); background: rgba(12, 11, 11, 0.08); }
.pill-settled { color: var(--text-3); background: rgba(12, 11, 11, 0.08); }
.pill-cancelled { color: var(--red); background: var(--red-tint); }

/* book bar: filled = what the buy spends, hatched = what comes back */
.bookbar { display: flex; align-items: center; gap: 10px; }
.book { flex: 1; height: 5px; border-radius: 3px; background: rgba(12, 11, 11, 0.12); overflow: hidden; display: flex; }
.book-fill { height: 100%; background: var(--text); transition: width 600ms var(--ease); }
.book-over { height: 100%; background: repeating-linear-gradient(115deg, var(--red) 0 3px, transparent 3px 7px); transition: width 600ms var(--ease); }
.book.dead .book-fill { background: var(--red); }
.book-legend { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-3); text-transform: lowercase; }
.book-legend b { font-weight: 700; color: var(--text-2); }

/* ---------- raise page ---------- */

.token-head { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.token-head .tile { width: 44px; height: 44px; font-size: 20px; border-radius: var(--r-2); }
.token-title { font-size: 40px; line-height: 1; }
.token-fullname { color: var(--text-3); font-size: 13px; margin-top: 3px; text-transform: lowercase; }
.token-head-right { margin-left: auto; display: flex; gap: var(--sp-3); align-items: center; }
.token-head-right .pill { background: var(--surface); color: var(--text); font-weight: 700; padding: 7px 14px; }
.token-head-right .pill-live { background: var(--text); color: var(--cream); }

.tstats { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-4); }
.tstat { background: var(--surface); border: none; border-radius: var(--r-3); padding: 11px 14px; }
.tstat .k { font-size: 11px; color: var(--text-3); text-transform: lowercase; }
.tstat .v { font-size: 16px; font-weight: 700; }

.token-layout { display: grid; grid-template-columns: 1fr minmax(340px, 26%); gap: var(--sp-3); align-items: start; }
.stack { display: flex; flex-direction: column; gap: var(--sp-3); }

.panel { background: var(--surface); border: none; border-radius: var(--r-4); overflow: hidden; }
.panel-head { padding: 12px var(--sp-5); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: var(--sp-2); }
.panel-title { font-size: 14px; font-weight: 700; text-transform: lowercase; color: var(--text); }
.panel-sub { font-size: 12px; color: var(--text-3); text-transform: lowercase; font-weight: 500; margin-left: auto; }
.panel-body { padding: var(--sp-5); }

/* the split diagram — stick's signature */
.tri-wrap { display: grid; place-items: center; padding: var(--sp-5) var(--sp-4); }
.tri-svg { width: 100%; max-width: 560px; height: auto; display: block; }
.tri-svg .edge { stroke: rgba(12, 11, 11, 0.3); stroke-width: 1.5; fill: none; }
.tri-svg .flow { stroke: var(--text); stroke-width: 2; fill: none; stroke-dasharray: 5 9; opacity: 1; }
.tri-svg .flow-back { stroke: var(--red); }
.tri-svg .node-c { fill: var(--surface); stroke: rgba(12, 11, 11, 0.28); stroke-width: 1.5; }
.tri-svg .n-label { font-family: "Cabinet Grotesk", "Inter", sans-serif; font-weight: 800; font-size: 14px; text-transform: lowercase; fill: var(--text); }
.tri-svg .n-amt { font-family: "Cabinet Grotesk", "Inter", sans-serif; font-weight: 800; font-size: 16px; fill: var(--text); }
.tri-svg .n-sub { font-family: "Inter", sans-serif; font-size: 10.5px; fill: var(--text-3); }
.tri-svg .pot-label { font-family: "Inter", sans-serif; font-weight: 600; font-size: 12px; text-transform: lowercase; fill: var(--text-3); }
.tri-svg .pot-amt { font-family: var(--num); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; fill: var(--text); }

@media (prefers-reduced-motion: no-preference) {
  .tri-svg .flow { animation: flowdash 1.6s linear infinite; }
  @keyframes flowdash { to { stroke-dashoffset: -14; } }
}

.feed { max-height: 342px; overflow-y: auto; }
.feed li { display: flex; align-items: center; gap: var(--sp-3); padding: 7px var(--sp-4); border-bottom: 1px solid var(--line); font-size: 13px; }
.feed li:last-child { border-bottom: none; }
.feed .who { color: var(--text-2); text-transform: lowercase; }
.feed .who b { font-weight: 800; color: var(--text); }
.feed .amt { margin-left: auto; color: var(--text); font-weight: 700; }
.feed .amt.red { color: var(--red); }
.feed .t { color: var(--text-3); font-size: 11.5px; width: 40px; text-align: right; }
.feed-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.feed li:first-child { animation: feedin 320ms var(--ease); }
@keyframes feedin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.buy-row { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.buy-input { flex: 1; display: flex; align-items: center; gap: 8px; background: rgba(12, 11, 11, 0.05); border: 1px solid transparent; border-radius: var(--r-3); padding: 0 12px; transition: border-color 140ms var(--ease), background 140ms var(--ease); }
.buy-input:focus-within { border-color: var(--text); background: var(--cream); }
.buy-input input { background: none; border: none; outline: none; width: 100%; padding: 12px 0; font-size: 14px; }
.buy-input .unit { color: var(--text-3); font-size: 12.5px; font-weight: 600; }
.quick-amts { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.quick-amts button { flex: 1; padding: 8px 0; font-size: 12.5px; font-weight: 500; border-radius: var(--pill); color: var(--text-2); background: rgba(12, 11, 11, 0.05); transition: background 140ms var(--ease), color 140ms var(--ease); }
.quick-amts button:hover { background: rgba(12, 11, 11, 0.11); color: var(--text); }
.quick-amts button.on { background: var(--text); color: var(--cream); font-weight: 700; }
.buy-err { font-size: 12px; color: var(--red); min-height: 17px; margin-bottom: var(--sp-2); text-transform: lowercase; }

.kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; gap: var(--sp-4); }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--text-3); text-transform: lowercase; display: inline-flex; align-items: center; gap: 9px; }
.kv .v { color: var(--text); font-weight: 700; }
.kv .v.red { color: var(--red); }
.kv .v.up { color: var(--up); }
.kv-sub { color: var(--text-3); font-weight: 500; margin-left: 6px; font-size: 12px; }

.sec-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); text-transform: lowercase; }
.sec-row:last-child { border-bottom: none; }
.sec-row .ic { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 10px; font-weight: 700; }
.sec-row .ic-ok { background: var(--text); color: var(--cream); }
.sec-row .ic-warn { background: var(--red); color: var(--cream); }
.sec-row .ic-wait { background: rgba(12, 11, 11, 0.10); color: var(--text-3); }

.note-bar {
  display: flex; align-items: center; gap: 9px;
  background: rgba(12, 11, 11, 0.06); border-radius: var(--r-2);
  padding: 10px 13px; font-size: 12px; color: var(--text-2); text-transform: lowercase;
  margin-bottom: var(--sp-4);
}
.locked-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: var(--sp-3); margin-top: var(--sp-3); line-height: 1.5; }

/* ---------- board split (feed beside ledger) ---------- */

.board-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); margin-top: var(--sp-5); align-items: start; }
.board-split .feed { max-height: none; padding: 4px 0 6px; }
.board-split .feed li { padding: 9px var(--sp-5); }
.board-split .table th:first-child, .board-split .table td:first-child { padding-left: var(--sp-5); }
.board-split .table th:last-child, .board-split .table td:last-child { padding-right: var(--sp-5); }

/* ---------- table ---------- */

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 12px; text-transform: lowercase; color: var(--text-3); font-weight: 600; padding: 10px var(--sp-4); border-bottom: 1px solid var(--line); }
.table td { padding: 9px var(--sp-4); border-bottom: 1px solid var(--line); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background 120ms var(--ease); }
.table tbody tr:hover { background: rgba(12, 11, 11, 0.04); }
.table .num { text-align: right; }
.table th.num { text-align: right; }
.table .tk { display: flex; align-items: center; gap: 10px; }
.table .tk-t { font-weight: 700; text-transform: lowercase; }
.table .tk-sub { color: var(--text-3); font-size: 11.5px; text-transform: lowercase; }
.table-scroll { overflow-x: auto; }
.table-scroll .table { min-width: 700px; }

/* ---------- open a raise ---------- */

.launch-layout { display: grid; grid-template-columns: 1fr minmax(400px, 36%); gap: var(--sp-3); align-items: start; }

.field { margin-bottom: var(--sp-3); }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; text-transform: lowercase; }
.field input[type="text"], .field textarea {
  width: 100%; background: rgba(12, 11, 11, 0.05); border: 1px solid transparent; border-radius: var(--r-2);
  padding: 9px 11px; font-size: 13px; outline: none; transition: border-color 140ms var(--ease), background 140ms var(--ease);
}
.field input[type="text"]:focus, .field textarea:focus { border-color: var(--text); background: var(--cream); }
.field textarea { resize: vertical; min-height: 64px; font-family: inherit; }
.field .hint { font-size: 11px; color: var(--text-3); margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }

.drop {
  border: 1.5px dashed rgba(12, 11, 11, 0.24); border-radius: var(--r-3); padding: var(--sp-6) var(--sp-5);
  text-align: center; color: var(--text-3); font-size: 13px; cursor: pointer;
  transition: border-color 140ms var(--ease), color 140ms var(--ease), background 140ms var(--ease);
}
.drop:hover { border-color: var(--text); color: var(--text-2); background: rgba(12, 11, 11, 0.04); }
.drop .drop-title { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; text-transform: lowercase; }

.split-lock { display: flex; flex-direction: column; gap: var(--sp-3); }
.split-lock-row { display: flex; align-items: center; gap: var(--sp-3); }
.split-lock-row .dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.split-lock-row .lbl { font-size: 14px; font-weight: 700; text-transform: lowercase; }
.split-lock-row .sub { font-size: 12px; color: var(--text-3); text-transform: lowercase; }
.split-lock-row .pct { margin-left: auto; font-size: 15px; font-weight: 700; }

/* ---------- how it works ---------- */

.how-hero { padding: var(--sp-7) 0 var(--sp-6); max-width: 72ch; }
.how-hero h1 { font-size: clamp(38px, 6vw, 58px); letter-spacing: -0.04em; line-height: 0.95; }
.how-hero h1 .hl { color: var(--red); }
.how-hero p { color: rgba(12, 11, 11, 0.7); font-size: 15px; margin-top: var(--sp-3); }

.legs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); margin: var(--sp-5) 0; }
.leg { background: var(--surface); border: none; border-radius: var(--r-4); padding: var(--sp-6); overflow: visible; }
.legbar { display: block; width: 44px; height: 8px; border-radius: var(--pill); margin-bottom: var(--sp-4); }
.leg h3 { font-size: 26px; margin-top: 0; }
.leg .cut { color: var(--text-3); font-size: 12.5px; margin: 4px 0 var(--sp-3); text-transform: lowercase; }
.leg p { color: var(--text-2); font-size: 13.5px; }

.how-mech { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: var(--sp-6); align-items: stretch; margin-top: var(--sp-5); }
.how-mech .panel { display: flex; flex-direction: column; }
.how-mech .tri-wrap { flex: 1; padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.how-mech .tri-svg { max-width: 470px; }

.steps { align-self: center; }
.steps li {
  display: flex; gap: 14px; padding: 15px 0;
  border-bottom: 1px solid rgba(12, 11, 11, 0.16);
  font-size: 14px; color: rgba(12, 11, 11, 0.72); line-height: 1.5;
}
.steps li:last-child { border-bottom: none; }
.steps li b { color: var(--text); font-weight: 800; }
.steps .n {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--text); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--num); font-weight: 700; font-size: 12.5px;
}

.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: var(--sp-7); align-items: start; margin-top: var(--sp-6); }
.how-grid .faq { max-width: none; }

.worked .worked-lead { font-size: 13.5px; color: var(--text-2); line-height: 1.5; margin-bottom: var(--sp-4); }
.worked .worked-top { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.worked .worked-top .k { color: var(--text-3); font-size: 13px; text-transform: lowercase; }
.worked .worked-top .v { font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.worked .worked-top.fee .v { color: var(--red); }
.worked .kv .k { font-weight: 600; color: var(--text-2); }
.worked .kv .v { font-family: "Cabinet Grotesk", "Inter", sans-serif; font-weight: 700; }
.worked .worked-note { margin-top: var(--sp-4); font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.legdot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.faq { max-width: 72ch; }
.faq details { border-bottom: 1px solid rgba(12, 11, 11, 0.16); }
.faq summary { padding: var(--sp-4) 0; cursor: pointer; font-weight: 700; font-size: 14.5px; list-style: none; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: rgba(12, 11, 11, 0.5); font-size: 18px; transition: transform 160ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: rgba(12, 11, 11, 0.72); font-size: 14px; padding-bottom: var(--sp-4); max-width: 62ch; }

/* ---------- the contract, everywhere ---------- */

.ca-bar {
  display: flex; align-items: center; gap: var(--sp-3);
  background: var(--surface); border-radius: var(--r-3);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 9px 10px 9px 14px; margin-bottom: var(--sp-4); min-width: 0;
}
.ca-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); flex-shrink: 0; }
.ca-addr {
  display: inline-flex; align-items: center; gap: 9px; min-width: 0; margin-right: auto;
  padding: 5px 10px; border-radius: var(--r-2); background: rgba(12, 11, 11, 0.05);
  font-size: 12.5px; font-weight: 600; color: var(--text);
  transition: background 140ms var(--ease), color 140ms var(--ease);
}
.ca-addr .ca-full { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-addr .ca-tiny { display: none; }
.ca-addr:hover { background: var(--text); color: var(--cream); }
.ca-links { display: inline-flex; gap: 2px; flex-shrink: 0; }
.ca-links a { padding: 5px 11px; border-radius: var(--pill); font-size: 12.5px; font-weight: 700; color: var(--text-2); transition: background 140ms var(--ease), color 140ms var(--ease); }
.ca-links a:hover { background: var(--red-tint); color: var(--red); }
.ca-copy { font-weight: 700; font-size: 12.5px; color: var(--text); padding: 3px 9px; border-radius: var(--pill); background: rgba(12, 11, 11, 0.07); transition: background 140ms var(--ease), color 140ms var(--ease); }
.ca-copy:hover { background: var(--text); color: var(--cream); }

/* ---------- footer, modal, toast ---------- */

.foot {
  border-top: 1px solid rgba(12, 11, 11, 0.16);
  padding: var(--sp-5) var(--sp-6);
  display: flex; align-items: center;
  font-size: 13px; font-weight: 600; color: rgba(12, 11, 11, 0.6);
}
.foot-left { display: flex; align-items: baseline; gap: var(--sp-3); }
.foot-brand { font-size: 16px; color: var(--text); }
.foot-tag { text-transform: lowercase; }
.foot-links { margin-left: auto; display: flex; gap: var(--sp-4); align-items: center; text-transform: lowercase; }
.foot-links a:hover { color: var(--text); }
.foot-net { font-size: 11.5px; }

.modal-overlay[hidden] { display: none; }
.modal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(12, 11, 11, 0.55); display: grid; place-items: center; padding: var(--sp-4); }
.modal { width: 100%; max-width: 400px; background: var(--surface); border-radius: 24px; padding: var(--sp-5); box-shadow: 0 24px 60px rgba(12, 11, 11, 0.3); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-2); }
.modal-title { font-size: 22px; }
.modal-close { color: var(--text-3); font-size: 14px; padding: 4px 8px; border-radius: var(--pill); transition: background 140ms var(--ease), color 140ms var(--ease); }
.modal-close:hover { background: rgba(12, 11, 11, 0.08); color: var(--text); }
.modal-sub { font-size: 13px; color: var(--text-2); margin-bottom: var(--sp-4); text-transform: lowercase; }
.wallet-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.wallet-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r-3);
  background: rgba(12, 11, 11, 0.05); border: none;
  font-weight: 700; font-size: 14px; text-transform: lowercase;
  transition: background 140ms var(--ease);
}
.wallet-row:hover { background: rgba(12, 11, 11, 0.10); }
.wallet-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-family: "Cabinet Grotesk", "Inter", sans-serif; font-weight: 800; font-size: 14px; }
.wallet-arrow { margin-left: auto; color: var(--text-3); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 12px);
  background: var(--text); color: var(--cream); border-radius: var(--pill);
  padding: 11px 20px; font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.empty { padding: var(--sp-7); text-align: center; color: rgba(12, 11, 11, 0.6); font-size: 13.5px; }
.empty .disp { display: block; font-size: 26px; color: var(--text); margin-bottom: 6px; }
.panel .empty { padding: var(--sp-6) var(--sp-5); }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .token-layout, .launch-layout, .board-split, .how-grid, .how-mech { grid-template-columns: 1fr; gap: var(--sp-4); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .tstats { grid-template-columns: repeat(3, 1fr); }
  .legs { grid-template-columns: repeat(2, 1fr); }
  .front-wheel { flex-wrap: wrap; }
  .fw-stats { margin-left: 0; width: 100%; justify-content: space-between; text-align: left; }
}

@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; height: auto; padding: 10px var(--sp-4); gap: var(--sp-3); row-gap: 10px; }
  .topbar-right { margin-left: auto; }
  .nav { display: flex; order: 3; width: 100%; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; }
  .brand-word { font-size: 21px; }
  .brand-mark { width: 26px; height: 26px; }
  .btn { padding: 9px 16px; font-size: 13px; }
  main { padding: var(--sp-5) var(--sp-4) var(--sp-7); }
  .page-title { font-size: 34px; }
  .tstats, .legs, .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .foot { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .foot-links { margin-left: 0; flex-wrap: wrap; }
  .ca-chip-k { display: none; }
}


/* ---------- honest empty states ---------- */

.tbd { color: var(--text-3); font-weight: 600; }
.stat-value .tbd { font-size: 19px; }
.kv .v .tbd, .tstat .v .tbd { font-weight: 600; }

.ca-addr.is-empty { color: var(--text-3); font-weight: 600; cursor: default; background: rgba(12, 11, 11, 0.05); }
.ca-addr.is-empty:hover { background: rgba(12, 11, 11, 0.05); color: var(--text-3); }

.calc-empty { padding: var(--sp-4) 0 var(--sp-2); }
.calc-empty .disp {
  display: block; font-family: "Cabinet Grotesk", "Inter", sans-serif;
  font-weight: 800; text-transform: lowercase; letter-spacing: -0.03em;
  font-size: 21px; line-height: 1.05; margin-bottom: 8px;
}
.calc-empty p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* the diagram idles until there is a book to move through it */
.tri-svg .flow.is-idle { opacity: 0.28; animation: none !important; }

.token-tile {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: var(--r-3);
  background: var(--cream);
  display: grid; place-items: center;
  overflow: hidden;
}
.token-tile img { width: 42px; height: 42px; image-rendering: pixelated; transform: rotate(-6deg); }
.brand-mark { image-rendering: pixelated; }

.code-block {
  font-family: var(--num); font-size: 12.5px; line-height: 1.9; white-space: pre;
  padding: var(--sp-4) var(--sp-5); background: rgba(12, 11, 11, 0.05);
  border-radius: var(--r-2); color: var(--text-2); overflow-x: auto;
}
.code-block .c { color: var(--text-3); }
.code-block .h { color: var(--text); font-weight: 700; }

.panel-body .steps { align-self: stretch; }
.panel-body .steps li:first-child { padding-top: 0; }
.panel-body .steps li:last-child { padding-bottom: 0; }

.book-legend .tbd { font-weight: 600; }

@media (max-width: 1000px) {
  .hero-slab { flex-wrap: wrap; gap: var(--sp-4); }
  .hero-tile { width: 96px; height: 96px; }
  .hero-tile img { width: 72px; height: 72px; }
  .fw-stats { margin-left: 0; width: 100%; justify-content: space-between; text-align: left; }
}
@media (max-width: 720px) {
  .hero-title { font-size: 36px; }
  .hero-tile { width: 80px; height: 80px; }
  .hero-tile img { width: 60px; height: 60px; }
  .fw-stats { gap: var(--sp-3); flex-wrap: wrap; }
}


/* ================================================================
   the book, drawn — meter, fill curve, window strip
   ================================================================ */

.meter { display: flex; flex-direction: column; gap: 9px; }
.meter-bar {
  position: relative; height: 14px; border-radius: var(--pill);
  background: rgba(12, 11, 11, 0.10); overflow: hidden;
}
.meter-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--text); border-radius: var(--pill);
  transition: width 700ms var(--ease);
}
.meter-over {
  position: absolute; top: 0; bottom: 0;
  background: repeating-linear-gradient(115deg, var(--red) 0 4px, transparent 4px 9px);
  transition: left 700ms var(--ease), width 700ms var(--ease);
}
.meter-notch {
  position: absolute; top: -2px; bottom: -2px; width: 2px;
  background: var(--cream); box-shadow: 0 0 0 1px rgba(12, 11, 11, 0.35);
  transition: left 700ms var(--ease);
}
.meter-legend {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-3); text-transform: lowercase;
}
.meter-legend b { font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }
.meter-legend span { display: inline-flex; align-items: center; gap: 7px; }
.meter-target { font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 600; }
.sw { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.sw-spend { background: var(--text); }
.sw-back { background: repeating-linear-gradient(115deg, var(--red) 0 3px, transparent 3px 6px), var(--red-tint); }

/* on the black slab the ink inverts */
.meter.on-dark .meter-bar { background: rgba(255, 255, 255, 0.14); }
.meter.on-dark .meter-fill { background: var(--cream); }
.meter.on-dark .meter-notch { background: var(--text); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); }
.meter.on-dark .meter-legend { color: rgba(255, 255, 255, 0.55); }
.meter.on-dark .meter-legend b, .meter.on-dark .meter-target { color: var(--cream); }
.meter.on-dark .sw-spend { background: var(--cream); }
.meter.on-dark .meter-over { background: repeating-linear-gradient(115deg, #FF7A6E 0 4px, transparent 4px 9px); }
.meter.on-dark .sw-back { background: repeating-linear-gradient(115deg, #FF7A6E 0 3px, transparent 3px 6px), rgba(255, 122, 110, 0.25); }

/* the curve */
.chart-wrap { padding: var(--sp-4) var(--sp-5) 0; }
.fill-chart { width: 100%; height: 190px; display: block; overflow: visible; }
.fc-axis { stroke: rgba(12, 11, 11, 0.14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fc-target { stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; opacity: 0.85; }
.fc-area { fill: rgba(12, 11, 11, 0.07); }
.fc-line { fill: none; stroke: var(--text); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fc-now { stroke: rgba(12, 11, 11, 0.28); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.fc-dot { fill: var(--text); }

/* where we are inside the window */
.wstrip { display: flex; flex-direction: column; gap: 10px; }
.wstrip-track { height: 6px; border-radius: var(--pill); background: rgba(12, 11, 11, 0.10); overflow: hidden; }
.wstrip-fill { height: 100%; border-radius: var(--pill); background: var(--text); transition: width 700ms var(--ease); }
.wstrip-marks {
  display: grid; grid-template-columns: repeat(4, 1fr);
  font-size: 12.5px; color: var(--text-3); text-transform: lowercase;
}
.wstrip-marks span { display: flex; flex-direction: column; gap: 1px; }
.wstrip-marks span:not(:first-child) { padding-left: 12px; border-left: 1px solid var(--line); }
.wstrip-marks b { color: var(--text); font-weight: 700; }
.wstrip-marks i {
  font-style: normal; font-family: var(--num); font-variant-numeric: tabular-nums;
  color: var(--text-2); font-weight: 600;
}

/* guarantees read as two columns when there is room */
.gtrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sp-6); }
.gtrid .sec-row:nth-last-child(-n+2) { border-bottom: none; }

@media (max-width: 1000px) {
  .hero-slab { grid-template-columns: auto minmax(0, 1fr); }
  .fw-stats { grid-column: 1 / -1; justify-content: space-between; text-align: left; }
  .gtrid { grid-template-columns: 1fr; }
  .gtrid .sec-row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .wstrip-marks { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .wstrip-marks span:nth-child(3) { padding-left: 0; border-left: none; }
}
@media (max-width: 720px) {
  .hero-slab { grid-template-columns: 1fr; row-gap: var(--sp-4); }
  .fw-stats { flex-wrap: wrap; gap: var(--sp-4); }
  .meter-legend { font-size: 11.5px; }
  .meter-target { display: none; }
  .wstrip-marks { grid-template-columns: 1fr; }
  .wstrip-marks span { padding-left: 0 !important; border-left: none !important; }
}

.fc-tlabel {
  font-family: var(--num); font-size: 11px; font-weight: 600;
  fill: var(--red); font-variant-numeric: tabular-nums;
}
.fc-xlabel {
  font-family: var(--num); font-size: 10.5px; font-weight: 500;
  fill: var(--text-3); text-transform: lowercase;
}
/* preserveAspectRatio=none would stretch the type, so the chart scales properly */
.fill-chart { overflow: visible; }


/* ---------- empty book / empty feed ---------- */

.chart-empty {
  position: relative;
  display: grid; place-items: center;
  min-height: 190px;
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
}
.chart-empty .fill-chart {
  position: absolute; left: var(--sp-5); right: var(--sp-5); bottom: var(--sp-6);
  width: auto; height: 150px; opacity: 0.5;
}
.chart-empty-copy { position: relative; text-align: center; max-width: 44ch; }
.chart-empty-copy .disp {
  display: block;
  font-family: "Cabinet Grotesk", "Inter", sans-serif;
  font-weight: 800; text-transform: lowercase; letter-spacing: -0.03em;
  font-size: 24px; line-height: 1; margin-bottom: 8px;
}
.chart-empty-copy p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* the meter with nothing in it still shows its own shape */
.meter.is-empty .meter-bar { background: rgba(12, 11, 11, 0.07); }
.meter.on-dark.is-empty .meter-bar { background: rgba(255, 255, 255, 0.10); }
.meter.is-empty .meter-legend b { color: var(--text-3); }
.meter.on-dark.is-empty .meter-legend b { color: rgba(255, 255, 255, 0.42); }
.meter.on-dark .tbd { color: rgba(255, 255, 255, 0.42); }
.meter.is-empty .sw { opacity: 0.45; }


/* ---------- live market strip ---------- */

.mkt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.mkt { display: flex; flex-direction: column; gap: 2px; }
.mkt-k { font-size: 12px; font-weight: 600; text-transform: lowercase; color: var(--text-3); }
.mkt-v {
  font-family: var(--num); font-variant-numeric: tabular-nums;
  font-size: 23px; font-weight: 700; letter-spacing: -0.02em;
}
.mkt-v .tbd { font-size: 20px; }
[data-market] .panel-sub a { text-decoration: underline; text-underline-offset: 2px; }
[data-market] .panel-sub a:hover { color: var(--text); }
[data-market] .panel-sub b { font-family: var(--num); font-variant-numeric: tabular-nums; }

@media (max-width: 1000px) { .mkt-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-4); } }
@media (max-width: 560px) { .mkt-grid { grid-template-columns: 1fr; } }


/* ---------- launched: market on the slab ---------- */

.hero-mkt { grid-column: 1 / -1; padding-top: var(--sp-2); }
.hero-mkt .mkt-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-5);
  padding-top: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-mkt .mkt-k { color: rgba(255, 255, 255, 0.55); font-size: 12px; font-weight: 600; text-transform: lowercase; }
.hero-mkt .mkt-v {
  font-family: var(--num); font-variant-numeric: tabular-nums;
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--cream);
}
.hero-mkt .mkt-v .tbd { color: rgba(255, 255, 255, 0.38); font-size: 22px; }
.hero-mkt .up { color: #7BE0A8; }
.hero-mkt .down { color: #FF7A6E; }

.btn-dark-ghost { background: rgba(255, 255, 255, 0.12); color: var(--cream); }
.btn-dark-ghost:hover { background: rgba(255, 255, 255, 0.2); }

/* diagram labels carry words, not figures */
.tri-svg .n-node {
  font-family: "Cabinet Grotesk", "Inter", sans-serif;
  font-weight: 800; font-size: 15px; text-transform: lowercase; fill: var(--text);
}
.tri-svg .n-node.lg { font-size: 17px; }

.section-head { margin-top: var(--sp-7); }
.section-head h2 { font-size: 26px; }

@media (max-width: 1000px) {
  .hero-mkt .mkt-grid { grid-template-columns: repeat(3, 1fr); row-gap: var(--sp-4); }
}
@media (max-width: 620px) {
  .hero-mkt .mkt-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-mkt .mkt-v { font-size: 20px; }
}
