﻿/* ═══════════════════════════════════════════
   fiduciary.technology — Sterling Design System
   Version 1.0 · ISET FidTech
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  /* Surfaces */
  --bg:        #FFFFFF;
  --bg2:       #EDF1F8;
  --bg3:       #E2E8F4;
  --surface:   #D6DCEA;
  /* Rules */
  --rule:      rgba(0,0,0,0.09);
  --rule2:     rgba(0,0,0,0.16);
  /* Ink */
  --ink:       #0D1117;
  --ink-mute:  #2E3D50;
  --ink-soft:  #4F6178;
  /* Accent — Navy */
  --accent:    #0F2D5A;
  --accent2:   #1A4480;
  --accent3:   #2558B8;
  /* Green — verified/active */
  --green:     #0A6B3F;
  --green-bg:  #ECFDF5;
  --green-bd:  rgba(10,107,63,0.18);
  /* Red — deadline/critical */
  --red:       #B91C1C;
  --red-bg:    #FEF2F2;
  --red-bd:    rgba(185,28,28,0.18);
  /* Gold — ISP codes/protocol */
  --gold:      #92660A;
  --gold-bg:   #FFFBEB;
  --gold-bd:   rgba(146,102,10,0.18);
  /* Rail */
  --rail-bg:   #DDE4F0;
  --rail-bd:   rgba(15,45,90,0.16);
  --rail-icon: rgba(15,45,90,0.60);
  --rail-hover-bg: rgba(15,45,90,0.10);
  --rail-active-bg: rgba(15,45,90,0.16);
  --rail-w:    46px;
  --top-h:     52px;
  /* Type */
  --display:   'DM Sans', system-ui, sans-serif;
  --body:      'DM Sans', system-ui, sans-serif;
  --mono:      'IBM Plex Mono', monospace;
  --ui:        'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
::selection { background: rgba(15,45,90,0.1); }

/* ── RAIL ─────────────────────────────── */
.rail {
  width: var(--rail-w);
  background: var(--rail-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 8px;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 300;
  gap: 2px;
}
.rail-logo {
  width: var(--rail-w); height: var(--top-h);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  cursor: pointer;
  border-radius: 0;
  border-bottom: 1px solid rgba(15,45,90,0.10);
  transition: opacity .15s;
}
.rail-logo:hover { opacity: .8; }
.rail-logo img { width: 26px; height: 26px; object-fit: contain; }
.rail-div {
  width: 22px; height: 1px;
  background: rgba(15,45,90,0.10);
  margin: 4px 0;
}
.rail-spacer { flex: 1; }

.icon-btn {
  width: 38px; height: 38px;
  border: none; background: transparent;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--rail-icon);
  transition: color .15s, background .15s, transform .1s;
  position: relative;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  font-family: var(--mono);
}
.icon-btn:hover { color: var(--accent); background: var(--rail-hover-bg); }
.icon-btn.active { color: var(--accent); background: var(--rail-active-bg); }
.icon-btn.pressing { opacity: .5; transform: scale(.9); }
.icon-btn svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* Gesture indicator dots */
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.live-dot {
  position: absolute; top: 7px; right: 7px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}

