/* IBM Plex Sans (SIL Open Font License), served from this site so visitors' browsers don't contact Google.
   One variable font file per character set covers weights 400 to 600. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/ibm-plex-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* main.css: the public site (news, scams, breaches, fixes, exploited flaws, guides, tools). The account and admin
   pages keep site.css; the header, footer, ticker and cookie choice use the same class names in both. */

:root {
  --bg: #eef1f4;
  --paper: #ffffff;
  --ink: #122033;
  --body: #243246;
  --muted: #5c6b7c;
  --line: #e2e7ee;
  --brand: #15683f;
  --brand-ink: #0f4e2f;
  --brand-soft: #e8f4ed;
  --amber: #8a5a00;
  --amber-soft: #fbf4e8;
  --red: #9f2d2d;
  --red-soft: #f8eeee;
  --blue: #1f4e8c;
  --blue-soft: #eaf1fa;
  --violet: #5b3d99;
  --violet-soft: #f1edfa;
  --max: 1160px;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-ink); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; margin-bottom: 14px; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.22; letter-spacing: -0.02em; font-weight: 500; margin-bottom: 12px; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--ink); color: white; padding: 8px 12px; z-index: 40; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.lede { font-size: 1.15rem; line-height: 1.5; color: #3c4c5e; max-width: 46rem; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; }
.g-mark { position: relative; width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto; display: inline-flex;
  background: radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 62%), linear-gradient(135deg, #2fa169 0%, #1a7748 55%, #0c4d2f 100%); }
.g-mark::before, .g-mark span { position: absolute; inset: 0; -webkit-mask: url("/images/x-under.svg") center / 100% 100% no-repeat; mask: url("/images/x-under.svg") center / 100% 100% no-repeat; }
.g-mark::before { content: ""; background: #a9e8c4; }
.g-mark span { background: #f6fcf8; -webkit-mask-image: url("/images/x-over.svg"); mask-image: url("/images/x-over.svg"); }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); padding-bottom: 2px; }
.nav a:hover { color: var(--brand-ink); }
.nav .btn-primary, .nav .btn-primary:hover { color: white; box-shadow: none; }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 999px; padding: 7px 13px; font: 500 13.5px/1 var(--sans); color: var(--ink); cursor: pointer; }

/* ---- buttons and forms ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 18px; font: 600 15px/1 var(--sans);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-ink); color: white; }
.btn-ghost { background: white; border-color: #cfd6df; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 8px 13px; font-size: 13.5px; }
.btn-lg { padding: 15px 24px; font-size: 16.5px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
input, select, textarea { width: 100%; border: 1px solid #cbd4de; border-radius: 10px; padding: 12px; font: 16px/1.4 var(--sans); color: var(--ink); background: white; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: 2px solid rgba(21, 104, 63, 0.18); outline-offset: 0; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1 1 auto; min-width: 0; }
.inline-form .btn { flex: 0 0 auto; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- the scam ticker ---- */
.ticker { background: #14202f; color: #fff; font-size: 14.5px; border-bottom: 1px solid #0b131d; overflow: hidden; }
.ticker-inner { display: flex; align-items: stretch; min-height: 44px; width: min(var(--max), 100%); margin: 0 auto; }
.ticker-label { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
.ticker-label:hover { background: #8a2424; color: #fff; }
.ticker-label svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ticker-short { display: none; }
.ticker-when { flex: 0 0 auto; display: flex; align-items: center; padding: 0 14px; border-right: 1px solid #2a3a4d; background: #1b2a3c; color: #e6edf5; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ticker-date { margin-left: 6px; color: #93a3b5; font-size: 13px; }
.ticker-viewport { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.ticker-track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; animation: ticker-roll var(--ticker-seconds, 40s) linear infinite; }
.ticker-track li { display: flex; align-items: center; white-space: nowrap; }
.ticker-track li::after { content: ""; width: 5px; height: 5px; margin: 0 22px; border-radius: 50%; background: #e26b6b; }
.ticker-track a { color: #fff; text-decoration: none; }
.ticker-track a:hover, .ticker-track a:focus-visible { text-decoration: underline; }
.ticker-type { margin-right: 6px; font-weight: 700; color: #ffb3b3; }
@keyframes ticker-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-pause { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 40px; border: 0; background: transparent; color: #c9d4e0; cursor: pointer; }
.ticker-pause svg { width: 16px; height: 16px; fill: currentColor; }
.ticker-pause:hover { color: #fff; }
.ticker-icon-play, .ticker.is-paused .ticker-icon-pause { display: none; }
.ticker.is-paused .ticker-icon-play { display: block; }
.ticker-all { flex: 0 0 auto; display: flex; align-items: center; padding: 0 16px 0 6px; color: #c9d4e0; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.ticker-all:hover { color: #fff; text-decoration: underline; }

/* ---- kind labels ---- */
.kind { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.kind::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.kind-alert, .kind-vuln { color: var(--red); }
.kind-breach { color: var(--amber); }
.kind-patch { color: var(--blue); }
.kind-news { color: var(--brand); }
.kind-guide { color: var(--violet); }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef2f6; color: #3c4c5e; text-decoration: none; }
.chip-live { background: var(--red-soft); color: var(--red); }
a.chip:hover { background: var(--brand-soft); color: var(--brand-ink); }

/* ---- lists of stories ---- */
.stories { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.story { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.story:first-child { padding-top: 0; }
.story:last-child { border-bottom: 0; }
.story h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.story h3 a { color: var(--ink); text-decoration: none; }
.story h3 a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.story p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.story-meta time { white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card { display: grid; align-content: start; gap: 6px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); }
a.card:hover { border-color: #b7cfc1; box-shadow: 0 10px 30px rgba(18, 32, 51, 0.06); }
.card strong { font-size: 1.02rem; line-height: 1.35; font-weight: 600; }
.card small { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---- the front page ---- */
.front { padding: 28px 0 48px; }
.front-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
.panel-head a { font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lead-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: center; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.lead-story img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #f4f6f8; }
.lead-story h2 { margin: 6px 0 8px; font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.18; font-weight: 600; letter-spacing: -0.02em; }
.lead-story h2 a { color: var(--ink); text-decoration: none; }
.lead-story h2 a:hover { color: var(--brand-ink); }
.lead-story p { margin: 0 0 10px; color: #3c4c5e; }
.front-intro { margin: 0 0 18px; }
.front-intro h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.front-intro p { margin: 0; color: var(--muted); max-width: 44rem; }
.side-box { padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.side-box + .side-box { margin-top: 16px; }
.side-box h2 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.side-box p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; color: #3c4c5e; }
.side-box .stories .story { padding: 11px 0; }
.side-box .stories .story h3 { font-size: 0.98rem; }
.side-urgent { background: var(--red-soft); border-color: #efcaca; }
.side-urgent h2 { color: var(--red); }
.side-tool { background: var(--brand-soft); border-color: #cfe6d8; }
.side-news { background: #14202f; border-color: #14202f; color: #fff; }
.side-news h2 { color: #fff; }
.side-news p { color: #c3d0de; }
.side-news input { border-color: #2a3a4d; }
.side-news .btn-primary { background: #1f8a52; }
.side-news .fine { color: #93a3b5; }
.fine { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.section-row { margin-top: 30px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.topic-chips a:hover { border-color: var(--brand); color: var(--brand-ink); }

/* ---- section and topic pages ---- */
.page-head { padding: 34px 0 6px; }
.page-head h1 { margin-bottom: 8px; }
.page-head .lede { margin-bottom: 0; }
.crumbs { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.list-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; padding: 22px 0 48px; }
.group { margin-top: 26px; }
.group:first-child { margin-top: 0; }
.group h2 { margin-bottom: 8px; font-size: 1.15rem; font-weight: 600; }
.empty { padding: 22px; border-radius: 16px; background: #fff; border: 1px dashed #cbd4de; color: #3c4c5e; }
.urgent-line { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--red-soft); border: 1px solid #efcaca; font-size: 15px; }
.urgent-line a { color: var(--red); font-weight: 600; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-weight: 600; }

/* ---- an article ---- */
.article-grid { display: grid; grid-template-columns: minmax(0, 720px) 320px; justify-content: space-between; gap: 40px; padding: 30px 0 56px; }
.article { min-width: 0; }
.article h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 8px 0 12px; }
.article .lede { margin-bottom: 14px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.byline a { color: var(--muted); }
.byline strong { color: var(--ink); font-weight: 600; }
.key-points { margin: 0 0 22px; padding: 18px 22px; border-radius: 16px; background: var(--brand-soft); border: 1px solid #cfe6d8; }
.key-points h2 { margin: 0 0 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-ink); }
.key-points ul { margin: 0; padding-left: 1.2em; }
.key-points li { margin: 4px 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.facts { margin: 0 0 26px; padding: 4px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.facts dd.strong { font-weight: 600; }
.facts .yes { color: var(--red); font-weight: 600; }
.prose { color: var(--body); }
.prose h2 { font-size: 1.45rem; margin: 1.8em 0 0.5em; }
.prose h3 { font-size: 1.1rem; margin: 1.4em 0 0.35em; }
.prose p, .prose li { font-size: 1.05rem; line-height: 1.68; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 16px; padding: 10px 16px; border-left: 3px solid #d9e2ea; color: #3c4c5e; }
.prose code { font-size: 0.9em; padding: 1px 5px; border-radius: 5px; background: #eef2f6; overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; padding: 14px 16px; border-radius: 12px; background: #14202f; color: #e6edf5; font-size: 14px; }
.prose pre code { padding: 0; background: none; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: #f6f8fa; font-weight: 600; white-space: nowrap; }
.table-wrap tr:last-child td { border-bottom: 0; }
.post-figure { margin: 1.6em 0; }
.post-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.post-figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.post-downloads { margin: 1.4em 0; font-weight: 600; }
.article-extra { margin-top: 2em; }
.article-extra h2 { font-size: 1.3rem; margin: 0 0 10px; }
.article-extra + .article-extra { margin-top: 1.8em; }
.faq h3 { margin-top: 1.1em; }
.faq p { color: var(--body); }
.sources ul, .corrections ul { padding-left: 1.2em; margin: 0; }
.sources li, .corrections li { margin-bottom: 6px; overflow-wrap: anywhere; font-size: 15px; }
.made { margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: #f6f8fa; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: #3c4c5e; }
.made strong { color: var(--ink); }
.indicators h3 { font-size: 1rem; margin: 1.2em 0 0.4em; }
.ind-list { list-style: none; padding: 0 !important; margin: 0 0 14px; }
.ind-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ind-list code { font-size: 15px; font-weight: 600; color: var(--ink); background: none; padding: 0; word-break: break-all; }
.ind-note { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.ind-variants { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.ind-quote { margin: 0 0 12px; padding: 12px 16px; border-left: 3px solid #d9e2ea; background: #fff; border-radius: 0 12px 12px 0; }
.ind-quote p { margin: 0; font-style: italic; }
.video-embed { margin: 1.5em 0; }
.aside { min-width: 0; }
.aside.is-sticky { position: sticky; top: 74px; align-self: start; }
.related { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.2rem; margin: 0 0 6px; }
.preview-note { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--amber-soft); border: 1px solid #ecd9b5; color: var(--amber); font-weight: 600; font-size: 14.5px; }

/* ---- the newsletter box ---- */
.sw-box { position: relative; margin: 30px 0 8px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.sw-box p.sw-head { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: #3c4c5e; }
.sw-box p.sw-head strong { display: block; margin-bottom: 2px; font-size: 1.05rem; color: var(--ink); }
.sw-row { display: flex; gap: 10px; }
.sw-row input { flex: 1 1 auto; min-width: 0; }
.sw-row .btn { flex: 0 0 auto; }
.sw-box p.sw-fine { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.sw-box p.sw-note { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.sw-box p.sw-note.is-error { color: #b93a3a; font-weight: 600; }
.sw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.side-box .sw-box { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.side-box .sw-box .sw-row { flex-direction: column; }

/* ---- tools ---- */
.tool { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.tool form { margin: 0; }
.tool .fine { margin-top: 10px; }
.grade-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; margin: 22px 0 18px; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.grade { display: flex; align-items: center; justify-content: center; width: 86px; height: 86px; border-radius: 22px; font-size: 46px; font-weight: 600; color: #fff; background: var(--brand); }
.grade-B { background: #3d8a4f; }
.grade-C { background: #b07a12; }
.grade-D { background: #c0612b; }
.grade-F { background: var(--red); }
.grade-card h2 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 600; overflow-wrap: anywhere; }
.grade-card p { margin: 0; color: #3c4c5e; font-size: 15px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0 0 22px; }
.check { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.check strong { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.check span { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; }
.check .ok { color: var(--brand); }
.check .warn { color: var(--amber); }
.check .bad { color: var(--red); }
.issues { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.issue { padding: 14px 16px 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 5px solid #cbd4de; }
.issue-critical { border-left-color: var(--red); }
.issue-warning { border-left-color: #d29a2a; }
.issue-info { border-left-color: #6f9fd8; }
.issue strong { display: block; font-size: 15.5px; }
.issue p { margin: 4px 0 0; font-size: 14.5px; color: #3c4c5e; }
.record { margin: 0 0 14px; }
.record code { display: block; padding: 10px 12px; border-radius: 10px; background: #f6f8fa; border: 1px solid var(--line); font-size: 13.5px; overflow-wrap: anywhere; white-space: pre-wrap; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan { padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.plan.best { border: 2px solid var(--brand); }
.plan h3 { margin: 0 0 4px; font-size: 1.1rem; }
.plan .price { margin: 0 0 10px; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0 0 14px; padding-left: 1.1em; font-size: 14.5px; color: #3c4c5e; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); background: white; padding: 38px 0 28px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 22px; }
.site-footer .footer-h { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.site-footer a { color: var(--muted); text-decoration: none; display: block; margin: 6px 0; }
.site-footer a:hover { color: var(--ink); }
.footer-about p { margin: 10px 0; max-width: 22rem; }
.legal { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; }
.legal a { display: inline; margin: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cc-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0; border-radius: 50%; background: #eef2f6; color: #3c4c5e; }
.footer-social a:hover, .footer-social a:focus-visible { background: var(--brand-c, var(--brand)); color: #fff; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---- the cookie choice (Reject and Accept look the same on purpose) ---- */
.cc { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(420px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow: auto;
  padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 18px 50px rgba(18, 32, 51, 0.22); }
.cc-title { margin: 0 0 6px; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.cc-title:focus { outline: none; }
.cc-text { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #3c4c5e; }
.cc-text a, .cc-fine a { color: var(--brand-ink); }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-btn { padding: 12px 10px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: 600 14.5px/1.2 var(--sans); cursor: pointer; }
.cc-btn:hover { background: #24364d; border-color: #24364d; }
.cc-link { display: block; margin: 12px auto 0; padding: 4px 8px; border: 0; background: none; color: var(--brand-ink); font: 600 14px/1.3 var(--sans); text-decoration: underline; cursor: pointer; }
.cc-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.cc-row > div { flex: 1 1 auto; min-width: 0; }
.cc-row label { display: inline; margin: 0; font-size: 14.5px; }
.cc-row strong { font-size: 14.5px; }
.cc-row p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: #5c6b7c; }
.cc-row:last-of-type { margin-bottom: 12px; }
.cc-always { flex: 0 0 auto; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.cc input.cc-switch { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 auto; width: 46px; height: 26px; margin: 2px 0 0; padding: 0; border: 0; border-radius: 999px; background: #c5ced9; cursor: pointer; }
.cc input.cc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(18, 32, 51, 0.3); transition: transform 0.15s; }
.cc input.cc-switch:checked { background: var(--brand); }
.cc input.cc-switch:checked::after { transform: translateX(20px); }
.cc-fine { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: #6b7a8c; }

/* ---- phones and tablets (keep this block last) ---- */
@media (max-width: 1060px) {
  .nav { gap: 13px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 58px; background: white; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 0; box-shadow: 0 18px 30px rgba(18, 32, 51, 0.08); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin-top: 12px; border-bottom: 0; padding: 13px 18px; }
  .front-grid, .list-grid, .article-grid { grid-template-columns: 1fr; }
  .article-grid { gap: 10px; }
  .aside.is-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ticker { font-size: 14px; }
  .ticker-label { padding: 0 12px; }
  .ticker-when { padding: 0 10px; }
  .ticker-long { display: none; }
  .ticker-short { display: inline; }
  .ticker-all { display: none; }
  .lead-story { grid-template-columns: 1fr; gap: 14px; }
  .panel { padding: 18px; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .wrap, .narrow, .header-inner { width: calc(100% - 28px); }
  .inline-form, .sw-row { flex-direction: column; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .grade-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cc { right: 10px; left: 10px; bottom: 10px; width: auto; }
  .prose p, .prose li { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; width: auto; min-width: 0; }
  .ticker-track li { display: none; }
  .ticker-track li.is-current { display: flex; min-width: 0; }
  .ticker-track li.is-current.is-new { animation: ticker-fade 0.6s ease; }
  .ticker-track li.is-current a { overflow: hidden; text-overflow: ellipsis; }
  .ticker-track li::after { display: none; }
  .ticker-viewport { -webkit-mask-image: none; mask-image: none; padding-left: 14px; }
  .cc input.cc-switch::after { transition: none; }
}
@keyframes ticker-fade { from { opacity: 0; } to { opacity: 1; } }
