/* =============================================================================
   Qualiq — site stylesheet
   Single source of truth for typography and color. Change a variable here and
   it applies site-wide. Theme variants are applied via [data-theme="..."].
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. DESIGN TOKENS
   ----- TYPOGRAPHY ----------------------------------------------------------
   Single typeface across the site: IBM Plex Mono. Matches the app surface
   at app.qualiq.xyz so the homepage and the product look continuous.
   --font-serif and --font-sans are kept as token names (lots of rules read
   them) but both resolve to the mono stack. To change the typeface
   site-wide, edit ONLY --font-mono below. */
:root {
  --font-mono:  "IBM Plex Mono", "JetBrains Mono", "SF Mono", Menlo, Consolas, ui-monospace, monospace;
  --font-serif: var(--font-mono);
  --font-sans:  var(--font-mono);

  /* Type scale. */
  --fs-display: clamp(2.6rem, 4.6vw, 4.0rem);
  --fs-h1:      clamp(2.0rem, 3.4vw, 2.7rem);
  --fs-h2:      clamp(1.5rem, 2.4vw, 1.85rem);
  --fs-h3:      1.2rem;
  --fs-body:    1.0625rem;       /* 17px */
  --fs-small:   0.9375rem;       /* 15px */
  --fs-micro:   0.8125rem;       /* 13px */
  --fs-eyebrow: 0.75rem;         /* 12px */
  --fs-stat:    clamp(2.6rem, 5.4vw, 4.4rem);

  --lh-tight: 1.1;
  --lh-snug:  1.25;
  --lh-body:  1.55;
  --lh-loose: 1.7;

  --measure: 64ch;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Layout rhythm */
  --section-y: clamp(4rem, 8vw, 7rem);
  --rule-w: 1px;
}

/* -----------------------------------------------------------------------------
   2. PALETTE — single dark theme
   ----------------------------------------------------------------------------
   Matches the app surface at app.qualiq.xyz: neutral-1000 background,
   emerald-300 accent, neutral-100 text. The site is committed to this single
   palette; the prior Bloomberg / Treasury / Spartan / dark-mode blocks were
   removed when the homepage was unified with the product surface
   (2026-05-15). The legacy `[data-theme="bloomberg"]` selector is kept as an
   alias of :root so any deep-linked HTML with a stale data-theme attribute
   still renders correctly — but no live page sets it.
   ----------------------------------------------------------------------------*/

:root,
[data-theme="bloomberg"] {
  --bg:         #0a0a0a;                       /* neutral-1000 */
  --bg-2:       #171717;                       /* neutral-900 */
  --bg-3:       #262626;                       /* neutral-800 */
  --ink:        #f5f5f5;                       /* neutral-100 */
  --ink-2:      #d4d4d4;                       /* neutral-300 */
  --muted:      #737373;                       /* neutral-500 */
  --rule:       rgba(245, 245, 245, 0.10);
  --rule-strong: rgba(245, 245, 245, 0.24);
  --accent:     #6ee7b7;                       /* emerald-300 */
  --accent-2:   #34d399;                       /* emerald-400 */
  --accent-ink: #0a0a0a;
  --positive:   #6ee7b7;                       /* emerald-300 */
  --negative:   #f87171;                       /* red-400 */
  --hairline-on-accent: rgba(10, 10, 10, 0.22);
}

/* -----------------------------------------------------------------------------
   3. RESET / BASE
   ----------------------------------------------------------------------------*/

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "onum" 1;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 160ms ease, color 160ms ease;
}
a:hover { border-bottom-color: var(--ink); }
a.unstyled, nav a, .button, .logo a { border-bottom: none; }

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

p { margin: 0 0 1em; max-width: var(--measure); }
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: var(--lh-tight); font-weight: 600; letter-spacing: -0.005em; }

hr {
  border: 0;
  border-top: var(--rule-w) solid var(--rule);
  margin: 0;
}

::selection { background: var(--accent); color: var(--accent-ink); }

/* -----------------------------------------------------------------------------
   4. UTILITIES
   ----------------------------------------------------------------------------*/

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.measure { max-width: var(--measure); }
.measure-wide { max-width: 76ch; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-weight: 500;
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.01em;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
}

.muted { color: var(--muted); }
.italic { font-style: italic; }

.rule { border-top: var(--rule-w) solid var(--rule); }
.rule-strong { border-top: var(--rule-w) solid var(--rule-strong); }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.cluster { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.stack > * + * { margin-top: var(--stack, 1rem); }

.hide-mobile { display: initial; }
@media (max-width: 720px) { .hide-mobile { display: none; } }

/* -----------------------------------------------------------------------------
   5. NAV
   ----------------------------------------------------------------------------*/

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: var(--rule-w) solid transparent;
  transition: border-color 160ms ease, background 160ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 0;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: var(--rule-w) solid var(--ink);
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  transition: background 160ms ease, color 160ms ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* "Solutions" dropdown — groups the secondary ways to bring liquidity on-chain
   (Readiness, Managed liquidity, Integrations). Shows on hover and on click/
   focus (JS toggles aria-expanded for touch + keyboard). */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-btn {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.is-active { color: var(--accent); }
.nav-caret { font-size: 0.8em; transition: transform 160ms ease; }
.nav-dropdown-btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 17rem;
  background: var(--bg);
  border: var(--rule-w) solid var(--rule);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms;
  z-index: 60;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-btn[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.7rem;
  border-bottom: 0;
  border-radius: 4px;
}
.nav-dropdown-menu a:hover { background: var(--bg-2); }
.nav-dd-title {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-dropdown-menu a:hover .nav-dd-title { color: var(--accent); }
.nav-dropdown-menu a[aria-current="page"] .nav-dd-title { color: var(--accent); }
.nav-dd-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

@media (max-width: 720px) {
  .nav-links { gap: 1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* -----------------------------------------------------------------------------
   6. LOGO / WORDMARK
   ----------------------------------------------------------------------------*/

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.logo .dot {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-0.05em);
}
.logo a { border-bottom: 0; color: inherit; }

/* -----------------------------------------------------------------------------
   7. BUTTONS
   ----------------------------------------------------------------------------*/

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 1.1rem;
  border: var(--rule-w) solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-1px); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button.is-ghost { background: transparent; color: var(--ink); }
.button.is-ghost:hover { background: var(--ink); color: var(--bg); }
.button .arrow { transition: transform 160ms ease; }
.button:hover .arrow { transform: translateX(3px); }

/* -----------------------------------------------------------------------------
   8. HERO
   ----------------------------------------------------------------------------*/

.hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: var(--rule-w) solid var(--rule);
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}
.hero-eyebrow .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.85); }
}

