/* ════════════════════════════════════════════════════════════
   Onchain Bureau — hybrid (landing structure + terminal skin)
   Clean sans body · monospace accents · phosphor-green · dark.
   ════════════════════════════════════════════════════════════ */
:root {
  --bg: #0a0d0b;
  --bg2: #0e120f;
  --panel: #0f1411;
  --bd: #1b241e;
  --bd2: #283530;
  --fg: #c7d3c9;
  --bright: #e8f0ea;
  --dim: #84968c;
  --soft: #aab8af;
  --grn: #7ee787;
  --grn-dim: #3f7a51;
  --amb: #e3b341;
  --cyan: #56d4dd;
  --red: #ff7b72;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 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: #04130a;
}
a {
  color: var(--grn);
  text-decoration: none;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}
.narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 22px;
}
.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: 1080px;
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--bright);
}
.brand .d {
  color: var(--grn);
}
.nav-links {
  display: flex;
  gap: 20px;
  margin-left: 6px;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  transition: 0.15s;
}
.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: 6px;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 16px;
  cursor: pointer;
  padding: 5px 11px;
  line-height: 1;
}
@media (max-width: 760px) {
  .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 -22px -13px;
    border-top: 1px solid var(--bd);
  }
  .nav.open .nav-links {
    display: flex;
  }
  .nav-links a {
    padding: 13px 22px;
    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: 6px;
  padding: 10px 17px;
  transition: 0.13s;
  border: 1px solid var(--grn);
  color: var(--grn);
  background: transparent;
}
.btn-t:hover {
  background: var(--grn);
  color: #04130a;
}
.btn-t.solid {
  background: var(--grn);
  color: #04130a;
}
.btn-t.solid:hover {
  background: #9ff0a5;
}
.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(126, 231, 135, 0.13), transparent 72%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  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: 12px;
  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: 12px;
  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: 10px;
  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) ── */
