/* ── Self-hosted brand fonts (IBM Plex, OFL 1.1) ──────────────────────────
   In the stylesheet rather than a per-page <link>: every page already loads
   this file, so the faces cannot go missing on nine of twelve pages the way
   Inter did. Three weights; 700 is deliberately absent. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-600.woff2") format("woff2");
}

/* ════════════════════════════════════════════════════════════
   Onchain Bureau — hybrid (landing structure + terminal skin)
   Clean sans body · monospace accents · phosphor-green · dark.
   ════════════════════════════════════════════════════════════ */
/* RE-SKINNED onto the umbrella palette, 2026-08-22.
   These four pages (install, search, activate, wallet-connect) shipped a
   phosphor-green terminal skin while the other eight ran the cyan "Desk"
   system, so a visitor going /home -> /install changed brand mid-site. /install
   is the conversion page, which made it the worst place for it to happen.

   Every value below is copied VERBATIM from landing/ocb.css so the two agree by
   construction rather than by intention.

   The token NAMES are kept. --grn now holds the brand accent, which is cyan, and
   that reads oddly, but the four pages reference these names from their own
   inline <style> blocks; renaming would mean editing markup in four files to fix
   a comment. --accent is the name new code should use, and --grn is an alias of
   it, so both work and only one value exists. */
:root {
  --bg: #0a0a0b;
  --bg2: #0d0d0f;
  --panel: #101012;
  --bd: rgba(255, 255, 255, 0.09);
  --bd2: rgba(255, 255, 255, 0.16);
  --fg: #f4f5f6;
  --bright: #f4f5f6;
  --dim: #8b9098;
  --soft: #a8acb3;

  /* ONE accent, cyan, as at the parent. #34B4C8 is the desaturated cyan the
     umbrella system settled on. --accent-dim is a darker step of the SAME hue
     (it comes from the validated sequential ramp used by the depth chart), not
     an arbitrary darkening. */
  --accent: #34b4c8;
  --accent-dim: #1d6f7c;
  --accent-ink: #04181d;

  /* Legacy names, aliased. Do not add new uses. */
  --grn: var(--accent);
  --grn-dim: var(--accent-dim);
  --cyan: var(--accent);

  --amb: #fbbf24;
  --red: #f74551;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--grn);
  color: var(--accent-ink);
}
a {
  color: var(--grn);
  text-decoration: none;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}
.center {
  text-align: center;
}
.mono {
  font-family: var(--mono);
}
.grn {
  color: var(--grn);
}
.amb {
  color: var(--amb);
}
.cyan {
  color: var(--cyan);
}
.b {
  color: var(--bright);
}
.muted,
.cmt {
  color: var(--dim);
}
.k {
  font-family: var(--mono);
  color: var(--amb);
  background: #13201a;
  border: 1px solid var(--bd);
  border-radius: 3px;
  padding: 1px 7px;
  font-size: 0.85em;
}

/* ── nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 13, 11, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bd);
}
.nav-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}
/* 600, not 700: only 400/500/600 are self-hosted, so 700 asked the browser
   to synthesise a bold and the wordmark rendered smeared and over-wide. */
.brand {
  white-space: nowrap;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 16px;
  color: var(--bright);
}
.brand svg {
  vertical-align: -3px;
}
/* <code> and friends do not inherit font-family; without this they render in
   the UA default monospace next to IBM Plex Mono everywhere else. Same class of
   omission as button, found the same way: by reading what the browser painted
   rather than what the stylesheet said. */
code,
kbd,
samp,
pre {
  font-family: var(--mono);
}
.nav-links {
  display: flex;
  gap: 20px;
  margin-left: 6px;
}
.nav-links a {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  transition: 0.15s;
  transition-property: color; /* .nav-links a */
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--bright);
}
.nav-cta {
  margin-left: auto;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--bd);
  border-radius: 2px;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 16px;
  cursor: pointer;
  padding: 5px 11px;
  line-height: 1;
}
/* 1080, not 760. The bar carries a wordmark, SEVEN links and a CTA, which needs
   about 1030px of run; below that the row could not fit and the labels broke
   mid-phrase ("On startup" -> "On / startup"). The hamburger nav below already
   existed and was simply never reached at the widths that needed it. */