.hero h1 {
  font-size: var(--fs-display);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin: 0 0 1.4rem;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero .lede { margin: 0 0 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-meta {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
}
.hero-meta span strong {
  color: var(--ink);
  font-weight: 500;
}

/* -----------------------------------------------------------------------------
   9. NUMBERS BAND
   ----------------------------------------------------------------------------*/

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.numbers > div {
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 2.5vw, 2rem);
  border-right: var(--rule-w) solid var(--rule);
}
.numbers > div:last-child { border-right: 0; }
.numbers .stat {
  font-family: var(--font-serif);
  font-size: var(--fs-stat);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.numbers .stat-label {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.numbers .stat-cite {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
}
.numbers .stat-cite a { border-bottom-color: var(--rule); }
.numbers .stat-cite a:hover { border-bottom-color: var(--accent); color: var(--accent); }

@media (max-width: 760px) {
  .numbers { grid-template-columns: 1fr; }
  .numbers > div { border-right: 0; border-bottom: var(--rule-w) solid var(--rule); }
  .numbers > div:last-child { border-bottom: 0; }
}

/* -----------------------------------------------------------------------------
   10. SECTIONS / EDITORIAL TYPE
   ----------------------------------------------------------------------------*/

.section h2 {
  font-size: var(--fs-h2);
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.section h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.6rem;
}
.section p { color: var(--ink-2); }
.section .lede { color: var(--ink); margin-bottom: 1.5rem; }

.section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) {
  .section-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

.section-grid .label {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: var(--rule-w) solid var(--ink);
  padding-top: 0.8rem;
}

.section-divider {
  border: 0;
  border-top: var(--rule-w) solid var(--rule);
}

/* "How it works" steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.steps > li {
  list-style: none;
  padding: 1.6rem 1.2rem;
  border-right: var(--rule-w) solid var(--rule);
  background: var(--bg);
}
.steps > li:last-child { border-right: 0; }
.steps .step-num {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}
.steps .step-title { font-weight: 600; margin-bottom: 0.3rem; }
.steps p { font-size: var(--fs-small); color: var(--ink-2); margin: 0; }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps > li:nth-child(2n) { border-right: 0; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } .steps > li { border-right: 0; border-bottom: var(--rule-w) solid var(--rule); } .steps > li:last-child { border-bottom: 0; } }

/* Comparison table (TradFi anchor / Securitize stack / Qualiq) */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
  margin-top: 1.5rem;
}
.compare th,
.compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: var(--rule-w) solid var(--rule);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: var(--rule-w) solid var(--ink);
}
.compare tbody th {
  font-weight: 400;
  font-style: italic;
  color: var(--ink-2);
  width: 38%;
}
.compare .y { color: var(--positive); }
.compare .n { color: var(--negative); }
.compare .qualiq-col { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.compare thead .qualiq-col { color: var(--accent); }

/* Quote pulls (used contextually across pages) */
.pull {
  border-left: 2px solid var(--accent);
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-style: italic;
  color: var(--ink-2);
  max-width: 56ch;
}
.pull cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -----------------------------------------------------------------------------
   11. LIVE LEADERBOARD MOCK
   ----------------------------------------------------------------------------*/

.board-wrap {
  border: var(--rule-w) solid var(--rule);
  background: var(--bg);
}
.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: var(--rule-w) solid var(--rule);
  background: var(--bg-2);
}
.board-head .title {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.board-head .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--ink-2);
}
.board-head .live .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.board {
  width: 100%;
  border-collapse: collapse;
}
.board thead th {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: var(--rule-w) solid var(--rule);
  background: var(--bg-2);
}
.board thead th.num { text-align: right; }
.board tbody td {
  padding: 0.9rem 1rem;
  border-bottom: var(--rule-w) solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--ink-2);
  transition: background 220ms ease;
}
.board tbody tr {
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.board tbody tr.flash td { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.board td.dealer { font-family: var(--font-serif); font-style: italic; color: var(--ink); font-size: var(--fs-body); }
.board td.num { text-align: right; }
.board td.delta.up { color: var(--positive); }
.board td.delta.down { color: var(--negative); }
.board tbody tr:last-child td { border-bottom: 0; }

.board-foot {
  padding: 0.7rem 1.1rem;
  border-top: var(--rule-w) solid var(--rule);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* -----------------------------------------------------------------------------
   11b. LANDING COUNTERFACTUAL WIDGET
   Lives on / (index.html) between the hero and the numbers band. Data is
   fetched by site.js (every 30s) with a JSON snapshot fallback.
   ----------------------------------------------------------------------------*/

.cf-section {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: var(--rule-w) solid var(--rule);
}
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .cf-grid { grid-template-columns: 1fr; gap: 1.4rem; } }

.cf-grid .label {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: var(--rule-w) solid var(--ink);
  padding-top: 0.8rem;
}
.cf-grid h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  margin-top: 0.6rem;
  max-width: 14ch;
}
.cf-grid h2 em { font-style: italic; color: var(--accent); }
.cf-grid p {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 32ch;
}

.cf-card {
  border: var(--rule-w) solid var(--rule-strong);
  background: var(--bg);
  padding: 0;
}
.cf-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: var(--bg-2);
  border-bottom: var(--rule-w) solid var(--rule);
}
.cf-card-head .title {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.cf-card-head .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--ink-2);
}
.cf-card-head .live .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.cf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cf-stats > div {
  padding: 1.4rem 1.2rem;
  border-right: var(--rule-w) solid var(--rule);
}
.cf-stats > div:last-child { border-right: 0; }
@media (max-width: 700px) {
  .cf-stats { grid-template-columns: repeat(2, 1fr); }
  .cf-stats > div:nth-child(2) { border-right: 0; }
  .cf-stats > div:nth-child(1),
  .cf-stats > div:nth-child(2) { border-bottom: var(--rule-w) solid var(--rule); }
}
.cf-stats .lbl {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.cf-stats .val {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cf-stats .val.savings { color: var(--positive); }
.cf-stats .val .unit { font-size: 0.55em; color: var(--ink-2); letter-spacing: -0.005em; }
.cf-stats .val.loss-rate { color: var(--negative); font-style: italic; }
.cf-stats .sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 0.4rem;
}

.cf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-top: var(--rule-w) solid var(--rule);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.cf-footer code { color: var(--accent); }
.cf-footer a {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 0;
}

.pair-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: var(--rule-w) solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
}
.pair-strip > div {
  padding: 0.85rem 1.2rem;
  border-right: var(--rule-w) solid var(--rule);
}
.pair-strip > div:last-child { border-right: 0; }
.pair-strip .p-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.pair-strip .p-savings { color: var(--positive); font-weight: 500; }
@media (max-width: 700px) {
  .pair-strip { grid-template-columns: 1fr 1fr; }
  .pair-strip > div { border-right: var(--rule-w) solid var(--rule); border-bottom: var(--rule-w) solid var(--rule); }
  .pair-strip > div:nth-child(2n) { border-right: 0; }
}

/* -----------------------------------------------------------------------------
   12. TEAM CARDS
   ----------------------------------------------------------------------------*/

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.team > article {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2.4rem);
  border-right: var(--rule-w) solid var(--rule);
}
.team > article:last-child { border-right: 0; }
.team .role {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.team h3 { font-size: var(--fs-h3); font-style: italic; font-weight: 500; }
.team p { color: var(--ink-2); margin-bottom: 0.7rem; }

@media (max-width: 760px) {
  .team { grid-template-columns: 1fr; }
  .team > article { border-right: 0; border-bottom: var(--rule-w) solid var(--rule); }
  .team > article:last-child { border-bottom: 0; }
}

/* -----------------------------------------------------------------------------
   13. CONTACT FORM
   ----------------------------------------------------------------------------*/

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--bg-2);
  border: var(--rule-w) solid var(--rule-strong);
  padding: 0.8rem 0.9rem;
  border-radius: 0;
  transition: border-color 160ms ease, background 160ms ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--bg);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-actions { display: flex; align-items: center; gap: 1rem; }