/* ── SIDE PANELS ──────────────────────── */
.sb-scrim {
  position: fixed; inset: 0; z-index: 110;
  display: none;
}
.sb-scrim.open { display: block; }
.sb-panel {
  position: fixed;
  left: var(--rail-w);
  top: var(--top-h);
  width: 264px;
  max-height: calc(100vh - var(--top-h) - 16px);
  background: var(--bg);
  border: 1px solid var(--rule2);
  border-top: none;
  border-left: none;
  border-radius: 0 0 4px 0;
  /* no box-shadow — closed panel's shadow bled past the rail edge */
  z-index: 120;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  /* fully hidden when closed so no sliver leaks past the rail edge (e.g. on the
     signed-out dashboard where the rail itself is hidden) */
  visibility: hidden;
  transition: transform .2s cubic-bezier(.4,0,.2,1), visibility 0s linear .2s;
  overflow: hidden;
}
.sb-panel.open { transform: translateX(0); visibility: visible; transition: transform .2s cubic-bezier(.4,0,.2,1), visibility 0s; }
.sb-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-shrink: 0;
}
.sb-head h3 { font-family: var(--display); font-size: 17px; font-weight: 400; color: var(--ink); }
.sb-meta { font-family: var(--mono); font-size: 9px; color: var(--ink-soft); letter-spacing: .12em; margin-top: 1px; }
.sb-close {
  background: transparent; border: 1px solid var(--rule);
  color: var(--ink-soft); border-radius: 2px;
  padding: 3px 8px; font-size: 13px; cursor: pointer;
}
.sb-close:hover { border-color: var(--rule2); color: var(--ink); }
.sb-body { padding: 14px; overflow-y: auto; flex: 1; }
.sb-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 13px;
}
.sb-row:last-child { border-bottom: none; }
.sb-row-label { font-family: var(--mono); font-size: 10px; color: var(--ink-soft); letter-spacing: .1em; text-transform: uppercase; }
.sb-row-val { font-family: var(--mono); font-size: 11px; color: var(--accent); font-weight: 500; }
.sb-pill { font-family: var(--mono); font-size: 9px; padding: 2px 7px; border-radius: 2px; background: var(--green-bg); color: var(--green); border: 1px solid var(--green-bd); }
.sb-pill-gold { font-family: var(--mono); font-size: 9px; padding: 2px 7px; border-radius: 2px; background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold-bd); }

/* ── TOPBAR ───────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--top-h);
  background: #fff;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px 0 calc(var(--rail-w) + 20px);
  z-index: 90;
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
/* Legacy — subpages that have not yet been updated */
.topbar-logo { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .04em; font-weight: 500; }
.topbar-logo span { color: var(--ink-soft); }
/* Wordmark — text only, images hidden site-wide */
.topbar-wordmark {
  font-family: var(--mono); font-size: 15px; font-weight: 500;
  color: var(--accent); letter-spacing: .03em;
  text-decoration: none; line-height: 1;
}
.topbar-wordmark:hover { opacity: .75; }
.topbar-shield { display: none; }
.topbar-wordmark-img { display: none; }
/* Standalone page title — replaces fiduciary.technology on subpages */
.topbar-page {
  font-family: var(--mono); font-size: 15px; font-weight: 500;
  color: var(--accent); letter-spacing: .03em;
}
/* Breadcrumb — only used when following a parent link */
.topbar-crumb { font-family: var(--mono); font-size: 10px; color: var(--ink-soft); letter-spacing: .14em; text-transform: uppercase; }
.topbar-crumb::before { content: "/"; margin: 0 8px; color: var(--rule2); }
.topbar-right { display: flex; align-items: center; gap: 8px; }

/* ── PAGE WRAPPER ─────────────────────── */
.app { display: flex; min-height: 100vh; }
/* min-width:0 lets the flex item shrink to the viewport — without it, a child
   with white-space:pre (code blocks) forces the whole page wider than the screen. */
.page { margin-left: var(--rail-w); margin-top: var(--top-h); flex: 1; min-width: 0; }

/* ── PILLS / BADGES ───────────────────── */
.isp-pill {
  font-family: var(--mono); font-size: 10px;
  color: var(--green); background: rgba(10,107,63,0.07);
  border: 1px solid var(--green-bd); border-radius: 2px;
  padding: 3px 10px; display: inline-flex; align-items: center; gap: 5px;
  letter-spacing: .1em;
}
.isp-pill::before { content: ''; width: 5px; height: 5px; background: var(--green); border-radius: 50%; animation: blink 2s infinite; }
.countdown-pill {
  font-family: var(--mono); font-size: 10px;
  color: var(--red); background: var(--red-bg);
  border: 1px solid var(--red-bd); border-radius: 2px;
  padding: 3px 10px; letter-spacing: .08em; white-space: nowrap;
}
.badge { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 2px; }
.badge-gold { background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold-bd); }
.badge-green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-bd); }
.badge-navy { background: rgba(15,45,90,0.08); color: var(--accent); border: 1px solid rgba(15,45,90,0.15); }
.badge-dim { background: var(--bg3); color: var(--ink-soft); border: 1px solid var(--rule2); }