@media (max-width: 1080px) {
  .nav-in {
    position: relative;
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    order: 2;
  }
  .nav-cta {
    margin-left: 10px;
    order: 3;
  }
  .nav-links {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    margin: 8px -24px -13px;
    border-top: 1px solid var(--bd);
  }
  .nav.open .nav-links {
    display: flex;
  }
  .nav-links a {
    padding: 13px 24px;
    border-bottom: 1px solid var(--bd);
  }
}

/* ── buttons (mono accent) ── */
.btn-t {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 2px;
  padding: 10px 17px;
  transition: 0.13s;
  transition-property: color, background-color, border-color; /* .btn-t */
  border: 1px solid var(--grn);
  color: var(--grn);
  background: transparent;
}
.btn-t:hover {
  background: var(--grn);
  color: var(--accent-ink);
}
.btn-t.solid {
  background: var(--grn);
  color: var(--accent-ink);
}
.btn-t.solid:hover {
  background: #37bed3;
}
.btn-t.ghost {
  border-color: var(--bd2);
  color: var(--fg);
}
.btn-t.ghost:hover {
  background: var(--bd);
  color: var(--bright);
}
.btn-t.sm {
  padding: 7px 13px;
  font-size: 12.5px;
}
.btn-t.lg {
  padding: 13px 22px;
  font-size: 15px;
}

/* ── typography blocks ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--grn);
  letter-spacing: 0.03em;
  margin-bottom: 13px;
}
h1 {
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--bright);
  font-weight: 700;
}
h2 {
  font-size: clamp(22px, 3.2vw, 31px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--bright);
  font-weight: 650;
}
h3 {
  font-size: 16px;
  color: var(--bright);
  font-weight: 600;
}
.lead {
  font-size: 18px;
  color: var(--soft);
  margin-top: 18px;
  max-width: 560px;
  line-height: 1.6;
}
.sub {
  font-size: 16px;
  color: var(--soft);
  margin-top: 8px;
  max-width: 640px;
  line-height: 1.55;
}
.center .sub {
  margin-left: auto;
  margin-right: auto;
}

/* ── sections ── */
.section {
  padding: 58px 0;
  border-top: 1px solid var(--bd);
}
.section.alt {
  background: var(--bg2);
}
.sec-head {
  margin-bottom: 24px;
}

/* ── hero ── */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bd);
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(52, 180, 200, 0.13), transparent 72%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 22px 56px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 46px;
  align-items: center;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.trust .t {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: 5px 11px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.trust .t::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grn);
}
@media (max-width: 820px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ── stats ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 20px 16px;
  text-align: center;
}
.stat .n {
  font-family: var(--mono);
  font-size: clamp(26px, 4vw, 36px);
  color: var(--grn);
  font-weight: 700;
  line-height: 1;
}
.stat .l {
  font-size: 13px;
  color: var(--dim);
  margin-top: 8px;
  line-height: 1.35;
}
@media (max-width: 620px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── card grid ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 20px;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.card:hover {
  border-color: var(--bd2);
  transform: translateY(-3px);
}
.card .tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grn);
  margin-bottom: 9px;
}
.card h3 {
  margin-bottom: 6px;
}
.card p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
}
.card.invite {
  border-style: dashed;
  border-color: var(--grn-dim);
}