.form-status {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
}
.form-status.ok { color: var(--positive); }
.form-status.err { color: var(--negative); }

/* -----------------------------------------------------------------------------
   14. FOOTER
   ----------------------------------------------------------------------------*/

.footer {
  border-top: var(--rule-w) solid var(--rule);
  padding-block: 2.4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: space-between;
  align-items: center;
}
.footer a { color: var(--ink-2); border-bottom-color: var(--rule); }
.footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* -----------------------------------------------------------------------------
   15. FADE-IN ON SCROLL
   ----------------------------------------------------------------------------*/

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-eyebrow .pulse,
  .board-head .live .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* -----------------------------------------------------------------------------
   16. PALETTES PREVIEW PAGE
   ----------------------------------------------------------------------------*/

.palette-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--rule-w) solid var(--rule);
}
@media (max-width: 1080px) { .palette-grid { grid-template-columns: 1fr; } }

.palette {
  background: var(--bg);
  color: var(--ink);
  border-right: var(--rule-w) solid var(--rule);
}
.palette:last-child { border-right: 0; }
.palette-inner { padding: clamp(1.6rem, 3vw, 2.4rem); }
.palette-name {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.palette h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin-bottom: 0.8rem;
  max-width: none;
}
.palette p { color: var(--ink-2); font-size: var(--fs-small); }
.palette-swatches { display: flex; gap: 0; margin: 1.2rem 0 1.4rem; }
.palette-swatches span {
  display: block;
  height: 36px;
  flex: 1;
  border-right: var(--rule-w) solid var(--rule);
}
.palette-swatches span:last-child { border-right: 0; }
.palette-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: var(--rule-w) solid var(--ink);
  padding: 0.55rem 0.9rem;
  margin-top: 1rem;
  color: var(--ink);
}
.palette-mini-board {
  margin-top: 1.4rem;
  border: var(--rule-w) solid var(--rule);
}
.palette-mini-board .row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-bottom: var(--rule-w) solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--ink-2);
}
.palette-mini-board .row:last-child { border-bottom: 0; }
.palette-mini-board .row .name { font-family: var(--font-serif); font-style: italic; color: var(--ink); font-size: var(--fs-small); }

.palette-stat {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
}

/* -----------------------------------------------------------------------------
   17. RAISE / RESEARCH PAGES
   ----------------------------------------------------------------------------*/

.page-header {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: var(--rule-w) solid var(--rule);
}
.page-header h1 {
  font-size: var(--fs-h1);
  max-width: 22ch;
  margin: 0.5rem 0 1rem;
}
.page-header .lede { max-width: 60ch; }
.page-header .meta {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.terms > div {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-right: var(--rule-w) solid var(--rule);
}
.terms > div:last-child { border-right: 0; }
.terms .label {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.terms .value {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
@media (max-width: 760px) {
  .terms { grid-template-columns: 1fr; }
  .terms > div { border-right: 0; border-bottom: var(--rule-w) solid var(--rule); }
  .terms > div:last-child { border-bottom: 0; }
}

.milestones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}
.milestones li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.4rem;
  padding-block: 1rem;
  border-top: var(--rule-w) solid var(--rule);
}
.milestones li:last-child { border-bottom: var(--rule-w) solid var(--rule); }
.milestones .when {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
}
.milestones h3 { font-size: var(--fs-h3); margin-bottom: 0.2rem; }
.milestones p { margin: 0; color: var(--ink-2); }

/* -----------------------------------------------------------------------------
   18. RESEARCH PAPER VIEW (used on /research)
   ----------------------------------------------------------------------------*/

.paper-masthead {
  border-bottom: var(--rule-w) solid var(--ink);
  padding-block: clamp(2.6rem, 5vw, 4rem);
}
.paper-masthead .paper-series {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.paper-masthead h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin: 0 0 0.6rem;
  max-width: 22ch;
}
.paper-masthead .paper-subtitle {
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-2);
  margin: 0 0 1.8rem;
  max-width: 60ch;
}

.paper-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.4rem;
  margin: 0;
  padding-top: 1.4rem;
  border-top: var(--rule-w) solid var(--rule);
}
.paper-byline > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.paper-byline dt {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.paper-byline dd {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--ink);
  margin: 0;
}

/* Two-column body with sticky TOC */
.paper-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 980px) {
  .paper-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.paper-toc {
  position: sticky;
  top: 88px;
  align-self: start;
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
}
.paper-toc .toc-label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: var(--rule-w) solid var(--ink);
  padding-top: 0.7rem;
  margin-bottom: 0.9rem;
}
.paper-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.paper-toc ol ol { padding-left: 1rem; margin-top: 0.3rem; }
.paper-toc li { margin-bottom: 0.45rem; line-height: 1.4; }
.paper-toc a {
  color: var(--ink-2);
  border-bottom: 0;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.78rem;
}
.paper-toc a:hover { color: var(--accent); }

@media (max-width: 980px) {
  .paper-toc { position: static; padding: 1rem; border: var(--rule-w) solid var(--rule); background: var(--bg-2); }
}

.paper-body { min-width: 0; }
.paper-body section { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.paper-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 1rem;
  padding-top: 1.2rem;
  border-top: var(--rule-w) solid var(--ink);
}
.paper-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
  font-style: italic;
}
.paper-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.4rem 0 0.4rem;
}
.paper-body p {
  max-width: 64ch;
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.65;
}
.paper-body p strong { color: var(--ink); font-weight: 600; }
.paper-body p em, .paper-body p i { font-style: italic; }
.paper-body .paper-lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 60ch;
}
.paper-body .pair-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  margin: -0.3rem 0 1rem;
}

/* Data tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}
.data-table thead th {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: var(--rule-w) solid var(--ink);
  border-top: var(--rule-w) solid var(--ink);
}
.data-table thead th.num { text-align: right; }
.data-table tbody td {
  padding: 0.65rem 0.8rem;
  border-bottom: var(--rule-w) solid var(--rule);
  color: var(--ink-2);
  vertical-align: top;
}
.data-table tbody td:first-child { font-style: italic; color: var(--ink); }
.data-table tbody td.num,
.data-table tbody th.num,
.data-table tbody td.mono {
  text-align: right;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0;
}
.data-table tbody tr:last-child td { border-bottom: var(--rule-w) solid var(--ink); }
.data-table.compact { margin: 0.8rem 0 1.4rem; }
.data-table.compact tbody td:first-child { font-style: normal; color: var(--ink-2); }

/* Callouts (paper insets) */
.callout {
  border-left: 2px solid var(--accent);
  background: var(--bg-2);
  padding: 1rem 1.2rem;
  margin: 1.4rem 0;
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.callout p { margin: 0; max-width: none; line-height: 1.55; font-size: var(--fs-small); }
.callout p + p { margin-top: 0.6rem; }
.callout strong { color: var(--ink); }
.callout-strong {
  background: var(--bg);
  border: var(--rule-w) solid var(--ink);
  border-left-width: 2px;
  border-left-color: var(--accent);
}

/* Display formula */
.formula {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem 1.2rem;
  margin: 1.4rem auto;
  background: var(--bg-2);
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
  max-width: 64ch;
  color: var(--ink);
}

/* Figure / chart slots — gracefully placeholder when image missing */
.figure-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.4rem 0;
}
@media (max-width: 720px) { .figure-stack { grid-template-columns: 1fr; } }
.chart {
  margin: 0;
  border: var(--rule-w) solid var(--rule);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
}
.chart img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg);
}
.chart figcaption {
  padding: 0.6rem 0.8rem;
  border-top: var(--rule-w) solid var(--rule);
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.chart figcaption .fig-no {
  color: var(--ink);
  font-weight: 500;
}
.chart.is-pending img { display: none; }
.chart.is-pending::before {
  content: "Chart pending";
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  padding: 3rem 1rem;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 10px,
      var(--bg-3) 10px 11px
    ),
    var(--bg-2);
  letter-spacing: 0.04em;
}