.win {
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--bd2);
  background: #0b0f0c;
  box-shadow:
    0 30px 70px -34px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(126, 231, 135, 0.05);
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: #0e120f;
  border-bottom: 1px solid var(--bd);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.dots i:nth-child(1) {
  background: #ff5f56;
}
.dots i:nth-child(2) {
  background: #ffbd2e;
}
.dots i:nth-child(3) {
  background: #27c93f;
}
.win-title {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  margin: 0 auto;
}
.shot-app {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 330px;
}
.shot-side {
  background: #0a0e0b;
  border-right: 1px solid var(--bd);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--mono);
  font-size: 12.5px;
}
.shot-logo {
  font-weight: 700;
  color: var(--bright);
  padding: 5px 9px 10px;
}
.shot-nav {
  color: var(--dim);
  padding: 7px 9px;
  border-radius: 6px;
}
.shot-nav.on {
  background: rgba(126, 231, 135, 0.12);
  color: var(--grn);
}
.shot-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.shot-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bd);
  flex-wrap: wrap;
}
.pill {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg);
  background: #0e120f;
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: 3px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pill .ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grn);
  box-shadow: 0 0 6px var(--grn);
}
.pill.live {
  margin-left: auto;
  color: var(--grn);
  border-color: var(--grn-dim);
}
.shot-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shot-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.kpi {
  background: #0e120f;
  border: 1px solid var(--bd);
  border-radius: 8px;
  padding: 10px;
}
.kpi .v {
  font-family: var(--mono);
  font-size: 19px;
  color: var(--bright);
  font-weight: 700;
  line-height: 1;
}
.kpi .l {
  font-size: 10.5px;
  color: var(--dim);
  margin-top: 5px;
}
.feed-h {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 7px;
}
.feed-h .live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grn);
  box-shadow: 0 0 6px var(--grn);
}
.feed {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--bd);
  border: 1px solid var(--bd);
  border-radius: 8px;
  overflow: hidden;
}
.frow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: #0b0f0c;
  font-family: var(--mono);
  font-size: 12.5px;
}
.frow .ck {
  color: var(--grn);
  flex: none;
}
.frow .tx {
  color: var(--fg);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frow .tx b {
  color: var(--bright);
}
.frow .ch {
  margin-left: auto;
  font-size: 10px;
  color: var(--grn);
  border: 1px solid var(--grn-dim);
  border-radius: 999px;
  padding: 1px 7px;
  flex: none;
}
.frow .tm {
  font-size: 10.5px;
  color: var(--dim);
  flex: none;
  width: 32px;
  text-align: right;
}
.frow.frow-new {
  animation: rowin 0.5s ease;
}
@keyframes rowin {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 560px) {
  .shot-side {
    display: none;
  }
  .shot-kpis {
    grid-template-columns: repeat(3, 1fr);
  }
  .frow .ch {
    display: none;
  }
}

/* ── demo log ── */
.demo-box {
  border: 1px solid var(--bd);
  border-radius: 10px;
  background: #0b0f0c;
  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: 10px;
  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: #9fe7ad;
  background: rgba(126, 231, 135, 0.05);
}
.diff .dl.add::before {
  content: "+ ";
  color: var(--grn);
}
.diff .sep {
  height: 1px;
  background: var(--bd);
}

/* ── case files (cat) ── */
.files {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.file {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--bd);
  border-radius: 6px;
  padding: 7px 12px;
  transition: 0.12s;
}
.file:hover {
  border-color: var(--cyan);
}
.file.on {
  background: rgba(86, 212, 221, 0.1);
  border-color: var(--cyan);
  color: var(--bright);
}
.catbox {
  border: 1px solid var(--bd);
  border-left: 2px solid var(--grn);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px 22px;
}
.catbox.cat-anim {
  animation: catin 0.25s ease;
}
@keyframes catin {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.catbox .meta {
  font-family: var(--mono);
  color: var(--dim);
  font-size: 12.5px;
}
.catbox h3 {
  font-size: 18px;
  margin: 7px 0 9px;
}
.catbox p {
  color: var(--soft);
  font-size: 15px;
  margin: 0 0 10px;
}
.catbox .li {
  padding-left: 20px;
  position: relative;
  color: var(--fg);
  font-size: 14.5px;
  padding-bottom: 4px;
}
.catbox .li::before {
  content: "›";
  position: absolute;
  left: 3px;
  color: var(--grn);
}
.catbox .tgt {
  font-family: var(--mono);
  font-size: 13px;
  margin-top: 12px;
  color: var(--amb);
}
.catbox .note {
  font-family: var(--mono);
  margin-top: 8px;
  color: var(--dim);
  font-size: 12px;
}

/* ── 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: 6px;
  padding: 7px 12px;
  transition: 0.12s;
}
.opt:hover {
  border-color: var(--grn-dim);
}
.opt.on {
  background: rgba(126, 231, 135, 0.13);
  border-color: var(--grn);
  color: var(--bright);
}
.pb-out .box {
  border: 1px solid var(--grn-dim);
  border-radius: 8px;
  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: 780px;
}
.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;
  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;
}

/* ── footer status bar (in-flow tmux nod) ── */
.statusbar {
  display: flex;
  align-items: center;
  height: 38px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  background: #080a09;
  border-top: 1px solid var(--bd);
}
.statusbar .seg {
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--bd);
}
.statusbar .seg.mode {
  background: var(--grn);
  color: #04130a;
  font-weight: 700;
}
.statusbar .seg.grow {
  flex: 1;
  border-right: none;
}
.statusbar .seg.ms.done {
  color: var(--grn);
}
.statusbar .seg.ms.pulse {
  animation: msflash 0.5s ease;
}
@keyframes msflash {
  0% {
    color: var(--grn);
    text-shadow: 0 0 8px rgba(126, 231, 135, 0.7);
  }
  100% {
  }
}
.statusbar .seg.tg {
  margin-left: auto;
  border-right: none;
  border-left: 1px solid var(--bd);
}
.statusbar a {
  color: var(--amb);
}
@media (max-width: 620px) {
  .statusbar .seg.hideph {
    display: none;
  }
}

/* ── 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: #04130a;
  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;
}
.fab.show {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.fab:hover {
  background: #9ff0a5;
}
.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: 10px;
  padding: 11px 18px;
  color: var(--bright);
  font-weight: 600;
  background: var(--panel);
  transition: 0.15s;
  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;
}
.vs {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.vs li {
  padding-left: 22px;
  position: relative;
  color: var(--soft);
}
.vs li.ok {
  color: var(--fg);
}
.vs li.ok::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--grn);
  font-family: var(--mono);
}
.vs li.no::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--red);
  font-family: var(--mono);
}

/* ── 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: #0b0f0c;
  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 .d {
  color: var(--grn);
}
.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(126, 231, 135, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 231, 135, 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: 16px;
  overflow: hidden;
  background:
    radial-gradient(700px 280px at 50% 0, rgba(126, 231, 135, 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: 12px;
  background: #0b0f0c;
  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: #04130a;
  background: var(--grn);
  border-radius: 6px;
  padding: 5px 12px;
  font-weight: 700;
}
.approve .ed {
  color: var(--fg);
  border: 1px solid var(--bd2);
  border-radius: 6px;
  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);
}

/* bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(132px, auto);
  gap: 14px;
}
.bento .tile {
  background: var(--panel);
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 20px;
  grid-column: span 2;
  transition:
    transform 0.18s,
    border-color 0.18s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bento .tile:hover {
  border-color: var(--bd2);
  transform: translateY(-3px);
}
.bento .tile.w3 {
  grid-column: span 3;
}
.bento .tile.w4 {
  grid-column: span 4;
}
.bento .tile.w6 {
  grid-column: span 6;
}
.bento .tile.tall {
  grid-row: span 2;
}
.bento .tile.feat {
  background:
    radial-gradient(420px 200px at 100% 0, rgba(126, 231, 135, 0.08), transparent), var(--panel);
}
.bento .tile .tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grn);
  margin-bottom: 9px;
}
.bento .tile h3 {
  margin-bottom: 6px;
}
.bento .tile p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
}
.bento .tile.invite {
  border-style: dashed;
  border-color: var(--grn-dim);
}
.bento .tile .spacer {
  flex: 1;
}
@media (max-width: 820px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento .tile,
  .bento .tile.w3,
  .bento .tile.w4,
  .bento .tile.w6 {
    grid-column: span 2;
  }
  .bento .tile.tall {
    grid-row: auto;
  }
}
@media (max-width: 520px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento .tile {
    grid-column: span 1 !important;
  }
}

/* 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;
}

/* testimonial carousel */
.tcar {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.tcar .tq {
  flex: 0 0 360px;
  max-width: 86%;
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 22px;
}
.tcar .tq p {
  color: var(--fg);
  font-size: 15px;
  line-height: 1.55;
}
.tcar .tq .who {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.tcar .tq .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bd2);
  flex: none;
}
.tcar .tq .who b {
  color: var(--bright);
  font-size: 13.5px;
  display: block;
}
.tcar .tq .who span {
  color: var(--dim);
  font-size: 12px;
  font-family: var(--mono);
}
.tcar .tq.placeholder {
  border-style: dashed;
  color: var(--dim);
}

/* 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(126, 231, 135, 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: 11px;
  background: #0b0f0c;
  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: 8px;
  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(126, 231, 135, 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;
}
.step[data-state="working"] .step-label {
  color: var(--bright);
  background: linear-gradient(90deg, var(--bright) 30%, var(--grn) 50%, var(--bright) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 1.9s linear 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 shimmer {
  to {
    background-position: -200% 0;
  }
}
@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: 11px;
  padding: 12px 14px;
  transition: 0.14s;
  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: 14px;
  background:
    radial-gradient(520px 200px at 0 0, rgba(126, 231, 135, 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: 8px;
  padding: 9px 12px;
  transition: 0.13s;
  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(126, 231, 135, 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: 12px;
  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: 12px;
  background: #0b0f0c;
  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);
}