/* ── numbered steps (mono accent, sans copy) ── */
.steps-t {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stp {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 16px 18px;
}
.stp .n {
  font-family: var(--mono);
  color: var(--grn);
  white-space: nowrap;
  font-weight: 700;
}
.stp .h {
  color: var(--bright);
  font-weight: 600;
}
.stp .d {
  color: var(--dim);
}
.stp .o {
  color: var(--amb);
  font-family: var(--mono);
  font-size: 13px;
  margin-top: 6px;
}
@media (max-width: 560px) {
  .stp {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ── key→value table (mono) ── */
.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 22px;
  font-family: var(--mono);
  font-size: 14px;
}
.kv dt {
  color: var(--dim);
}
.kv dd {
  color: var(--fg);
}
.kv dd b {
  color: var(--grn);
}
@media (max-width: 560px) {
  .kv {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .kv dt {
    margin-top: 8px;
  }
}

/* ── terminal-window widget (dashboard / log) ── */
/* Replaced .win / .win-bar / .dots / .win-title — a fake macOS title bar with
   three traffic-light dots wrapped around a real permissions list. Structure is
   drawn with a hairline and a surface step, never with blur. */
.permsbox {
  border: 1px solid var(--bd2);
  border-radius: 4px;
  background: #0d0d0f;
  overflow: hidden;
}
.permsbox > h3 {
  margin: 0;
  padding: 10px 14px;
  background: #0e120f;
  border-bottom: 1px solid var(--bd);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── demo log ── */
.demo-box {
  border: 1px solid var(--bd);
  border-radius: 4px;
  background: #0d0d0f;
  font-family: var(--mono);
  font-size: 13px;
}
.demo-box .hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--bd);
  color: var(--dim);
}
#demo-log {
  padding: 12px 14px;
  min-height: 46px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#demo-log div {
  white-space: pre-wrap;
}

/* ── before/after diff ── */
.diff {
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13.5px;
}
.diff .dh {
  padding: 9px 14px;
  background: var(--bg2);
  border-bottom: 1px solid var(--bd);
  color: var(--dim);
}
.diff .dh .minus {
  color: var(--red);
}
.diff .dh .plus {
  color: var(--grn);
}
.diff .dl {
  padding: 6px 14px;
  white-space: pre-wrap;
}
.diff .dl.del {
  color: #e6a09c;
  background: rgba(255, 123, 114, 0.05);
}
.diff .dl.del::before {
  content: "- ";
  color: var(--red);
}
.diff .dl.add {
  color: #37bed3;
  background: rgba(52, 180, 200, 0.05);
}
.diff .dl.add::before {
  content: "+ ";
  color: var(--grn);
}
.diff .sep {
  height: 1px;
  background: var(--bd);
}

/* ── build-play ── */
.pb-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}
.pb-row .lab {
  font-family: var(--mono);
  color: var(--dim);
  min-width: 92px;
  font-size: 13px;
}
.opt {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--bd);
  border-radius: 2px;
  padding: 7px 12px;
  transition: 0.12s;
  transition-property: color, background-color, border-color; /* .opt */
}
.opt:hover {
  border-color: var(--grn-dim);
}
.opt.on {
  background: rgba(52, 180, 200, 0.13);
  border-color: var(--grn);
  color: var(--bright);
}
.pb-out .box {
  border: 1px solid var(--grn-dim);
  border-radius: 4px;
  background: #0a120c;
  padding: 18px 20px;
}
.pb-out .pname {
  font-family: var(--mono);
  color: var(--grn);
  font-weight: 700;
}
.pb-out ol {
  margin: 12px 0 0;
  padding-left: 20px;
}
.pb-out li {
  color: var(--fg);
  font-size: 14.5px;
  padding: 3px 0;
}
.pb-out .cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── faq ── */
.faqs {
  max-width: 840px;
}
.q {
  cursor: pointer;
  color: var(--bright);
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--bd);
  display: flex;
  gap: 11px;
  align-items: center;
}
.q::before {
  content: "▸";
  color: var(--grn);
  transition: 0.15s;
  transition-property: color; /* .q::before */
  font-size: 13px;
}
.q.open::before {
  content: "▾";
}
.a {
  display: none;
  color: var(--soft);
  padding: 2px 0 16px 19px;
  border-bottom: 1px solid var(--bd);
  font-size: 15px;
  line-height: 1.6;
}
.a.open {
  display: block;
}