/* Methodology numbered list */
.method-list {
  list-style: none;
  counter-reset: method;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 1rem;
}
.method-list li {
  counter-increment: method;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1rem;
  padding: 0.6rem 0 0.8rem;
  border-top: var(--rule-w) solid var(--rule);
}
.method-list li:last-child { border-bottom: var(--rule-w) solid var(--rule); }
.method-list li::before {
  content: counter(method, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  padding-top: 0.3rem;
}
.method-list li > div p { margin: 0; }
.method-list h4 { margin: 0 0 0.2rem; font-size: 1.02rem; }

/* Inline footnote-y emphasis used in the appendix */
.paper-body code,
.paper-body kbd {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--bg-2);
  padding: 0.05em 0.35em;
  border: var(--rule-w) solid var(--rule);
}

/* -----------------------------------------------------------------------------
   18b. EVIDENCE LIST (used on /evidence)
   ----------------------------------------------------------------------------*/

.evidence-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: cite;
}
.evidence-list > li {
  counter-increment: cite;
  padding: 1.2rem 0;
  border-bottom: var(--rule-w) solid var(--rule);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.4rem;
  align-items: baseline;
}
.evidence-list > li:last-child { border-bottom: 0; }
.evidence-list > li::before {
  content: "[" counter(cite) "]";
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  letter-spacing: 0;
}
.evidence-list .src {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.evidence-list .title {
  font-style: italic;
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  max-width: 64ch;
}
.evidence-list .meta {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
}
.evidence-list .meta a {
  color: var(--ink-2);
  border-bottom-color: var(--rule);
}
.evidence-list .meta a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.evidence-section-header {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: var(--rule-w) solid var(--ink);
  padding-top: 1rem;
  margin: 3rem 0 0.6rem;
}
.evidence-section-header:first-of-type { margin-top: 0; }
.evidence-section-header .count {
  font-family: var(--font-mono);
  letter-spacing: 0;
  color: var(--ink-2);
  margin-left: 0.6rem;
}

/* -----------------------------------------------------------------------------
   18b-tabs. AUDIENCE TABS (used on /evidence)
   ----------------------------------------------------------------------------*/

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0.6rem 0 2.2rem;
  border-bottom: var(--rule-w) solid var(--rule);
}
.tablist [role="tab"] {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.9rem 1.4rem;
  margin-bottom: -1px;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tablist [role="tab"]:first-child { padding-left: 0; }
.tablist [role="tab"]:hover { color: var(--ink); }
.tablist [role="tab"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.tablist [role="tab"][aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.tabpanel[hidden] { display: none; }
.tabpanel { animation: tab-fade-in 0.18s ease; }
@keyframes tab-fade-in {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------------------------------------
   18c. ASSET READINESS CARD (used on /readiness)
   ----------------------------------------------------------------------------*/

.readiness-hero { padding-block: clamp(2rem, 4vw, 3rem); }
.readiness-hero h1 {
  max-width: 30ch;
  font-size: var(--fs-h1);
  letter-spacing: 0;
}
.readiness-hero .lede {
  max-width: 68ch;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.readiness-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: 1.4rem;
}
.readiness-intro h2 { margin-bottom: 0; max-width: 18ch; }
.readiness-intro p {
  margin: 0;
  color: var(--ink-2);
  max-width: 68ch;
}
.readiness-chipline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-start;
}
.readiness-chipline span {
  border: var(--rule-w) solid var(--rule);
  padding: 0.38rem 0.55rem;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg-2);
}

.readiness-shell {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 0;
  border-top: var(--rule-w) solid var(--rule-strong);
  border-bottom: var(--rule-w) solid var(--rule-strong);
}
.readiness-control {
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border-right: var(--rule-w) solid var(--rule);
  background: var(--bg);
}
.readiness-control .field { margin-bottom: 1rem; }

.readiness-snapshot {
  margin: 1rem 0 0;
  padding: 0;
  border-top: var(--rule-w) solid var(--rule);
}
.readiness-snapshot > div {
  padding: 0.8rem 0;
  border-bottom: var(--rule-w) solid var(--rule);
}
.readiness-snapshot dt {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.readiness-snapshot dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--ink-2);
}

.readiness-route-note {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: var(--rule-w) solid var(--ink);
}
.route-note-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.readiness-route-note p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.55;
  color: var(--muted);
}

.readiness-card {
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--bg);
}
.readiness-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
}
.readiness-card-head h3 {
  margin: 0.45rem 0 0;
  font-size: var(--fs-h2);
  max-width: 30ch;
}
.readiness-card-head p {
  margin: 0.65rem 0 0;
  max-width: 74ch;
  color: var(--ink-2);
}
.readiness-pair {
  flex: 0 0 auto;
  max-width: 28ch;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.readiness-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.18rem 0.5rem;
  border: var(--rule-w) solid var(--rule-strong);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.readiness-status.is-good {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}
.readiness-status.is-watch {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--rule));
}
.readiness-status.is-bad {
  color: var(--negative);
  background: color-mix(in srgb, var(--negative) 8%, transparent);
  border-color: color-mix(in srgb, var(--negative) 50%, var(--rule));
}

.readiness-tabs {
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}
.readiness-tabs [role="tab"] {
  padding-inline: 1rem;
  white-space: nowrap;
}
.readiness-tabs [role="tab"]:first-child { padding-left: 0; }
.readiness-panel { min-width: 0; }

.readiness-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.readiness-metrics > div {
  min-width: 0;
  padding: 1rem;
  border-right: var(--rule-w) solid var(--rule);
}
.readiness-metrics > div:last-child { border-right: 0; }
.readiness-metrics span,
.readiness-certificate span,
.readiness-budget span {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.readiness-metrics strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.readiness-metrics small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.35;
  color: var(--muted);
}

