/* ============================================================
   Dirigent — shared marketing-site theme
   Tokens lifted verbatim from portal/src/index.css (canonical set,
   see arena/docs/reference/PRODUCT_DESIGN.md §9). Plain CSS — no
   Tailwind @theme/@utility directives — so the static landing
   pages render standalone.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-page: #081a1c;
  --bg-rail-top: #133234;
  --bg-rail-bottom: #0b2223;
  --bg-surface: #102528;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-strong: rgba(255, 255, 255, 0.05);

  --text-primary: #eef1f0;
  --text-secondary: #d5dcdc;
  --text-muted: #b4c0c0;
  --text-faint: #8ca0a1;
  --text-faintest: #6c7f80;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);

  --hot: #fa6147;
  --hot-glow: #ff8a72;
  --hot-border: rgba(250, 97, 71, 0.4);
  --hot-bg: rgba(250, 97, 71, 0.14);
  --hot-bg-soft: rgba(250, 97, 71, 0.06);

  --cool: #9fc6c6;
  --cool-glow: #bfdada;
  --cool-bg: rgba(159, 198, 198, 0.12);

  --safe: #9fc6c6;
  --safe-bg: rgba(159, 198, 198, 0.10);

  --good: rgb(123, 195, 138);
  --good-glow: rgb(160, 215, 175);
  --good-bg: rgba(123, 195, 138, 0.12);
  --good-border: rgba(123, 195, 138, 0.40);

  --warning: #fbbf24;
  --warning-bg: rgba(251, 191, 36, 0.14);
  --warning-border: rgba(251, 191, 36, 0.40);

  --destructive: #ef4444;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; min-height: 100vh; }

body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

.tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 32px;
  background: color-mix(in srgb, var(--bg-page) 80%, transparent);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { width: 22px; height: 22px; }
.brand-name { font-size: 1.15rem; font-weight: 300; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 0.9rem; color: var(--text-faint); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text-primary); }
.nav-toggle { display: none; appearance: none; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border-medium); border-radius: 8px; color: var(--text-primary); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.nav-toggle:hover { background: var(--bg-card-strong); }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding-top: 10px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { width: 100%; padding: 12px 2px; font-size: 1rem; border-top: 1px solid var(--border-subtle); }
}

/* ---- Locale switcher (globe, in nav) ----
   ACQUISITION.md §4.7 — persistent across pages, sets a functional
   cookie via the server (`?locale=set`); no JS needed for cookie set. */
.nav-locale { position: relative; }
.nav-locale > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-faint);
  font-size: 0.82rem;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.nav-locale > summary::-webkit-details-marker { display: none; }
.nav-locale > summary::marker { content: ""; }
.nav-locale > summary:hover { color: var(--text-primary); border-color: var(--border-strong); background: var(--bg-card-strong); }
.nav-locale[open] > summary { color: var(--text-primary); border-color: var(--border-strong); background: var(--bg-card-strong); }
.nav-locale-tag { font-family: var(--font-mono); letter-spacing: 0.05em; }
.nav-locale-globe { width: 14px; height: 14px; opacity: 0.7; flex-shrink: 0; }
.nav-locale-chev { font-size: 0.7rem; opacity: 0.7; }
.nav-locale-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: linear-gradient(160deg, #0e2628 0%, #081a1c 100%);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.75);
  z-index: 60;
}
.nav-locale-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-locale-menu a:hover { background: var(--bg-card-strong); color: var(--text-primary); }
.nav-locale-menu a[aria-current="true"] {
  color: var(--hot);
  background: var(--hot-bg-soft);
}
.nav-locale-flag { font-family: var(--font-sans); font-size: 1.05rem; line-height: 1; }
@media (max-width: 760px) {
  .nav-locale { width: 100%; border-top: 1px solid var(--border-subtle); }
  .nav-locale > summary { width: 100%; justify-content: space-between; padding: 12px 2px; background: transparent; border: none; border-radius: 0; font-size: 1rem; color: var(--text-faint); }
  .nav-locale > summary:hover, .nav-locale[open] > summary { background: transparent; border: none; }
  .nav-locale-menu { position: static; box-shadow: none; border: none; padding: 0 0 12px; background: transparent; min-width: 0; }
}

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hot);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  transition: background 160ms ease-out, border-color 160ms ease-out,
    transform 160ms ease-out, box-shadow 160ms ease-out, color 160ms ease-out;
  cursor: pointer;
  outline: none;
}
.btn-primary {
  background: var(--hot);
  border-color: var(--hot);
  color: #fff;
}
.btn-primary:hover {
  background: var(--hot-glow);
  border-color: var(--hot-glow);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(250, 97, 71, 0.25);
}
.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-medium);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: var(--bg-card-strong);
  border-color: var(--border-strong);
}
.btn-ghost {
  background: transparent;
  border-color: var(--border-medium);
  color: var(--text-muted);
}
.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* ---- Scrollbars ---- */
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ---- Focus ---- */
*:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; border-radius: 4px; }