/* ── floating telegram CTA ── */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--grn);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 999px;
  padding: 11px 17px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  transition-property: transform, opacity; /* .fab */
}
.fab.show {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.fab:hover {
  background: #37bed3;
}
.fab svg {
  width: 17px;
  height: 17px;
}
@media (max-width: 520px) {
  .fab .lbl {
    display: none;
  }
  .fab {
    padding: 13px;
  }
}

/* ── reveal + confetti ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  z-index: 60;
  pointer-events: none;
  border-radius: 2px;
}

/* ── client logos ── */
.clients {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.clients .clab {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.clients .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.clogo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 11px 18px;
  color: var(--bright);
  font-weight: 600;
  background: var(--panel);
  transition: 0.15s;
  transition-property: color, background-color, border-color; /* .clogo */
  font-size: 15px;
}
.clogo:hover {
  border-color: var(--grn-dim);
}
.clogo .d {
  color: var(--grn);
}

/* ── vs-alternatives compare ── */
.card .tag.dim {
  color: var(--dim);
}
.card.best {
  border-color: var(--grn-dim);
  box-shadow: 0 0 0 1px var(--grn-dim) inset;
}

/* Available to a screen reader, absent from the page. For controls whose
   purpose is obvious to a sighted reader from context but which still need an
   accessible name. */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── focus visibility (a11y) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.file:focus-visible,
.opt:focus-visible {
  outline: 2px solid var(--grn);
  outline-offset: 2px;
  border-radius: 5px;
}

/* ── real footer ── */
.site-footer {
  background: #0d0d0f;
  border-top: 1px solid var(--bd);
  padding: 42px 0 26px;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 26px;
}
.site-footer .fbrand {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--bright);
  margin-bottom: 9px;
}
.site-footer .fbrand svg {
  vertical-align: -3px;
}
.site-footer p {
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 340px;
}
.site-footer h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 11px;
}
.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.site-footer .fcol a {
  color: var(--soft);
  font-size: 14px;
}
.site-footer .fcol a:hover {
  color: var(--grn);
}
.site-footer .legal {
  max-width: none;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--bd);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--dim);
  font-size: 12px;
  font-family: var(--mono);
}
@media (max-width: 640px) {
  .site-footer .cols {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ════════════════ visual overhaul components ════════════════ */

/* hero grid texture */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(52, 180, 200, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 180, 200, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask: radial-gradient(680px 360px at 50% 22%, #000, transparent 76%);
  mask: radial-gradient(680px 360px at 50% 22%, #000, transparent 76%);
}

/* marquee */
.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marq 30s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}
.marquee .m {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.marquee .m .dot {
  color: var(--grn);
}

/* engine diagram */
.engine-wrap {
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(700px 280px at 50% 0, rgba(52, 180, 200, 0.07), transparent), var(--panel);
}
.engine-wrap .ehead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bd);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}
.engine {
  padding: 18px;
}
.engine svg {
  width: 100%;
  height: auto;
  display: block;
}
.engine .wire {
  fill: none;
  stroke: var(--grn);
  stroke-width: 1.4;
  stroke-dasharray: 5 11;
  opacity: 0.7;
  animation: flow 1.1s linear infinite;
}
@keyframes flow {
  to {
    stroke-dashoffset: -16;
  }
}
.engine .nrect {
  fill: #0c100d;
  stroke: var(--bd2);
  stroke-width: 1.2;
}
.engine .ncore {
  fill: #0a140d;
  stroke: var(--grn);
  stroke-width: 1.4;
}
.engine .nt {
  fill: var(--fg);
  font-family: var(--mono);
  font-size: 12px;
}
.engine .nt.c {
  fill: var(--grn);
  font-weight: 700;
}
.engine .ndot {
  fill: var(--grn);
  animation: nodepulse 2.6s ease-in-out infinite;
}
@keyframes nodepulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
.engine-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}
.engine-legend b {
  color: var(--grn);
  font-weight: 600;
}

/* alternating feature rows */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  padding: 54px 0;
  border-top: 1px solid var(--bd);
}
.feature h2 {
  font-size: clamp(21px, 2.8vw, 29px);
}
.feature .lead {
  font-size: 17px;
  margin-top: 13px;
  max-width: none;
}
.fpoints {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fpoints li {
  padding-left: 22px;
  position: relative;
  color: var(--soft);
  font-size: 14.5px;
}
.fpoints li::before {
  content: "›";
  position: absolute;
  left: 2px;
  color: var(--grn);
  font-family: var(--mono);
}
.fvis {
  min-width: 0;
}
.feature.rev .ftext {
  order: 2;
}
.feature.rev .fvis {
  order: 1;
}
@media (max-width: 820px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .feature.rev .ftext {
    order: 1;
  }
  .feature.rev .fvis {
    order: 2;
  }
}

/* mini widgets used inside feature visuals */
.mini {
  border: 1px solid var(--bd);
  border-radius: 4px;
  background: #0d0d0f;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
}
.mini .mh {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--bd);
  color: var(--dim);
}
.mini .mb {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
}
.mrow .tag {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--grn);
  border: 1px solid var(--grn-dim);
  border-radius: 999px;
  padding: 1px 8px;
}
.mrow .sig {
  color: var(--amb);
}
.approve {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.approve .ok {
  color: var(--accent-ink);
  background: var(--grn);
  border-radius: 2px;
  padding: 5px 12px;
  font-weight: 700;
}
.approve .ed {
  color: var(--fg);
  border: 1px solid var(--bd2);
  border-radius: 2px;
  padding: 5px 12px;
}
.crmrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--bd);
}
.crmrow:first-child {
  border-top: none;
}
.crmrow .av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bd2);
  flex: none;
}
.crmrow .nm {
  color: var(--bright);
}
.crmrow .sc {
  margin-left: auto;
  color: var(--grn);
}