.readiness-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: 1.4rem;
}
.readiness-two-col h4 {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.readiness-two-col p {
  margin: 0 0 1rem;
  color: var(--ink-2);
  max-width: 72ch;
}

.readiness-table-wrap {
  overflow-x: auto;
  border-top: var(--rule-w) solid var(--rule);
}
.readiness-band-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-variant-numeric: tabular-nums;
}
.readiness-band-table th {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: var(--rule-w) solid var(--rule);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.readiness-band-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: var(--rule-w) solid var(--rule);
  color: var(--ink-2);
  vertical-align: top;
}
.readiness-band-table tr:last-child td { border-bottom-color: var(--rule-strong); }
.readiness-band-table tr.is-good td:nth-child(2) { color: var(--positive); }
.readiness-band-table tr.is-watch td:nth-child(2) { color: var(--accent); }
.readiness-band-table tr.is-bad td:nth-child(2) { color: var(--negative); }

.readiness-action-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: var(--rule-w) solid var(--rule);
}
.readiness-action-list li {
  padding: 0.75rem 0;
  border-bottom: var(--rule-w) solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.55;
  color: var(--ink-2);
}
.readiness-action-list li::before {
  content: ">";
  color: var(--accent);
  margin-right: 0.5rem;
}

.readiness-budget {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: var(--rule-w) solid var(--ink);
}
.readiness-budget strong {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.readiness-budget.readiness-neutral strong { color: var(--ink-2); }

.readiness-certificate {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.readiness-certificate strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--ink);
}
.readiness-certificate p {
  margin: 0;
  color: var(--ink-2);
  max-width: 74ch;
}

.readiness-research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.4rem;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.readiness-research-grid > div {
  padding: 1rem 1.1rem;
  border-right: var(--rule-w) solid var(--rule);
}
.readiness-research-grid > div:last-child { border-right: 0; }
.readiness-research-grid span {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.readiness-research-grid p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 980px) {
  .readiness-intro,
  .readiness-shell,
  .readiness-two-col,
  .readiness-certificate { grid-template-columns: 1fr; }
  .readiness-control {
    border-right: 0;
    border-bottom: var(--rule-w) solid var(--rule);
  }
  .readiness-research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readiness-research-grid > div:nth-child(2n) { border-right: 0; }
  .readiness-research-grid > div:nth-child(-n + 2) { border-bottom: var(--rule-w) solid var(--rule); }
}
@media (max-width: 760px) {
  .readiness-card-head { flex-direction: column; }
  .readiness-pair { text-align: left; max-width: none; }
  .readiness-metrics { grid-template-columns: 1fr 1fr; }
  .readiness-metrics > div:nth-child(2n) { border-right: 0; }
  .readiness-metrics > div:nth-child(-n + 2) { border-bottom: var(--rule-w) solid var(--rule); }
  .readiness-route-note { display: none; }
  .readiness-research-grid { grid-template-columns: 1fr; }
  .readiness-research-grid > div {
    border-right: 0;
    border-bottom: var(--rule-w) solid var(--rule);
  }
  .readiness-research-grid > div:last-child { border-bottom: 0; }
  .readiness-tabs { overflow-x: auto; flex-wrap: nowrap; }
}

/* -----------------------------------------------------------------------------
   18c. WORST-FILLS PAGE (used on /research/worst-fills)
   ----------------------------------------------------------------------------*/

.methodology-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.9rem;
  border: var(--rule-w) solid var(--rule-strong);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--ink-2);
  margin-top: 1.2rem;
}
.methodology-badge .label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border-right: var(--rule-w) solid var(--rule);
  padding-right: 0.9rem;
}
.methodology-badge code {
  color: var(--accent);
  letter-spacing: 0;
}

.worst-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.worst-table thead th {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
  padding: 0.7rem 0.7rem;
  border-bottom: 2px solid var(--ink);
  border-top: var(--rule-w) solid var(--ink);
  white-space: nowrap;
}
.worst-table thead th.num { text-align: right; }
.worst-table tbody tr { transition: background 120ms ease; }
.worst-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.worst-table tbody td {
  padding: 0.7rem 0.7rem;
  border-bottom: var(--rule-w) solid var(--rule);
  vertical-align: middle;
}
.worst-table tbody tr:last-child td { border-bottom: var(--rule-w) solid var(--ink); }
.worst-table .sig {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.worst-table .sig a { border-bottom-color: var(--rule); color: var(--ink); }
.worst-table .sig a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.worst-table .pair { font-style: italic; color: var(--ink); }
.worst-table td.num {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
}
.worst-table td.savings-neg {
  color: var(--negative);
  font-weight: 500;
}
.worst-table td.savings-pos { color: var(--positive); font-weight: 500; }
.worst-table .audit-cell {
  text-align: right;
  width: 70px;
}
.worst-table .audit-link {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 0;
}

.controls {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: var(--rule-w) solid var(--rule);
}
.control-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.control-group label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.control-group select {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 0.3rem 0.5rem;
  border: var(--rule-w) solid var(--rule-strong);
  background: var(--bg);
  color: var(--ink);
}
.live-indicator {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.live-indicator .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.honest-disclosure {
  border: var(--rule-w) solid var(--ink);
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0 2rem;
  max-width: 64ch;
}
.honest-disclosure h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
  font-weight: 500;
}
.honest-disclosure p { margin: 0 0 0.6rem; font-size: 0.95rem; color: var(--ink); }
.honest-disclosure p:last-child { margin-bottom: 0; }
.honest-disclosure strong { color: var(--ink); }

/* -----------------------------------------------------------------------------
   18d. GEO-GATE OVERLAY (used by site.js when QUALIQ_GEO_GATE = enforce)
   ----------------------------------------------------------------------------*/

.geo-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.geo-gate.is-active { display: flex; }
.geo-gate .gate-card {
  max-width: 560px;
  width: 100%;
  background: var(--bg);
  border: var(--rule-w) solid var(--ink);
  padding: clamp(2rem, 4vw, 3rem);
}
.geo-gate .gate-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: var(--rule-w) solid var(--ink);
  padding-top: 1rem;
  margin-bottom: 1.2rem;
}
.geo-gate h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  letter-spacing: -0.005em;
  margin: 0 0 1rem;
  max-width: 22ch;
}
.geo-gate p {
  font-family: var(--font-serif);
  color: var(--ink-2);
  font-size: var(--fs-body);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 0 0.8rem;
}
.geo-gate .gate-meta {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: var(--rule-w) solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
}
.geo-gate .gate-meta code { color: var(--accent); }

/* -----------------------------------------------------------------------------
   18b. AGGREGATE STATS BAND (used on /research)
   ----------------------------------------------------------------------------*/

