/* qubitrank.com styles. Built from the approved home page mock-up (Option C, 27 Oct 2026). */
/* STIX Two Text, self-hosted and trimmed to Latin (SIL Open Font Licence, see /assets/fonts/OFL.txt) */
@font-face { font-family: "STIX Two Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/stix-two-text-400.woff2") format("woff2"); }
@font-face { font-family: "STIX Two Text"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/stix-two-text-400i.woff2") format("woff2"); }
@font-face { font-family: "STIX Two Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/stix-two-text-700.woff2") format("woff2"); }

/* QubitRank mock-ups: shared tokens and base. Colours from the approved logo (27 Oct 2026).
   Font: STIX Two Text only (owner's instruction). Production will self-host it. */
:root {
  --paper: #f6f5f0;
  --surface: #ffffff;
  --ink: #14212e;
  --head: #17324d;          /* Scientific Navy */
  --muted: #556270;         /* small text */
  --slate: #657586;         /* lines, icons, large text, "down" */
  --rule: #d9dcd8;
  --green: #0c3322;         /* "up", leaders, buttons */
  --green-tint: #e3eee7;
  --navy-tint: #e6ecf2;
  --btn-ink: #ffffff;
  --band: #17324d;          /* navy feature band */
  --band-ink: #ffffff;
  --band-muted: #c9d3dd;
  --band-accent: #86c0a1;
  --serif: "STIX Two Text", "STIX Two", Georgia, "Times New Roman", serif;
  --radius: 4px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1218; --surface: #121a23; --ink: #e7edf3; --head: #e7edf3; --muted: #9aa8b6;
    --slate: #7d8b99; --rule: #233140; --green: #86c0a1; --green-tint: #16261f; --navy-tint: #16212d;
    --btn-ink: #0c1218; --band: #121a23; --band-ink: #e7edf3; --band-muted: #9aa8b6; --band-accent: #86c0a1;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1218; --surface: #121a23; --ink: #e7edf3; --head: #e7edf3; --muted: #9aa8b6;
  --slate: #7d8b99; --rule: #233140; --green: #86c0a1; --green-tint: #16261f; --navy-tint: #16212d;
  --btn-ink: #0c1218; --band: #121a23; --band-ink: #e7edf3; --band-muted: #9aa8b6; --band-accent: #86c0a1;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.5 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
h1, h2, h3, h4 { color: var(--head); font-weight: 700; line-height: 1.12; margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--surface); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* Logo: light file in light mode, dark file in dark mode */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

/* Common bits */
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--green); }
.meta { font-size: 14px; color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.rule-2 { border: 0; border-top: 3px double var(--head); margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; padding: 11px 18px; border-radius: var(--radius); border: 2px solid var(--green); background: var(--green); color: var(--btn-ink); cursor: pointer; }
.btn.ghost { background: transparent; color: var(--green); }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--rule); color: var(--muted); white-space: nowrap; }
.grade { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 3px; font-size: 13px; font-weight: 700; }
.grade.A { background: var(--green-tint); color: var(--green); }
.grade.B { background: var(--navy-tint); color: var(--head); }
.up { color: var(--green); font-weight: 700; }
.down { color: var(--muted); font-weight: 700; }  /* darker slate so small text passes contrast */
.same { color: var(--muted); }
.status { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.status.delivered, .status.peer { background: var(--green-tint); color: var(--green); }
.status.track, .status.published { background: var(--navy-tint); color: var(--head); }
.status.due, .status.announced { border: 1px solid var(--slate); color: var(--muted); }
.status.slipped, .status.disputed { border: 1px dashed var(--slate); color: var(--muted); }
.more { font-size: 15px; font-weight: 700; color: var(--green); text-decoration: none; white-space: nowrap; }
.more:hover, a.card:hover h3 { text-decoration: underline; }

/* Ranking table */
table.rank { width: 100%; border-collapse: collapse; font-size: 16px; }
table.rank caption { text-align: left; font-size: 14px; color: var(--muted); padding: 0 0 8px; }
table.rank th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; font-weight: 700; padding: 8px 10px; border-bottom: 2px solid var(--head); }
table.rank td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
table.rank td.n { font-size: 22px; font-weight: 700; color: var(--head); width: 44px; }
table.rank td.v { text-align: right; font-weight: 700; white-space: nowrap; }
table.rank th.v { text-align: right; }
table.rank b { color: var(--head); }
table.rank small { display: block; color: var(--muted); font-size: 14px; }
@media (max-width: 719px) { table.rank .hide-s { display: none; } table.rank td, table.rank th { padding: 8px 6px; } }

/* Tabs */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 12px; }
.tabs button { font: inherit; font-size: 15px; padding: 6px 12px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--head); border-color: var(--head); color: var(--paper); font-weight: 700; }