/* statement band */
.statement {
  padding: 62px 0;
  border-top: 1px solid var(--bd);
  text-align: center;
}
.statement p {
  font-size: clamp(23px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--bright);
  max-width: 920px;
  margin: 0 auto;
}
.statement .grn {
  color: var(--grn);
}

/* timeline */
.timeline {
  position: relative;
  margin-top: 6px;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--grn), var(--grn-dim) 60%, var(--bd));
}
.tline {
  position: relative;
  padding: 0 0 24px;
}
.tline:last-child {
  padding-bottom: 0;
}
.tline::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--grn);
}
.tline .tday {
  font-family: var(--mono);
  color: var(--grn);
  font-size: 13px;
  font-weight: 700;
}
.tline .th {
  color: var(--bright);
  font-weight: 600;
  margin: 2px 0;
}
.tline .td {
  color: var(--soft);
  font-size: 14px;
}
.tline .to {
  font-family: var(--mono);
  color: var(--amb);
  font-size: 12.5px;
  margin-top: 5px;
}

/* big final CTA */
.cta-big {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--bd);
  padding: 74px 0;
  text-align: center;
  background: radial-gradient(700px 300px at 50% 120%, rgba(52, 180, 200, 0.12), transparent);
}
.cta-big h2 {
  font-size: clamp(28px, 5vw, 46px);
}

/* ════════════════ discovery stepper (funnel + homepage demo) ════════════════
   A vertical progress list whose rows advance pending → working → done.
   Used live in search.html (driven by /api/search poll data) and as a
   self-contained looping demo in the homepage hero. */
.stepper {
  list-style: none;
  margin: 0;
  padding: 8px 6px;
  border: 1px solid var(--bd2);
  border-radius: 4px;
  background: #0d0d0f;
  font-family: var(--mono);
}
.demo-pad {
  padding: 16px;
}
.demo-pad .stepper {
  border: none;
  background: transparent;
  padding: 0;
}
.step {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 4px;
  transition: background 0.25s;
}
.step + .step {
  margin-top: 2px;
}
.step .step-ico {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}
.step .step-ico::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--bd2);
  box-sizing: border-box;
}
.step .step-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.step .step-label {
  font-size: 13.5px;
  color: var(--dim);
  font-weight: 500;
  transition: color 0.25s;
}
.step .step-task {
  font-size: 11.5px;
  color: var(--amb);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.25s ease,
    opacity 0.25s ease;
}
.step .step-check {
  font-size: 13.5px;
  color: transparent;
  justify-self: end;
  line-height: 1;
}
/* working — spinner ring + shimmering label + visible micro-task */
.step[data-state="working"] {
  background: rgba(52, 180, 200, 0.05);
}
.step[data-state="working"] .step-ico::before {
  border-color: var(--grn-dim);
  border-top-color: var(--grn);
  animation: spin 0.7s linear infinite;
}
/* Was a 3-stop gradient swept across the text via background-clip. Gradients are
   out, and clipping a gradient to text also drops the label out of forced-colors
   mode entirely. An opacity pulse says "working" without either problem. */