.agg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 1.4rem 0 0;
  padding: 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.agg-stats > div {
  padding: 1.6rem 1.2rem;
  border-right: var(--rule-w) solid var(--rule);
}
.agg-stats > div:last-child { border-right: 0; }
.agg-stats dt {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.agg-stats dd { margin: 0; }
.agg-stats .agg-val {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin: 0;
}
.agg-stats .agg-val-accent { color: var(--positive); }
.agg-stats .agg-val .unit {
  font-size: 0.5em;
  letter-spacing: 0;
  color: var(--muted);
  font-style: normal;
}
.agg-stats .agg-sub {
  margin: 0.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 760px) {
  .agg-stats { grid-template-columns: 1fr; }
  .agg-stats > div { border-right: 0; border-bottom: var(--rule-w) solid var(--rule); }
  .agg-stats > div:last-child { border-bottom: 0; }
}

/* -----------------------------------------------------------------------------
   18c. CONDENSED STATS STRIP (on / index page)
   ----------------------------------------------------------------------------*/

.stat-strip {
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
  background: var(--bg-2);
}
.stat-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0;
  align-items: center;
}
.stat-strip-inner > div {
  padding: 1.2rem clamp(0.8rem, 1.6vw, 1.4rem);
  border-right: var(--rule-w) solid var(--rule);
}
.stat-strip-inner > div:last-child { border-right: 0; }
.stat-strip-lbl {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.stat-strip-val {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink);
}
.stat-strip-val.accent { color: var(--positive); }
.stat-strip-val .unit { font-size: 0.55em; color: var(--muted); }
.stat-strip-cta {
  padding: 1.2rem clamp(0.8rem, 1.6vw, 1.4rem);
}
.stat-strip-cta a {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 0;
}
.stat-strip-cta a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .stat-strip-inner { grid-template-columns: 1fr 1fr; }
  .stat-strip-inner > div:nth-child(2) { border-right: 0; }
  .stat-strip-inner > div:nth-child(1),
  .stat-strip-inner > div:nth-child(2) { border-bottom: var(--rule-w) solid var(--rule); }
  .stat-strip-cta { grid-column: span 2; text-align: right; border-right: 0; }
}

/* -----------------------------------------------------------------------------
   18c-2. MAINNET-SHADOW HERO STRIP (on / index)
   The replacement for the old hero + condensed stat strip. Click-to-filter
   asset chips below; the three stats above react to the chip selection.
   ----------------------------------------------------------------------------*/

