/* ═══════════════════════════════════════════════════════════════════════════
   Onchain Bureau — umbrella design system

   Used by the new multi-page site (home, the two product pages, the three
   service pages). The older pages (install / search / activate / legal) still
   load terminal.css; they migrate page-by-page, not in one sweep.

   BRAND RULE ("The Desk") — ONE accent at the parent, cyan. It is the hue the
   live onchainbureau.com already uses. Green is DEMOTED to semantic-only (up /
   verified / live); it is no longer a second brand colour, because expressing
   the two-engine duality chromatically *inside a sentence* is the single thing
   that made the old homepage read as generic crypto SaaS. The duality is now
   carried structurally — two labelled walls, two canvases — not by two hues.

   .t-trade / .t-grow still exist and still swap --accent, but they belong on
   the PRODUCT pages only: those are the one place a hue runs at full strength.

   Red is SEMANTIC ONLY (loss/failure), amber is value/rewards only, green is
   up/verified/live only. Never decorative, never a button, never a heading.
   Chromatic budget: under 5% of any screen, at most 3 accent-coloured elements.
   Structure is drawn with 1px hairlines at 9%, never with blur gradients.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* #0A0A0B, not pure #000 — black causes halation against ivory text. */
  --void: #0a0a0b;
  --panel: #101012;
  --panel-2: #0d0d0f;
  --raise: rgba(255, 255, 255, 0.03);
  --raise-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --ink: #f4f5f6;
  --dim: #a8acb3; /* 9.1:1 */
  --faint: #8b9098; /* 5.2:1 — was #61656c at 3.59:1, which failed WCAG AA */

  /* ONE accent at the parent. */
  --accent: #22d3ee;
  --accent-deep: #14b8ce;
  --accent-ink: #04181d;
  --accent-soft: rgba(34, 211, 238, 0.14);

  --trade: #22d3ee;
  --grow: #4ade80;
  --up: #4ade80; /* up / verified / live ONLY */
  --down: #f74551; /* down / rejected / failed ONLY */
  --value: #fbbf24; /* reward / notional value ONLY */

  /* Inter + JetBrains Mono are already linked in every page head. */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* SCALE — h1 drops from clamp(40,6.4vw,70)/w600 to a lighter, tighter grotesk. */
  --h1: clamp(38px, 4.4vw, 54px);
  --h2: clamp(26px, 2.6vw, 34px);
  --h3: 18px;
  --body: 16px;
  --sub: 17px;
  --data: 13px;
  --label: 11px;

  /* SHAPE — the pill is retired except on status dots and the LIVE chip. */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --pill: 100px;

  /* DENSITY */
  --sec: 72px;
  --sec-tight: 44px;
  --pad: 20px;
  --maxw: 1200px;
}

/* Numbers are tabular everywhere. Magnitude must be comparable down a column. */
.num,
.price,
td,
th,
.stat b,
.quotes b {
  font-variant-numeric: tabular-nums lining-nums;
}

.t-trade {
  --accent: var(--trade);
  --accent-ink: #032027;
  --accent-soft: rgba(34, 211, 238, 0.16);
}
.t-grow {
  --accent: var(--grow);
  --accent-ink: #04140b;
  --accent-soft: rgba(74, 222, 128, 0.16);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: normal;
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 1.14;
}
h2 {
  font-size: clamp(27px, 3.9vw, 44px);
  line-height: 1.17;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
}
h4 {
  font-size: 15px;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
.sub {
  color: var(--dim);
  font-size: clamp(15px, 1.5vw, 17.5px);
  max-width: 62ch;
}
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.mono {
  font-family: var(--mono);
}
.acc {
  color: var(--accent);
}
.up {
  color: var(--grow);
}
.dn {
  color: var(--down);
}
.vl {
  color: var(--value);
}
.faint {
  color: var(--faint);
}
.dim {
  color: var(--dim);
}
/* the two product hues, usable inline in parent-brand copy */
.c-trade {
  color: var(--trade);
}
.c-grow {
  color: var(--grow);
}

/* Chart canvases MUST carry an explicit CSS width. Without one the intrinsic
   `width` attribute drives layout, so a canvas first measured inside a hidden
   container gets pinned to 1px and can never recover. */
canvas.chart {
  display: block;
  width: 100%;
}
canvas.diagram {
  display: block;
  width: 100%;
  height: 230px;
}
.vis-flush {
  padding: 0 !important;
}

.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--dim);
  font-size: 12.5px;
}

/* Panels are drawn with a 1px hairline, not a gradient border and not a 24px
   radius. "Structure by hairline, never by blur" is the rule that separates a
   trading surface from a marketing page — and the gradient-edge treatment was
   another stock crypto-SaaS component. Kept as .edge so no markup changes. */
