/* BlackHalo — vulnerability disclosure site
   Layout: split hero → bento statistics → filterable disclosure index → slide-over writeup reader.
   One visual world (dark): black biased toward Lufthansa blue; red is reserved for action and risk. */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #05060b;          /* page: black with a blue bias */
  --panel: #0c0f19;       /* surfaces */
  --ink: #eef0f6;         /* text */
  --lh: #05164d;          /* Lufthansa deep blue — brand */
  --lh-bright: #4672f0;   /* Lufthansa blue lifted for marks on dark */
  --red: #ff3b4a;         /* BlackHalo red — action + risk */

  --panel-2: #121626;
  --ink-2: #a3aabb;
  --ink-3: #6c7488;
  --line: rgba(160, 180, 255, 0.1);
  --line-2: rgba(160, 180, 255, 0.18);
  /* severity: critical purple, high red, medium orange, low green (adjacent steps checked for colour blindness) */
  --sev-c: #b552e8; --sev-h: #ff3b4a; --sev-m: #ff9a2e; --sev-l: #34c77b;
  /* the two series in "By the numbers": every reported finding vs. the disclosed ones */
  --rep: #4672f0; --dis: #0ea2c9; --mis: #c08a2e;          /* marks */
  --rep-ink: #7b98f6; --dis-ink: #5cc8e4; --mis-ink: #d9a84e;  /* the same hues lifted for large numbers (6.8:1 and 9.6:1) */
  --ok: #34c77b; --warn: #f5b63d; --bad: #ff3b4a;   /* disclosure clock: plenty of time → final day */

  --font-display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--lh-bright); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
.mono { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(70, 114, 240, 0.2), transparent 62%),
    radial-gradient(760px 460px at 8% 0%, rgba(5, 22, 77, 0.85), transparent 66%),
    radial-gradient(560px 360px at 58% 4%, rgba(255, 59, 74, 0.09), transparent 62%),
    var(--bg); }
.bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(150, 170, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 75%); }

/* ---------- Lufthansa Industry Solutions ribbon ---------- */
.ribbon { background: var(--lh); border-bottom: 1px solid var(--line); color: #dfe6ff; font-size: 12.5px; }
.ribbon .wrap { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.ribbon b { color: #fff; font-weight: 600; }
.ribbon .bar { width: 3px; height: 14px; background: var(--lh-bright); border-radius: 2px; }
.ribbon .r-right { margin-left: auto; font: 500 11px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #9fb0e6; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(5, 6, 11, 0.74); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 15.5px var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 24px; height: 24px; }
.brand .h { color: var(--red); }
.brand-name { position: relative; }
.beta { position: absolute; top: -0.95em; right: -2.6em; padding: 1px 6px 0; border-radius: 999px; border: 1px solid rgba(255, 178, 36, 0.5); background: rgba(255, 178, 36, 0.15); color: #ffc247; font: 700 9px/1.5 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 6px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14px; white-space: nowrap; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.search-btn { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px 0 12px; min-width: 240px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, 0.02); color: var(--ink-3); font-size: 13.5px; transition: border-color 0.15s; }
.search-btn:hover { border-color: var(--lh-bright); color: var(--ink-2); }
.search-btn svg { width: 15px; height: 15px; }
kbd { margin-left: auto; font: 500 11px var(--font-mono); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; color: var(--ink-2); background: rgba(255, 255, 255, 0.03); }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink-2); transition: border-color 0.15s, color 0.15s, background 0.15s; }
.icon-btn:hover { color: var(--ink); border-color: var(--lh-bright); background: rgba(70, 114, 240, 0.1); }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 40px; align-items: center; padding: 64px 0 48px; }
.latest { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 6px 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12, 15, 25, 0.72); font-size: 13px; color: var(--ink-2); max-width: 100%; transition: border-color 0.15s; }
.latest:hover { border-color: var(--red); }
.latest .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 59, 74, 0.6); animation: pulse 2.4s infinite; flex: none; }
.latest .lid { font: 500 12.5px var(--font-mono); color: var(--ink); white-space: nowrap; }
.latest .lt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.latest .go { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); display: grid; place-items: center; flex: none; }
.latest .go svg { width: 12px; height: 12px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 59, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 74, 0); } }
.hero h1 { margin-top: 22px; font: 600 clamp(40px, 5.4vw, 66px)/1.02 var(--font-display); letter-spacing: -0.038em; text-wrap: balance; }
.hero h1 span { color: var(--ink-3); }
.lead { margin-top: 20px; max-width: 54ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.btn { height: 42px; padding: 0 16px; border-radius: 10px; font: 500 14.5px var(--font-body); display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; transition: background 0.15s, border-color 0.15s, transform 0.15s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 28px -10px rgba(255, 59, 74, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.btn-primary:hover { background: #ff5361; transform: translateY(-1px); }
.btn-secondary { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); color: var(--ink); }
.btn-secondary:hover { border-color: var(--lh-bright); background: rgba(70, 114, 240, 0.12); }
.credit { margin-top: 28px; font: 400 12.5px var(--font-mono); color: var(--ink-3); }
.credit b { color: var(--ink-2); font-weight: 500; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 114, 240, 0.22), rgba(5, 22, 77, 0.18) 55%, transparent 75%); }
.crosshair { position: absolute; inset: 0; pointer-events: none; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: linear-gradient(90deg, transparent, rgba(70, 114, 240, 0.28), transparent); }
.crosshair::before { left: 0; right: 0; top: 50%; height: 1px; }
.crosshair::after { top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, rgba(70, 114, 240, 0.28), transparent); }

/* logo glitch: base + red/blue channel ghosts masked to the logo shape */
.logo-glitch { position: relative; width: min(560px, 100%); filter: drop-shadow(0 10px 40px rgba(255, 59, 74, 0.14)) drop-shadow(0 6px 34px rgba(12, 42, 120, 0.45)); }
.logo-glitch picture, .logo-glitch img { display: block; width: 100%; height: auto; position: relative; z-index: 2; }
.logo-glitch img { animation: lgBase 7s steps(1, end) infinite; }
.lg-ghost, .lg-scan { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../img/blackhalo-logo.webp") center / contain no-repeat;
          mask: url("../img/blackhalo-logo.webp") center / contain no-repeat; }