.step[data-state="working"] .step-label {
  color: var(--bright);
  animation: label-pulse 1.9s ease-in-out infinite;
}
.step[data-state="working"] .step-task {
  max-height: 18px;
  opacity: 1;
}
/* done — solid green dot + popped check */
.step[data-state="done"] .step-ico::before {
  border-color: var(--grn);
  background: var(--grn);
  animation: none;
}
.step[data-state="done"] .step-label {
  color: var(--soft);
}
.step[data-state="done"] .step-check {
  color: var(--grn);
  animation: popcheck 0.3s ease;
}
/* error — red ring + red mark */
.step[data-state="error"] .step-ico::before {
  border-color: var(--red);
  background: transparent;
  animation: none;
}
.step[data-state="error"] .step-label {
  color: var(--red);
}
.step[data-state="error"] .step-check {
  color: var(--red);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes label-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
@keyframes popcheck {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .frow.frow-new {
    animation: none;
  }
  .engine .wire,
  .engine .ndot,
  .marquee-track {
    animation: none;
  }
  .step[data-state="working"] .step-ico::before,
  .step[data-state="done"] .step-check {
    animation: none;
  }
  .step[data-state="working"] .step-label {
    animation: none;
    -webkit-text-fill-color: var(--bright);
    color: var(--bright);
  }
}

/* ════════════════ persona selector (who-are-you morph) ════════════════
   A 3-card segmented control that reshapes the page client-side. Default (no
   data-persona on <body>) shows everything; choosing a persona hides any
   [data-show] block that doesn't list it. Hero variants are special: hidden by
   default, the matching one shown per persona; the blended default-hero shows
   only when no persona is active. Deep-linkable via ?as=earn|community|services. */
.persona-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
  max-width: 580px;
}
@media (max-width: 520px) {
  .persona-pick {
    grid-template-columns: 1fr;
  }
}
.ppick {
  text-align: left;
  cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--bd);
  border-radius: 4px;
  padding: 12px 14px;
  transition: 0.14s;
  transition-property: background-color, border-color; /* .ppick */
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: inherit;
}
.ppick:hover {
  border-color: var(--bd2);
  transform: translateY(-2px);
}
.ppick .ppick-ico {
  font-size: 18px;
  line-height: 1;
}
.ppick b {
  color: var(--bright);
  font-size: 13.5px;
}
.ppick .ppick-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--dim);
  line-height: 1.3;
}
.ppick[aria-selected="true"] {
  border-color: var(--grn);
  background: #0e1712;
  box-shadow: 0 0 0 1px var(--grn-dim) inset;
}
.ppick[aria-selected="true"] b {
  color: var(--grn);
}

.hero-variant {
  display: none;
}
body[data-persona] [data-hero-default] {
  display: none;
}
body[data-persona="earn"] .hero-variant[data-show~="earn"],
body[data-persona="community"] .hero-variant[data-show~="community"],
body[data-persona="services"] .hero-variant[data-show~="services"] {
  display: block;
}
body[data-persona="earn"] [data-show]:not([data-show~="earn"]),
body[data-persona="community"] [data-show]:not([data-show~="community"]),
body[data-persona="services"] [data-show]:not([data-show~="services"]) {
  display: none;
}
.persona-swap {
  animation: catin 0.22s ease;
}

/* "coming soon" badge — honest treatment for designed-but-not-functional features */
.soon {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--amb);
  border: 1px solid #5a4a16;
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
  white-space: nowrap;
}

/* passport mini-card (earn hero + earn page) */
.pp-card {
  border: 1px solid var(--grn-dim);
  border-radius: 4px;
  background:
    radial-gradient(520px 200px at 0 0, rgba(52, 180, 200, 0.08), transparent), var(--panel);
  padding: 18px 20px;
  font-family: var(--mono);
}
.pp-card .pp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dim);
  font-size: 11.5px;
}
.pp-card .pp-top .pp-id {
  color: var(--grn);
}
.pp-card .pp-score {
  font-size: 30px;
  color: var(--grn);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 10px;
}
.pp-card .pp-lvl {
  color: var(--soft);
  font-size: 12.5px;
  margin-top: 2px;
}
.pp-card .pp-prog {
  height: 7px;
  border-radius: 999px;
  background: var(--bd);
  overflow: hidden;
  margin: 12px 0 4px;
}
.pp-card .pp-prog i {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--grn);
  border-radius: 999px;
}
.pp-card .pp-next {
  color: var(--dim);
  font-size: 11px;
}
.pp-card .pp-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.pp-card .pp-bdg {
  font-size: 10.5px;
  color: var(--soft);
  border: 1px solid var(--bd2);
  border-radius: 999px;
  padding: 2px 9px;
}
.pp-card .pp-bdg.on {
  color: var(--grn);
  border-color: var(--grn-dim);
}