/* ---- Site footer (shared) ---- */
.site-footer { background: linear-gradient(160deg, #0e2628 0%, #081a1c 100%); border-top: 1px solid var(--border-medium); padding: 64px 32px 36px; }
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-tag { color: var(--text-faint); font-size: 0.88rem; line-height: 1.6; max-width: 320px; margin: 16px 0 0; }
.footer-h { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--text-muted); padding: 5px 0; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-faintest); }

/* ============================================================
   In-hero kicker (ACQUISITION.md §4.5)
   Typographic, sits *in* the hero — no bordered box, no in-kicker
   CTA (the hero's own email form is the CTA), no in-kicker switcher
   (the nav globe handles locale). Hairline below separates it from
   the H1 without alerting beside it. DOM-removed when the breach
   store has no hot entry for the locale.
   ============================================================ */
.kicker {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 10px;
  max-width: 620px;
  margin: 0 0 12px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-muted);
}
.kicker-flag { font-size: 0.92rem; line-height: 1; flex-shrink: 0; transform: translateY(2px); }
.kicker-list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 0;
  min-height: 1.35em;  /* one line — prevents layout shift between slides */
}
.kicker-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kicker-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.kicker-list a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.kicker-list a:hover { color: var(--text-primary); border-bottom-color: var(--text-faintest); }
.kicker-dismiss {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-faintest);
  font-size: 0.88rem;
  line-height: 1;
  cursor: pointer;
  padding: 1px 4px;
  margin-left: auto;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
  align-self: flex-start;
}
.kicker-dismiss:hover { color: var(--text-primary); background: var(--bg-card-strong); }

/* ============================================================
   Depth-section row (ACQUISITION.md §4.8)
   Horizontal scroller below the walkthrough. Three cards visible
   on desktop, scrolls horizontally when there are more. Right-edge
   fade + chevron button hint at overflow. Hides cleanly when the
   breach store for the locale has zero entries (§4.6 / §8 #6).
   ============================================================ */
.depth-band {
  background: linear-gradient(160deg, #0d2628 0%, #081a1c 100%);
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
}
.depth-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px 36px;
}
.depth-head {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.depth-sub-editorial {
  font-size: 0.84rem;
  color: var(--text-faint);
  line-height: 1.55;
  margin: 0 0 20px;
  max-width: 720px;
}
.depth-scroller-wrap { position: relative; }
.depth-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* leave room on the right so the last card doesn't sit under the chevron */
  padding-right: 56px;
}
.depth-scroller::-webkit-scrollbar { display: none; }
.breach-card {
  position: relative;
  flex: 0 0 calc((100% - 28px - 56px) / 3);  /* 3 cards, minus 2 gaps + right padding */
  min-width: 260px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 20px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.breach-card:hover {
  background: var(--bg-card-strong);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* Top row — rank #N on the left, date on the right. The breach name
   has been dropped (logo carries the identity) and the logo lives on
   its own row below, full-width-ish. */
.breach-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.breach-card-rank {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--hot);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.breach-card-logo {
  display: block;
  max-height: 30px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 4px;
}
.breach-card-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cool-bg);
  color: var(--cool);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(159, 198, 198, 0.2);
  margin-bottom: 4px;
}

/* Rank-rationale — a single descriptive line, inline in the top row
   next to #N. Lighter orange (--hot-glow) so it visually attaches to
   the rank but doesn't compete with the bold #N itself. Truncates
   with ellipsis when the card is narrow; full text in title= for
   hover-reveal + accessibility. */
.breach-card-rationale {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--hot-glow);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Risk-driver chips — neutral grey, sit after the scale. Different
   lens from rank-rationale: "what an attacker would do" rather than
   "why ranked here". */