/* Newsletter */
.signup form { display: grid; gap: 10px; }
.signup .row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input[type="email"] { flex: 1 1 220px; min-width: 0; font: inherit; padding: 11px 12px; border: 1px solid var(--slate); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.signup label.pick { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.signup input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }

/* Footer */
footer.site { border-top: 3px double var(--head); margin-top: 48px; padding: 32px 0 40px; font-size: 15px; }
footer.site .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
footer.site h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- Page sections (from Option C) ---- */

/* Option C: Option A's newspaper masthead on top of Option B's briefing content. */
.masthead { text-align: center; padding: 28px 0 0; }
.masthead .logo { display: block; width: min(520px, 86vw); margin: 0 auto; }
.masthead .logo img { width: 100%; height: auto; }
.tagline { font-style: italic; font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); margin: 6px 0 16px; }
.dateline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 8px 0; font-size: 14px; color: var(--muted); border-top: 3px double var(--head); border-bottom: 1px solid var(--head); }
.dateline b { color: var(--head); }
.sections { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--rule); }
.sections a { text-decoration: none; color: var(--ink); }
.sections a:hover { color: var(--green); text-decoration: underline; }
.sections a.sub { color: var(--green); font-weight: 700; }

/* Ticker */
.ticker { display: flex; align-items: stretch; border-bottom: 1px solid var(--rule); background: var(--surface); overflow: hidden; }
.ticker .label { position: relative; z-index: 1; flex: none; background: var(--green); color: var(--btn-ink); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 9px 14px; }
.ticker .track { display: flex; gap: 48px; white-space: nowrap; padding: 8px 24px; font-size: 15px; animation: tick 45s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker .track span b { color: var(--head); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } }


header.top { background: var(--surface); border-bottom: 1px solid var(--rule); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
header.top .logo img { height: 44px; width: auto; }
nav.main ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
nav.main a { display: block; text-decoration: none; padding: 8px 10px; font-size: 16px; color: var(--ink); border-radius: var(--radius); }
nav.main a:hover { background: var(--navy-tint); }
nav.main .btn { padding: 8px 14px; margin-left: 6px; }
details.menu { display: none; position: relative; }
@media (max-width: 1023px) {
  nav.main { display: none; }
  details.menu { display: block; }
  details.menu summary { list-style: none; cursor: pointer; border: 1px solid var(--rule); padding: 7px 12px; border-radius: var(--radius); font-size: 15px; }
  details.menu summary::-webkit-details-marker { display: none; }
  details.menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--rule); min-width: 220px; }
  details.menu a { display: block; padding: 10px 12px; text-decoration: none; }
}

/* Hero briefing band */
.hero { background: var(--band); color: var(--band-ink); }
.hero .wrap { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.hero .kicker { color: var(--band-accent); }
.hero h1 { color: var(--band-ink); font-size: clamp(34px, 5vw, 58px); letter-spacing: -.01em; margin: 10px 0 14px; }
.hero h1 em { font-style: italic; color: var(--band-accent); }
.hero .lede { color: var(--band-muted); font-size: clamp(18px, 2vw, 21px); margin: 0 0 22px; max-width: 34em; }
.five { counter-reset: n; list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.five li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 17px; }
.five li::before { content: counter(n, decimal-leading-zero); font-weight: 700; color: var(--band-accent); }
.five b { color: var(--band-ink); }
.five span { color: var(--band-muted); }
.board-card { background: var(--surface); color: var(--ink); border-radius: 6px; padding: 20px; border: 1px solid var(--rule); }
.board-card h2 { font-size: 22px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.board-card h2 small { font-size: 13px; font-weight: 400; color: var(--muted); }
.race { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.race:last-of-type { border-bottom: 0; }
.race .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.race .cat { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.race .lead-name { font-size: 19px; font-weight: 700; color: var(--head); }
.bars { display: grid; gap: 4px; margin-top: 8px; }
.bar { display: grid; grid-template-columns: 110px 1fr 70px; gap: 8px; align-items: center; font-size: 14px; }
.bar i { display: block; height: 8px; border-radius: 4px; background: var(--slate); opacity: .45; }
.bar:first-child i { background: var(--green); opacity: 1; }
.bar span:last-child { text-align: right; color: var(--muted); }
@media (max-width: 420px) { .bar { grid-template-columns: 84px 1fr 56px; } }

/* Sections */
.sec { padding: 44px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--head); }
.sec-head h2 { font-size: clamp(26px, 3vw, 34px); }
.sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 16px; }

/* Who leads where */
.matrix-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--rule); }
table.matrix { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
table.matrix th, table.matrix td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: center; }
table.matrix thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
table.matrix th[scope="row"] { text-align: left; color: var(--head); font-size: 17px; white-space: nowrap; }
.dot { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 13px; font-weight: 700; }
.dot.l1 { background: var(--green); color: var(--btn-ink); }
.dot.l3 { background: var(--green-tint); color: var(--green); border: 1px solid var(--green); }
.dot.lr { border: 1px solid var(--slate); color: var(--muted); }
.dot.ln { color: var(--muted); }
.key { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); margin-top: 10px; align-items: center; }