/* reward chips (earn / community sections) */
.rwd {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.rwd .r {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--soft);
  border: 1px solid var(--bd2);
  border-radius: 999px;
  padding: 4px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rwd .r.live {
  color: var(--grn);
  border-color: var(--grn-dim);
}

@media (prefers-reduced-motion: reduce) {
  .persona-swap {
    animation: none;
  }
  .ppick:hover {
    transform: none;
  }
}

/* ════════════════ hero engine pipeline — fork + safety meter ════════════════ */
.safety {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  margin: 8px 12px 0;
}
.safety .bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--bd);
  overflow: hidden;
  max-width: 140px;
}
.safety .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grn);
  border-radius: 999px;
  transition: width 0.7s ease;
}
.safety .ok {
  color: var(--grn);
}
.fork {
  display: flex;
  gap: 8px;
  padding: 12px 12px 4px;
  flex-wrap: wrap;
}
.fork-btn {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--soft);
  background: transparent;
  border: 1px solid var(--bd2);
  border-radius: 4px;
  padding: 9px 12px;
  transition: 0.13s;
  transition-property: color, background-color, border-color; /* .fork-btn */
  flex: 1 1 0;
  min-width: 140px;
  text-align: left;
  line-height: 1.3;
}
.fork-btn:hover {
  border-color: var(--grn-dim);
}
.fork-btn.on {
  background: rgba(52, 180, 200, 0.12);
  border-color: var(--grn);
  color: var(--bright);
}
.fork-btn .fk-sub {
  display: block;
  color: var(--dim);
  font-size: 10px;
  margin-top: 2px;
}
.fork-btn.on .fk-sub {
  color: var(--soft);
}
.fork-panel {
  padding: 4px 12px 14px;
  min-height: 96px;
}
.fork-panel .fp-cap {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 7px;
}

/* interactive automation builder (reuses .pb-row/.opt/.pb-out) */
.builder {
  border: 1px solid var(--bd2);
  border-radius: 4px;
  background: var(--panel);
  padding: 18px 20px;
}
.builder .pb-row .lab {
  min-width: 76px;
}
.builder .opt {
  padding: 6px 11px;
  font-size: 12.5px;
}
.builder .hint {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  margin-top: 4px;
}