/* ── BUTTONS ──────────────────────────── */
.btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: .10em;
  text-transform: uppercase; border: none; border-radius: 2px;
  padding: 13px 26px; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; transition: all .15s; text-decoration: none;
}
.btn-navy { background: var(--accent); color: #fff; font-weight: 500; }
.btn-navy:hover { background: var(--accent2); }
.btn-green { background: transparent; color: var(--green); border: 1px solid var(--green-bd); }
.btn-green:hover { background: var(--green-bg); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--rule2); }
.btn-outline:hover { border-color: var(--ink-soft); }
.btn-outline-white { background: transparent; color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); }
.btn-sm { padding: 9px 18px; font-size: 11px; }

/* ── SECTIONS ─────────────────────────── */
section { padding: 96px 64px; }
.section-alt { background: var(--bg2); }
.section-dark { background: var(--accent); }
.divider { height: 1px; background: var(--rule); margin: 0 56px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── TYPOGRAPHY ───────────────────────── */
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .20em;
  color: var(--gold); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--gold); display: block; flex-shrink: 0; }
.eyebrow.e-white { color: rgba(255,255,255,0.55); }
.eyebrow.e-white::before { background: rgba(255,255,255,0.35); }
.eyebrow.e-green { color: var(--green); }
.eyebrow.e-green::before { background: var(--green); }