.breach-drivers {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.breach-drivers li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
}
.breach-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.breach-card-name { font-size: 1.02rem; font-weight: 600; color: var(--text-primary); letter-spacing: -0.01em; }
.breach-card-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faintest); letter-spacing: 0.04em; }
.breach-card-scale { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-faint); }

/* Data-types bullet list — replaces the one-line summary inside the
   card. Severity coloured via `.is-severe` for the worst offenders
   (passport/medical/SIM-swap-enabling data). */
.breach-data {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.breach-data .bd-item {
  font-size: 0.86rem;
  color: var(--hot);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.breach-data .bd-item::before {
  content: "•";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--hot);
}
/* `is-severe` kept in the schema/render so the JSON can still carry
   severity, but it renders the same as default for now (user asked
   for all bullets orange). Re-introduce a distinct treatment if/when
   the differentiation matters again. */
.breach-data .bd-item.is-severe { color: var(--hot); }
.breach-data .bd-item.is-severe::before { color: var(--hot); }

/* "and N more — click here to read" — sits below the bullet list as
   its own link line. The whole card is already an anchor, so this is
   a span styled to look like a link. */
.breach-data-more {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--text-faint);
  margin-top: 10px;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-medium);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.breach-data-more::after {
  content: " →";
  text-decoration: none;
  display: inline-block;
}
.breach-card:hover .breach-data-more {
  color: var(--text-primary);
  text-decoration-color: var(--text-faint);
}

.breach-card-cta { font-size: 0.82rem; color: var(--hot); margin-top: auto; padding-top: 8px; transition: color 0.15s ease; }
.breach-card:hover .breach-card-cta { color: var(--hot-glow); }

/* Right-edge fade — only visible when there's actually content past
   the visible row. JS toggles `is-hidden` based on scroll position. */
.depth-edge-fade {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 80px;
  background: linear-gradient(90deg, transparent 0%, #081a1c 70%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.2s ease;
}
.depth-edge-fade.is-hidden { opacity: 0; }

/* Chevron button — sits inside the fade area, scrolls the row.
   `is-hidden` when nothing to scroll; `is-end` dims when at end
   (clicking wraps back to start). */
.depth-next {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card-strong);
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.2s ease;
}
.depth-next:hover { background: var(--bg-card); color: var(--text-primary); border-color: var(--text-faint); }
.depth-next svg { width: 16px; height: 16px; }
.depth-next.is-end { opacity: 0.45; }
.depth-next.is-hidden { display: none; }

/* ============================================================
   Breach explainer page (/breach/<slug>) — ACQUISITION.md §5
   Long-form per-breach kit page. HIBP linked before us in
   what-to-do steps (§5.4: helpful first, pitch last).
   ============================================================ */
.bx-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 32px 72px;
}
.bx-back {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--text-faint);
  transition: color 0.15s ease;
}
.bx-back:hover { color: var(--text-primary); }
.bx-hero { padding: 32px 0 24px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 28px; }
.bx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cool);
  margin-bottom: 14px;
}
.bx-flag { font-size: 1.05rem; line-height: 1; }
.bx-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.bx-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.bx-meta span[aria-hidden] { color: var(--text-faintest); }
.bx-lede { font-size: 1.1rem; line-height: 1.55; color: var(--text-muted); margin: 0; }
.bx-section { margin: 32px 0; }
.bx-h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.bx-summary { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.bx-classes {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 18px;
}
.bx-classes li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}
/* Severe data classes (passport, IBAN, BSN) flagged in --hot, matching
   the depth-card `.bd-item.is-severe` treatment. */
.bx-classes li.is-severe {
  color: var(--hot);
  border-color: color-mix(in srgb, var(--hot) 35%, var(--border-subtle));
}
.bx-note {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 14px 16px;
  background: var(--cool-bg);
  border: 1px solid rgba(159, 198, 198, 0.22);
  border-radius: 10px;
  margin: 0 0 18px;
}
.bx-wtd { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: wtd; }
.wtd-step {
  display: grid; grid-template-columns: 36px 1fr; gap: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}
.wtd-n {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--hot);
  background: var(--hot-bg-soft);
  border: 1px solid var(--hot-border);
  margin-top: 2px;
}
.wtd-body { min-width: 0; }
.wtd-t { font-size: 1rem; font-weight: 600; color: var(--text-primary); letter-spacing: -0.005em; margin-bottom: 4px; }
.wtd-d { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; }
.bx-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  padding: 18px 22px;
  margin: 0;
  border-left: 3px solid var(--hot);
  background: var(--hot-bg-soft);
  border-radius: 0 10px 10px 0;
}
.bx-verification {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.bx-verif-line { font-size: 0.88rem; color: var(--text-faint); line-height: 1.6; margin: 0 0 8px; }
.bx-verif-meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-faintest); margin: 0; }
.bx-verif-meta strong { color: var(--text-faint); }

