/* CERT-MZ Internet Security Observatory (monitor.cert.mz) — shared styles for every page */

:root {
  --bg: #F4F6F3; --surface: #FFFFFF; --surface-2: #F4F6F3; --ink: #10201B; --muted: #4A5852;
  --line: #DDE3DF; --line-soft: #E8EDEA; --field: #8F9D96;
  --accent: #00704F; --accent-ink: #00684A; --accent-hover: #00402D;
  --accent-tint: #E6F1EC; --accent-tint-line: #B6D6C8; --accent-tint-ink: #00573D; --on-accent: #FFFFFF;
  --strong: #10201B; --on-strong: #FFFFFF; --strong-muted: #C9D6CF;
  --warn-ink: #8A4B00;
  --danger-bg: #FBE9EC; --danger-line: #E9B9C4; --danger-ink: #6E1129;
  --track: #E8EDEA;
  --footer-bg: #10201B; --footer-ink: #E6ECE8; --footer-muted: #B9C6BF;
  --c-crit: #8E1B3B; --c-high: #E8742C; --c-med: #F2C14E; --c-low: #3F5F80; --c-un: #B8C2BD;
  --s-crit-bg: #8E1B3B; --s-crit-fg: #FFFFFF; --s-high-bg: #FBDDC8; --s-high-fg: #7A2A04;
  --s-med-bg: #FCEBC0; --s-med-fg: #5E4200; --s-low-bg: #DCE6F0; --s-low-fg: #2B4560;
  --s-un-bg: #E6EAE8; --s-un-fg: #3E4A45;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0B1311; --surface: #121D1A; --surface-2: #0F1916; --ink: #E7EEEA; --muted: #A3B3AC;
  --line: #26362F; --line-soft: #1C2925; --field: #61746B;
  --accent: #34A97F; --accent-ink: #62D4A8; --accent-hover: #8BE3C0;
  --accent-tint: #163A2E; --accent-tint-line: #245443; --accent-tint-ink: #8BE3C0; --on-accent: #06130E;
  --strong: #E7EEEA; --on-strong: #0B1311; --strong-muted: #3E4F48;
  --warn-ink: #F3C77A;
  --danger-bg: #2E1119; --danger-line: #5A2232; --danger-ink: #F4B8C8;
  --track: #22322C;
  --footer-bg: #060C0A; --footer-ink: #E6ECE8; --footer-muted: #9FB0A8;
  --c-crit: #E0507A; --c-high: #F59A57; --c-med: #F7D774; --c-low: #5F81A8; --c-un: #8D9A94;
  --s-crit-bg: #E0507A; --s-crit-fg: #1A0610; --s-high-bg: #4A2410; --s-high-fg: #FBC39E;
  --s-med-bg: #46380F; --s-med-fg: #F5D77E; --s-low-bg: #1E2F42; --s-low-fg: #B9CDE3;
  --s-un-bg: #26322E; --s-un-fg: #C5D0CB;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5;
}
a { color: var(--accent-ink); }
a:hover { color: var(--accent-hover); }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pad { padding: 24px; }
.stack { display: flex; flex-direction: column; }
.h2 { font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 700; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Flag stripe */
.flag { display: flex; height: 4px; }
.flag span { flex: 1; }
.flag span:nth-child(1) { background: #007168; }
.flag span:nth-child(2) { background: #000000; }
.flag span:nth-child(3) { background: #FCE100; }
.flag span:nth-child(4) { background: #D21034; }

/* Buttons and controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--field); border-radius: 8px; background: var(--surface); color: var(--ink);
  font: 600 14px Inter, sans-serif; text-decoration: none; cursor: pointer;
}
.btn:hover { color: var(--ink); border-color: var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.icon-btn { width: 44px; padding: 0; }
.field {
  min-height: 44px; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px;
  font: 15px Inter, sans-serif; color: var(--ink); background: var(--surface);
}
.label { font-size: 13px; font-weight: 600; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand img { display: block; height: 40px; width: auto; }
.brand-divider { width: 1px; height: 28px; background: var(--line); }
.brand-name { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--muted); }
.logo-dark { display: none !important; }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Main layout */
.page-main { padding-top: clamp(24px, 4vw, 40px); padding-bottom: 64px; display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.display { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(30px, 6vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.lede { max-width: 640px; font-size: clamp(15px, 2.2vw, 17px); color: var(--muted); }
.hero { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-side { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.stale { color: var(--warn-ink); font-weight: 600; }

/* Status panels */
.status-panel { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
.error-panel {
  padding: 24px; background: var(--danger-bg); border: 1px solid var(--danger-line); border-radius: 12px; color: var(--danger-ink);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
}
.error-panel .title { font-weight: 600; }
.error-panel .detail { font-size: 14px; }

/* Severity */
.dot { width: 10px; height: 10px; border-radius: 2px; flex: none; display: inline-block; }
.dot-critical { background: var(--c-crit); } .dot-high { background: var(--c-high); } .dot-medium { background: var(--c-med); }
.dot-low { background: var(--c-low); } .dot-unscored { background: var(--c-un); }
.sev { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.sev-lg { padding: 6px 12px; font-size: 14px; }
.sev-critical { background: var(--s-crit-bg); color: var(--s-crit-fg); } .sev-high { background: var(--s-high-bg); color: var(--s-high-fg); }
.sev-medium { background: var(--s-med-bg); color: var(--s-med-fg); } .sev-low { background: var(--s-low-bg); color: var(--s-low-fg); }
.sev-unscored { background: var(--s-un-bg); color: var(--s-un-fg); }
.kev { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; background: var(--strong); color: var(--on-strong); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.kev-lg { padding: 6px 12px; border-radius: 6px; font-size: 12px; }

/* Feed: summary */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.stat-title { font-size: 14px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat-num { font-family: "Space Grotesk", sans-serif; font-size: clamp(28px, 7vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.stat-note { font-size: 13px; color: var(--muted); }
.stat-strong { background: var(--strong); color: var(--on-strong); border-radius: 12px; }
.stat-strong .stat-title, .stat-strong .stat-note { color: var(--strong-muted); }
.crit-num { color: var(--c-crit); }

/* Feed: chart and vendors */
.panels { display: flex; flex-wrap: wrap; gap: 16px; }
.chart-card { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.vendors-card { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
/* Chart: y-axis with counts | plot (gridlines behind bars); day labels under the plot. */
.chart { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 8px; row-gap: 8px; }
.y-axis { position: relative; height: 180px; min-width: 2ch; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.y-axis span { position: absolute; right: 0; transform: translateY(50%); line-height: 1; white-space: nowrap; }
.plot { position: relative; height: 180px; }
.gridlines { position: absolute; inset: 0; pointer-events: none; }
.gridlines span { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); }
.bars { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; border-bottom: 1px solid var(--field); }
.bar { flex: 1 1 0; min-width: 0; max-width: 72px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bar > span { display: block; }
.bar > span:first-child { border-radius: 2px 2px 0 0; }
.seg-un { background: var(--c-un); } .seg-low { background: var(--c-low); } .seg-med { background: var(--c-med); }
.seg-high { background: var(--c-high); } .seg-crit { background: var(--c-crit); }
.bar-labels { display: flex; justify-content: center; gap: 4px; }
.bar-labels span { flex: 1 1 0; min-width: 0; max-width: 72px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: visible; }
.bar-labels.all span { text-align: center; }

/* Segmented buttons: software scope (Popular / All) and period (1 / 7 / 30 days) */
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--field); border-radius: 10px; background: var(--surface); }
.seg-btn { min-height: 38px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 600 14px Inter, sans-serif; cursor: pointer; }
.seg-btn:hover { color: var(--ink); }
.seg-btn[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.seg-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vendor-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.vendor-list li { display: flex; flex-direction: column; gap: 6px; }
.vendor-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.vendor-name { font-weight: 600; }
.meter { height: 8px; border-radius: 4px; background: var(--track); }
.meter > span { display: block; height: 8px; border-radius: 4px; background: var(--accent); }

/* Feed: list */
.list-card { display: flex; flex-direction: column; overflow: hidden; }
.list-top { display: flex; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; }
.filter-search { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.filter-search .field { width: 100%; padding: 0 14px; }
.filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid transparent; font: 600 14px Inter, sans-serif; cursor: pointer; }
.chip .dot { outline: 1.5px solid currentColor; outline-offset: 1px; }
.chip[aria-pressed="false"] { background: var(--surface); color: var(--muted); border-color: var(--field); }
.filter-more { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: flex-end; }
.filter-sort { display: flex; flex-direction: column; gap: 6px; }
.filter-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 500; cursor: pointer; }
.filter-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.cve-head, .cve-row { display: grid; grid-template-columns: 190px 190px minmax(0, 1fr) 130px 110px; gap: 16px; padding: 16px 24px; }
.cve-head { padding-top: 12px; padding-bottom: 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cve-row { border-bottom: 1px solid var(--line-soft); align-items: start; }
.c-id { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.c-id a { font-size: 14px; font-weight: 500; }
.c-vendor { display: flex; flex-direction: column; }
.c-vendor .v { font-weight: 600; }
.c-vendor .p { font-size: 14px; color: var(--muted); }
.c-sum { font-size: 14px; overflow-wrap: anywhere; }
.c-date { font-size: 14px; color: var(--muted); }
.m-label { display: none; }
.empty { padding: 48px 24px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.empty p { font-weight: 600; }
.pager-row { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pager span { font-size: 14px; color: var(--muted); padding: 0 4px; }

/* Detail */
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.cve-hero { display: flex; flex-direction: column; gap: 14px; }
.cve-id-big { font-size: 18px; font-weight: 500; color: var(--accent-ink); }
.cve-title { max-width: 900px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(26px, 5.5vw, 42px); line-height: 1.1; letter-spacing: -.02em; }
.cve-vendor { font-size: 16px; color: var(--muted); }
.cve-vendor strong { color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.badges .meta { font-size: 14px; color: var(--muted); }
.rec { padding: 24px; background: var(--accent-tint); border: 1px solid var(--accent-tint-line); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-start; }
.rec > svg { flex: none; color: var(--accent-tint-ink); }
.rec-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rec h2 { font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 700; color: var(--accent-tint-ink); }
.detail-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.detail-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.detail-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.section-card { display: flex; flex-direction: column; gap: 12px; }
.description { white-space: pre-line; overflow-wrap: anywhere; }
.aff-table { font-size: 14px; }
.aff-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.aff-row:last-child { border-bottom: 0; }
.aff-head { padding-top: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.aff-product { font-weight: 600; }
.aff-fixed { color: var(--accent-tint-ink); }
.aff-label { display: none; color: var(--muted); font-family: Inter, sans-serif; font-size: 13px; }
.refs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ref { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ref:last-child { border-bottom: 0; }
.ref a { font-weight: 600; word-break: break-word; }
.ref span { font-size: 13px; color: var(--muted); }
.cvss-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.score-big { font-family: "Space Grotesk", sans-serif; font-size: 40px; font-weight: 700; line-height: 1; }
.score-critical { color: var(--c-crit); } .score-high { color: var(--s-high-fg); } .score-medium { color: var(--s-med-fg); }
.score-low { color: var(--s-low-fg); } .score-unscored { color: var(--muted); }
.fill-critical { background: var(--c-crit) !important; } .fill-high { background: var(--c-high) !important; }
.fill-medium { background: var(--c-med) !important; } .fill-low { background: var(--c-low) !important; } .fill-unscored { background: var(--c-un) !important; }
.vector { padding: 10px 12px; border-radius: 8px; background: var(--surface-2); font-size: 12px; word-break: break-all; }
.metrics { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; font-size: 14px; }
.metrics dt { color: var(--muted); font-size: 13px; }
.metrics dd { margin: 0; font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 14px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 12px; height: 12px; margin-top: 5px; border-radius: 6px; flex: none; }
.tl-line { flex: 1; width: 2px; background: var(--line); }
.timeline li:last-child .tl-line { display: none; }
.tl-body { padding-bottom: 16px; }
.tl-body .when { font-size: 13px; color: var(--muted); }
.tl-body .what { font-weight: 600; }
.tl-published { background: var(--accent); } .tl-kev { background: var(--c-crit); } .tl-due { background: var(--strong); } .tl-modified { background: var(--field); }
.back-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); }
.site-footer a { color: var(--footer-ink); }
.site-footer a:hover { color: #FFFFFF; }
.footer-row { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; }
.footer-about { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.footer-about img { display: block; height: 36px; width: auto; align-self: flex-start; }
.footer-about p { max-width: 420px; font-size: 14px; color: var(--footer-muted); }
.footer-about p.small { font-size: 13px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col .head { font-weight: 600; color: #FFFFFF; }

/* Responsive */
@media (max-width: 980px) {
  .cve-head { display: none; }
  .cve-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id sev" "vendor vendor" "sum sum" "date date"; gap: 8px 12px; padding: 16px 20px; }
  .c-id { grid-area: id; } .c-vendor { grid-area: vendor; } .c-sum { grid-area: sum; } .c-sev { grid-area: sev; } .c-date { grid-area: date; }
  .m-label { display: inline; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .pad, .rec, .error-panel { padding: 16px; }
  .bars { gap: 2px; } .plot, .y-axis { height: 140px; } .bar-labels { gap: 2px; }
  .cve-row { padding: 16px; }
  .aff-head { display: none; }
  .aff-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .aff-label { display: inline; }
}

/* Software scope (Popular / All) */
.lede-note { display: block; margin-top: 8px; font-size: 14px; }
.scope-hint { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: var(--track); font-size: 14px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--accent-ink); font: 600 14px Inter, sans-serif; text-decoration: underline; cursor: pointer; }
.link-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* EPSS (exploitation likelihood) under the severity badge in the list */
.c-sev .epss { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }

/* Header navigation: Overview · Vulnerabilities · Mozambique · Data. On wide screens a group shows as one link
   (its pages are the section tabs under the header); in the phone menu each group lists its pages. */
.site-nav { display: flex; gap: 4px; margin-right: 4px; }
.site-nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"], .site-nav a[aria-current="true"] { color: var(--ink); background: var(--track); }
.site-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-group { display: contents; }
.nav-sub { display: none; }

/* Section tabs under the header (the pages of the current group) */
.subnav { border-bottom: 1px solid var(--line); background: var(--surface); }
.subnav-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav-row::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-bottom: 2px solid transparent;
            color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"], .subnav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.subnav a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Statistics page */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(20px, 3vw, 32px); }
.h3 { font-size: 15px; font-weight: 600; margin-top: 4px; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); text-align: right; white-space: nowrap; }
.data-table thead th { font-size: 12px; font-weight: 600; color: var(--muted); border-bottom-color: var(--line); }
.data-table th:first-child, .data-table td:first-child { text-align: left; padding-left: 0; }
.data-table tbody th { font-weight: 500; white-space: normal; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table .w-bar { width: 38%; }
.sr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hbar { display: block; height: 8px; border-radius: 4px; background: var(--track); min-width: 60px; }
.hbar > span { display: block; height: 8px; border-radius: 4px; background: var(--accent); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 120px; padding-top: 4px; border-bottom: 1px solid var(--line); }
.spark > span { flex: 1 1 0; min-width: 1px; background: var(--accent); border-radius: 2px 2px 0 0; }
.spark > span:hover { background: var(--accent-hover); }
.spark-axis { display: flex; justify-content: space-between; }
@media (max-width: 640px) {
  .site-nav a { padding: 8px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 8px 6px; }
}

/* Exposure page */
.snap-card { flex: 0 1 340px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.snap-when { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-tint-ink); }
.snap-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.jump { display: flex; gap: 8px; flex-wrap: wrap; }
.jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.jump a:hover { border-color: var(--field); }
.jump-n { color: var(--muted); } .jump-hot { color: var(--danger-ink); }
.expo-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-link { text-decoration: none; }
.stat-link:hover { filter: brightness(1.08); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tag-danger { background: var(--danger-bg); color: var(--danger-ink); }
.tag-accent { background: var(--accent-tint); color: var(--accent-tint-ink); }
.num { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.meter-bar { display: block; flex: 1; height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; min-width: 40px; }
.meter-bar > span { display: block; height: 100%; border-radius: 4px; }
.meter-danger > span { background: var(--c-crit); } .meter-accent > span { background: var(--accent); } .meter-low > span { background: var(--c-low); }
.kev-row { display: grid; grid-template-columns: minmax(0, 1fr) 220px 72px 116px; gap: 4px 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.kev-head { padding-top: 0; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom-color: var(--line); }
.kev-head > :nth-child(n+3), .kev-epss, .kev-added { text-align: right; }
.kev-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kev-id { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.kev-name { font-size: 13px; color: var(--muted); }
.kev-hosts { display: flex; align-items: center; gap: 10px; }
.kev-hosts .num { min-width: 52px; }
.kev-added { color: var(--muted); }
.m-only { display: none; }
.more-btn { display: none; }
.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.group-card { border: 1px solid var(--line-soft); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.group-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.group-name { font-weight: 600; }
.group-n { font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.group-note { font-size: 13px; color: var(--muted); }
.group-cves { font-size: 12px; color: var(--accent-ink); overflow-wrap: anywhere; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.svc-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.svc-title { font-size: 16px; font-weight: 600; }
.svc-why { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.svc-row { display: flex; align-items: center; gap: 10px; min-height: 40px; border-top: 1px solid var(--line-soft); }
.svc-name { flex: 1; min-width: 0; }
.svc-port { font-size: 12px; color: var(--muted); background: var(--surface-2); border-radius: 4px; padding: 2px 6px; }
.svc-row .num { min-width: 60px; }
.bar-list { display: flex; flex-direction: column; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, 140px) 60px; gap: 12px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line-soft); }
.bar-label { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.bar-label b { font-weight: 600; }
.bar-label .muted { font-size: 12px; }
.trend-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trend-card { border: 1px solid var(--line-soft); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.trend-card.is-empty { border-style: dashed; border-color: var(--accent-tint-line); background: var(--surface-2); }
.trend-title { font-size: 13px; font-weight: 600; color: var(--muted); }
.trend-num { font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 700; }
.trend-line { display: block; height: 36px; border-bottom: 2px solid; }
.trend-spark { display: flex; align-items: flex-end; gap: 2px; height: 48px; }
.trend-spark > span { flex: 1; min-width: 2px; border-radius: 2px 2px 0 0; }
.sp-danger { background: var(--c-crit); border-color: var(--c-crit); } .sp-high { background: var(--c-high); border-color: var(--c-high); } .sp-low { background: var(--c-low); border-color: var(--c-low); }
.trend-line.sp-danger, .trend-line.sp-high, .trend-line.sp-low { background: none; }
.cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 24px; border-radius: 12px; background: var(--accent-tint); border: 1px solid var(--accent-tint-line); color: var(--accent-tint-ink); }
.cta-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 4px; }
.cta .h2 { color: var(--accent-tint-ink); }
.cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; text-align: center; }
.cta-btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.about summary { cursor: pointer; list-style-position: outside; min-height: 32px; }
.about[open] summary { margin-bottom: 10px; }
.about-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
@media (max-width: 980px) {
  .expo-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid, .group-grid, .trend-grid { grid-template-columns: minmax(0, 1fr); }
  .snap-card { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  .jump { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .jump a:first-child { background: var(--strong); color: var(--on-strong); border-color: var(--strong); }
  .jump a:first-child .jump-n { color: var(--strong-muted); }
  .expo-stats .stat { padding: 14px; }
  .expo-stats .stat-num { font-size: 28px; }
  .kev-head { display: none; }
  .kev-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "what what" "hosts hosts" "epss added"; gap: 6px 12px; padding: 14px 0; }
  .kev-what { grid-area: what; } .kev-hosts { grid-area: hosts; } .kev-epss { grid-area: epss; text-align: left; } .kev-added { grid-area: added; }
  .kev-epss, .kev-added { font-size: 12px; color: var(--muted); }
  .kev-name { font-size: 14px; color: var(--ink); }
  .m-only { display: inline; }
  .kev-hosts .num { min-width: 0; }
  .is-collapsed .kev-extra { display: none; }
  .more-btn { display: block; width: 100%; min-height: 44px; }
  .svc-card { padding: 14px; }
  .bar-row { grid-template-columns: minmax(0, 1fr) 56px; }
  .bar-row .meter-bar { display: none; }
  .cta { padding: 16px; }
  .cta-btn { width: 100%; }
}

/* Phone menu: the page links fold behind a button */
.nav-toggle { display: none; }
@media (max-width: 640px) {
  .header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; gap: 0; margin: 4px 0 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; padding: 0 8px; border-radius: 8px; }
  .nav-group { display: block; border-top: 1px solid var(--line-soft); margin-top: 4px; padding-top: 4px; }
  .site-nav .nav-top { min-height: 32px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: none; }
  .site-nav .nav-top[aria-current="true"] { background: none; color: var(--accent-ink); }
  .nav-sub { display: flex; flex-direction: column; }
  .nav-sub a { padding-left: 16px; }
  .site-nav > a[href="data.html"] { border-top: 1px solid var(--line-soft); margin-top: 4px; border-radius: 0 0 8px 8px; }
  .subnav-row { padding-left: 4px; padding-right: 4px; }
}

/* Ransomware page */
.eyebrow-danger { color: var(--danger-ink); }
.snap-danger { color: var(--danger-ink); }
.snap-danger .snap-dot { background: var(--c-crit); }
.claim-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 200px 170px; gap: 4px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.claim-head { padding-top: 0; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom-color: var(--line); }
.claim-date { font-weight: 600; }
.claim-sector { font-weight: 600; }
.claim-group a { font-weight: 600; }
.group-row { grid-template-columns: minmax(0, 1fr) auto; }
.meter-muted > span { background: var(--c-un); }
.is-here .bar-label b { color: var(--danger-ink); }
.cta-danger { background: var(--danger-bg); border-color: var(--danger-line); color: var(--danger-ink); }
.cta-danger .h2 { color: var(--danger-ink); }
.cta-danger .cta-btn { background: var(--c-crit); color: #FFFFFF; }
.cta-danger .cta-btn:hover { filter: brightness(1.1); background: var(--c-crit); color: #FFFFFF; }
@media (max-width: 640px) {
  .claim-head { display: none; }
  .claim-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sector date" "group status"; gap: 4px 12px; padding: 14px 0; }
  .claim-date { grid-area: date; font-size: 13px; color: var(--muted); font-weight: 500; }
  .claim-sector { grid-area: sector; } .claim-group { grid-area: group; font-size: 14px; }
  .claim-row > :last-child { grid-area: status; justify-self: end; }
}

/* Malware hosting page (orange: the high-severity tokens, defined for both themes) */
.eyebrow-malware, .snap-malware { color: var(--s-high-fg); }
.snap-malware .snap-dot { background: var(--c-high); }
.mw-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 190px 210px; gap: 4px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mw-row:last-child { border-bottom: 0; }
.mw-head { padding-top: 0; font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.mw-date { font-weight: 600; }
.mw-what b { display: block; }
.mw-what .muted { font-size: 13px; }
.mw-where { font-size: 14px; }
.mw-status { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.mw-status .meter-bar { min-width: 60px; }
.meter-malware > span { background: var(--c-high); }
.tag-malware { background: var(--s-high-bg); color: var(--s-high-fg); }
.fam-list { display: flex; flex-direction: column; }
.fam-row { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.fam-row:last-child { border-bottom: 0; }
.fam-row p { margin: 0; }
.fam-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.cta-malware { background: var(--s-high-bg); border-color: var(--c-high); color: var(--s-high-fg); }
.cta-malware .h2 { color: var(--s-high-fg); }
.cta-malware .cta-btn { background: var(--s-high-fg); color: var(--s-high-bg); }
.cta-malware .cta-btn:hover { filter: brightness(1.15); background: var(--s-high-fg); color: var(--s-high-bg); }
@media (max-width: 640px) {
  .mw-head { display: none; }
  .mw-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "what date" "where where" "status status"; gap: 4px 12px; padding: 14px 0; }
  .mw-date { grid-area: date; font-size: 13px; color: var(--muted); font-weight: 500; align-self: start; }
  .mw-what { grid-area: what; } .mw-where { grid-area: where; color: var(--muted); } .mw-status { grid-area: status; }
}

/* Radar page (Cloudflare Radar): blue accents */
.eyebrow-radar, .snap-radar { color: var(--s-low-fg); }
.snap-radar .snap-dot { background: var(--c-low); }
.meter-radar > span { background: var(--c-low); }
h3.h3 { margin: 0; }
.rd-sub { margin-top: 20px; }
.caution { background: var(--s-low-bg); border-color: var(--c-low); color: var(--s-low-fg); }
.caution .h2 { color: var(--s-low-fg); }
.caution-list { margin: 10px 0 0; padding-left: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 8px 28px; font-size: 14px; }
.caution-list b { font-weight: 600; }
.three-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 3vw, 28px); margin-top: 16px; }
.rd-trend { margin-top: 4px; }
.rd-spark { height: 72px; }
.rd-axis { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; }
.rd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-chip { font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); }
.cmp-list { display: flex; flex-direction: column; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 220px) 74px; gap: 12px; align-items: center; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.cmp-row:last-child { border-bottom: 0; }
.cmp-bars { display: flex; flex-direction: column; gap: 4px; background: none; }
.cmp-bar { display: block; height: 8px; border-radius: 4px; min-width: 2px; }
.cmp-num { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; font-variant-numeric: tabular-nums; }
.cmp-num .muted { font-size: 12px; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 5px 0 8px; vertical-align: -1px; }
.key:first-child { margin-left: 0; }
.key-mz { background: var(--c-low); } .key-world { background: var(--c-un); } .key-bad { background: var(--c-crit); }
.rpki-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--track); margin: 10px 0 8px; }
.rpki-bar > span { display: block; height: 100%; }
.rpki-valid { background: var(--c-low); } .rpki-invalid { background: var(--c-crit); } .rpki-unknown { background: var(--c-un); }
.rd-list { display: flex; flex-direction: column; }
.rd-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.rd-row:last-child { border-bottom: 0; }
.rd-date { font-weight: 600; font-size: 14px; }
.rd-what { display: flex; flex-direction: column; min-width: 0; }
.rd-what b { font-weight: 600; }
.cta-radar { background: var(--s-low-bg); border-color: var(--c-low); color: var(--s-low-fg); }
.cta-radar .h2 { color: var(--s-low-fg); }
.cta-radar .cta-btn { background: var(--s-low-fg); color: var(--s-low-bg); }
.cta-radar .cta-btn:hover { filter: brightness(1.15); background: var(--s-low-fg); color: var(--s-low-bg); }
@media (max-width: 640px) {
  .caution-list { font-size: 13px; }
  .cmp-row { grid-template-columns: minmax(0, 1fr) 64px; }
  .cmp-bars { grid-column: 1 / -1; grid-row: 2; }
  .rd-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rd-date { font-size: 13px; color: var(--muted); font-weight: 500; }
  .rd-axis span:nth-child(2) { display: none; }
}

/* Overview (home page) */
.ov-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ov-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; text-decoration: none; color: var(--ink); border-top: 4px solid var(--line); }
.ov-card:hover { border-color: var(--field); }
.ov-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ov-exposure { border-top-color: var(--c-high); } .ov-ransomware { border-top-color: var(--c-crit); }
.ov-malware { border-top-color: var(--s-high-fg); } .ov-radar { border-top-color: var(--c-low); }
.ov-kicker { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ov-num { font-family: "Space Grotesk", sans-serif; font-size: 36px; font-weight: 700; line-height: 1.1; margin-top: 6px; }
.ov-label { font-weight: 600; line-height: 1.35; }
.ov-note { flex: 1; }
.ov-more { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.ov-more::after { content: " →"; }
.ov-card.is-empty .ov-num { color: var(--muted); }
.ov-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ov-mini-item { display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 10px; text-decoration: none; color: var(--ink); }
.ov-mini-item:hover { border-color: var(--field); }
.ov-mini-num { font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 700; }
.rd-what .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
@media (max-width: 980px) {
  .ov-grid, .ov-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ov-card { padding: 14px; }
  .ov-num { font-size: 28px; }
  .ov-mini-num { font-size: 22px; }
}

/* Answer first (every section page): the answer in one sentence, three numbers, what to do, then the
   other sections folded behind a row that already states its finding. */
.answer { font-size: clamp(26px, 4.2vw, 40px); line-height: 1.12; max-width: 920px; }
.key3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.todo { display: flex; flex-direction: column; gap: 14px; }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px 24px; }
.todo-item { display: flex; flex-direction: column; gap: 2px; }
.todo-who { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.todo-do { font-weight: 600; }
.fold-group { display: flex; flex-direction: column; gap: 10px; }
.fold-group > .h2 { margin-bottom: 2px; }
.fold { padding: 0; }
.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 14px 20px; border-radius: 12px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary:hover { background: var(--surface-2); }
.fold > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fold-text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.fold-title { font-size: 16px; font-weight: 600; margin: 0; }
.fold-finding { color: var(--muted); font-size: 14px; }
.fold-finding:empty { display: none; }
.fold-chev { flex: none; color: var(--muted); transition: transform .15s ease; }
.fold[open] > summary .fold-chev { transform: rotate(180deg); }
.fold[open] > summary { border-bottom: 1px solid var(--line-soft); border-radius: 12px 12px 0 0; }
.fold-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 12px; }
.reading { font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .fold-chev { transition: none; } }
@media (max-width: 980px) { .key3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .answer { font-size: 22px; line-height: 1.2; }
  .key3 { grid-template-columns: minmax(0, 1fr); }
  .fold > summary { padding: 12px 14px; }
  .fold-body { padding: 14px; }
}
/* The patch list shows its first rows on every screen; "Show all" opens the rest. */
.is-collapsed .kev-extra { display: none; }
.more-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; align-self: flex-start; }

/* Language: English pages hide until the English text is in (lang.js, at most 2 s). */
.i18n-pending body { visibility: hidden; }
.lang-toggle { min-width: 44px; min-height: 44px; padding: 0 10px; font-weight: 600; font-size: 14px; letter-spacing: .04em; }

/* Phones: the site name goes under the CERT-MZ logo, so the brand, the menu, PT/EN and theme buttons share one
   row (buttons stay 44px for touch) */
@media (max-width: 480px) {
  .header-row { column-gap: 12px; }
  .header-actions { gap: 4px; }
  .brand { flex-direction: column; align-items: flex-start; gap: 2px; }
  .brand img { height: 30px; }
  .brand-divider { display: none; }
  .brand-name { font-size: 11px; line-height: 1.25; }
}

/* Footer: the CERT-MZ logo links to the main site, cert.mz */
.footer-logo { align-self: flex-start; display: block; }

/* "Seen in Mozambique" on CVEs (list, Overview, CVE page) and how long a flaw has been on the exploited list */
.tag-mz { background: var(--accent-tint); color: var(--accent-tint-ink); white-space: nowrap; }
.mz-note { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--accent-tint); color: var(--accent-tint-ink); font-weight: 600; font-size: 14px; }
.kev-age { display: block; font-size: 12px; }

/* Exposure: the most common open ports, in two columns on wide screens */
#ports-card { margin-top: 16px; }
@media (min-width: 900px) { .port-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; } }
#ddos-more { margin-top: 20px; }