/* Reality check feature */
.rc { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--rule); }
@media (min-width: 900px) { .rc { grid-template-columns: 1.1fr 1fr; } }
.rc .story { padding: 26px; }
.rc .story h3 { font-size: clamp(26px, 3vw, 34px); margin: 8px 0 12px; }
.rc .story p { margin: 0 0 12px; }
.rc .facts { padding: 26px; background: var(--navy-tint); display: grid; gap: 14px; align-content: start; }
.rc .facts div { border-left: 3px solid var(--head); padding-left: 12px; }
.rc .facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.rc .facts dd { margin: 2px 0 0; font-size: 17px; }
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 16px 0; padding: 0; }
.ladder li { list-style: none; font-size: 12px; color: var(--muted); text-align: center; }
.ladder li::before { content: ""; display: block; height: 8px; border-radius: 2px; background: var(--rule); margin-bottom: 6px; }
.ladder li.done::before { background: var(--green); }
.ladder li.done { color: var(--green); font-weight: 700; }
.verdict { display: inline-block; font-weight: 700; color: var(--head); border: 2px solid var(--head); padding: 6px 12px; }
.minichecks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 14px; }
.minichecks a { text-decoration: none; background: var(--surface); border: 1px solid var(--rule); padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.minichecks a:hover { border-color: var(--green); }
.minichecks b { color: var(--head); }

/* Movers + news */
.duo { display: grid; gap: 28px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1.2fr; } }
.mv { display: grid; gap: 10px; }
.mv div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--rule); padding: 12px 14px; }
.mv .big { font-size: 28px; font-weight: 700; }
.mv p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 18px 14px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--head); }
.timeline time { font-size: 13px; color: var(--muted); margin-right: 8px; }
.timeline a { text-decoration: none; }
.timeline h3 { font-size: 19px; margin: 6px 0 2px; }
.timeline a:hover h3 { text-decoration: underline; }

/* Full board */
.full { display: grid; gap: 28px; }
@media (min-width: 1000px) { .full { grid-template-columns: 2.2fr 1fr; } }
.side-note { background: var(--surface); border: 1px solid var(--rule); padding: 18px; font-size: 16px; align-self: start; }
.side-note h3 { font-size: 18px; margin-bottom: 8px; }
.side-note p { margin: 0 0 10px; }

/* Progress */
.prog { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.prog div { background: var(--surface); border: 1px solid var(--rule); padding: 16px; }
.prog h3 { font-size: 18px; margin-bottom: 10px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-bottom: 8px; }
.seg i { height: 10px; background: var(--rule); }
.seg i.on { background: var(--green); }
.prog p { margin: 0; font-size: 15px; color: var(--muted); }

/* Roadmap scorecard */
.score { display: grid; gap: 10px; }
.score .co { display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--rule); padding: 14px 16px; }
@media (min-width: 760px) { .score .co { grid-template-columns: 170px 1fr 150px; align-items: center; } }
.score .co b { color: var(--head); font-size: 18px; }
.score .promises { display: flex; flex-wrap: wrap; gap: 6px; }
.score .tally { font-size: 15px; color: var(--muted); }
.score .tally strong { color: var(--head); font-size: 20px; }