.edge {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
}

/* ── nav ──
   A flat, full-bleed 56px bar with a single hairline underneath. The floating
   translucent pill it replaced is the most-copied component in crypto SaaS and
   was the loudest "generic" tell on the page; every firm we benchmarked
   (Wintermute, GSR, Keyrock, Flowdesk) uses a flat bar. Vertical space here is
   spent on content, not chrome. */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  margin: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 max(24px, calc((100vw - var(--maxw)) / 2 + 24px));
  border-radius: 0;
  background: rgba(10, 10, 11, 0.86);
  border: 0;
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
}
.brand i {
  font-style: normal;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 6px;
  margin: 0 auto;
  align-items: center;
}
.nav-links > a {
  color: var(--dim);
  text-decoration: none;
  font-size: 14.5px;
  padding: 6px 10px;
  border-radius: 8px;
}
.nav-links > a:hover {
  color: var(--ink);
  background: var(--raise);
}

/* dropdown — CSS-only via :hover + :focus-within, no JS to desync */
.drop {
  position: relative;
}
.drop > button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--dim);
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 6px 10px;
  border-radius: 8px;
}
.drop > button:hover {
  color: var(--ink);
  background: var(--raise);
}
.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 268px;
  padding: 7px;
  border-radius: 16px;
  background: rgba(16, 16, 18, 0.97);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drop:hover .drop-menu,