/* === Survivalgids (/gids — tips/<cc>.json) ================================ */
.gx-tip { scroll-margin-top: 84px; }
.gx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gx-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--cool-bg);
  color: var(--cool);
  border: 1px solid rgba(159, 198, 198, 0.25);
}

/* Veldgids rows (Session 18): hairline-divided <details> accordion — the
   collapsed page reads as an index of defences; the how-to steps fold out. */
.gx-rows { margin-top: 44px; }
.gx-row { border-top: 1px solid rgba(255, 255, 255, 0.11); scroll-margin-top: 84px; }
.gx-row:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.11); }
.gx-sum {
  display: block;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
}
.gx-sum::-webkit-details-marker { display: none; }
.gx-sum::marker { content: ""; }
/* The grid lives on an inner wrapper: Firefox ignores display:grid/flex
   applied directly to <summary>. */
.gx-sumgrid {
  display: grid;
  grid-template-columns: 44px 1fr auto 24px;
  gap: 18px;
  align-items: start;
}
.gx-check {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 7px;
  border: 1.5px solid rgba(159, 198, 198, 0.55);
  background: rgba(159, 198, 198, 0.07);
  color: #06231a;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.gx-check:hover { border-color: var(--good); background: var(--good-bg); }
.gx-check[aria-checked="true"] { background: var(--good); border-color: var(--good); }
/* Done rows grey out — the tick and chevron stay at full strength so the
   row remains operable at a glance. */
.gx-row.is-done .gx-num,
.gx-row.is-done .gx-sum-main,
.gx-row.is-done .gx-mchips,
.gx-row.is-done .gx-fold {
  opacity: 0.4;
}
.gx-row.is-done .gx-row-title { color: var(--text-muted); }
.gx-row.is-done .gx-sum:hover .gx-row-title { color: var(--text-muted); }
.gx-row.is-done .gx-num { color: var(--text-faint); }
.gx-num {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  color: var(--hot);
  line-height: 1.5;
}
.gx-sum-main { min-width: 0; }
.gx-row-title {
  display: block;
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.35;
  transition: color 0.15s ease;
}
.gx-sum:hover .gx-row-title { color: var(--hot); }
.gx-row-why {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 60ch;
}
.gx-row:not([open]) .gx-row-why {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gx-sum-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-top: 3px;
}
.gx-mchips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 220px; }
.gx-mchip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  white-space: nowrap;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--cool-bg);
  color: var(--cool);
  border: 1px solid rgba(159, 198, 198, 0.25);
}
.wtd-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 9px; }
.wtd-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cool);
  text-decoration: none;
  border-bottom: 1px dashed rgba(159, 198, 198, 0.35);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.wtd-link:hover { color: var(--hot); border-bottom-color: var(--hot); }
.gx-chev {
  font-size: 0.85rem;
  color: var(--text-faintest);
  line-height: 1;
  transition: transform 0.18s ease, color 0.15s ease;
}
.gx-sum:hover .gx-chev { color: var(--text-faint); }
.gx-row[open] .gx-chev { transform: rotate(180deg); }
.gx-fold { padding: 2px 4px 32px 66px; }
/* Gids how-to steps: white numerals (NL-bridge idiom) — the orange circled
   wtd-n stays as-is on the breach explainer pages. */
.gx-fold .wtd-n {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}
.gx-fold .bx-wtd { animation: gx-fold-in 0.22s ease; }
@keyframes gx-fold-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gx-fold .bx-wtd { animation: none; }
  .gx-chev { transition: none; }
}
@media (max-width: 640px) {
  .gx-sum { padding: 22px 2px; }
  .gx-sumgrid { grid-template-columns: 30px 1fr 24px; gap: 12px; }
  .gx-sum-meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    margin-top: 10px;
  }
  .gx-mchips { justify-content: flex-start; max-width: none; }
  .gx-fold { padding-left: 2px; }
}
.gx-noaff {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--good-bg);
  border: 1px solid var(--good-border);
  color: var(--good);
  font-size: 0.9rem;
  line-height: 1.55;
}
.gx-updated {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-faintest);
}