/* Compare */
.cmp { background: var(--surface); border: 1px solid var(--rule); padding: 20px; display: grid; gap: 16px; }
.cmp form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.cmp label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); flex: 1 1 180px; }
.cmp select { font: inherit; padding: 10px; border: 1px solid var(--slate); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.cmp .vs { font-style: italic; color: var(--slate); align-self: center; padding: 0 4px; }
.cmp .pop { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; }
.cmp .pop a { text-decoration: none; border: 1px solid var(--rule); padding: 6px 12px; border-radius: 999px; }
.cmp .pop a:hover { border-color: var(--green); color: var(--green); }

.yet { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.yet a { display: flex; justify-content: space-between; gap: 12px; align-items: center; text-decoration: none; padding: 14px 16px; background: var(--surface); border: 1px solid var(--rule); }
.yet a:hover { border-color: var(--green); }

.subscribe { background: var(--band); color: var(--band-ink); margin-top: 48px; }
.subscribe .wrap { display: grid; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
@media (min-width: 900px) { .subscribe .wrap { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.subscribe h2 { color: var(--band-ink); font-size: clamp(28px, 3.4vw, 38px); }
.subscribe p { color: var(--band-muted); margin: 10px 0 0; }
.subscribe .kicker { color: var(--band-accent); }
.subscribe .signup label.pick { color: var(--band-ink); }
.subscribe .btn { background: var(--band-accent); border-color: var(--band-accent); color: #0c1218; }
.subscribe .fine { font-size: 13px; color: var(--band-muted); }
.evidence { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border: 1px solid var(--rule); background: var(--surface); padding: 18px 20px; margin-top: 36px; }
.evidence p { margin: 0; }

/* Site additions (not in the mock-up) */
.sample-banner { background: #6e4708; color: #fff; font-size: 15px; text-align: center; padding: 8px 16px; }
.theme-toggle { font: inherit; font-size: 14px; color: var(--muted); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: 2px 12px; cursor: pointer; }
.tabs { display: none; }
.js .tabs { display: flex; }
.panel-title { font-size: 20px; margin: 18px 0 8px; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.release-note { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* Inner pages */
.page-head { padding: 28px 0 8px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: inherit; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 6px 0 10px; }
.page-head .lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink); max-width: 40em; margin: 0; }
.prose { max-width: 42em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 36px 0 10px; padding-top: 12px; border-top: 1px solid var(--rule); }
.prose p, .prose li { font-size: 18px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.facts-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 22px 0; }
.facts-row div { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--head); padding: 16px; }
.facts-row h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.facts-row p { margin: 0; font-size: 17px; }
.cat-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cat-card { background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--head); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.cat-card h2 { font-size: 24px; }
.cat-card h2 a { text-decoration: none; }
.cat-card h2 a:hover { text-decoration: underline; }
.cat-card ol { list-style: none; margin: 0; padding: 0; }
.cat-card li { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.cat-card li .n { font-weight: 700; color: var(--head); }
.cat-card li b { color: var(--head); }
.cat-card .more { margin-top: auto; }
table.excl { width: 100%; border-collapse: collapse; font-size: 16px; }
table.excl th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 2px solid var(--head); }
table.excl td { padding: 8px; border-bottom: 1px solid var(--rule); }
.draft-banner { background: var(--navy-tint); color: var(--head); border-bottom: 2px solid var(--head); font-size: 15px; text-align: center; padding: 8px 16px; }

/* Articles: Reality Checks, news, monthly */
.article { max-width: 860px; }
.article .ladder { max-width: 720px; }
.verdict-line { margin: 4px 0 20px; }
.rc-facts { display: grid; gap: 14px; background: var(--navy-tint); padding: 22px; margin: 0 0 28px; }
.rc-facts div { border-left: 3px solid var(--head); padding-left: 12px; }
.rc-facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.rc-facts dd { margin: 2px 0 0; font-size: 18px; }
.prose h2:first-child { margin-top: 8px; }
.prose a { color: var(--green); }
.sources ol { font-size: 16px; }
.sources li, .updates li { font-size: 16px; }
.note-box { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--green); padding: 14px 16px; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.plain-list li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.list-items { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.list-items li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.list-items h2 { font-size: 24px; margin: 6px 0; }
.list-items h2 a { text-decoration: none; }
.list-items h2 a:hover { text-decoration: underline; }
.list-items p { margin: 0; }
.rc .story h3 a { text-decoration: none; }
.rc .story h3 a:hover { text-decoration: underline; }

/* Company and compare pages */
.article.wide { max-width: 1100px; }
.rank-strip { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.rank-cell { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--slate); padding: 14px; }
.rank-cell.lead { border-top-color: var(--green); }
.rank-cell .cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.rank-cell strong { font-size: 32px; line-height: 1; color: var(--head); }
.rank-cell.lead strong { color: var(--green); }
.rank-cell strong.none { color: var(--muted); }
.rank-cell:hover { border-color: var(--green); }
table.vs-table { min-width: 520px; }
table.vs-table td, table.vs-table th { text-align: left; vertical-align: top; }
table.vs-table thead th a { color: var(--head); font-size: 18px; text-transform: none; letter-spacing: 0; }
.key { margin-bottom: 8px; }

a.cat-card { text-decoration: none; }
a.cat-card:hover h2 { text-decoration: underline; }

/* Other organisations' rankings */
.other-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.other-card { background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--slate); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.other-card h3 { font-size: 20px; }
.other-card h3 a { text-decoration: none; }
.other-card h3 a:hover { text-decoration: underline; }
.other-card p { margin: 0; font-size: 16px; }
.other-top { margin: 0; padding-left: 22px; font-size: 16px; display: grid; gap: 4px; }
.other-facts { margin: 0; display: grid; gap: 8px; font-size: 15px; }
.other-facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.other-facts dd { margin: 2px 0 0; }

.yet .yet-item { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--rule); }

.subscribe .signup p { color: var(--band-ink); margin: 0 0 12px; }
.subscribe .signup p a:not(.btn) { color: var(--band-accent); }