.drop:focus-within .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.drop-menu a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dim);
}
.drop-menu a:hover {
  background: var(--raise-2);
  color: var(--ink);
}
.drop-menu .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 7px;
  flex: none;
  background: var(--faint);
}
.drop-menu .dot.trade {
  background: var(--trade);
}
.drop-menu .dot.grow {
  background: var(--grow);
}
.drop-menu b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.drop-menu span {
  display: block;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.4;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--dim);
  border-radius: 10px;
  padding: 6px 11px;
  cursor: pointer;
  font-size: 15px;
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  /* Squared, not pilled. The pill button is the other half of the generic
     crypto-SaaS signature (see the nav note above); none of the firms in this
     category use one. */
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}
.btn.solid {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn.solid:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.btn.ghost {
  background: var(--raise);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn.ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn.sm {
  padding: 8px 18px;
  font-size: 13.5px;
}
.btn.full {
  width: 100%;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── hero ── */
/* overflow:hidden clips the oversized aurora — body{overflow-x:hidden} alone
   does not stop it growing the document's scrollWidth on narrow viewports. */
/* The inner-page hero adopts the same left-aligned Desk grammar as .hero-desk,
   so the seven pages that still use it re-grammar without touching their markup.
   Centre-stacked hero + blurred aurora is the stock crypto-SaaS opening; none of
   the firms in this category use either. */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0 clamp(32px, 5vw, 56px);
  text-align: left;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero .inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  font-size: var(--h1);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.hero .sub {
  max-width: 58ch;
}
/* .center is still on this markup from the old grammar — neutralise it. */
.hero .center {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.hero .eyebrow {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  font-family: var(--mono);
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
/* Aurora retired. It was a 1500px blurred gradient that also pushed the
   document 14px wider than a 390px viewport (horizontal scroll on mobile) and
   forced a 52px blur composite on every paint. Structure by hairline. */
.aurora {
  display: none;
}
/* the umbrella hero blends both product hues — you see the two halves before you scroll */
.aurora.duo {
  background:
    radial-gradient(30% 30% at 36% 46%, rgba(34, 211, 238, 0.22), transparent 70%),
    radial-gradient(30% 30% at 64% 46%, rgba(74, 222, 128, 0.22), transparent 70%),
    radial-gradient(40% 34% at 50% 62%, rgba(255, 255, 255, 0.05), transparent 74%);
}
.aurora.mono-glow {
  background:
    radial-gradient(38% 34% at 50% 46%, var(--accent-soft), transparent 70%),
    radial-gradient(46% 40% at 50% 70%, rgba(255, 255, 255, 0.04), transparent 75%);
}
.fade-txt {
  background: linear-gradient(180deg, #fff 26%, #82868c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-row {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 4px 12px;
}

section {
  padding: 96px 0;
  position: relative;
}
section.tight {
  padding: 56px 0;
}
/* Section heads are LEFT-aligned and label-led. Centred eyebrow-pill + centred
   display heading is the stock SaaS section grammar; every firm in this
   category left-aligns and leads with a small mono label instead. Changing it
   here re-grammars every section on every page at once. */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  margin-bottom: 36px;
}
.sec-head h2 {
  font-size: var(--h2);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.sec-head .sub {
  margin-left: 0;
  margin-right: 0;
  max-width: 58ch;
}
/* The markup carries .center on these subheads from the old centred grammar;
   neutralise it here rather than editing the same line on seven pages. */
.sec-head .center {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
/* The eyebrow becomes the mono label the rest of the page uses. */
.sec-head .eyebrow {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  font-family: var(--mono);
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── reveal ── */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* ── stats ── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.stat {
  background: #030303;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stat b {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span {
  color: var(--faint);
  font-size: 12.5px;
}

/* ── cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.cards.two {
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}
.card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card .vis {
  border-radius: 15px;
  background: linear-gradient(180deg, #0c0c10, #050508);
  border: 1px solid var(--line);
  padding: 16px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  overflow: hidden;
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.card h3 em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--pill);
  padding: 2px 9px;
  opacity: 0.85;
}
.card p {
  color: var(--dim);
  font-size: 14.5px;
}
.card .price {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
}
.card .price b {
  color: var(--ink);
  font-weight: 600;
}
.card-cta {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

/* list primitives used inside card visuals */
.bar {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}
.bar .track {
  flex: 1 1 auto;
  height: 6px;
  border-radius: var(--pill);
  background: var(--raise-2);
  overflow: hidden;
}
.bar .track i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: var(--pill);
}
.bar .track i.v {
  background: var(--value);
}
.tick {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
}
.tick .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.tick .t {
  color: var(--dim);
  flex: 1 1 auto;
  min-width: 0;
}
.tick .n {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  color: var(--faint);
}

.book {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--mono);
  font-size: 11px;
}
.book div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.book .ask {
  color: var(--down);
}
.book .bid {
  color: var(--grow);
}
.book .ask::before,
.book .bid::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 30%);
  opacity: 0.13;
}
.book .ask::before {
  background: var(--down);
}
.book .bid::before {
  background: var(--grow);
}
.book .mid {
  color: var(--dim);
  justify-content: center;
  letter-spacing: 0.09em;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 3px 0;
}
.book span {
  position: relative;
}

/* ── split rows (engine panels) ── */
.split-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 26px;
  align-items: center;
}
.split-row.flip > .txt {
  order: 2;
}
.txt {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.txt h2 {
  font-size: clamp(24px, 3vw, 34px);
}

/* ── tables ── */
/* min-width:0 is required: as a grid/flex child the default min-width:auto
   refuses to shrink below the table's min-width, blowing out the whole row. */
.tblwrap {
  overflow-x: auto;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 460px;
}
th,
td {
  text-align: left;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
}
th {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
}
td.n {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
tr:last-child td {
  border-bottom: 0;
}

/* ── steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.step {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.step .k {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}
.step p {
  color: var(--dim);
  font-size: 14px;
}

/* ── numbered policy list (legal pages) ── */
.numlist {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 16px;
}
.numlist .stp {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.numlist .stp > .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  flex: none;
  min-width: 20px;
  padding-top: 4px;
}
.numlist .h {
  color: var(--ink);
  font-weight: 600;
}
.numlist a {
  color: var(--accent);
}

.legal-toc {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 4px;
}
.legal-toc a {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  padding: 4px 13px;
}
.legal-toc a:hover {
  border-color: var(--accent);
}
.legal-sec {
  scroll-margin-top: 90px;
}
.legal-sec + .legal-sec {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* ── marquee ── */
.marq {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.marq-in {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: ocbslide 36s linear infinite;
}
.marq span {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
@keyframes ocbslide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── final CTA ──
   Left-aligned, hairline-topped, and no blurred radial. 106/116px of padding
   around a centred stack was a fifth of the page height spent on a sign-off. */
.final {
  text-align: left;
  position: relative;
  overflow: hidden;
  padding: var(--sec) 0;
  border-top: 1px solid var(--line);
}
.final .inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.final h2 {
  font-size: var(--h2);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.final .center {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* ── footer ── */
footer {
  padding: 52px 0 72px;
  border-top: 1px solid var(--line);
}
.fcols {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.fcol h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin-bottom: 12px;
}
.fcol ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fcol a {
  color: var(--dim);
  text-decoration: none;
  font-size: 13.5px;
}
.fcol a:hover {
  color: var(--ink);
}
.fbrand p {
  color: var(--faint);
  font-size: 13px;
  margin-top: 10px;
  max-width: 34ch;
}
.fbot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12.5px;
}

@media (max-width: 900px) {
  .split-row {
    grid-template-columns: 1fr;
  }
  .split-row.flip > .txt {
    order: 0;
  }
  .fcols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .nav {
    padding-right: 12px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: rgba(16, 16, 18, 0.98);
    border: 1px solid var(--line-2);
    border-radius: 18px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    border: 0;
    min-width: 0;
    padding: 0 0 0 10px;
  }
  .drop > button {
    width: 100%;
    justify-content: space-between;
  }
  .fcols {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marq-in {
    animation: none;
  }
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   THE DESK — homepage blocks
   Six blocks, one idea each. Structure by hairline, never by gradient.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── hero: asymmetric. h1 left at 2/3, subhead right at optical centre. ── */
.hero-desk {
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 64px);
}
.hero-desk .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.hero-desk h1 {
  margin: 0;
  font-size: var(--h1);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--ink);
}
.hero-desk .sub {
  margin: 0;
  font-size: var(--sub);
  line-height: 1.5;
  color: var(--dim);
  max-width: 54ch;
}
.hero-desk .cta-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-desk .trust {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 860px) {
  .hero-desk .inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ── the live-quote strip: real market data, the one thing expensive to fake ──
   NAME NOTE: this is .quotes, NOT .tick — `.tick` is already the bullet-row
   component below (29 uses across five pages). Naming this block .tick made
   its border-bottom/background win on source order and restyled every one of
   them. Check for an existing selector before adding a component here. */
.quotes {
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.quotes .inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.quotes .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}
.quotes .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--pill);
  background: var(--up);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.14);
}
.quotes .row {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: baseline;
}
.quotes .q {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: var(--data);
}
.quotes .q i {
  font-style: normal;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.quotes .q b {
  font-weight: 500;
  color: var(--ink);
}
.quotes .q s {
  text-decoration: none;
}
.quotes .q s.up {
  color: var(--up);
}
.quotes .q s.down {
  color: var(--down);
}
.quotes .as-of {
  margin-left: auto;
  font-family: var(--mono);
  font-size: var(--label);
  color: var(--faint);
  letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .quotes .as-of {
    margin-left: 0;
    width: 100%;
  }
}

/* ── rate card: nobody else in the category publishes one ── */
.rate {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.rate caption {
  text-align: left;
  font-family: var(--mono);
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 16px;
}
.rate th,
.rate td {
  text-align: left;
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.rate thead th {
  font-family: var(--mono);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom-color: var(--line-2);
}
.rate tbody th {
  font-weight: 400;
  color: var(--ink);
}
.rate td {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--dim);
}
.rate td.lead {
  color: var(--ink);
}
.rate .foot {
  margin-top: 14px;
  font-size: 13px;
  color: var(--faint);
}
@media (max-width: 640px) {
  .rate thead {
    display: none;
  }
  .rate tbody th,
  .rate td {
    display: block;
    padding: 4px 0;
    border: 0;
  }
  .rate tbody tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .rate td::before {
    content: attr(data-l) " ";
    color: var(--faint);
    font-size: var(--label);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

/* ── two labelled walls, real marks — replaces the one mixed ribbon ── */
.walls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.walls > div {
  background: var(--void);
  padding: var(--pad);
}
.walls h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.walls ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.walls li {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 5px 10px;
}
@media (max-width: 720px) {
  .walls {
    grid-template-columns: 1fr;
  }
}

/* ── who we work with ── */
.buyers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.buyers div {
  background: var(--void);
  padding: var(--pad);
  font-size: 15px;
  color: var(--dim);
}
.buyers b {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 5px;
}

/* ── contact form — the site had no lead capture at all ── */
.deskform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.deskform label {
  display: block;
  font-family: var(--mono);
  font-size: var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 7px;
}
.deskform input,
.deskform select,
.deskform textarea {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 11px 13px;
}
.deskform input:focus,
.deskform select:focus,
.deskform textarea:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
  border-color: var(--accent);
}
.deskform .full {
  grid-column: 1 / -1;
}
.deskform .row-end {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.deskform .alt {
  font-size: 13px;
  color: var(--faint);
}
@media (max-width: 640px) {
  .deskform {
    grid-template-columns: 1fr;
  }
}

/* Visually hidden but announced — for table headers that are structurally
   required but visually redundant. */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* section labels + the closing block */
.walls-h {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: var(--label);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.final-h {
  font-size: var(--h2);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.final-sub {
  margin: 12px 0 28px;
}

/* single-column variant of the wall, for pages with only one list */
.walls.one {
  grid-template-columns: 1fr;
}

/* Honeypot. Off-screen rather than display:none — bots commonly skip hidden
   fields but happily fill positioned ones, and screen readers skip it via
   aria-hidden + tabindex=-1 on the wrapper. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