/* live CRM-build table */
.crmbuild {
  border: 1px solid var(--bd2);
  border-radius: 4px;
  background: #0d0d0f;
  overflow: hidden;
}
.crmbuild .crm-h {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bd);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}
.crmbuild .crm-h .live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grn);
  box-shadow: 0 0 6px var(--grn);
}
.crmbuild .crm-h .net {
  margin-left: auto;
  color: var(--grn);
}
.crow {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 14px;
  border-top: 1px solid var(--bd);
  font-family: var(--mono);
  font-size: 12.5px;
}
.crow:first-of-type {
  border-top: none;
}
.crow .nm {
  color: var(--bright);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crow .co {
  color: var(--soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crow .chs {
  color: var(--grn);
  font-size: 10.5px;
  white-space: nowrap;
}
.crow .sc {
  color: var(--amb);
  font-size: 10.5px;
  text-align: right;
  white-space: nowrap;
}
.crow.crow-new {
  animation: rowin 0.5s ease;
}
@media (max-width: 560px) {
  .crow {
    grid-template-columns: 1fr auto;
  }
  .crow .co,
  .crow .chs {
    display: none;
  }
}

/* quest reward/cost preview (inside the builder output) */
.qprev {
  margin-top: 14px;
  border-top: 1px dashed var(--bd2);
  padding-top: 13px;
}
.qprev .qrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--soft);
  flex-wrap: wrap;
}
.qprev input[type="range"] {
  flex: 1;
  min-width: 130px;
  accent-color: var(--grn);
}
.qprev .qnums {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}
.qprev .qnums b {
  color: var(--grn);
  font-weight: 700;
}

/* ── install page: what-it-can-access panel ──────────────────────────────────
   Replaced a mock terminal that showed curl/unzip/developer-mode. On a page
   asking someone to sideload an extension that drives their logged-in
   LinkedIn, the thing that earns the install is an honest boundary list, not
   a shell prompt. Values mirror chrome-extension/manifest.json. */
.perms {
  padding: 18px;
}
.perms ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perms li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 16px;
  position: relative;
  font-size: 13.5px;
  line-height: 1.5;
}
.perms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grn, #4ade80);
}
.perms li b {
  color: var(--ink, #f4f5f6);
  font-weight: 600;
}
.perms li span {
  color: var(--dim, #a8acb3);
}
.perms-not {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line, rgba(255, 255, 255, 0.09));
  font-size: 13px;
  line-height: 1.55;
  color: var(--dim, #a8acb3);
}
.perms-not b {
  color: var(--ink, #f4f5f6);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Carrying the kokonut / bklit / motion treatment onto these four pages.

   The palette was unified earlier; this is the rest of it. These pages already
   had the ambient half (terminal.css has always drawn a masked grid and a glow
   behind the hero, and after the re-skin both are cyan), so what they were
   missing was the display face and the buttons.

   Radii move 2px -> 10px on buttons only. The panels keep their sharper corners:
   these are the app-adjacent pages and a little more precision suits them.
   ═══════════════════════════════════════════════════════════════════════════ */

/* The display face, matching ocb.css's hero: same scale, same gradient, same
   tracking, so /install and /home now read as one typographic system. */
.hero-in h1,
.hero h1 {
  font-size: clamp(36px, 4.9vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  background-image: linear-gradient(
    176deg,
    #ffffff 6%,
    #e2e7ea 58%,
    rgba(226, 231, 234, 0.82) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* The primary action carries the same gradient and the same glow as the
   marketing site's, so "Download nexus-connect.zip" and "Talk to our traders"
   are visibly the same button. */
.btn-t {
  border-radius: 10px;
  padding: 12px 18px;
}
.btn-t.solid {
  border-color: transparent;
  color: var(--accent-ink);
  background-image: linear-gradient(135deg, #4cc9dd 0%, #34b4c8 46%, #258b9c 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 10px 30px -12px rgba(52, 180, 200, 0.5);
  transition:
    transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.18s ease-out,
    filter 0.18s ease-out;
}
.btn-t.solid:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  background-image: linear-gradient(135deg, #4cc9dd 0%, #34b4c8 46%, #258b9c 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 16px 40px -14px rgba(52, 180, 200, 0.62);
}
.btn-t.ghost {
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--fg);
  transition:
    transform 0.18s cubic-bezier(0.2, 0.7, 0.3, 1),
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}
.btn-t.ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--bright);
}

/* The eyebrow gets the same rule marker the marketing pages use. */
.eyebrow {
  position: relative;
  padding-left: 26px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(52, 180, 200, 0.15));
}

/* Panels take the same glass surface and top bevel as .edge does on the
   marketing pages, so a card is a card across the whole site. */
.win,
.card-t,
.panel-t {
  border-radius: 12px;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.014) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (prefers-reduced-motion: reduce) {
  .btn-t.solid:hover,
  .btn-t.ghost:hover {
    transform: none;
  }
}

/* ── film grain ──
   A 200x200 fractal-noise tile, inline as a data URI, tiled by CSS. Two reasons
   it is an SVG filter and not a PNG: random noise is incompressible, so the same
   tile as PNG is 4KB at 64px and 66KB at 256px, and the SVG is 540 bytes; and
   an 8-bit dark cyan radial on #0a0a0b BANDS visibly on cheap laptop panels, which
   is most of what makes a dark site look cheap. Grain dithers the banding away.

   Fixed rather than scrolling, so it reads as a property of the screen instead of
   the page. pointer-events:none because it sits above everything. Kept at 3.2% -
   at that level nobody sees grain, they just stop seeing bands.

   The contrast is baked into the tile via feColorMatrix rather than finished with
   a CSS filter on the overlay: filter on a full-viewport fixed element promotes a
   compositing layer for the whole page and costs a re-rasterise on every resize. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22200%22%20height%3D%22200%22%3E%3Cfilter%20id%3D%22g%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.82%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22200%22%20height%3D%22200%22%20filter%3D%22url(%23g)%22%2F%3E%3C%2Fsvg%3E");
  background-size: 200px 200px;
}
@media print {
  body::after {
    display: none;
  }
}