.mainnet-hero .hero-eyebrow {
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.mainnet-hero-window {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  background: var(--bg-2);
  border: var(--rule-w) solid var(--rule);
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
}
.mainnet-hero h1 { max-width: 22ch; }

/* ─── Liquidity-stack comparison table (homepage hero) ─────────────────────
   Three rows (TradFi → CLOB → Solana on-chain) over the same 14 underlying
   tickers. The descent is the spread tax Qualiq closes. */
.comparison-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: var(--rule-w) solid var(--rule-strong);
  background: var(--bg);
  margin: 2rem 0 1.2rem;
}
.comparison-row {
  display: grid;
  grid-template-columns: minmax(11rem, 1.6fr) 1fr 1fr 1fr;
  align-items: center;
  padding: 1.05rem clamp(0.9rem, 1.6vw, 1.4rem);
  border-bottom: var(--rule-w) solid var(--rule);
  gap: 0 clamp(0.9rem, 1.6vw, 1.4rem);
}
.comparison-row:last-child { border-bottom: 0; }
.comparison-row-head {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background: var(--bg-2);
}
.comparison-row-current {
  background: rgba(74, 222, 128, 0.04);
}
.comparison-label {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.comparison-name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.comparison-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0;
}
.comparison-cell-lbl {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.comparison-cell-val {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.comparison-cell-val .unit { font-size: 0.55em; color: var(--ink-2); letter-spacing: -0.005em; }

/* Expandable On-chain row → trading vs after-hours/weekend session split. */
.comparison-row[data-hero-toggle] { cursor: pointer; }
.comparison-row[data-hero-toggle] .comparison-name { display: flex; align-items: center; gap: 0.4rem; }
.hero-arrow {
  display: inline-block; font-size: 0.7em; color: var(--rust, #B85A38);
  transition: transform 0.18s ease; line-height: 1;
}
.comparison-row[data-hero-toggle][aria-expanded="true"] .hero-arrow { transform: rotate(90deg); }
/* `.comparison-row { display:grid }` overrides the UA `[hidden]` rule (equal
   specificity, author wins), so the bare `hidden` attribute won't hide a
   sub-row. This higher-specificity rule makes the JS toggle actually work. */
.comparison-row[hidden] { display: none; }
.comparison-subrow { background: rgba(0, 0, 0, 0.025); }
.comparison-subrow .comparison-cell-val { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-2, #5C5C5C); }
.comparison-subname {
  padding-left: 1.45rem; position: relative; font-weight: 600;
  font-size: 12px; color: var(--ink-2, #5C5C5C);
}
.comparison-subname::before { content: "\2514"; position: absolute; left: 0.5rem; color: var(--muted); }
.comparison-subrow-bad .comparison-cell-val { color: #7B1818; }
.onchain-nomarket {
  font-family: var(--font-mono); font-size: 0.5em; font-weight: 700;
  color: #7B1818; background: rgba(123, 24, 24, 0.1);
  padding: 0.15em 0.45em; border-radius: 3px; margin-left: 0.4em; vertical-align: middle;
  letter-spacing: 0.04em; text-transform: uppercase;
}
@media (max-width: 720px) {
  .comparison-row {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
      "label   label   label"
      "trades  notional spread";
    gap: 0.6rem clamp(0.6rem, 1.2vw, 1rem);
    row-gap: 0.55rem;
  }
  .comparison-row-head { display: none; }
  .comparison-label { grid-area: label; }
}

/* Spread tone — applied directly to the median AMM bps number in the hero
   stats strip and to the bps figure on asset cards.
   ≤10 bps  : tight (green)
   10–15    : warn (amber)
   15–75    : hot  (orange-red)
   75+ bps  : bad  (red) */
[data-hero-amm].spread-tone-tight,
.asset-stat.spread-tone-tight,
.comparison-cell-val.spread-tone-tight { color: #4ade80; }
[data-hero-amm].spread-tone-warn,
.asset-stat.spread-tone-warn,
.comparison-cell-val.spread-tone-warn  { color: #f5b942; }
[data-hero-amm].spread-tone-hot,
.asset-stat.spread-tone-hot,
.comparison-cell-val.spread-tone-hot   { color: #ef8854; }
[data-hero-amm].spread-tone-bad,
.asset-stat.spread-tone-bad,
.comparison-cell-val.spread-tone-bad   { color: #ef4444; }

.mainnet-hero-meta {
  margin-top: 0;
  font-size: 11px;
}
.comparison-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0.9rem 0 1.1rem;
}
.theme-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(14rem, 0.8fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
  margin: 1.1rem 0 1.1rem;
  padding: 1.1rem 1.2rem;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.theme-bridge p {
  margin: 0;
  max-width: 68ch;
}
.theme-bridge p:first-child {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.5;
  color: var(--ink);
}
.theme-bridge .mono {
  justify-self: end;
  max-width: 26ch;
  text-align: right;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .theme-bridge {
    grid-template-columns: 1fr;
  }
  .theme-bridge .mono {
    justify-self: start;
    text-align: left;
    max-width: none;
  }
}

/* ─── Spread tax map (/research) ─────────────────────────────────────────── */
.spreadmap-shell {
  margin-top: 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.25rem 1rem;
  background: var(--bg-1);
}
.spreadmap-meta {
  font-size: 11px;
  margin-bottom: 0.85rem;
}
.spreadmap-axis {
  position: relative;
  height: 16px;
  margin: 0 0 0.4rem calc(8.5rem + 0.75rem);
  margin-right: calc(5rem + 11rem + 1.5rem);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}
.spreadmap-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}
.spreadmap-chart {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.spreadmap-row {
  all: unset;
  display: grid;
  grid-template-columns: 8.5rem 1fr 5rem 11rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.5rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 120ms ease;
}
.spreadmap-row:hover,
.spreadmap-row:focus-visible {
  background: rgba(255, 255, 255, 0.03);
  outline: 1px solid var(--rule);
}
.spreadmap-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-1);
  letter-spacing: -0.01em;
}
.spreadmap-track {
  position: relative;
  height: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2px;
  overflow: hidden;
}
.spreadmap-target {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(74, 222, 128, 0.18);
  border-left: 1px dashed rgba(74, 222, 128, 0.55);
  border-right: 1px dashed rgba(74, 222, 128, 0.55);
  pointer-events: none;
  z-index: 1;
}
.spreadmap-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: currentColor;
  opacity: 0.85;
  z-index: 2;
  border-radius: 2px 0 0 2px;
}
.spreadmap-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  text-align: right;
}
.spreadmap-num .unit { font-size: 10px; color: var(--ink-2); }
.spreadmap-gap {
  font-size: 10.5px;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .spreadmap-row {
    grid-template-columns: 6rem 1fr 4.5rem;
    grid-template-rows: auto auto;
    column-gap: 0.5rem;
    row-gap: 0.2rem;
  }
  .spreadmap-gap {
    grid-column: 1 / -1;
    text-align: left;
  }
  .spreadmap-axis {
    margin-right: calc(4.5rem + 0.5rem);
    margin-left: calc(6rem + 0.5rem);
  }
}

/* -----------------------------------------------------------------------------
   18d. ASSET GRID (used on /research and /sponsor)
   ----------------------------------------------------------------------------*/

.grid-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.grid-header h2 { margin: 0; font-size: var(--fs-h2); }
.grid-header p { margin: 0; font-size: var(--fs-micro); }

.issuer-section { margin-bottom: 2.4rem; }
.issuer-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  border-bottom: var(--rule-w) solid var(--rule-strong);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}
.issuer-head-left { display: flex; align-items: baseline; gap: 0.8rem; }
.issuer-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 500;
}
.issuer-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.issuer-toggle {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
}
.issuer-toggle:hover { color: var(--ink); }

.asset-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.8rem;
}

.asset-card {
  text-align: left;
  cursor: pointer;
  background: var(--bg);
  border: var(--rule-w) solid var(--rule);
  padding: 1rem 1.1rem;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 130px;
}
.asset-card:hover {
  border-color: var(--rule-strong);
  background: var(--bg-2);
  transform: translateY(-1px);
}
.asset-card.is-selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.asset-card .asset-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}
.asset-card .asset-symbol {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.asset-card .asset-arch {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.asset-card .asset-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.asset-card .asset-issuer {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-2);
  padding: 0.15rem 0.45rem;
  border: var(--rule-w) solid var(--rule);
}
.asset-card .asset-body { margin-top: auto; }
.asset-card .asset-stat {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
}
.asset-card .asset-stat .unit { font-size: 0.55em; color: var(--muted); }
.asset-card .asset-stat-pending {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--negative);
}
.asset-card .asset-stat-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 0.35rem;
}

.asset-card-summary {
  grid-column: 1 / -1;
  border-style: dashed;
  background: var(--bg-2);
}
.asset-card-summary:hover { background: var(--bg-3); }
.asset-summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}
.asset-summary-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.asset-summary-cue {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.asset-summary-names {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  margin-top: 0.5rem;
}
.asset-summary-reframe {
  margin: 0.6rem 0 0;
  font-size: var(--fs-small);
  color: var(--ink-2);
  max-width: 80ch;
  line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   18e. PER-ASSET DETAIL (on /research)
   ----------------------------------------------------------------------------*/

.detail-card {
  border: var(--rule-w) solid var(--rule-strong);
  background: var(--bg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.detail-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.detail-h {
  margin: 0;
  font-size: var(--fs-h2);
  max-width: 28ch;
}
.detail-lede {
  margin: 0.8rem 0 0;
  max-width: 70ch;
  color: var(--ink-2);
}
.detail-note {
  margin: 0.8rem 0 0;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 2px solid var(--rule-strong);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--ink-2);
  max-width: 70ch;
}
.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 1.4rem 0 0;
  padding: 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.detail-stats > div {
  padding: 1rem 1.2rem;
  border-right: var(--rule-w) solid var(--rule);
}
.detail-stats > div:last-child { border-right: 0; }
.detail-stats dt {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}
.detail-stats dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.detail-stats .accent { color: var(--positive); }
.detail-cta { margin-top: 1.6rem; }

@media (max-width: 760px) {
  .detail-stats { grid-template-columns: 1fr 1fr; }
  .detail-stats > div:nth-child(2) { border-right: 0; }
  .detail-stats > div:nth-child(1),
  .detail-stats > div:nth-child(2) { border-bottom: var(--rule-w) solid var(--rule); }
}

/* Economic insight panel (shared by detail + simulator) */
.insight {
  margin-top: 1.6rem;
  border: var(--rule-w) solid var(--rule);
  background: var(--bg-2);
  padding: 1rem 1.2rem;
}
.insight-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.insight-head h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.insight-head span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.insight p {
  margin: 0 0 0.6rem;
  max-width: 70ch;
  color: var(--ink-2);
}
.insight .warn { color: var(--negative); }
.insight .ok   { color: var(--positive); }
.insight-arrows {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.8rem;
}
.insight-arrows li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
  padding: 0.15rem 0;
}
.insight-arrows .arr   { color: var(--muted); }
.insight-arrows .tail  { color: var(--muted); font-size: 11px; }
.insight-arrows strong { font-weight: 600; }
.insight-foot {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   18f. SPONSOR SIMULATOR (on /sponsor)
   ----------------------------------------------------------------------------*/

.sim-card {
  border: var(--rule-w) solid var(--rule-strong);
  background: var(--bg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.sim-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.sim-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--bg-2);
  border: var(--rule-w) solid var(--rule);
  padding: 0.1rem 0.45rem;
}
.sim-h {
  margin: 0;
  font-size: var(--fs-h2);
  max-width: 28ch;
}
.sim-lede {
  margin: 0.8rem 0 0;
  max-width: 70ch;
  color: var(--ink-2);
}

.sim-knobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.6rem;
  padding: 1rem 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
@media (max-width: 880px) { .sim-knobs { grid-template-columns: 1fr; } }
.sim-knob-lbl {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.sim-knob-buttons { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sim-knob-buttons button {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 0.4rem 0.7rem;
  background: var(--bg-2);
  color: var(--ink-2);
  border: var(--rule-w) solid var(--rule);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.sim-knob-buttons button:hover { border-color: var(--rule-strong); color: var(--ink); }
.sim-knob-buttons button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.sim-knob-slider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}
.sim-knob-slider input[type="range"] { flex: 1; accent-color: var(--accent); }
.sim-knob-sub {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.sim-insight { margin-top: 1.4rem; }

.sim-table-wrap {
  margin-top: 1.4rem;
  border: var(--rule-w) solid var(--rule);
  overflow-x: auto;
}
.sim-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}
.sim-table thead th {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  padding: 0.7rem 0.9rem;
  border-bottom: var(--rule-w) solid var(--rule);
  background: var(--bg-2);
}
.sim-table thead th.num,
.sim-table tbody td.num { text-align: right; }
.sim-table tbody td {
  padding: 0.7rem 0.9rem;
  border-bottom: var(--rule-w) solid var(--rule);
  color: var(--ink-2);
}
.sim-table tbody tr.is-ineligible { opacity: 0.45; text-decoration: line-through; }
.sim-table .dealer { font-family: var(--font-serif); font-style: italic; color: var(--ink); }
.sim-table .ok    { color: var(--positive); }
.sim-table .warn  { color: var(--accent); }
.sim-table .muted { color: var(--muted); font-size: 10px; }
.sim-table .sim-table-total {
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}
.sim-table .sim-table-total td:first-child {
  color: var(--muted);
  font-style: italic;
}

.sim-empty {
  margin-top: 1.4rem;
  border: var(--rule-w) solid var(--negative);
  background: color-mix(in srgb, var(--negative) 6%, transparent);
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--ink-2);
}

.sim-knob-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-2);
  background: var(--bg-2);
  border: var(--rule-w) solid var(--rule);
  padding: 0.1rem 0.4rem;
  margin-left: 0.4rem;
  border-radius: 2px;
  vertical-align: middle;
}
.sim-table-caption {
  padding: 0.7rem 0.9rem;
  margin: 0;
  background: var(--bg-2);
  border-bottom: var(--rule-w) solid var(--rule);
  font-size: 11px;
}

/* -----------------------------------------------------------------------------
   18g. REPORT INDEX LIST (on /research, under the grid)
   ----------------------------------------------------------------------------*/

.report-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: var(--rule-w) solid var(--rule);
}
@media (max-width: 760px) { .report-list { grid-template-columns: 1fr; } }
.report-list > li {
  border-bottom: var(--rule-w) solid var(--rule);
  border-right: var(--rule-w) solid var(--rule);
}
.report-list > li:last-child { border-right: 0; }
@media (max-width: 760px) { .report-list > li { border-right: 0; } }
.report-link, .report-pending {
  display: block;
  padding: 1.2rem 1.4rem;
}
.report-link {
  color: inherit;
  border-bottom: 0;
  transition: background 160ms ease;
}
.report-link:hover { background: var(--bg-2); }
.report-series {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.report-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.report-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  line-height: 1.5;
}
.report-pending .report-title,
.report-pending .report-sub { color: var(--muted); }

/* -----------------------------------------------------------------------------
   18h. SECTION-INDEX CARDS (homepage "Where to go" hub)
   ----------------------------------------------------------------------------*/

.path-cards {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.path-cards.path-cards-3 { grid-template-columns: repeat(3, 1fr); }
.path-cards.path-cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1040px) { .path-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1040px) {
  .path-cards.path-cards-3,
  .path-cards.path-cards-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .path-cards,
  .path-cards.path-cards-3,
  .path-cards.path-cards-2 { grid-template-columns: 1fr; }
}
.path-cards > li {
  border-right: var(--rule-w) solid var(--rule);
}
.path-cards > li:last-child { border-right: 0; }
.path-cards.path-cards-3 > li:nth-child(3),
.path-cards.path-cards-2 > li:nth-child(2) { border-right: 0; }
@media (max-width: 1040px) and (min-width: 761px) {
  .path-cards > li:nth-child(2n) { border-right: 0; }
  .path-cards > li:nth-child(-n + 2) { border-bottom: var(--rule-w) solid var(--rule); }
  .path-cards.path-cards-3 > li:nth-child(2n) { border-right: 0; }
  .path-cards.path-cards-3 > li:nth-child(3) {
    border-right: var(--rule-w) solid var(--rule);
    border-bottom: 0;
  }
  .path-cards.path-cards-2 > li { border-bottom: 0; }
}
@media (max-width: 760px) {
  .path-cards > li { border-right: 0; border-bottom: var(--rule-w) solid var(--rule); }
  .path-cards > li:last-child { border-bottom: 0; }
}
.path-card {
  display: block;
  padding: 1.4rem 1.4rem 1.6rem;
  color: inherit;
  border-bottom: 0;
  transition: background 160ms ease;
}
.path-card:hover { background: var(--bg-2); }
.path-card .eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.path-card .title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.path-card .sub {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}
.path-card .go {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.path-card:hover .go { color: var(--accent); }

/* -----------------------------------------------------------------------------
   18i. HOMEPAGE PRODUCT MOCK SECTIONS
   ----------------------------------------------------------------------------*/

.market-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.85fr);
  gap: clamp(1.4rem, 3vw, 2.2rem);
  align-items: stretch;
  margin-top: 1.25rem;
}
.market-focus-main,
.market-focus-side,
.regulatory-panel,
.alpha-strip {
  border: var(--rule-w) solid var(--rule);
  background: var(--bg);
}
.market-focus-main {
  padding: clamp(1.4rem, 3vw, 2rem);
}
.market-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}
.market-rail span {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  color: var(--ink);
  background: var(--bg-2);
  border: var(--rule-w) solid var(--rule);
  padding: 0.55rem 0.65rem;
}
.market-focus-main .lede {
  margin-bottom: 1.6rem;
  max-width: 62ch;
}
.market-focus-side {
  padding: 1.2rem;
  background: var(--bg-2);
}
.market-focus-side p {
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.market-focus-side dl {
  margin: 1.1rem 0 0;
  border-top: var(--rule-w) solid var(--rule);
}
.market-focus-side dl > div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: var(--rule-w) solid var(--rule);
}
.market-focus-side dt,
.market-focus-side dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
}
.market-focus-side dt {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.market-focus-side dd { color: var(--ink-2); }

.regulatory-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.regulatory-panel h2 {
  margin-bottom: 1rem;
}
.regulatory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: var(--rule-w) solid var(--rule);
  border-left: var(--rule-w) solid var(--rule);
}
.regulatory-grid > div {
  min-height: 9.5rem;
  padding: 1.1rem;
  border-right: var(--rule-w) solid var(--rule);
  border-bottom: var(--rule-w) solid var(--rule);
}
.regulatory-grid span,
.alpha-strip .eyebrow {
  font-family: var(--font-sans);
}
.regulatory-grid span {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.regulatory-grid p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--ink-2);
}

.alpha-strip {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) minmax(0, 1.3fr) auto;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: center;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: color-mix(in srgb, var(--accent) 4%, var(--bg));
}
.alpha-strip h2 {
  margin: 0;
}
.alpha-strip p {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .market-focus,
  .regulatory-panel,
  .alpha-strip {
    grid-template-columns: 1fr;
  }
  .alpha-strip {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .regulatory-grid {
    grid-template-columns: 1fr;
  }
  .regulatory-grid > div {
    min-height: auto;
  }
}

/* -----------------------------------------------------------------------------
   19. MISC
   ----------------------------------------------------------------------------*/

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--rule-strong); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-2); }

@media print {
  .nav, .footer, .form, .button, .nav-cta { display: none !important; }
  body { background: #fff; color: #000; }
  a { border-bottom: 0; color: #000; }
}