.lg-ghost { z-index: 1; opacity: 0; mix-blend-mode: screen; }
.lg-ghost.r { background: var(--red); animation: lgR 7s steps(1, end) infinite; }
.lg-ghost.b { background: var(--lh-bright); animation: lgB 7s steps(1, end) infinite; }
.lg-scan { z-index: 3; mix-blend-mode: overlay; opacity: 0.3; background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.55) 2px 3px); }
@keyframes lgBase { 0%,1.6% { transform: none } 1.9% { transform: translate(3px,-1px) } 2.3% { transform: translate(-2px,1px) } 2.7%,49% { transform: none } 49.4% { transform: translate(-3px,0) } 49.9% { transform: translate(2px,0) } 50.4%,71% { transform: none } 71.4% { transform: translate(2px,0) } 71.8%,100% { transform: none } }
@keyframes lgR { 0%,1.6% { opacity: 0; transform: none; clip-path: none } 1.9% { opacity: .9; transform: translate(-6px,2px); clip-path: inset(8% 0 56% 0) } 2.6% { opacity: .7; transform: translate(-4px,0); clip-path: inset(62% 0 10% 0) } 3% { opacity: 0; clip-path: none } 49% { opacity: 0 } 49.4% { opacity: .85; transform: translate(-7px,-1px); clip-path: inset(40% 0 34% 0) } 50.2% { opacity: 0; clip-path: none } 71% { opacity: 0 } 71.4% { opacity: .8; transform: translate(-4px,0); clip-path: inset(20% 0 60% 0) } 72% { opacity: 0; clip-path: none } 100% { opacity: 0 } }
@keyframes lgB { 0%,1.6% { opacity: 0; transform: none; clip-path: none } 2% { opacity: .85; transform: translate(6px,-2px); clip-path: inset(12% 0 50% 0) } 2.7% { opacity: .6; transform: translate(4px,1px); clip-path: inset(58% 0 14% 0) } 3.1% { opacity: 0; clip-path: none } 49% { opacity: 0 } 49.5% { opacity: .8; transform: translate(7px,1px); clip-path: inset(36% 0 40% 0) } 50.3% { opacity: 0; clip-path: none } 71% { opacity: 0 } 71.5% { opacity: .75; transform: translate(4px,0); clip-path: inset(24% 0 54% 0) } 72.1% { opacity: 0; clip-path: none } 100% { opacity: 0 } }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.kicker { font: 500 11.5px var(--font-mono); color: var(--lh-bright); letter-spacing: 0.08em; text-transform: uppercase; }
.sec-head h2 { margin-top: 10px; font: 600 clamp(26px, 3.2vw, 36px)/1.1 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }
.sec-head p { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- bento statistics ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  grid-template-areas: "total total sev sev" "total total cvss poc" "cls cls vend repo" "resp resp resp resp"; }
.tile { position: relative; overflow: hidden; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.92), rgba(12, 15, 25, 0.92)); display: flex; flex-direction: column; min-width: 0; }
.tile h3 { font: 500 13px/1.3 var(--font-body); color: var(--ink-2); }
.tile .fig { margin-top: 10px; font: 600 40px/1 var(--font-display); letter-spacing: -0.035em; }
.tile .fig small { font: 500 15px var(--font-mono); color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.tile .sub { margin-top: 8px; font: 400 12.5px/1.45 var(--font-mono); color: var(--ink-3); }
.t-total { grid-area: total; }
.t-total .hero-fig { margin-top: 8px; font: 600 clamp(72px, 8.5vw, 104px)/0.9 var(--font-display); letter-spacing: -0.05em; }
.t-sev { grid-area: sev; } .t-cvss { grid-area: cvss; } .t-poc { grid-area: poc; }
.t-cls { grid-area: cls; } .t-vend { grid-area: vend; } .t-repo { grid-area: repo; }
.t-sev .sub, .t-cls .sub { margin-top: 4px; }
.tile-foot { margin-top: auto; padding-top: 14px; }

/* column chart */
.cols { margin-top: 22px; display: grid; grid-template-columns: 28px 1fr; gap: 8px; flex: 1; min-height: 190px; }
.cols .yax { position: relative; font: 400 11px var(--font-mono); color: var(--ink-3); }
.cols .yax span { position: absolute; right: 0; transform: translateY(50%); }
.cols .plot { position: relative; display: flex; flex-direction: column; }
.cols .area { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: space-around; border-bottom: 1px solid #2e3754; }
.cols .grid { position: absolute; left: 0; right: 0; height: 1px; background: #1c2335; }
.cols .col { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 100%; flex: 1; }
.cols .bar { width: min(24px, 60%); background: var(--lh-bright); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; transition: filter 0.15s; }
.cols .col:hover .bar, .cols .col:focus-visible .bar { filter: brightness(1.25); }
.cols .cap { position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -6px); font: 600 12px var(--font-mono); color: var(--ink); }
.cols .xax { display: flex; justify-content: space-around; padding-top: 8px; font: 400 11px var(--font-mono); color: var(--ink-3); }
.cols .xax span { flex: 1; text-align: center; }

/* segmented severity bar */
.seg-bar { display: flex; gap: 2px; height: 28px; margin-top: 18px; }
.seg-bar .part { position: relative; height: 100%; border-radius: 4px; display: flex; align-items: center; padding: 0 9px; font: 600 12.5px var(--font-mono); overflow: visible; white-space: nowrap; transition: filter 0.15s; min-width: 3px; }
.seg-bar .part:hover, .seg-bar .part:focus-visible { filter: brightness(1.15); }
.seg-bar .part .pl { pointer-events: none; }
.seg-bar .part .pl.hide { visibility: hidden; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 12.5px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; }

/* severity color classes (marks only — text stays in ink tokens) */
.s-Critical { --c: var(--sev-c); } .s-High { --c: var(--sev-h); } .s-Medium { --c: var(--sev-m); } .s-Low { --c: var(--sev-l); }
.fill-sev { background: var(--c); }
.ink-on-c { color: #0b0b10; }

/* cvss scale */
.scale { position: relative; margin-top: 18px; height: 34px; }
.scale .bands { display: flex; gap: 2px; height: 8px; }
.scale .bands i { height: 100%; border-radius: 3px; opacity: 0.35; }
.scale .bands i:nth-child(1) { flex: 3.9; background: var(--sev-l); }
.scale .bands i:nth-child(2) { flex: 3; background: var(--sev-m); }
.scale .bands i:nth-child(3) { flex: 2; background: var(--sev-h); }
.scale .bands i:nth-child(4) { flex: 1.1; background: var(--sev-c); }
.scale .mark { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--ink); border-radius: 1px; box-shadow: 0 0 0 2px var(--panel); }
.scale .mark.rep { background: var(--rep); width: 3px; }
.scale .mark.dis { background: var(--dis); width: 3px; }
.scale .ticks { position: relative; height: 14px; margin-top: 8px; font: 400 10.5px var(--font-mono); color: var(--ink-3); }
/* each tick sits at its real score, lined up with the bands (0–3.9 low, 4–6.9 medium, 7–8.9 high, 9–10 critical) */
.scale .ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.scale .ticks span:nth-child(1) { left: 0; transform: none; }
.scale .ticks span:nth-child(2) { left: 39%; }
.scale .ticks span:nth-child(3) { left: 69%; }
.scale .ticks span:nth-child(4) { left: 89%; }
.scale .ticks span:nth-child(5) { left: 100%; transform: translateX(-100%); }

/* meter */
.meter { margin-top: 18px; height: 8px; border-radius: 99px; background: rgba(70, 114, 240, 0.2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--lh-bright); }
.t-poc .meter { background: color-mix(in oklch, var(--dis) 22%, transparent); }
.t-poc .meter i { background: var(--dis); }

/* ranked bars */
.ranked { margin-top: 16px; display: grid; gap: 9px; }
.ranked .row { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13px; border-radius: 6px; }
.ranked .lab { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranked .track { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ranked .fill { height: 10px; background: var(--lh-bright); border-radius: 0 4px 4px 0; min-width: 2px; }
.ranked .row:hover .fill, .ranked .row:focus-visible .fill { filter: brightness(1.25); }
.ranked .val { font: 600 12px var(--font-mono); color: var(--ink); }

.mini-list { margin-top: 14px; display: grid; gap: 6px; font-size: 13px; }
.mini-list div { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); }
.mini-list b { font: 600 12.5px var(--font-mono); color: var(--ink); }

/* ---------- disclosures ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 16px; border: 1px solid rgba(70, 114, 240, 0.35); background: rgba(5, 22, 77, 0.35); border-radius: 12px; font-size: 13.5px; color: var(--ink-2); }
.notice svg { width: 18px; height: 18px; color: var(--lh-bright); margin-top: 1px; }
.notice b { color: var(--ink); font-weight: 600; }
.notice code { font: 500 12px var(--font-mono); color: var(--ink); background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 5px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.field { position: relative; flex: 1 1 280px; }
.field svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ink-3); pointer-events: none; }
.field input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(12, 15, 25, 0.8); color: var(--ink); font: 400 14px var(--font-body); }
.field input::placeholder { color: var(--ink-3); }
.field input:focus { outline: none; border-color: var(--lh-bright); box-shadow: 0 0 0 3px rgba(70, 114, 240, 0.2); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(12, 15, 25, 0.8); flex-wrap: wrap; }
.seg button { height: 32px; padding: 0 10px; border-radius: 7px; color: var(--ink-2); font-size: 13px; display: inline-flex; align-items: center; gap: 7px; transition: background 0.15s, color 0.15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg button i { width: 8px; height: 8px; border-radius: 2px; }
.seg button .n { font: 500 11px var(--font-mono); color: var(--ink-3); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 32px 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(12, 15, 25, 0.8); color: var(--ink); font: 400 13.5px var(--font-body); cursor: pointer; }
.select::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select:focus { outline: none; border-color: var(--lh-bright); }
.check { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(12, 15, 25, 0.8); font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { accent-color: var(--lh-bright); width: 15px; height: 15px; }
.views { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(12, 15, 25, 0.8); }
.views button { width: 34px; height: 32px; display: grid; place-items: center; border-radius: 7px; color: var(--ink-3); }
.views button[aria-pressed="true"] { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.views svg { width: 16px; height: 16px; }
.resbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 12px; font: 400 12.5px var(--font-mono); color: var(--ink-3); }
.resbar b { color: var(--ink); font-weight: 600; }
.linkbtn { color: var(--lh-bright); font: 500 12.5px var(--font-mono); }
.linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.86), rgba(12, 15, 25, 0.86)); transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; min-width: 0; }
.card::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 22px 44px -28px rgba(70, 114, 240, 0.6); }
.card:focus-visible { outline-offset: 3px; border-radius: var(--radius); }
.c-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sev { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px var(--font-body); color: var(--ink-2); }
.sev i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.score { display: inline-flex; align-items: baseline; gap: 4px; font: 600 15px var(--font-mono); color: var(--ink); }
.score small { font-size: 10.5px; font-weight: 500; color: var(--ink-3); }
.c-id { font: 500 12.5px var(--font-mono); color: var(--ink-3); letter-spacing: 0.01em; }
.c-title { font: 600 16px/1.35 var(--font-display); letter-spacing: -0.012em; text-wrap: balance; }
.c-meta { font-size: 13px; color: var(--ink-2); }
.c-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; min-width: 0; }
.c-foot .tag { flex: none; }
.tag { font: 500 11.5px var(--font-mono); padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.c-repo { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px var(--font-mono); color: var(--ink-2); min-width: 0; }
.c-repo span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-repo svg { width: 13px; height: 13px; }

/* list view */
.cards.list { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cards.list .card { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px 100px 56px 84px; gap: 16px; align-items: center; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 14px 18px 14px 22px; background: rgba(12, 15, 25, 0.75); }
.cards.list .card:last-child { border-bottom: 0; }
.cards.list .card:hover { transform: none; box-shadow: none; background: var(--panel-2); }
.cards.list .card::before { top: 12px; bottom: 12px; }
.cards.list .c-title { font-size: 14.5px; }
.cards.list .c-meta { font-size: 12.5px; color: var(--ink-3); }
.l-date { font: 400 12.5px var(--font-mono); color: var(--ink-2); }
.empty { padding: 48px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.empty p { margin-bottom: 12px; }
.cards.list .l-main { min-width: 0; }
.cards.list .l-main .c-title, .cards.list .l-main .c-meta { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cards.list .score small { display: none; }
.cols .yax { margin-bottom: 38px; }
.cols .xax { height: 38px; line-height: 1.25; }
.cols .xax small { display: block; font-size: 10px; color: var(--ink-3); opacity: 0.75; }
.cols .col.future .bar { height: 6px; min-height: 0; background: transparent; border: 1px dashed var(--line-2); border-bottom: 0; }
.cols-cap { margin-top: 12px; }
.repo-row .r-text { min-width: 0; }
.repo-row .rn, .repo-row .rd { display: block; }
.wu-src a { color: var(--ink-2); }
.sec-head code { font: 500 0.9em var(--font-mono); color: var(--ink); background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 5px; }

/* ---------- repositories ---------- */
.repo-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; }
.tree { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #070912; font: 400 13px/1.95 var(--font-mono); color: var(--ink-2); overflow-x: auto; white-space: pre; }
.tree .d { color: var(--ink); font-weight: 600; } .tree .c { color: var(--ink-3); } .tree .r { color: var(--lh-bright); }
.repo-explain { margin-top: 16px; color: var(--ink-2); font-size: 14px; max-width: 60ch; }
.repo-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.repo-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(12, 15, 25, 0.75); transition: background 0.15s; }
.repo-row:last-child { border-bottom: 0; }
.repo-row:hover { background: var(--panel-2); }
.repo-row > svg { width: 18px; height: 18px; color: var(--ink-3); }
.repo-row .rn { font: 500 13px var(--font-mono); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repo-row .rd { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repo-row .rs { display: inline-flex; gap: 6px; align-items: center; }
.repo-row .ext { width: 14px; height: 14px; color: var(--ink-3); }

/* ---------- questions ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; align-items: start; }
.faq-col { display: grid; gap: 10px; min-width: 0; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); transition: border-color 0.15s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; font: 500 15px/1.35 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq summary:hover { color: #fff; }
.faq summary:focus-visible { outline: 2px solid var(--lh-bright); outline-offset: -2px; border-radius: var(--radius); }
.faq details p { padding: 0 18px 18px; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; }
/* static Q&A (no dropdowns) */
.qa { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.qa h3 { font: 600 15px/1.35 var(--font-display); color: var(--ink); }
.qa p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; }

/* "What these numbers mean" explainer, directly under the stat tiles */
.stats-explain { margin-top: 14px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.92), rgba(12, 15, 25, 0.9)); }
.stats-explain h3 { font: 600 17px var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.stats-explain .se-intro { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); max-width: 90ch; }
.se-terms { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.se-terms dt { display: flex; align-items: center; gap: 8px; font: 600 14px var(--font-display); color: var(--ink); }
.se-terms dt i { display: inline-block; flex: none; width: 11px; height: 11px; border-radius: 3px; }
.se-terms dd { margin-top: 7px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 860px) { .se-terms { grid-template-columns: 1fr; gap: 14px; } }
.cta-row { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cta-row .report { margin-top: 0; align-content: space-between; }
.report { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(90deg, rgba(5, 22, 77, 0.55), rgba(12, 15, 25, 0.75)); }
.report p { color: var(--ink-2); font-size: 14px; max-width: 70ch; }
.report b { color: var(--ink); }

/* ---------- footer ---------- */
footer { margin-top: 32px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(5, 22, 77, 0.35)); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding: 48px 0 32px; }
.foot p { margin-top: 12px; color: var(--ink-3); font-size: 13px; max-width: 42ch; }
.lh-lock { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 9px 13px; border: 1px solid rgba(70, 114, 240, 0.4); border-radius: 10px; background: rgba(5, 22, 77, 0.55); font-size: 13px; font-weight: 600; color: #dfe6ff; }
.lh-lock .bar { width: 3px; height: 14px; background: var(--lh-bright); border-radius: 2px; }
.tagline { display: block; margin-top: 12px; font: 400 12px var(--font-mono); color: #7f9bea; }
.foot h4 { font: 500 11.5px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.foot nav a { display: block; color: var(--ink-2); font-size: 13.5px; padding: 3px 0; }
.foot nav a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 36px; border-top: 1px solid var(--line); font: 400 12px var(--font-mono); color: var(--ink-3); }

/* ---------- drawer (writeup reader) ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(2, 3, 8, 0.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.22s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(800px, 100%); display: flex; flex-direction: column; background: var(--panel); border-left: 1px solid var(--line-2); box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.7); transform: translateX(102%); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); visibility: hidden; }
body.reading .scrim { opacity: 1; pointer-events: auto; }
body.reading .drawer { transform: none; visibility: visible; }
.d-head { flex: none; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px 0 24px; border-bottom: 1px solid var(--line); }
.crumbs { font: 400 12.5px var(--font-mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs b { color: var(--ink); font-weight: 500; }
.d-head .icon-btn:first-of-type { margin-left: auto; }
.d-body { flex: 1; overflow-y: auto; padding: 28px 32px 56px; overscroll-behavior: contain; }
.d-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line-2); font: 500 12px var(--font-body); color: var(--ink-2); }
.chip i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.d-title { margin-top: 16px; font: 600 clamp(24px, 3.2vw, 32px)/1.15 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }
.d-sub { margin-top: 8px; color: var(--ink-2); }
.d-summary { margin-top: 16px; color: var(--ink-2); max-width: 66ch; }
.d-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.d-actions .btn { height: 38px; font-size: 13.5px; }
.score-card { margin-top: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5, 6, 11, 0.5); position: relative; overflow: hidden; }
.score-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.score-big { font: 600 44px/1 var(--font-display); letter-spacing: -0.04em; }
.score-big small { display: block; margin-top: 6px; font: 500 11.5px var(--font-mono); color: var(--ink-3); letter-spacing: 0; }
.vector { font: 500 12px var(--font-mono); color: var(--ink-2); word-break: break-all; }
.metrics { margin-top: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.metric { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.02); min-width: 0; }
.metric span { display: block; font: 400 10.5px/1.3 var(--font-mono); color: var(--ink-3); }
.metric b { display: block; font: 600 12.5px var(--font-body); color: var(--ink); }
.metric.hot b { color: var(--ink); }
.metric.hot { border-color: rgba(255, 59, 74, 0.35); }
.d-meta { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.d-meta div { padding: 12px 14px; background: var(--panel); min-width: 0; }
.d-meta dt { font: 400 11px var(--font-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.d-meta dd { margin-top: 4px; font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-meta dd a { color: var(--lh-bright); }
.d-meta dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wu-head { margin-top: 36px; padding-bottom: 12px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wu-head h3 { font: 600 13px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.wu-src { display: inline-flex; align-items: center; gap: 7px; font: 400 12px var(--font-mono); color: var(--ink-3); }
.wu-src svg { width: 13px; height: 13px; }
.wu-src a:hover { color: var(--ink); }
.skeleton { margin-top: 20px; display: grid; gap: 10px; }
.skeleton i { height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton i:nth-child(3n) { width: 72%; } .skeleton i:nth-child(4n) { width: 88%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.wu-missing { margin-top: 20px; padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); font-size: 14px; }
.wu-missing p + p { margin-top: 8px; }
.wu-missing a { color: var(--lh-bright); }

/* rendered markdown */
.prose { margin-top: 18px; color: #d3d8e4; font-size: 15px; line-height: 1.7; max-width: 70ch; }
.prose > * + * { margin-top: 14px; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.prose h2 { margin-top: 32px; font-size: 21px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose h3 { margin-top: 24px; font-size: 17px; }
.prose h4 { margin-top: 20px; font-size: 15px; }
.prose a { color: var(--lh-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(70, 114, 240, 0.4); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); }
.prose code { font: 500 0.86em var(--font-mono); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); padding: 1px 5px; border-radius: 5px; }
.prose .codewrap { position: relative; }
.prose pre { overflow-x: auto; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #070912; font: 400 13px/1.65 var(--font-mono); }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.prose .copy { position: absolute; top: 8px; right: 8px; height: 26px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 7px; background: rgba(12, 15, 25, 0.9); font: 500 11px var(--font-mono); color: var(--ink-2); opacity: 0; transition: opacity 0.15s; }
.prose .codewrap:hover .copy, .prose .copy:focus-visible { opacity: 1; }
.prose blockquote { padding: 10px 16px; border-left: 3px solid var(--lh-bright); background: rgba(5, 22, 77, 0.35); border-radius: 0 10px 10px 0; color: var(--ink-2); }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 28px 0; }
.prose img { border-radius: 10px; border: 1px solid var(--line); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.prose th, .prose td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font: 500 11.5px var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); background: rgba(255, 255, 255, 0.02); }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- command palette ---------- */
dialog.palette { margin: 12vh auto auto; width: min(640px, calc(100% - 32px)); max-height: 70vh; padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(70, 114, 240, 0.12); overflow: hidden; }
dialog.palette::backdrop { background: rgba(2, 3, 8, 0.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.pal-in { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.pal-in svg { width: 17px; height: 17px; color: var(--ink-3); }
.pal-in input { flex: 1; height: 54px; background: none; border: 0; color: var(--ink); font: 400 16px var(--font-body); }
.pal-in input:focus { outline: none; }
.pal-list { list-style: none; max-height: calc(70vh - 96px); overflow-y: auto; padding: 6px; }
.pal-list li a { display: grid; grid-template-columns: 10px 140px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.pal-list li a i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.pal-list li a .pid { font: 500 12.5px var(--font-mono); color: var(--ink-2); }
.pal-list li a .pt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-list li a .ps { font: 600 12px var(--font-mono); color: var(--ink-3); }
.pal-list li[aria-selected="true"] a { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pal-empty { padding: 28px; text-align: center; color: var(--ink-3); font-size: 14px; }
.pal-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font: 400 11.5px var(--font-mono); color: var(--ink-3); }
.pal-foot kbd { margin: 0 4px 0 0; }

/* ---------- tooltip / toast ---------- */
#tip { position: fixed; z-index: 200; pointer-events: none; opacity: 0; transition: opacity 0.1s; max-width: 260px; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 9px; background: #171c2e; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); font-size: 12.5px; }
#tip.on { opacity: 1; }
#tip .tt { font-weight: 600; color: var(--ink); }
#tip .tb { font: 400 11.5px var(--font-mono); color: var(--ink-2); margin-top: 2px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; transition: opacity 0.2s, transform 0.2s; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #171c2e; font-size: 13.5px; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.data-error { margin: 24px 0; padding: 18px 20px; border: 1px solid rgba(255, 59, 74, 0.4); border-radius: var(--radius); background: rgba(255, 59, 74, 0.08); color: var(--ink-2); }
.data-error b { color: var(--ink); }
.data-error code { font-family: var(--font-mono); color: var(--ink); }

/* ---------- disclosure clock ---------- */
.clock-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cstat { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.92), rgba(12, 15, 25, 0.92)); }
.cstat .cl { font-size: 13px; color: var(--ink-2); }
.cstat .cv { font: 600 30px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.cstat .cv.mono { font-family: var(--font-mono); font-size: 26px; letter-spacing: -0.02em; }
.cstat .cv small { margin-left: 4px; font: 500 14px var(--font-mono); letter-spacing: 0; color: var(--ink-3); }
.cstat .cs { font: 400 12px var(--font-mono); color: var(--ink-3); }
.cstat.tone { border-color: color-mix(in oklch, var(--cc) 45%, transparent); background: linear-gradient(180deg, color-mix(in oklch, var(--cc) 12%, rgb(18 22 38 / 0.92)), rgba(12, 15, 25, 0.92)); transition: border-color 0.2s, transform 0.18s; }
.cstat.tone:hover { transform: translateY(-2px); }
.cstat.tone .cv { color: var(--cc); }

.runway-card { margin-top: 12px; padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.92), rgba(12, 15, 25, 0.92)); }
.runway-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.runway-head h3 { font: 500 13px var(--font-body); color: var(--ink-2); }
.runway-head .sub { font: 400 12px var(--font-mono); color: var(--ink-3); }
.ramp { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 400 11px var(--font-mono); color: var(--ink-3); }
.ramp i { width: 96px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--bad), var(--warn), var(--ok)); }
.fc-hint { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.forecast { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.fc-y { position: relative; height: 140px; font: 400 11px var(--font-mono); color: var(--ink-3); }
.fc-y span { position: absolute; right: 0; transform: translateY(50%); }
.fc-main { min-width: 0; }
.fc-plot { position: relative; height: 140px; border-bottom: 1px solid #2e3754; }
.fc-grid { position: absolute; left: 0; right: 0; height: 1px; background: #1c2335; }
.fc-cols { position: absolute; inset: 0; display: grid; align-items: end; column-gap: 1px; }
.fc-col { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; padding: 0; border-radius: 3px 3px 0 0; cursor: pointer; }
.fc-col:disabled { cursor: default; }
.fc-col:hover:not(:disabled), .fc-col:focus-visible { background: rgba(255, 255, 255, 0.05); }
.fc-bar { display: block; width: 100%; max-width: 14px; border-radius: 3px 3px 0 0; transition: filter 0.15s; }
.fc-col:hover .fc-bar { filter: brightness(1.25); }
.fc-col.on { background: rgba(70, 114, 240, 0.18); box-shadow: inset 0 0 0 1px var(--lh-bright); }
.fc-x { position: relative; height: 22px; font: 400 11px var(--font-mono); color: var(--ink-3); }
.fc-x span { position: absolute; top: 6px; transform: translateX(-50%); white-space: nowrap; }
.fc-x span.today { left: 0 !important; transform: none; color: var(--ink); }
.months { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.month { display: inline-flex; align-items: baseline; gap: 7px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; background: rgba(5, 6, 11, 0.45); font-size: 12.5px; color: var(--ink-2); }
.month b { font: 600 14px var(--font-display); color: var(--ink); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 22px; margin-top: 2px; }
.spark i { flex: 1; min-width: 3px; border-radius: 2px 2px 0 0; background: var(--lh-bright); }
.spark i.zero { background: var(--line-2); }

/* board: tabs order the list, selects filter it */
.board { margin-top: 18px; scroll-margin-top: 80px; }
.board-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(12, 15, 25, 0.8); }
.tabs button { height: 34px; padding: 0 12px; border-radius: 7px; font-size: 13.5px; color: var(--ink-2); transition: color 0.15s, background 0.15s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 -2px 0 var(--red); }
.board-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.field-sm { flex: 0 1 220px; }
.field-sm input, .board .select select { height: 38px; }
.board .resbar { justify-content: flex-start; flex-wrap: wrap; }
.board .resbar #board-count { margin-right: auto; }
.day-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 3px 0 10px; border: 1px solid var(--lh-bright); border-radius: 99px; background: rgba(70, 114, 240, 0.15); font: 500 12px var(--font-body); color: var(--ink); }
.day-chip button { width: 20px; height: 20px; border-radius: 50%; color: var(--ink-2); }
.day-chip button:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.board-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.more { display: block; height: 40px; margin: 16px auto 0; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(12, 15, 25, 0.8); font-size: 14px; color: var(--ink); transition: border-color 0.15s, background 0.15s; }
.more:hover { border-color: var(--lh-bright); background: rgba(70, 114, 240, 0.12); }
.feed { position: sticky; top: 76px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.92), rgba(12, 15, 25, 0.92)); }
.feed h3 { margin-bottom: 8px; font: 500 13px var(--font-body); color: var(--ink-2); }
.feed-list { list-style: none; }
.feed-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; line-height: 1.4; }
.feed-list li:last-child { border-bottom: 0; }
.feed-list li > i { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--lh-bright); }
.feed-list .fe-fixed > i { background: var(--ok); }
.feed-list .fe-released > i { background: var(--red); }
.feed-list a { color: var(--ink-2); }
.feed-list a:hover { color: var(--ink); }
.feed-list a b { font: 600 12.5px var(--font-mono); color: var(--ink); }
.feed-list time { grid-column: 2; margin-top: 2px; font: 400 11.5px var(--font-mono); color: var(--ink-3); }
.feed-list .fe-empty { display: block; color: var(--ink-3); }
.embargo-grid.list { grid-template-columns: 1fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.erow { --cc: var(--ok); position: relative; display: grid; grid-template-columns: 112px minmax(0, 1.2fr) 118px 92px 116px minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 16px 11px 20px; border-bottom: 1px solid var(--line); background: rgba(12, 15, 25, 0.75); font-size: 13px; }
.erow:last-child { border-bottom: 0; }
.erow:hover { background: var(--panel-2); }
.erow::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--cc); }
.erow .r-class { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erow .r-class small { margin-left: 4px; font: 500 11px var(--font-mono); color: var(--ink-3); }
.erow .sev b { margin-left: 4px; font: 600 13px var(--font-mono); color: var(--ink); }
.erow .r-left { font: 600 13.5px var(--font-mono); color: var(--cc); }
.erow .r-when { font: 400 12px var(--font-mono); color: var(--ink-3); }
.erow .r-status { justify-self: end; }
.erow[data-state="final"] .r-left { animation: urgent 1.2s ease-in-out infinite; }

/* fix-day histogram for large datasets */
.sp-col { position: absolute; bottom: 0; display: flex; flex-direction: column-reverse; gap: 1px; overflow: hidden; border-radius: 2px 2px 0 0; }
.sp-col i { display: block; min-height: 1px; }
.sp-col i.ok { background: var(--ok); }
.sp-col i.emb { background: color-mix(in oklch, var(--ok) 45%, transparent); }
.sp-col i.late { background: var(--warn); }
.sp-col:hover, .sp-col:focus-visible { filter: brightness(1.2); }

.embargo-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.ecard { --cc: var(--ok); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.9), rgba(10, 12, 20, 0.92)); transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
.ecard::after { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--cc); }
.ecard:hover { transform: translateY(-2px); border-color: color-mix(in oklch, var(--cc) 40%, transparent); box-shadow: 0 22px 44px -28px color-mix(in oklch, var(--cc) 70%, transparent); }
.e-top { display: flex; align-items: center; gap: 12px; }
.e-id { margin-right: auto; font: 600 13px var(--font-mono); letter-spacing: 0.02em; color: var(--ink); }
.redact { display: grid; gap: 6px; }
.redact span { position: relative; display: block; height: 12px; overflow: hidden; border-radius: 3px; background: repeating-linear-gradient(90deg, #1c2236 0 6px, #161b2b 6px 12px); }
.redact span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(70, 114, 240, 0.35), rgba(255, 59, 74, 0.22), transparent); transform: translateX(-100%); animation: redactSweep 4.6s steps(16, end) infinite; }
.redact span:nth-child(2)::after { animation-delay: 1.3s; }
@keyframes redactSweep { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.e-class { font: 600 16px/1.3 var(--font-display); letter-spacing: -0.01em; }
.e-class span { font: 500 12px var(--font-mono); letter-spacing: 0; color: var(--ink-3); }
.cd { display: flex; align-items: baseline; flex-wrap: wrap; font: 600 30px/1 var(--font-mono); letter-spacing: -0.03em; color: var(--cc); font-variant-numeric: tabular-nums; }
.cd b { font-weight: 600; }
.cd i { margin: 0 9px 0 2px; font: 500 13px var(--font-mono); font-style: normal; letter-spacing: 0; color: var(--ink-3); }
.cd-sub { margin-top: 6px; font: 400 12px var(--font-mono); color: var(--ink-3); }
.wbar { position: relative; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.04); }
.wbar .w-el { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px 0 0 4px; background: rgba(160, 180, 255, 0.16); }
.wbar .w-rem { position: absolute; top: 0; bottom: 0; border-radius: 0 4px 4px 0; background: var(--cc); box-shadow: 0 0 12px color-mix(in oklch, var(--cc) 45%, transparent); }
.wbar .w-ext { position: absolute; top: -3px; bottom: -3px; right: 0; border-left: 1px dashed var(--ink-2); border-radius: 0 4px 4px 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 5px); pointer-events: none; }
.wbar .w-fix { position: absolute; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--panel); transform: translate(-50%, -50%); }
.wbar-lg { height: 10px; margin-top: 16px; }
.e-foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed var(--line); }
.e-day { margin-right: auto; font: 500 12px var(--font-mono); color: var(--ink-2); }
.tag i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; }
.tag.t-ok i { background: var(--ok); }
.tag.t-warn i { background: var(--warn); }
.tag.t-bad i { background: var(--bad); }
.ecard[data-state="final"] .cd, .cstat.tone[data-state="final"] .cv, .d-clock[data-state="final"] .cd { animation: urgent 1.2s ease-in-out infinite; }
@keyframes urgent { 50% { opacity: 0.5; } }
.ecard[data-state="due"] .cd, .d-clock[data-state="due"] .cd { color: var(--ink-3); }
.ecard[data-state="paused"] .redact span::after { animation: none; }
.pal-list .withheld { color: var(--ink-3); font-size: 12.5px; }

/* embargo reader */
.d-withheld { color: var(--ink-3); }
.d-clock { --cc: var(--ok); margin-top: 22px; padding: 18px 20px 20px; border: 1px solid color-mix(in oklch, var(--cc) 40%, transparent); border-radius: var(--radius); background: linear-gradient(180deg, color-mix(in oklch, var(--cc) 10%, rgb(5 6 11 / 0.6)), rgba(5, 6, 11, 0.5)); }
.dc-top { display: flex; justify-content: space-between; gap: 12px; font: 500 11.5px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.dc-top .e-day { margin: 0; letter-spacing: 0; text-transform: none; }
.cd-xl { margin-top: 14px; font-size: clamp(36px, 6vw, 54px); }
.cd-xl i { font-size: 16px; }
.dc-when { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.dc-when b { color: var(--ink); font-weight: 600; }
.withheld-list { list-style: none; margin-top: 12px; display: grid; gap: 9px; }
.withheld-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.redact.sm span { height: 10px; }
.ext-list { list-style: none; margin-top: 10px; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.ext-list b { margin-right: 10px; font: 600 12.5px var(--font-mono); color: var(--ink); }
.policy-note { margin-top: 28px; padding: 14px 16px; border-left: 3px solid var(--lh-bright); border-radius: 0 10px 10px 0; background: rgba(5, 22, 77, 0.35); font-size: 13.5px; color: var(--ink-2); }
.policy-note b { color: var(--ink); }

/* lifecycle timeline */
.tl { display: block; margin-top: 10px; overflow: visible; }
.tl-track { stroke: #263049; stroke-width: 6; stroke-linecap: round; }
.tl-ext { stroke: rgba(255, 255, 255, 0.3); stroke-width: 6; stroke-dasharray: 2 3; }
.tl-deadline { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 3 3; }
.tl-ev circle { fill: var(--ink-2); stroke: var(--panel); stroke-width: 2.5; }
.tl-ev text { fill: var(--ink-2); font: 500 11px var(--font-mono); }
.tl-ev.ev-ack circle { fill: var(--ink-3); }
.tl-ev.ev-fix circle { fill: var(--ok); }
.tl-ev.ev-fix text, .tl-ev.ev-now text { fill: var(--ink); }
.tl-ev.ev-late circle { fill: var(--warn); }
.tl-ev.ev-full circle { fill: var(--bad); }
.tl-ev.ev-pub circle, .tl-ev.ev-dead circle { fill: var(--lh-bright); }
.tl-ev.ev-now circle { fill: var(--ink); }

/* vendor response tile */
.t-resp { grid-area: resp; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 28px; }
.resp-figs { display: grid; gap: 18px; align-content: start; }
.resp-figs .fig { margin-top: 6px; font-size: 32px; }
.resp-figs .fig small { font-size: 13px; }
.resp-figs .sub { margin-top: 4px; }
.resp-chart h3 { margin-bottom: 8px; }
.strip { position: relative; padding-top: 18px; }
.sp-area { position: relative; border-bottom: 1px solid #2e3754; }
.sp-after { position: absolute; top: 0; bottom: 0; right: 0; border-left: 1px dashed rgba(255, 59, 74, 0.55); background: repeating-linear-gradient(135deg, rgba(255, 59, 74, 0.07) 0 4px, transparent 4px 9px); }
.sp-median { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px solid var(--ink); }
.sp-median span { position: absolute; top: -18px; left: 6px; font: 500 11px var(--font-mono); color: var(--ink); white-space: nowrap; }
.sp-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 2px var(--panel); transition: transform 0.12s; }
.sp-dot.ok { background: var(--ok); }
.sp-dot.late { background: var(--warn); }
.sp-dot.emb { background: var(--panel); border: 2px solid var(--ok); }
.sp-dot:hover, .sp-dot:focus-visible { transform: translateX(-50%) scale(1.4); }
.sp-axis { position: relative; height: 24px; font: 400 11px var(--font-mono); color: var(--ink-3); }
.sp-axis span { position: absolute; top: 7px; transform: translateX(-50%); white-space: nowrap; }
.sp-axis span:first-child { transform: none; }
.sp-axis span.dl { color: var(--bad); }
.sp-legend i { border-radius: 50%; }
.lg-ok { background: var(--ok); }
.lg-late { background: var(--warn); }
.lg-emb { border: 2px solid var(--ok); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .search-btn { min-width: 0; }
  .search-btn .lbl { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .search-btn { min-width: 0; }
  .search-btn .lbl { display: none; }
  .cards.list .card { grid-template-columns: 140px minmax(0, 1fr) 96px 56px; }
  .cards.list .card .l-class, .cards.list .card .l-date { display: none; }
  .clock-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clock-stats > :nth-child(5):last-child { grid-column: span 2; }
  .board-layout { grid-template-columns: 1fr; }
  .feed { position: static; }
  .erow { grid-template-columns: 110px minmax(0, 1fr) 110px 90px minmax(0, 1fr); }
  .erow .r-when { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 40px; gap: 16px; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "total total" "sev sev" "cvss poc" "cls cls" "vend repo" "resp resp"; }
  .clock-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clock-stats > :nth-child(5):last-child { grid-column: 1 / -1; }
  .t-resp { grid-template-columns: 1fr; }
  .erow { grid-template-columns: 104px minmax(0, 1fr) 84px; }
  .erow .sev, .erow .r-status { display: none; }
  .resp-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .repo-grid { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .ribbon .r-right { display: none; }
  .search-btn { width: 36px; padding: 0; justify-content: center; }
  .search-btn kbd { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "total" "sev" "cvss" "poc" "cls" "vend" "repo" "resp"; }
  .resp-figs { grid-template-columns: 1fr; }
  .embargo-grid { grid-template-columns: 1fr; }
  .withheld-list li { grid-template-columns: 120px minmax(0, 1fr); }
  .ramp { display: none; }
  .tabs { display: flex; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: 1 0 auto; padding: 0 10px; font-size: 12.5px; white-space: nowrap; }
  .board-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .board-filters .field-sm { grid-column: 1 / -1; }
  .board-filters .select, .board-filters .select select { width: 100%; }
  .board-filters .views { justify-self: end; }
  .forecast { grid-template-columns: 26px minmax(0, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .cards.list .card { grid-template-columns: minmax(0, 1fr) 56px; }
  .cards.list .card .c-id, .cards.list .card .l-sev { display: none; }
  .d-body { padding: 22px 18px 48px; }
  .d-meta { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .pal-list li a { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .pal-list li a .pid { display: none; }
  .ranked .row, .ranked.pairs .row { grid-template-columns: 112px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lg-ghost { opacity: 0; }
}

/* ---------- By the numbers: two series ---------- */
.k-rep { background: var(--rep); } .k-dis { background: var(--dis); } .k-mis { background: var(--mis); }
.series-key { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.series-key span { display: inline-flex; align-items: baseline; gap: 8px; }
.series-key b { color: var(--ink); font-weight: 600; }
.series-key i, .duo-lab i, .only i { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 3px; }
.series-key i { transform: translateY(1px); }

.duo { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 0; margin-top: 10px; }
.duo-item { padding-right: 30px; }
.duo-item + .duo-item { padding-left: 30px; border-left: 1px solid var(--line-2); }
.duo-item .hero-fig, .duo-item .fig { margin-top: 0; }
.duo-item.rep .hero-fig, .duo-item.rep .fig { color: var(--rep-ink); }
.duo-item.dis .hero-fig, .duo-item.dis .fig { color: var(--dis-ink); }
.duo-item.mis .hero-fig, .duo-item.mis .fig { color: var(--mis-ink); }
.duo-lab { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 500 13px var(--font-body); color: var(--ink-2); }
/* long numbers (thousands and up) get smaller figures and no divider, so a wrap onto two lines looks intended */
.duo[data-len="l"], .duo[data-len="xl"] { column-gap: 40px; }
.duo[data-len="l"] .duo-item, .duo[data-len="xl"] .duo-item { padding: 0; border: 0; }
.t-total .duo[data-len="l"] .hero-fig { font-size: clamp(58px, 6.2vw, 84px); }
.t-total .duo[data-len="xl"] .hero-fig { font-size: clamp(46px, 4.4vw, 64px); }
.duo-sm .duo-item { padding-right: 18px; }
.duo-sm .duo-item + .duo-item { padding-left: 18px; }
.duo-sm .duo-lab { font-size: 12px; margin-top: 4px; }

.cols .col { gap: 3px; }
.cols .bar.rep { background: var(--rep); }
.cols .bar.dis { background: var(--dis); }
.cols .col.duo-col .bar { width: min(16px, 34%); }

.sev-rows { display: grid; gap: 12px; margin-top: 18px; }
.sev-row { display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: center; gap: 14px; }
.sev-lab { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.sev-lab b { font: 600 12.5px var(--font-mono); color: var(--ink); }
.sev-row .seg-bar { margin-top: 0; }
.seg-bar.empty { align-items: center; padding: 0 10px; border: 1px dashed var(--line-2); border-radius: 4px; font: 400 11.5px var(--font-mono); color: var(--ink-3); }

.ranked.pairs .row { align-items: start; grid-template-columns: 156px minmax(0, 1fr); }
.ranked .pair { display: grid; gap: 3px; min-width: 0; }
.ranked .ln { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ranked .ln .fill { height: 8px; border-radius: 2px; }
.ranked .ln.rep .fill { background: var(--rep); }
.ranked .ln.dis .fill { background: var(--dis); }
.ranked .ln .val { font: 600 11.5px var(--font-mono); color: var(--ink); }
.ranked .ln.dis .val { color: var(--ink-2); font-weight: 500; }

.only { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; font: 500 11px var(--font-mono); color: var(--ink-3); vertical-align: 1px; }

@media (max-width: 560px) {
  .duo-item { padding-right: 20px; }
  .duo-item + .duo-item { padding-left: 20px; }
  .sev-row { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
  .ranked .row { grid-template-columns: 104px minmax(0, 1fr); }
}

/* ---------- the story behind the numbers ---------- */
.flow-rail, .flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flow-rail { margin-bottom: 10px; font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.flow-rail span { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.flow-rail span::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.flow-rail .in { grid-column: span 2; }
.flow-rail .on { grid-column: span 3; color: var(--ink-2); }
.flow { list-style: none; }
.flow-step { position: relative; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 24px; right: -9px; width: 6px; height: 6px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg); }
.flow-step .no { font: 600 12px var(--font-mono); color: var(--lh-bright); }
.flow-step h3 { margin-top: 8px; font: 600 16px var(--font-display); letter-spacing: -0.01em; }
.flow-tag, .flow-fig { margin-top: 10px; min-height: 36px; display: flex; align-items: center; }
.flow-tag span { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.03); font: 500 12px var(--font-body); color: var(--ink-2); }
.flow-fig { flex-wrap: wrap; align-items: baseline; gap: 2px 9px; }
.flow-fig b { font: 600 36px/1 var(--font-display); letter-spacing: -0.035em; color: var(--ink); }
.flow-fig span { display: inline-flex; align-items: center; gap: 6px; font: 400 12.5px var(--font-mono); color: var(--ink-3); }
.flow-fig i { width: 8px; height: 8px; border-radius: 2px; }
.flow[data-len="l"] .flow-fig { flex-direction: column; align-items: flex-start; gap: 6px; }
.flow[data-len="l"] .flow-fig b { font-size: 32px; }
.flow-step.rep .flow-fig b { color: var(--rep-ink); }
.flow-step.dis .flow-fig b { color: var(--dis-ink); }
.flow-step p { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.flow-step p.flow-foot, .flow-foot { margin-top: auto; padding-top: 14px; font: 400 12.5px/1.5 var(--font-mono); color: var(--ink-3); }
.flow-foot b { font-weight: 600; color: var(--ink); }
a.flow-foot { color: var(--ink-2); transition: color 0.15s; }
a.flow-foot svg { display: inline-block; width: 10px; height: 10px; vertical-align: -1px; }
a.flow-foot:hover { color: var(--ink); }
.principle { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 32px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(90deg, rgba(5, 22, 77, 0.55), rgba(12, 15, 25, 0.75)); }
.principle .quote { font: 600 17px/1.35 var(--font-display); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.principle p:not(.quote) { font-size: 13.5px; color: var(--ink-2); max-width: 64ch; }
.principle .w-link { margin-top: 6px; }
.actions .hero-why { margin-left: 8px; align-self: center; }
.nav .nav-why { color: var(--ink); }
.nav .nav-why::after { content: " →"; color: var(--red); }
@media (max-width: 1080px) {
  .flow-rail { display: none; }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow-step { display: grid; grid-template-columns: 38px minmax(0, 200px) minmax(0, 1fr); grid-template-areas: "no h3 p" "no mid p" "no mid next"; column-gap: 16px; align-items: start; }
  .flow-step .no { grid-area: no; padding-top: 3px; }
  .flow-step h3 { grid-area: h3; margin-top: 0; }
  .flow-tag, .flow-fig { grid-area: mid; margin-top: 8px; }
  .flow-step p { grid-area: p; margin-top: 0; }
  .flow-step .flow-foot { grid-area: next; padding-top: 8px; }
  .flow-step:not(:last-child)::after { top: auto; right: auto; bottom: -8px; left: 30px; transform: rotate(135deg); }
  .faq, .cta-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .flow { gap: 8px; }
  .flow-step { grid-template-columns: 26px minmax(0, 1fr); grid-template-areas: "no h3" "no mid" "no p" "no next"; column-gap: 10px; padding: 14px 16px; }
  .flow-tag, .flow-fig { min-height: 0; margin-top: 6px; }
  .flow-fig b { font-size: 32px; }
  .flow-step p { margin-top: 8px; }
  .flow-step:not(:last-child)::after { left: 22px; bottom: -7px; }
  .principle { grid-template-columns: 1fr; padding: 16px; }
}

/* =================================================================
   Why BlackHalo (about.html)
   ================================================================= */
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.why .nav a:first-child { color: var(--ink); }
.w-hero .kicker { margin-top: 4px; }
.w-hero h1 { margin-top: 16px; font-size: clamp(38px, 4.5vw, 58px); }
.w-hero h1 span { display: block; }
.w-tagline { margin-top: 26px; font: 500 12px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

/* hero diagram */
.w-art { position: relative; display: grid; justify-items: center; gap: 14px; }
.w-art::before { content: ""; position: absolute; inset: 0 6% 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 114, 240, 0.2), rgba(5, 22, 77, 0.16) 58%, transparent 76%); pointer-events: none; }
.w-halo { position: relative; width: min(480px, 100%); height: auto; overflow: visible; }
.w-halo .d-reach { fill: none; stroke: rgba(160, 180, 255, 0.32); stroke-width: 1.2; stroke-dasharray: 2 7; }
.w-halo .d-tick { stroke: var(--red); stroke-width: 1.6; }
.w-halo .d-dot { fill: rgba(163, 170, 187, 0.42); }
.w-halo .d-hit { fill: var(--red); }
.w-halo .d-hitline { stroke: rgba(255, 59, 74, 0.5); stroke-width: 1.2; }
.w-halo .d-ring { fill: none; stroke: var(--rep); stroke-width: 1.6; }
.w-halo .d-chev { fill: none; stroke: var(--rep-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.w-halo .d-core { fill: #0c0f19; stroke: var(--red); stroke-width: 2; }
.w-halo .d-node { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
.w-halo .d-core-t { fill: var(--ink); font: 600 20px var(--font-display); letter-spacing: -0.02em; }
.w-halo .d-core-s { fill: var(--ink-3); font: 500 9.5px var(--font-mono); letter-spacing: 0.12em; }
.w-halo .d-lab { fill: var(--ink); font: 600 17px var(--font-display); letter-spacing: -0.01em; }
.w-halo .d-no { fill: var(--lh-bright); font: 600 11px var(--font-mono); }
.w-legend { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font: 400 12px var(--font-mono); color: var(--ink-3); }
.w-legend span { display: inline-flex; align-items: center; gap: 8px; }
.w-legend i { width: 14px; height: 14px; border-radius: 50%; }
.w-legend .lg-reach { border: 1.5px dashed rgba(160, 180, 255, 0.5); }
.w-legend .lg-ring { border: 1.6px solid var(--rep); }
.w-legend .lg-core { border: 2px solid var(--red); background: #0c0f19; }

/* live proof */
.w-proof { padding: 8px 0 40px; }
.w-proof-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.w-proof-head h2 { font: 600 15px var(--font-display); letter-spacing: -0.01em; }
.w-proof-head p { font-size: 13.5px; color: var(--ink-3); }
.w-proof-head .w-link { margin-left: auto; }
.w-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.92), rgba(12, 15, 25, 0.92)); }
.w-stat { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.w-stat + .w-stat { border-left: 1px solid var(--line); }
.w-stat b { font: 600 clamp(34px, 3.6vw, 46px)/1 var(--font-display); letter-spacing: -0.04em; }
.w-stat.rep b { color: var(--rep-ink); }
.w-stat.dis b { color: var(--dis-ink); }
.w-stat span { display: inline; font: 400 12.5px/1.45 var(--font-mono); color: var(--ink-3); }
.w-stat i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 7px; vertical-align: 1px; }
.w-stat em { font-style: normal; }
.w-link { display: inline-flex; align-items: center; gap: 6px; font: 500 13.5px var(--font-body); color: var(--lh-bright); transition: color 0.15s, gap 0.15s; }
.w-link svg { width: 11px; height: 11px; }
.w-link:hover { color: var(--ink); gap: 9px; }

/* the idea */
.w-pillars { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.w-pillars li { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.w-big { display: block; font: 600 44px/1 var(--font-display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px var(--lh-bright); }
.w-pillars h3 { margin-top: 18px; font: 600 20px var(--font-display); letter-spacing: -0.02em; }
.w-pillars p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.w-split { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 40px; align-items: center; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(90deg, rgba(5, 22, 77, 0.6), rgba(12, 15, 25, 0.75)); }
.w-statement { font: 600 clamp(24px, 2.8vw, 32px)/1.15 var(--font-display); letter-spacing: -0.03em; }
.w-statement span { color: var(--ink-3); }
.w-checks { list-style: none; display: grid; gap: 10px; }
.w-checks li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink); }
.w-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(70, 114, 240, 0.55); background: rgba(70, 114, 240, 0.12); }
.w-checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3.5px; border-left: 1.6px solid var(--rep-ink); border-bottom: 1.6px solid var(--rep-ink); transform: rotate(-45deg); }

/* the service */
.w-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.w-card, .w-take article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.w-ico { width: 38px; height: 38px; padding: 8px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(70, 114, 240, 0.08); color: var(--rep-ink); }
.w-card h3, .w-take h3 { margin-top: 16px; font: 600 17px/1.3 var(--font-display); letter-spacing: -0.015em; }
.w-card p, .w-take p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.w-quote { margin-top: 12px; padding: 30px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(600px 200px at 0% 0%, rgba(255, 59, 74, 0.1), transparent 70%), rgba(12, 15, 25, 0.75); }
.w-quote blockquote { font: 600 clamp(22px, 2.6vw, 30px)/1.2 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.w-quote blockquote::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 16px; border-radius: 2px; background: var(--red); }
.w-quote figcaption { margin-top: 12px; font: 400 12.5px var(--font-mono); color: var(--ink-3); }

/* finding to action */
.w-strip { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.w-strip li { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.w-strip li:not(:last-child)::after { content: ""; position: absolute; top: 30px; right: -9px; width: 6px; height: 6px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg); }
.w-strip svg { width: 26px; height: 26px; color: var(--lh-bright); }
.w-strip h3 { margin-top: 12px; font: 600 15.5px var(--font-display); letter-spacing: -0.01em; }
.w-strip p { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.w-scenario { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; padding: 28px 30px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.92), rgba(12, 15, 25, 0.92)); }
.w-flag { display: inline-block; padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 11px var(--font-mono); letter-spacing: 0.04em; color: var(--ink-3); }
.w-sc-main h3 { margin-top: 14px; font: 600 22px/1.25 var(--font-display); letter-spacing: -0.02em; }
.w-sc-main p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.w-sc-main .w-sc-note { margin-top: 16px; padding-left: 12px; border-left: 2px solid var(--rep); font-size: 13.5px; color: var(--ink); }
.w-sc-diagram { width: 100%; height: auto; align-self: center; overflow: visible; }
.w-sc-diagram .sc-cap { fill: var(--ink-3); font: 500 10.5px var(--font-mono); letter-spacing: 0.1em; }
.w-sc-diagram .sc-box { fill: #0c0f19; stroke: var(--line-2); stroke-width: 1.2; }
.w-sc-diagram .sc-box.gate { stroke: var(--rep); }
.w-sc-diagram .sc-box.risk { stroke: var(--red); stroke-dasharray: 4 4; }
.w-sc-diagram .sc-t { fill: var(--ink); font: 600 13.5px var(--font-display); }
.w-sc-diagram .sc-s { fill: var(--ink-3); font: 400 10.5px var(--font-mono); }
.w-sc-diagram .sc-arrow { fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
.w-sc-diagram .sc-arrow.risk { stroke: var(--red); stroke-dasharray: 4 4; }
.w-sc-diagram .sc-head { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.w-sc-diagram .sc-head.risk { stroke: var(--red); }
.w-sc-diagram .sc-pill { fill: rgba(255, 59, 74, 0.1); stroke: rgba(255, 59, 74, 0.45); }
.w-sc-diagram .sc-pill-t { fill: #ff8a94; font: 500 10.5px var(--font-mono); }
.w-sc-cols { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.w-sc-cols h4 { font: 500 11.5px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.w-sc-cols ul, .w-eng ul { list-style: none; margin-top: 10px; display: grid; gap: 7px; }
.w-sc-cols li, .w-eng li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); }
.w-sc-cols li::before, .w-eng li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 1px; background: var(--lh-bright); }

/* when a fix isn't ready */
.w-gap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.w-gap h2 { margin-top: 10px; font: 600 clamp(26px, 3.2vw, 36px)/1.1 var(--font-display); letter-spacing: -0.03em; text-wrap: balance; }
.w-gap > div > p { margin-top: 12px; color: var(--ink-2); max-width: 56ch; }
.w-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.w-chips li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.03); font-size: 13px; color: var(--ink); }
.w-gap .w-aside { margin-top: 20px; font-size: 13.5px; color: var(--ink-3); }
.w-gap .btn { margin-top: 20px; }
.w-plan { padding: 26px 28px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, rgba(5, 22, 77, 0.5), rgba(12, 15, 25, 0.85)); }
.w-plan h3 { margin-top: 10px; font: 600 20px/1.25 var(--font-display); letter-spacing: -0.02em; }
.w-plan ol { list-style: none; counter-reset: plan; margin-top: 18px; display: grid; gap: 16px; }
.w-plan li { counter-increment: plan; position: relative; padding-left: 44px; }
.w-plan li::before { content: counter(plan); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rep); color: var(--rep-ink); font: 600 13px var(--font-mono); }
.w-plan li b { display: block; font: 600 15px var(--font-display); color: var(--ink); }
.w-plan li span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.w-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* takeaways */
.w-take { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

/* engagements */
.w-eng { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.w-eng article { display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.w-eng h3 { font: 600 19px/1.25 var(--font-display); letter-spacing: -0.02em; }
.w-eng .w-flag + h3 { margin-top: 12px; }
.w-eng article > p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.w-eng ul { margin: 16px 0 20px; }
.w-eng .w-link { margin-top: auto; }
.w-eng .w-eng-research { border-color: rgba(70, 114, 240, 0.4); background: linear-gradient(180deg, rgba(5, 22, 77, 0.45), rgba(12, 15, 25, 0.8)); }
.w-eng-research .w-flag { align-self: flex-start; border-color: rgba(70, 114, 240, 0.5); color: var(--rep-ink); }
.w-eng-live { margin: -6px 0 18px; font: 400 12.5px/1.5 var(--font-mono); color: var(--ink-3); }
.w-eng-live b { color: var(--ink); font-weight: 600; }
.w-bounds { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.w-bounds h3 { font: 600 17px var(--font-display); letter-spacing: -0.015em; }
.w-bounds p { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
.w-bounds .w-chips { margin-top: 0; }

/* start */
.w-start { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px 48px; padding: 36px; border: 1px solid var(--line-2); border-radius: 20px; background: radial-gradient(700px 300px at 100% 0%, rgba(255, 59, 74, 0.1), transparent 70%), linear-gradient(135deg, rgba(5, 22, 77, 0.75), rgba(12, 15, 25, 0.9)); }
.w-start h2 { margin-top: 10px; font: 600 clamp(28px, 3.4vw, 40px)/1.08 var(--font-display); letter-spacing: -0.035em; }
.w-topics { margin-top: 24px; border: 0; display: grid; gap: 8px; }
.w-topics legend { margin-bottom: 10px; font-size: 14px; color: var(--ink-2); }
.w-topics label { position: relative; display: block; cursor: pointer; }
.w-topics input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.w-topics span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, 0.02); font-size: 14.5px; transition: border-color 0.15s, background 0.15s; }
.w-topics span::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-3); transition: border-color 0.15s, box-shadow 0.15s; }
.w-topics label:hover span { border-color: var(--lh-bright); }
.w-topics input:checked + span { border-color: var(--red); background: rgba(255, 59, 74, 0.08); }
.w-topics input:checked + span::before { border-color: var(--red); box-shadow: inset 0 0 0 3.5px #0c0f19, inset 0 0 0 8px var(--red); }
.w-topics input:focus-visible + span { outline: 2px solid var(--lh-bright); outline-offset: 2px; }
.w-start-side { align-self: center; }
.w-start-side h3 { font: 600 20px var(--font-display); letter-spacing: -0.02em; margin-bottom: 16px; }
.w-start-side .actions { margin-top: 26px; }
.w-start-side .btn-primary svg { width: 14px; height: 14px; }
.w-small { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); max-width: 52ch; }
.w-brief { margin-top: 14px; width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #070912; color: var(--ink); font: 400 12.5px/1.6 var(--font-mono); resize: vertical; }
.foot-bottom .legal { display: inline-flex; gap: 18px; }
.foot-bottom .legal a:hover { color: var(--ink); }

@media (max-width: 1080px) {
  .w-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-strip li::after { display: none; }
  .w-take { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .w-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-stat:nth-child(3) { border-left: 0; }
  .w-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .w-pillars, .w-cards, .w-eng { grid-template-columns: 1fr; }
  .w-split, .w-scenario, .w-gap, .w-start { grid-template-columns: 1fr; }
  .w-sc-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top-actions .btn-sm { padding: 0 12px; font-size: 13px; }
  .w-strip { grid-template-columns: 1fr 1fr; }
  .w-strip li:last-child { grid-column: 1 / -1; }
  .w-take { grid-template-columns: 1fr; }
  .w-split, .w-scenario, .w-plan, .w-quote { padding: 22px 18px; }
  .w-start { padding: 24px 18px; }
  .w-proof-head .w-link { margin-left: 0; }
  .w-stat { padding: 16px; }
}

/* "Why BlackHalo" information section (record page) */
.why-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.why-points li { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.why-points .no { font: 600 12px var(--font-mono); color: var(--lh-bright); }
.why-points h3 { margin-top: 10px; font: 600 16px/1.3 var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.why-points p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.why-honest { margin-top: 12px; }
.why-honest .quote { max-width: none; }
.why-honest .w-link { display: inline-flex; margin-left: 4px; vertical-align: baseline; }
@media (max-width: 980px) { .why-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .why-points { grid-template-columns: 1fr; } }

/* about: heritage credential row */
.cred-row { list-style: none; margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cred-row li { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.cred-row b { display: block; font: 600 30px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.cred-row span { display: block; margin-top: 7px; font-size: 13px; color: var(--ink-2); }

/* about: containment envelope list */
.bound-list { list-style: none; margin-top: 16px; display: grid; gap: 13px; }
.bound-list li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.bound-list b { font: 600 13px var(--font-mono); color: var(--rep-ink); letter-spacing: 0.02em; }
.bound-list span { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }

/* about: tool vs outcome */
.w-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.w-vs > div { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.w-vs .vs-bh { border-color: rgba(70, 114, 240, 0.4); background: linear-gradient(180deg, rgba(5, 22, 77, 0.45), rgba(12, 15, 25, 0.8)); }
.w-vs h4 { font: 500 11.5px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.w-vs .vs-bh h4 { color: var(--rep-ink); }
.w-vs ul { list-style: none; margin-top: 12px; display: grid; gap: 9px; }
.w-vs li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.w-vs .vs-raw li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 1.6px; background: var(--ink-3); }
.w-vs .vs-bh li::before { content: ""; position: absolute; left: 1px; top: 6px; width: 6px; height: 3.5px; border-left: 1.6px solid var(--rep-ink); border-bottom: 1.6px solid var(--rep-ink); transform: rotate(-45deg); }

/* about: future */
.w-future-p { margin-top: 16px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 80ch; }

@media (max-width: 860px) {
  .cred-row { grid-template-columns: 1fr; }
  .w-vs { grid-template-columns: 1fr; }
}

/* =================================================================
   2026-11-27 · Route to "Why BlackHalo" + about-page visuals
   ================================================================= */
/* record page: always-visible route to the about page */
.btn-about { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 10px; border: 1px solid rgba(255, 59, 74, 0.45); border-radius: 999px; background: rgba(255, 59, 74, 0.08); color: var(--ink); font: 500 13.5px var(--font-body); white-space: nowrap; transition: background 0.15s, border-color 0.15s; }
.btn-about svg { width: 16px; height: 16px; flex: none; }
.btn-about:hover { background: rgba(255, 59, 74, 0.16); border-color: var(--red); }
.btn-about .ba-short { display: none; }
.principle .principle-cta { margin-top: 10px; }
@media (max-width: 900px) { .principle { grid-template-columns: minmax(0, 1fr); } }
.principle-cta svg { width: 11px; height: 11px; }
@media (max-width: 560px) {
  .top-actions #gh-site { display: none; }
}
@media (max-width: 374px) {
  .topbar .wrap { gap: 12px; }
  .btn-about { padding: 0 11px 0 9px; }
  .btn-about .ba-long { display: none; }
  .btn-about .ba-short { display: inline; }
}

/* about page: route back to the record when the nav is hidden */
.ab-back { display: none; }
.ab-back svg { width: 14px; height: 14px; }
@media (max-width: 1080px) { .ab-back { display: inline-flex; } }
@media (max-width: 400px) {
  .why .topbar .wrap { gap: 10px; }
  .why .top-actions { gap: 6px; }
  .why .top-actions .btn-sm { padding: 0 10px; font-size: 12.5px; }
  .ab-back svg { display: none; }
}
.ds-short { display: none; }
@media (max-width: 480px) {
  .why .top-actions .ds-long { display: none; }
  .why .top-actions .ds-short { display: inline; }
}
@media (max-width: 350px) {
  /* keep the contact action; the brand link and the section menu cover the way back */
  .why .top-actions .ab-back { display: none; }
}

/* about: figures (diagrams ship as static SVG images) */
.ab-fig { margin-top: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.ab-fig picture, .ab-fig img { display: block; width: 100%; height: auto; }
.ab-fig figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--ink-3); max-width: 90ch; }

/* about: heritage illustration */
.ab-her { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.ab-her .sec-head { margin-bottom: 0; }
.ab-her-fig { margin: 0; }
.ab-her-fig img { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.ab-her-fig figcaption { margin: 10px auto 0; max-width: 40ch; text-align: center; font: 400 12px/1.5 var(--font-mono); color: var(--ink-3); }

/* about: operating modes */
.ab-modes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ab-mode { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); overflow: hidden; }
.ab-mode-art { border-bottom: 1px solid var(--line); background: radial-gradient(70% 90% at 50% 50%, rgba(5, 22, 77, 0.45), transparent 75%), #080a12; }
.ab-mode-art img { display: block; width: 100%; height: auto; }
.ab-mode-body { padding: 18px 22px 22px; }
.ab-mode-no { font: 600 12px var(--font-mono); color: var(--lh-bright); }
.ab-mode h3 { margin-top: 6px; font: 600 18px/1.25 var(--font-display); letter-spacing: -0.015em; }
.ab-mode .ab-mode-sub { margin-top: 2px; font: 500 12px var(--font-mono); letter-spacing: 0.02em; color: var(--rep-ink); }
.ab-mode p:not(.ab-mode-sub) { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ab-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink-2); }
.ab-legend li { display: inline-flex; align-items: center; gap: 8px; }
.ab-legend svg { width: 20px; height: 20px; flex: none; overflow: visible; }
.ab-modes-foot { margin-top: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 32px; align-items: center; padding: 18px 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(90deg, rgba(5, 22, 77, 0.55), rgba(12, 15, 25, 0.75)); }
.ab-modes-tags { font: 600 15px/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.ab-modes-tags span { color: var(--red); padding: 0 4px; }
.ab-modes-foot p:not(.ab-modes-tags) { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }

/* about: illustrative finding excerpt */
.ab-sample { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 24px 40px; align-items: start; }
.ab-sample-intro h3 { margin-top: 10px; font: 600 22px/1.2 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.ab-sample-intro p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ab-sample-intro .ab-sample-note { display: inline-block; margin-top: 14px; padding: 4px 10px; border: 1px dashed var(--line-2); border-radius: 999px; font: 500 11.5px var(--font-mono); letter-spacing: 0.04em; color: var(--ink-3); }
.ab-doc { position: relative; padding: 24px 26px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.95), rgba(12, 15, 25, 0.95)); }
.ab-doc::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 2px 2px 0; background: var(--warn); }
.ab-doc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font: 500 12px var(--font-mono); color: var(--ink-3); }
.ab-doc-id { color: var(--ink-2); letter-spacing: 0.06em; }
.ab-doc-sev { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.ab-doc-sev i { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.ab-doc h4 { margin-top: 12px; font: 600 18px/1.3 var(--font-display); letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.ab-doc-fields { margin-top: 16px; display: grid; gap: 0; }
.ab-doc-fields > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 20px; padding: 11px 0; border-top: 1px solid var(--line); }
.ab-doc-fields dt { font: 500 12px/1.6 var(--font-mono); letter-spacing: 0.02em; color: var(--rep-ink); }
.ab-doc-fields dd { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.ab-chip { display: inline-block; margin: 0 6px 4px 0; padding: 2px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--ink); background: rgba(255, 255, 255, 0.03); }
.ab-chip.ok { border-color: rgba(52, 199, 123, 0.5); background: rgba(52, 199, 123, 0.1); color: #8fe3b6; }

@media (max-width: 1080px) {
  .ab-modes { grid-template-columns: minmax(0, 1fr); }
  .ab-mode { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .ab-mode-art { display: grid; place-items: center; border-bottom: 0; border-right: 1px solid var(--line); }
  .ab-mode-body { align-self: center; }
  .ab-sample { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .ab-her { grid-template-columns: minmax(0, 1fr); }
  .ab-her-fig img { max-width: 340px; }
  .ab-fig { padding: 20px; }
  .ab-fig img { max-width: 460px; margin: 0 auto; }
  .ab-modes-foot { grid-template-columns: minmax(0, 1fr); }
  .ab-modes-tags { white-space: normal; }
}
@media (max-width: 640px) {
  .ab-mode { display: flex; }
  .ab-mode-art { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .ab-fig { padding: 12px; }
  .ab-fig figcaption { margin-top: 12px; padding: 12px 4px 2px; }
  .ab-mode-body { padding: 16px 18px 18px; }
  .ab-legend { gap: 8px 16px; padding: 12px 14px; }
  .ab-modes-foot { padding: 16px 18px; }
  .ab-doc { padding: 20px 18px; }
  .ab-doc-fields > div { grid-template-columns: minmax(0, 1fr); }
}

/* =================================================================
   2026-11-27 (2) · About page: shorter, clearer, more readable
   ================================================================= */
/* the expertise line carries the same weight as the claim before it */
.w-hero h1 span { color: #cdd3e0; }

/* meaningful captions and notes use the lighter secondary ink */
.ab-fig figcaption { font-size: 14px; color: var(--ink-2); }
.ab-legend { font-size: 14px; }
.ab-her-fig figcaption { font-size: 13px; color: var(--ink-2); }
.why .w-quote figcaption { font-size: 13px; color: var(--ink-2); }
.why .w-gap .w-aside { font-size: 14px; color: var(--ink-2); }
.why .w-small { font-size: 13.5px; color: var(--ink-2); }
.why .w-proof-head p { color: var(--ink-2); }
.why .w-eng-live { font-size: 13px; color: var(--ink-2); }
.w-small b { color: var(--ink); font-weight: 600; }

/* old anchors (#idea, #work, #journey, #takeaway, #future) keep landing in the right place */
.ab-anchor { display: block; height: 0; }

/* on-this-page menu, shown when the header nav collapses */
.ab-toc { display: none; }
@media (max-width: 1080px) {
  .ab-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .ab-toc a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.03); font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
  .ab-toc a:hover { color: var(--ink); border-color: var(--lh-bright); }
  .ab-toc a[href="#start"] { border-color: rgba(255, 59, 74, 0.5); color: var(--ink); }
}

/* key under a diagram (HTML, so it stays readable at any width) */
.ab-key { list-style: none; display: grid; gap: 8px; }
.ab-key li { display: flex; align-items: flex-start; gap: 10px; }
.ab-key svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.ab-key b { color: var(--ink); font-weight: 600; }

/* boundaries: supporting detail under the architecture */
.ab-fig-first { margin-top: 0; }
.ab-bounds { list-style: none; margin-top: 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ab-bounds li { grid-column: span 2; }
.ab-bounds li:nth-child(n+4) { grid-column: span 3; }
.ab-bounds li { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.ab-bounds b { display: block; font: 600 15px var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.ab-bounds span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
#containment .sec-head .btn { flex: none; }

/* outcomes: what the team receives, beside the example finding */
.ab-sample-intro h3 { margin-top: 0; margin-bottom: 14px; }
.ab-sample-intro .w-checks li { font-size: 14.5px; }
.ab-sample-live { margin-top: 14px; padding-left: 12px; border-left: 2px solid var(--rep); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.ab-doc-tech { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.ab-doc-tech summary { cursor: pointer; font: 500 12.5px var(--font-mono); letter-spacing: 0.02em; color: var(--rep-ink); }
.ab-doc-tech summary:hover { color: var(--ink); }
.ab-doc-tech p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.ab-doc-tech code { font: 500 12.5px var(--font-mono); color: var(--ink); word-break: break-all; }

/* depth and cadence: two cards */
.w-cards.ab-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* credentials: whose record each figure is */
.ab-scope-label { margin-top: 24px; font: 500 12px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.cred-row.ab-cred { margin-top: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ab-cred span { font-size: 14px; }

/* engagements: disclosure policy belongs to the research offering */
.ab-eng-policy { margin: -4px 0 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* contact: carry the visitor's choice */
.ab-start-lead { margin-top: 12px; max-width: 46ch; color: var(--ink-2); }
.ab-textbtn { margin-top: 10px; padding: 0; border: 0; background: none; font: 500 13.5px var(--font-body); color: var(--rep-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ab-textbtn:hover { color: var(--ink); }
.ab-textbtn:focus-visible { outline: 2px solid var(--lh-bright); outline-offset: 3px; border-radius: 3px; }

@media (max-width: 1080px) {
  .ab-bounds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-bounds li, .ab-bounds li:nth-child(n+4) { grid-column: auto; }
  .ab-bounds li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .w-cards.ab-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ab-bounds, .cred-row.ab-cred { grid-template-columns: minmax(0, 1fr); }
  .ab-bounds li:last-child { grid-column: auto; }
}
@media (max-width: 560px) {
  /* one compact, swipeable row on phones; the fade shows there is more */
  .ab-toc { flex-wrap: nowrap; overflow-x: auto; margin-top: 12px; padding-bottom: 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .ab-toc::-webkit-scrollbar { display: none; }
  .ab-toc a { flex: none; }
  .ab-toc a:last-child { margin-right: 40px; }
  .ab-fig { padding: 8px; }
  .ab-fig figcaption { padding: 12px 8px 4px; }
  .ab-fig img { max-width: 100%; }
}

/* =================================================================
   2026-11-27 (3) · About page: enterprise service story
   ================================================================= */
/* hero */
.why .w-hero h1 { font-size: clamp(34px, 4vw, 52px); }
.ab-hero-copy { margin-top: 12px; max-width: 58ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ab-promise { margin-top: 18px; font: 600 18px/1.35 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.w-hero .actions { margin-top: 20px; }

/* why now */
.ab-changes { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ab-changes li { position: relative; padding: 16px 16px 16px 34px; border: 1px solid var(--line); border-radius: 12px; background: rgba(12, 15, 25, 0.75); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ab-changes li::before { content: ""; position: absolute; left: 16px; top: 22px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--lh-bright); }
.ab-now-grid { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.ab-now-copy > p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
@media (min-width: 1081px) {
  .ab-now-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ab-now-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
  .ab-now-copy > p:first-child { grid-row: 1 / span 2; }
  .ab-now-copy > .ab-stance { margin-top: 0; }
}
.ab-now-copy > p + p, .ab-now-copy > blockquote + p { margin-top: 14px; }
.ab-stance { margin: 20px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--red); }
.ab-stance p { font: 600 20px/1.35 var(--font-display); letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.ab-stance footer { margin-top: 8px; font: 500 11.5px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.ab-stance-wide { margin-top: 32px; }
.ab-stance-wide p { font-size: clamp(20px, 2.2vw, 26px); max-width: 44ch; }
.ab-fig.ab-fig-tight { margin-top: 0; padding: 20px; }
.ab-pressure { margin-top: 44px; }
.ab-pressure h3 { font: 600 22px/1.25 var(--font-display); letter-spacing: -0.02em; }
.ab-pressure-grid { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 32px; align-items: start; }
.ab-stat { margin: 0; padding: 28px; border: 1px solid var(--line-2); border-radius: var(--radius); background: radial-gradient(420px 220px at 0% 0%, rgba(255, 59, 74, 0.12), transparent 70%), linear-gradient(180deg, rgba(5, 22, 77, 0.45), rgba(12, 15, 25, 0.9)); }
.ab-stat-num { font: 700 clamp(64px, 8vw, 96px)/1 var(--font-display); letter-spacing: -0.045em; color: var(--ink); }
.ab-stat-num span { font-size: 0.38em; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2); }
.ab-stat-lab { margin-top: 12px; font: 600 17px/1.3 var(--font-display); color: var(--ink); }
.ab-stat-def { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ab-stat figcaption { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.ab-stat a, .ab-src { color: var(--rep-ink); text-decoration: underline; text-underline-offset: 3px; }
.ab-stat a:hover, .ab-src:hover { color: var(--ink); }
.ab-pressure-copy p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.ab-pressure-copy p + p { margin-top: 14px; }
.ab-pressure-copy b { color: var(--ink); font-weight: 600; }
.ab-src { font-size: 13px; white-space: normal; }
.ab-pressure-copy .ab-src-note { font-size: 13px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }

/* the service cycle */
.ab-cycle { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ab-cycle li { position: relative; display: flex; flex-direction: column; padding: 20px 18px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(12, 15, 25, 0.75); }
.ab-cycle li:not(:last-child)::after { content: ""; position: absolute; top: 33px; right: -15px; width: 16px; height: 2px; background: var(--lh-bright); }
.ab-cycle-no { display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--lh-bright); border-radius: 50%; font: 600 13px var(--font-mono); color: var(--ink); background: var(--bg); }
.ab-cycle h3 { margin-top: 12px; font: 600 15.5px/1.3 var(--font-display); letter-spacing: -0.01em; }
.ab-cycle li > p:not(.ab-cycle-out) { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.ab-cycle-out { margin-top: auto; padding-top: 12px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.ab-cycle-out b { display: block; margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid var(--line); font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--rep-ink); }
.ab-cycle-loop { margin-top: 14px; display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: 10px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.ab-cycle-loop svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--rep-ink); }
.ab-authority { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ab-authority > div { padding: 16px 20px; border: 1px solid var(--line); border-left: 3px solid var(--lh-bright); border-radius: 10px; background: rgba(12, 15, 25, 0.75); }
.ab-authority > div:last-child { border-left-color: var(--red); }
.ab-authority b { display: block; font: 600 15px var(--font-display); color: var(--ink); }
.ab-authority span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ab-owners { margin-top: 48px; }
.ab-owners-copy { max-width: 84ch; }
.ab-owners-copy h3 { font: 600 22px/1.25 var(--font-display); letter-spacing: -0.02em; }
.ab-owners-copy p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

/* aligned reporting */
.ab-report { display: grid; grid-template-columns: minmax(0, 0.9fr) 44px minmax(0, 1.45fr); gap: 0 12px; align-items: center; }
.ab-record { padding: 22px 22px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 22, 38, 0.95), rgba(12, 15, 25, 0.95)); }
.ab-record-head { display: flex; align-items: center; gap: 10px; }
.ab-record-head svg { width: 22px; height: 22px; flex: none; }
.ab-record h3 { font: 600 17px/1.3 var(--font-display); letter-spacing: -0.01em; }
.ab-record ul { list-style: none; margin-top: 12px; }
.ab-record li { padding: 8px 0 8px 18px; border-top: 1px solid var(--line); position: relative; font-size: 14px; color: var(--ink-2); }
.ab-record li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 6px; border-radius: 2px; background: var(--rep-ink); }
.ab-record-foot { margin-top: 12px; font-size: 13px; color: var(--rep-ink); }
.ab-report-link svg { display: block; width: 44px; height: 120px; }
.ab-views { list-style: none; display: grid; gap: 8px; }
.ab-views li { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 4px 16px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(12, 15, 25, 0.75); }
.ab-views b { font: 600 14.5px/1.4 var(--font-display); color: var(--ink); }
.ab-views span { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ab-illus { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.ab-rhythm-wrap { margin-top: 32px; }
.ab-rhythm-wrap h3 { font: 600 18px/1.3 var(--font-display); letter-spacing: -0.015em; }
.ab-rhythm { list-style: none; margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ab-rhythm li { padding: 16px 18px; border: 1px solid var(--line); border-top: 3px solid var(--lh-bright); border-radius: 10px; background: rgba(12, 15, 25, 0.75); }
.ab-rhythm li:first-child { border-top-color: var(--red); }
.ab-rhythm b { display: block; font: 600 15px var(--font-display); color: var(--ink); }
.ab-rhythm span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.ab-rhythm-note { margin-top: 12px; max-width: 92ch; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ab-states { margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; background: rgba(12, 15, 25, 0.6); }
.ab-states summary { padding: 14px 18px; cursor: pointer; font: 600 15px var(--font-display); color: var(--ink); }
.ab-states summary:focus-visible { outline: 2px solid var(--lh-bright); outline-offset: 2px; border-radius: 10px; }
.ab-states dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding: 0 18px 14px; }
.ab-states dl > div { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ab-states dt { font: 500 12.5px/1.6 var(--font-mono); color: var(--rep-ink); }
.ab-states dd { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* finding example: views and response history */
.ab-sample { margin-top: 44px; }
.ab-views-mini { margin-top: 14px; }
.ab-views-mini > div { padding: 9px 0; border-top: 1px solid var(--line); }
.ab-views-mini dt { font: 500 12px var(--font-mono); letter-spacing: 0.04em; color: var(--rep-ink); }
.ab-views-mini dd { margin-top: 3px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ab-hist { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.ab-hist-title { font: 500 12px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.ab-hist ol { list-style: none; margin-top: 10px; }
.ab-hist li { position: relative; padding: 5px 0 9px 26px; }
.ab-hist li::before { content: ""; position: absolute; left: 1px; top: 9px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); }
.ab-hist li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 23px; bottom: -4px; width: 2px; background: var(--line-2); }
.ab-hist li.done::before { border-color: var(--ok); background: var(--ok); }
.ab-hist li.now::before { border-color: var(--warn); box-shadow: 0 0 0 4px rgba(245, 182, 61, 0.15); }
.ab-hist b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ab-hist li:not(.done):not(.now) b { color: var(--ink-2); }
.ab-hist span { display: block; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* how BlackHalo supports delivery */
.ab-sub { margin-top: 40px; }
.ab-sub > h3 { margin-bottom: 14px; font: 600 20px/1.3 var(--font-display); letter-spacing: -0.015em; }
.ab-sub-lead { max-width: 84ch; margin-bottom: 16px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.ab-mode h4 { font: 600 17px/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.ab-mode .ab-mode-body p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ab-modes-note { margin-top: 12px; max-width: 92ch; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
#how .w-quote { margin-top: 36px; }

/* engage: the programme leads, the baseline is the way in */
.ab-eng .ab-eng-main { border-color: rgba(70, 114, 240, 0.55); background: radial-gradient(420px 220px at 0% 0%, rgba(70, 114, 240, 0.14), transparent 70%), rgba(12, 15, 25, 0.85); }
.ab-eng .ab-eng-main .w-flag { align-self: flex-start; border-color: rgba(255, 59, 74, 0.5); color: var(--ink); }

@media (max-width: 1080px) {
  .ab-changes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-changes li:last-child { grid-column: 1 / -1; }
  .ab-now-grid, .ab-pressure-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-cycle { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ab-cycle li { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 0.8fr); gap: 4px 16px; align-items: start; }
  .ab-cycle li:not(:last-child)::after { top: auto; right: auto; left: 31px; bottom: -13px; width: 2px; height: 12px; }
  .ab-cycle-no { grid-row: 1 / span 2; }
  .ab-cycle h3 { margin-top: 3px; }
  .ab-cycle-out { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; padding-top: 0; }
  .ab-cycle-out b { margin-top: 3px; padding-top: 0; border-top: 0; }
  .ab-rhythm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ab-report { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ab-report-link { justify-self: center; transform: rotate(90deg); height: 44px; margin: 0; }
  .ab-report-link svg { width: 44px; height: 44px; }
  .ab-states dl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ab-changes { grid-template-columns: minmax(0, 1fr); }
  .ab-cycle li { grid-template-columns: 40px minmax(0, 1fr); }
  .ab-cycle-out { grid-column: 2; grid-row: auto; margin-top: 10px; }
  .ab-cycle-no { grid-row: 1 / span 3; }
  .ab-authority { grid-template-columns: minmax(0, 1fr); }
  .ab-views li { grid-template-columns: minmax(0, 1fr); }
  .ab-states dl > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .ab-rhythm { grid-template-columns: minmax(0, 1fr); }
  .ab-stat { padding: 22px 20px; }
  .ab-fig.ab-fig-tight { padding: 8px; }
}