h1 { font-family: var(--display); font-size: clamp(44px,6vw,80px); font-weight: 600; line-height: 1.04; letter-spacing: -.03em; margin-bottom: 24px; }
h1 em { color: var(--accent); font-style: normal; font-weight: 600; }
h1 .hl-red { color: var(--red); }
h2 { font-family: var(--display); font-size: clamp(32px,3.5vw,52px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 16px; }
h2 em { color: var(--accent); font-style: normal; font-weight: 600; }
h2.white { color: #fff; }
h2.white em { color: rgba(255,255,255,0.55); font-style: normal; font-weight: 600; }
h3 { font-family: var(--display); font-size: 26px; font-weight: 600; margin-bottom: 10px; }
p { color: var(--ink-mute); font-size: 18px; margin-bottom: 14px; font-weight: 400; }
p strong { color: var(--ink); font-weight: 600; }
.lead { font-size: 20px; max-width: 520px; line-height: 1.65; }

/* ── GRID ─────────────────────────────── */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.g5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; }

/* ── CARDS ────────────────────────────── */
.card { background: var(--bg); border: 1px solid var(--rule2); padding: 32px; transition: border-color .15s; }
.card:hover { border-color: rgba(0,0,0,0.24); }
.card.featured { border-color: var(--green-bd); }
.card-code { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* ── TERMINAL ─────────────────────────── */
.terminal {
  background: #1A2B3C; border-radius: 3px;
  padding: 24px 28px; font-family: var(--mono);
  font-size: 13.5px; line-height: 1.9; overflow-x: auto;
  margin: 24px 0;
}
.t-label { display: block; color: rgba(255,255,255,0.2); font-size: 10px; letter-spacing: .12em; margin-bottom: 10px; }
.t-comment { color: rgba(255,255,255,0.22); }
.t-key { color: #C5974A; }
.t-val { color: #3FFFA0; }
.t-str { color: #78D5FB; }
.t-uri { color: #A78BFA; }

/* ── STATS ────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(5,1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat { padding: 28px 32px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--display); font-size: 44px; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.stat-label { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .12em; text-transform: uppercase; }

/* ── CITATION ─────────────────────────── */
.citation { border-left: 2px solid var(--accent); background: rgba(15,45,90,0.04); padding: 14px 18px; margin: 20px 0; }
.citation p { font-size: 15px; font-style: italic; color: var(--ink-mute); margin: 0; }
.citation-src { font-family: var(--mono); font-size: 9px; color: var(--ink-soft); margin-top: 6px; display: block; letter-spacing: .08em; }

/* ── FOOTER ───────────────────────────── */
footer { background: var(--bg2); border-top: 1px solid var(--rule); padding: 56px 64px 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand .fb-name { font-family: var(--mono); font-size: 14px; color: var(--accent); margin-bottom: 10px; }
.footer-brand p { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); line-height: 1.7; margin: 0; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-family: var(--mono); font-size: 13px; color: var(--ink-mute); transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom span { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); letter-spacing: .06em; }
.footer-legal { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); line-height: 1.8; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }

/* ── FORMS ────────────────────────────── */
.form-row { margin-bottom: 16px; }
.form-label { font-family: var(--mono); font-size: 11px; letter-spacing: .10em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 8px; }
.form-input { background: var(--bg2); border: 1px solid var(--rule2); color: var(--ink); font-family: var(--body); font-size: 16px; border-radius: 2px; padding: 10px 14px; width: 100%; outline: none; transition: border-color .15s; }
.form-input:focus { border-color: var(--accent); }
.form-select { background: var(--bg2); border: 1px solid var(--rule2); color: var(--ink); font-family: var(--ui); font-size: 14px; border-radius: 2px; padding: 10px 14px; width: 100%; outline: none; cursor: pointer; }
.form-select:focus { border-color: var(--accent); }

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 900px) {

  /* ─ Rail → horizontal scrolling footer ─ */
  :root { --rail-mobile-h: 56px; }

  .rail {
    /* reposition */
    top: auto;
    bottom: 0; left: 0; right: 0;
    width: 100%;
    height: var(--rail-mobile-h);
    /* horizontal layout */
    flex-direction: row;
    align-items: center;
    padding: 0 6px;
    gap: 0;
    /* scroll */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* border on top */
    border-top: 1px solid var(--rail-bd);
  }
  .rail::-webkit-scrollbar { display: none; }

  /* Logo: stays as first item in the row */
  .rail-logo {
    width: 38px; height: 38px;
    margin-bottom: 0;
    margin-right: 2px;
    flex-shrink: 0;
  }

  /* Dividers: rotate to vertical hairlines */
  .rail-div {
    width: 1px;
    height: 20px;
    margin: 0 4px;
    flex-shrink: 0;
  }

  /* Spacer: not meaningful in a scrolling row */
  .rail-spacer { display: none; }

  /* Icons: slightly smaller, no border-radius change */
  .icon-btn {
    width: 42px; height: 42px;
    flex-shrink: 0;
  }

  /* Active indicator — thin bar on top, iOS-style */
  .icon-btn.active::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 18px; height: 2px;
    background: var(--accent);
    border-radius: 0 0 2px 2px;
  }

  /* Tooltips: off on touch */
  .rail-tip { display: none !important; }

  /* Topbar: full width, no rail offset */
  .topbar { padding: 0 24px; }

  /* Page & body: clear the footer rail */
  .page {
    margin-left: 0;
    padding-bottom: calc(var(--rail-mobile-h) + 20px);
  }
  body { padding-bottom: var(--rail-mobile-h); }

  /* Panels: slide up from above footer */
  .sb-panel {
    left: 0; right: 0;
    bottom: var(--rail-mobile-h);
    top: auto;
    width: 100%;
    max-height: 65vh;
    border-radius: 10px 10px 0 0;
    border: 1px solid var(--rule2);
    border-bottom: none;
    transform: translateY(calc(100% + var(--rail-mobile-h)));
    transition: transform .25s cubic-bezier(.4,0,.2,1);
  }
  .sb-panel.open { transform: translateY(0); }

  section, footer { padding: 48px 24px; }
  .divider { margin: 0 24px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── RAIL TOOLTIPS ────────────────────── */
.rail-tip {
  position: absolute;
  left: calc(100% + 11px);
  top: 50%; transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--rule2);
  border-radius: 7px;
  padding: 9px 13px;
  min-width: 178px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .14s, transform .14s;
  transform: translateY(-50%) translateX(-4px);
  z-index: 500;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(15,45,90,0.10), 0 1px 4px rgba(15,45,90,0.06);
}
.rail-tip::before {
  content: '';
  position: absolute;
  right: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--rule2);
}
.rail-tip::after {
  content: '';
  position: absolute;
  right: calc(100% - 1px); top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #fff;
}
.icon-btn:hover .rail-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.rt-name {
  font-family: var(--ui); font-size: 12px; font-weight: 500;
  color: var(--ink); margin-bottom: 5px; letter-spacing: 0;
}
.rt-row {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--mono); font-size: 9.5px; line-height: 1.7;
  color: var(--ink-soft);
}
.rt-key {
  background: var(--bg2);
  border: 1px solid var(--rule2);
  border-radius: 3px; padding: 0px 5px;
  font-size: 9px; color: var(--ink-mute);
  flex-shrink: 0;
}

/* ── BROWSER MOCKUP (hero visual) ─────── */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.browser-mock {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--rule2);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15,45,90,0.13), 0 2px 8px rgba(15,45,90,0.07);
  background: #fff;
  font-size: 0; /* remove whitespace gaps */
  user-select: none;
}
.bm-chrome {
  background: #F2F4F7;
  border-bottom: 1px solid #E2E6EE;
  padding: 9px 14px;
  display: flex; align-items: center; gap: 10px;
}
.bm-dots { display: flex; gap: 5px; flex-shrink: 0; }
.bm-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.bm-dots span:nth-child(1) { background: #FF5F57; }
.bm-dots span:nth-child(2) { background: #FEBC2E; }
.bm-dots span:nth-child(3) { background: #28C840; }
.bm-url {
  flex: 1; background: #fff;
  border: 1px solid #D8DCE3;
  border-radius: 5px;
  font-family: var(--mono); font-size: 11px;
  color: #555; padding: 4px 10px;
  display: flex; align-items: center; gap: 6px;
}
.bm-url-lock { color: var(--green); font-size: 10px; }
.bm-tabs {
  background: #F7F9FB;
  border-bottom: 1px solid #E2E6EE;
  display: flex; gap: 0;
  padding: 0 0 0 14px;
  font-size: 1px; /* reset */
}
.bm-tab {
  font-family: var(--mono); font-size: 10px;
  padding: 7px 14px;
  color: #888; cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.bm-tab.active {
  color: var(--accent); border-bottom-color: var(--accent);
  background: #fff;
}
.bm-split {
  display: grid; grid-template-columns: 1fr 1fr;
  font-size: 1px;
}
.bm-pane {
  padding: 13px 15px;
  font-size: 1px;
}
.bm-pane + .bm-pane { border-left: 1px solid #E8EBF0; }
.bm-plabel {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase;
  color: #999; margin-bottom: 8px; display: block;
  font-size: 9px;
}
.bm-plabel-ok { color: var(--green); }
.bm-plabel-ok em { color: #666; font-style: normal; font-size: 8.5px; }
.bm-code {
  font-family: var(--mono); font-size: 10.5px;
  line-height: 1.75; color: #334;
  display: block; margin: 0;
}
.bm-k { color: var(--accent2); }
.bm-s { color: #0A6B3F; }
.bm-v { color: #B36A00; }
.bm-t { color: var(--accent); }
.bm-bar {
  background: #F2F4F7; border-top: 1px solid #E2E6EE;
  padding: 7px 14px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9.5px; color: #888;
  font-size: 1px;
}
.bm-live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 2s infinite; flex-shrink: 0; }

/* ── SUBPAGE HERO 2-COL ───────────────── */
.page-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
/* min-width:0 stops a grid blowout: code-mock content (white-space:pre)
   would otherwise expand the track past the viewport's right edge. */
.page-hero-text { display: flex; flex-direction: column; min-width: 0; }
.page-hero-visual { position: relative; min-width: 0; }

/* ── TEXT RESIZER ──────────────────────── */
.page[data-sz="s"],   .dash-main[data-sz="s"]   { zoom: 0.88; }
.page[data-sz="m"],   .dash-main[data-sz="m"]   { zoom: 0.95; }
/* l = default */
.page[data-sz="xl"],  .dash-main[data-sz="xl"]  { zoom: 1.10; }
.page[data-sz="xxl"], .dash-main[data-sz="xxl"] { zoom: 1.22; }
