/* SoftwareCompare. Engineering datasheet: clean paper, precise numbers, a clear call.
   Tokens follow tokens.json exactly. Datasheet (light) is the default on :root;
   Graphite (dark) applies from the OS setting unless the reader chose light, or from the toggle. */

/* Metric-matched local fallbacks, so text keeps its width while the Google Fonts load (no layout shift on swap).
   Measured in Chrome: Archivo 800 at width 112 is 1.17x Arial Bold; Source Sans 3 is 0.936x Arial. */
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial"); font-weight: 700 800; size-adjust: 117%; ascent-override: 76%; descent-override: 19%; line-gap-override: 0%; }
@font-face { font-family: "Source Sans Fallback"; src: local("Arial"), local("ArialMT"); font-weight: 400; size-adjust: 93.6%; ascent-override: 109%; descent-override: 43%; line-gap-override: 0%; }
@font-face { font-family: "Source Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 700; size-adjust: 93.6%; ascent-override: 109%; descent-override: 43%; line-gap-override: 0%; }

:root {
  --paper: #f7f8fa;
  --surface: #ffffff;
  --sunken: #eef1f5;
  --rule: #d9dee5;
  --edge: #7c8796;
  --ink: #0e1116;
  --muted: #4a5361;
  --accent: #ff5b1f;
  --accent-text: #c2410c;
  --on-accent: #0e1116;
  --positive: #0f766e;
  --caution: #a34a07;
  --negative: #b91c1c;
  --accent-wash: rgba(255, 91, 31, 0.08);
  --caution-wash: rgba(180, 83, 9, 0.07);
  --card: 0 1px 2px rgba(14, 17, 22, 0.06), 0 4px 16px rgba(14, 17, 22, 0.05);
  --raise: 0 8px 28px rgba(14, 17, 22, 0.12);

  --font-display: Archivo, "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Fallback", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-20: 80px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --content: 1120px;
  --column: 720px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c0f13;
    --surface: #13171d;
    --sunken: #1a1f27;
    --rule: #262d38;
    --edge: #66738a;
    --ink: #eceff3;
    --muted: #9aa4b2;
    --accent: #ff6b35;
    --accent-text: #ff7a45;
    --on-accent: #0c0f13;
    --positive: #2dd4bf;
    --caution: #fbbf24;
    --negative: #f87171;
    --accent-wash: rgba(255, 107, 53, 0.10);
    --caution-wash: rgba(251, 191, 36, 0.08);
    --card: 0 1px 2px rgba(0, 0, 0, 0.5);
    --raise: 0 10px 30px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0c0f13;
  --surface: #13171d;
  --sunken: #1a1f27;
  --rule: #262d38;
  --edge: #66738a;
  --ink: #eceff3;
  --muted: #9aa4b2;
  --accent: #ff6b35;
  --accent-text: #ff7a45;
  --on-accent: #0c0f13;
  --positive: #2dd4bf;
  --caution: #fbbf24;
  --negative: #f87171;
  --accent-wash: rgba(255, 107, 53, 0.10);
  --caution-wash: rgba(251, 191, 36, 0.08);
  --card: 0 1px 2px rgba(0, 0, 0, 0.5);
  --raise: 0 10px 30px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 28px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: 112%; color: var(--ink); margin: 0; }
h2 { font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 20px; line-height: 26px; font-weight: 700; }
p { margin: 0; }
time { font-variant-numeric: tabular-nums; }
.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; }
.sc-skip { position: absolute; left: var(--space-4); top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); }
.sc-skip:focus { top: var(--space-2); }

.sc-wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--space-6)); margin: 0 auto; padding-inline: var(--space-6); }
.sc-label { font-family: var(--font-body); font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); margin: 0; }
.sc-label--positive { color: var(--positive); }
.sc-label--negative { color: var(--negative); }
.sc-data { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.sc-data-l { font-family: var(--font-mono); font-size: 22px; line-height: 28px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sc-muted { color: var(--muted); }
.sc-note { color: var(--muted); font-size: 15px; line-height: 24px; margin-top: var(--space-3); }
.sc-display-xl { font-size: 60px; line-height: 62px; font-weight: 800; letter-spacing: -0.03em; }
.sc-display-l { font-size: 44px; line-height: 48px; font-weight: 800; letter-spacing: -0.025em; }
.sc-lead { font-size: 19px; line-height: 30px; color: var(--muted); max-width: 680px; }

/* Icons: 1.75px line, rounded joins, muted at rest */
.sc-icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sc-icon--sm { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ components (bundle.css, on tokens) */
.sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: var(--radius-md);
  border: 1.5px solid var(--edge); background: var(--surface); color: var(--ink); font: 700 15px/20px var(--font-body); text-decoration: none; cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease; }
.sc-btn:hover { box-shadow: var(--raise); text-decoration: none; }
.sc-btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sc-btn--link { border-color: transparent; background: transparent; color: var(--accent-text); padding-inline: 0; }
.sc-btn--link:hover { box-shadow: none; text-decoration: underline; }

.sc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid var(--edge);
  background: var(--surface); font: 600 12px/18px var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.sc-chip--win { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sc-chip--ok { border-color: var(--positive); color: var(--positive); }
.sc-chip--caution { border-color: var(--caution); color: var(--caution); }
.sc-chip--limit { border-color: var(--negative); color: var(--negative); }

.sc-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--card); padding: var(--space-6);
  transition: box-shadow .15s ease, transform .15s ease; }
a.sc-card:hover, .sc-story:hover { box-shadow: var(--raise); transform: translateY(-2px); }

.sc-edge { display: inline-block; margin-left: var(--space-2); font: 700 11px/16px var(--font-body); letter-spacing: .05em; text-transform: uppercase;
  color: var(--on-accent); background: var(--accent); border-radius: var(--radius-pill); padding: 1px 8px; vertical-align: 1px; white-space: nowrap; }

.sc-cite { font: 500 11px/1 var(--font-mono); margin-left: 1px; }
.sc-cite a, .sc-cite span { color: var(--accent-text); text-decoration: none; padding: 0 1px; }
.sc-cite a + a::before { content: ","; color: var(--muted); }
.sc-cite a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ header and footer */
.sc-header { background: var(--surface); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.sc-header__row { display: flex; align-items: center; gap: var(--space-8); min-height: 68px; }
.sc-header__brand { display: inline-flex; flex: none; }
.sc-logo { height: 28px; width: auto; }
.sc-logo--dark { display: none; }
.sc-nav { display: flex; gap: var(--space-6); margin-right: auto; }
.sc-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: var(--space-2) 0; border-bottom: 2px solid transparent; }
.sc-nav a:hover { border-bottom-color: var(--rule); }
.sc-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.sc-header__tools { display: flex; gap: var(--space-2); }
.sc-iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-md); border: 1.5px solid var(--rule);
  background: var(--surface); color: var(--muted); cursor: pointer; padding: 0; }
.sc-iconbtn:hover { color: var(--ink); border-color: var(--edge); }
.sc-icon--sun { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sc-logo--light { display: none; }
  :root:not([data-theme="light"]) .sc-logo--dark { display: block; }
  :root:not([data-theme="light"]) .sc-icon--sun { display: block; }
  :root:not([data-theme="light"]) .sc-icon--moon { display: none; }
}
:root[data-theme="dark"] .sc-logo--light { display: none; }
:root[data-theme="dark"] .sc-logo--dark { display: block; }
:root[data-theme="dark"] .sc-icon--sun { display: block; }
:root[data-theme="dark"] .sc-icon--moon { display: none; }

.sc-footer { margin-top: var(--space-20); background: var(--surface); border-top: 2px solid var(--ink); }
.sc-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--space-8); padding-block: var(--space-12) var(--space-8); }
.sc-footer__grid.has-catalog { grid-template-columns: 1.5fr 1fr 1.15fr 1fr 1fr; gap: var(--space-6); }
.sc-footer__sub { margin-top: var(--space-4); }
.sc-footer__about p { margin-top: var(--space-4); color: var(--muted); font-size: 15px; line-height: 24px; max-width: 320px; }
.sc-footer .sc-logo { height: 24px; }
.sc-footer__col { display: flex; flex-direction: column; gap: var(--space-2); }
.sc-footer__col .sc-label { color: var(--muted); margin-bottom: var(--space-1); }
.sc-footer__col a { color: var(--ink); text-decoration: none; font-size: 15px; line-height: 24px; }
.sc-footer__col a:hover { color: var(--accent-text); text-decoration: underline; }
.sc-footer__social { display: inline-flex; align-items: center; gap: var(--space-2); }
.sc-footer__social svg { width: 16px; height: 16px; flex: none; fill: currentColor; }
.sc-footer__base { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-block: var(--space-4) var(--space-8);
  border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; line-height: 22px; }

/* ------------------------------------------------------------------ sections */
.sc-section { padding-block: var(--space-12); }
.sc-section--tight { padding-block: var(--space-8); }
.sc-section--sunken { background: var(--sunken); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
main > .sc-section--sunken:last-child { margin-bottom: calc(-1 * var(--space-20)); }
.sc-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.sc-section__head h2 { margin-top: var(--space-1); }
.sc-section__head h2 a { color: inherit; text-decoration: none; }
.sc-section__head h2 a:hover { color: var(--accent-text); }
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.sc-group + .sc-group { margin-top: var(--space-12); }

/* Section spec headers: "01 / HEAD-TO-HEAD" over a heavy ink rule. The number is the section's one orange accent. */
.sc-spechead { border-top: 2px solid var(--ink); padding-top: var(--space-3); margin-bottom: var(--space-6); }
.sc-spechead__label { font: 600 13px/18px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-spechead__n { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; color: var(--accent-text); }
.sc-spechead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-2) var(--space-4); flex-wrap: wrap; margin-top: var(--space-2); }
.sc-spechead__link { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--ink); font-weight: 700; font-size: 15px; line-height: 22px; text-decoration: none; }
.sc-spechead__link:hover { text-decoration: underline; }
.sc-spechead__link .sc-icon { color: var(--muted); }

/* Home hero: headline left, featured datasheet right, on a hairline rule grid */
.sc-hero-home { position: relative; padding-top: var(--space-20); border-bottom: 1px solid var(--rule);
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center -1px; }
.sc-hero-home::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 30%, transparent 70%), linear-gradient(0deg, var(--paper) 0%, transparent 28%); }
.sc-hero-home > * { position: relative; }
.sc-hero-home__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); align-items: center; padding-bottom: var(--space-12); }
.has-feature .sc-hero-home__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.sc-hero-home .sc-display-xl { margin-top: var(--space-4); max-width: 900px; }
.sc-hero-home .sc-lead { margin-top: var(--space-6); }
.sc-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-8); }

/* Featured matchup: a datasheet card generated from the newest versus article */
.sc-feature { background: var(--surface); border: 1.5px solid var(--edge); border-radius: var(--radius-lg); box-shadow: var(--raise); overflow: hidden; }
.sc-feature__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-4); flex-wrap: wrap;
  padding: var(--space-3) var(--space-6); background: var(--sunken); border-bottom: 1px solid var(--edge); }
.sc-feature__bar .sc-data { color: var(--muted); font-size: 12px; line-height: 18px; }
.sc-feature__names { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); padding: var(--space-6) var(--space-6) var(--space-4);
  font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -0.02em; border-bottom: 2px solid var(--ink); }
.sc-feature__name { overflow-wrap: anywhere; }
.sc-feature__names .sc-feature__name + .sc-feature__op + .sc-feature__name { text-align: left; }
.sc-feature__op { position: absolute; left: 50%; top: var(--space-6); transform: translateX(-50%); font: 500 13px/30px var(--font-mono); letter-spacing: 0;
  color: var(--muted); }
.sc-feature__rows { list-style: none; margin: 0; padding: 0 var(--space-6); }
.sc-feature__rows li { padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); }
.sc-feature__crit { font: 600 12px/18px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-feature__cells { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-1); }
.sc-feature__cell { font-size: 15px; line-height: 22px; padding: 2px 0; }
.sc-feature__cell.is-edge { background: var(--accent-wash); box-shadow: -8px 0 0 var(--accent-wash), 8px 0 0 var(--accent-wash); border-radius: 2px; }
.sc-feature__cell .sc-edge { margin-left: 0; }
.sc-feature__cell code { font-family: var(--font-mono); font-size: 13px; }
.sc-feature__verdict { margin: var(--space-4) var(--space-6) 0; padding: var(--space-3) var(--space-4); background: var(--accent-wash); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.sc-feature__verdict p:not(.sc-label) { font-size: 15px; line-height: 23px; margin-top: var(--space-1); }
.sc-feature__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-4); flex-wrap: wrap; padding: var(--space-4) var(--space-6) var(--space-6); }
.sc-feature__foot .sc-data { font-size: 12px; line-height: 18px; }

/* Stat strip under the hero */
.sc-statstrip { background: var(--surface); border-top: 1px solid var(--rule); }
.sc-statstrip__list { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; gap: var(--space-1) 0; padding-block: var(--space-3); color: var(--muted); font-size: 13px; }
.sc-statstrip__list li + li::before { content: "·"; margin: 0 var(--space-3); color: var(--edge); }
.sc-statstrip__list b { color: var(--ink); font-weight: 500; }

/* Section tiles (category band) */
.sc-sections { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.sc-sections li { display: flex; }
.sc-sectile { position: relative; display: flex; flex-direction: column; gap: var(--space-2); width: 100%; padding: var(--space-6); color: var(--ink); text-decoration: none;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--card); transition: box-shadow .15s ease, transform .15s ease; }
a.sc-sectile:hover { box-shadow: var(--raise); transform: translateY(-2px); }
.sc-sectile__icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: var(--radius-md); color: var(--ink); margin-bottom: var(--space-2); }
.sc-sectile h3 { font-size: 18px; line-height: 24px; }
.sc-sectile p { color: var(--muted); font-size: 15px; line-height: 22px; flex: 1; }
.sc-sectile__status { align-self: flex-start; margin-top: var(--space-2); padding-top: var(--space-2); border-top: 2px solid var(--ink); color: var(--ink); font-size: 13px; }
.sc-sectile .sc-chip { align-self: flex-start; margin-top: var(--space-2); }
.sc-sectile.is-soon { background: transparent; box-shadow: none; border-style: dashed; border-color: var(--edge); }
.sc-sectile.is-soon .sc-sectile__icon { border-color: var(--rule); color: var(--muted); }
.sc-sectile.is-soon h3 { color: var(--muted); }
.sc-sectile.is-soon .sc-chip { background: transparent; color: var(--muted); border-color: var(--rule); }

/* Article cards */
.sc-story { padding: 0; overflow: hidden; display: flex; }
.sc-story__link { display: flex; flex-direction: column; width: 100%; color: var(--ink); text-decoration: none; }
.sc-story__media { display: block; position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--sunken); }
.sc-story__thumb { width: 100%; height: 100%; object-fit: cover; }
.sc-story__body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; padding: var(--space-4) var(--space-6) var(--space-6); }
.sc-story__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.sc-story__meta .sc-chip:only-child { margin-left: 0; }
.sc-story__title { font-size: 21px; line-height: 27px; font-weight: 800; letter-spacing: -0.015em; }
.sc-story--vs .sc-story__title { font-size: 25px; line-height: 30px; letter-spacing: -0.02em; }
.sc-vs { font: 500 14px/1 var(--font-mono); letter-spacing: 0; color: var(--muted); vertical-align: 3px; padding: 0 2px; }
.sc-story__link:hover .sc-story__title { color: var(--accent-text); }
.sc-story__link:hover .sc-vs { color: var(--accent-text); }
.sc-story__dek, .sc-story__verdict { display: block; color: var(--muted); font-size: 15px; line-height: 23px; flex: 1; }
.sc-story__verdict strong { color: var(--ink); font-weight: 700; }
.sc-story__vlabel { font: 600 11px/18px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-right: var(--space-1); }
.sc-story__foot { display: block; color: var(--muted); font-size: 12px; line-height: 18px; padding-top: var(--space-3); border-top: 1px solid var(--rule); margin-top: var(--space-2); }

.sc-moretile { display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-2); color: var(--ink); text-decoration: none; background-color: var(--sunken);
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px;
  box-shadow: none; border-style: dashed; border-color: var(--edge); min-height: 220px; }
.sc-moretile:hover { box-shadow: var(--raise); transform: translateY(-2px); }
.sc-moretile__n { font-size: 44px; line-height: 48px; }
.sc-moretile__label { color: var(--muted); font-size: 15px; line-height: 22px; max-width: 240px; }
.sc-moretile__go { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: 700; font-size: 15px; margin-top: var(--space-2); }

/* Latest price checks */
.sc-pricetable-wrap { border: 1.5px solid var(--edge); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.sc-pricetable { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.sc-pricetable thead th { background: var(--sunken); text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--edge);
  font: 600 13px/18px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-pricetable td, .sc-pricetable tbody th { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.sc-pricetable tbody tr:last-child > * { border-bottom: 0; }
.sc-pricetable tbody th { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 16px; width: 24%; }
.sc-pricetable tbody th a { color: var(--ink); text-decoration: none; }
.sc-pricetable tbody th a:hover { color: var(--accent-text); text-decoration: underline; }
.sc-pricetable td.sc-data { font-size: 13px; line-height: 21px; }
.sc-pricetable td.sc-muted { white-space: nowrap; }
.sc-pricetable__in { color: var(--muted); font-size: 14px; }
.sc-pricetable tbody tr:hover { background: var(--accent-wash); }

/* How we decide: three numbered datasheet panels */
.sc-panels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--edge); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.sc-panel { position: relative; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); }
.sc-panel + .sc-panel { border-left: 1px solid var(--rule); }
.sc-panel__n { position: absolute; top: var(--space-6); right: var(--space-6); font-size: 13px; color: var(--muted); }
.sc-panel__icon { color: var(--ink); margin-bottom: var(--space-2); }
.sc-panel h3 { font-size: 18px; line-height: 24px; }
.sc-panel p:not(.sc-panel__fact) { color: var(--muted); font-size: 15px; line-height: 23px; flex: 1; }
.sc-panel__fact { margin-top: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--rule); font-size: 12px; line-height: 18px; color: var(--ink); }

/* Listing heads */
.sc-listhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-8); align-items: end; }
.sc-listhead .sc-display-l { display: flex; align-items: center; gap: var(--space-4); }
.sc-listhead__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border: 2px solid var(--ink); border-radius: var(--radius-md); }
.sc-listhead__icon .sc-icon { width: 30px; height: 30px; }
.sc-listhead__facts { display: grid; grid-template-columns: repeat(2, minmax(120px, auto)); margin: 0; border-top: 2px solid var(--ink); }
.sc-listhead__facts > div { padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--rule); }
.sc-listhead__facts dt { font: 600 12px/18px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-listhead__facts dd { margin: var(--space-1) 0 0; font-size: 20px; line-height: 26px; font-weight: 500; }
.sc-group .sc-spechead__row h2 { font-size: 26px; }

.sc-empty { max-width: 760px; }
.sc-empty h2 { margin: var(--space-2) 0 var(--space-3); }
.sc-empty p:last-child { color: var(--muted); }

/* ------------------------------------------------------------------ page heads, breadcrumbs */
.sc-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: var(--space-6) 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.sc-crumbs li:not(:last-child)::after { content: "/"; margin-left: var(--space-2); color: var(--rule); }
.sc-crumbs a { color: var(--muted); text-decoration: none; }
.sc-crumbs a:hover { color: var(--accent-text); text-decoration: underline; }
.sc-crumbs li { min-width: 0; }
.sc-crumbs li:last-child { flex: 1 1 0; }
.sc-crumbs [aria-current] { display: block; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.sc-pagehead { padding-block: var(--space-8) var(--space-6); }
.sc-pagehead .sc-display-l { margin: var(--space-3) 0 var(--space-4); max-width: 860px; }
.sc-pagehead > .sc-data { margin-top: var(--space-4); }
.sc-pagehead--narrow { max-width: var(--column); padding-inline: 0; }
.sc-page, .sc-col { max-width: calc(var(--column) + 2 * var(--space-6)); margin-left: max(0px, calc((100% - var(--content) - 2 * var(--space-6)) / 2)); margin-right: auto; }

/* ------------------------------------------------------------------ article */
.sc-article__head { padding-top: var(--space-8); max-width: calc(var(--column) + 2 * var(--space-6)); margin-left: max(0px, calc((100% - var(--content) - 2 * var(--space-6)) / 2)); }
.sc-article__kicker { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.sc-article__kicker a { text-decoration: none; }
.sc-article__kicker a:hover { text-decoration: underline; }
.sc-article__head .sc-display-l { margin: var(--space-4) 0; }
.sc-byline { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-6); }
.sc-byline p { display: flex; flex-direction: column; font-size: 15px; line-height: 22px; }
.sc-byline a { color: var(--ink); font-weight: 700; }
.sc-byline .sc-data { color: var(--muted); font-size: 13px; }
.sc-disclosure { display: flex; gap: var(--space-2); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--rule); color: var(--muted); font-size: 14px; line-height: 22px; }
.sc-disclosure .sc-icon { margin-top: 2px; }
.sc-hero { margin: var(--space-8) 0 0; }
.sc-hero img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--rule); aspect-ratio: 16 / 9; object-fit: cover; background: var(--sunken); }
.sc-hero__credit { margin-top: var(--space-2); font-size: 13px; line-height: 18px; color: var(--muted); }
.sc-hero__credit a { color: var(--muted); }
/* Product images: the vendor's own share image under its H2 or in its Strengths and limits card */
.sc-product-fig { margin: var(--space-4) 0 var(--space-6); }
.sc-prose > .sc-product-fig { margin-top: var(--space-4); }
.sc-product-fig img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--rule); background: var(--sunken); }
.sc-tool .sc-product-fig { margin: 0 0 var(--space-4); }

.sc-article__top, .sc-article__col { max-width: calc(var(--column) + 2 * var(--space-6)); margin-left: max(0px, calc((100% - var(--content) - 2 * var(--space-6)) / 2)); }
.sc-article__top { padding-top: var(--space-8); }
.sc-article__after { padding-top: var(--space-8); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }

/* Verdict */
.sc-verdict { background: var(--accent-wash); border: 1.5px solid var(--accent); border-radius: var(--radius-lg); padding: var(--space-6); }
.sc-verdict__text { margin: var(--space-2) 0 var(--space-4); font-size: 18px; line-height: 29px; }
.sc-verdict__text p + p { margin-top: var(--space-2); }
.sc-verdict__picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3); }
.sc-verdict__pick { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: 15px; line-height: 22px; color: var(--muted); }
.sc-verdict__pick b { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 18px; line-height: 24px; color: var(--ink); }

/* Head-to-head and spec tables */
.sc-matchup, .sc-spec { padding-top: var(--space-12); }
.sc-matchup h2, .sc-spec h2 { margin: var(--space-1) 0 var(--space-6); }
.sc-h2h-wrap { overflow-x: auto; border: 1.5px solid var(--edge); border-radius: var(--radius-md); background: var(--surface); }
.sc-h2h, .sc-spec__table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.sc-h2h { min-width: 560px; }
.sc-h2h thead th, .sc-spec__table thead th { background: var(--sunken); text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--edge); vertical-align: bottom; }
.sc-h2h th.sc-h2h__tool { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 17px; width: 36%; }
.sc-h2h thead th.sc-h2h__crit, .sc-spec__table thead th { font: 600 13px/18px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-h2h td, .sc-h2h tbody th, .sc-spec__table td, .sc-spec__table tbody th { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.sc-h2h tbody tr:last-child > *, .sc-spec__table tbody tr:last-child > * { border-bottom: 0; }
.sc-h2h tbody th.sc-h2h__crit { font-weight: 600; color: var(--muted); }
.sc-h2h td.is-edge { background: var(--accent-wash); }
.sc-h2h code { font-size: 13px; }
.sc-spec__table tbody th { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 17px; }
.sc-spec__n { color: var(--accent-text); width: 48px; }
.sc-checked { display: block; color: var(--muted); font-size: 12px; line-height: 18px; }
.sc-spec__cta { text-align: right; }
.sc-spec__cta .sc-btn { padding: var(--space-2) var(--space-4); }
.sc-pricerow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-6); }
.sc-pricerow__item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding: var(--space-4); border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--surface); }
.sc-pricerow__name { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 17px; width: 100%; }
.sc-pricerow__item .sc-data { color: var(--muted); font-size: 13px; flex: 1 1 200px; }

/* Body and aside */
.sc-article__grid { display: grid; grid-template-columns: minmax(0, var(--column)) minmax(0, 1fr); gap: var(--space-12); padding-top: var(--space-12); align-items: start; }
.sc-article__aside { position: sticky; top: 92px; display: grid; gap: var(--space-4); max-width: 300px; }
.sc-aside-box { border-top: 2px solid var(--ink); padding-top: var(--space-3); font-size: 15px; line-height: 24px; }
.sc-aside-box p:not(.sc-label) { margin: var(--space-2) 0; color: var(--muted); }
.sc-toc ol { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-1); }
.sc-toc a { color: var(--ink); text-decoration: none; }
.sc-toc a:hover { color: var(--accent-text); text-decoration: underline; }

.sc-prose { font-size: 17px; line-height: 28px; }
.sc-prose > * + * { margin-top: var(--space-4); }
.sc-prose h2 { margin-top: var(--space-12); scroll-margin-top: 92px; }
.sc-prose h3 { margin-top: var(--space-8); scroll-margin-top: 92px; }
.sc-prose > :first-child { margin-top: 0; }
.sc-prose ul, .sc-prose ol { padding-left: 1.3em; }
.sc-prose li + li { margin-top: var(--space-2); }
.sc-prose li::marker { color: var(--muted); }
.sc-prose strong { font-weight: 700; }
.sc-prose code { font-family: var(--font-mono); font-size: .86em; background: var(--sunken); border-radius: 4px; padding: 1px 5px; }
.sc-prose blockquote { margin-left: 0; padding-left: var(--space-4); border-left: 2px solid var(--ink); color: var(--muted); }
.sc-prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: var(--space-8); }
.sc-table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--surface); }
.sc-table-scroll table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.sc-table-scroll th { background: var(--sunken); text-align: left; font: 600 13px/18px var(--font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sc-table-scroll th, .sc-table-scroll td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--rule); vertical-align: top; }
.sc-table-scroll tr:last-child td { border-bottom: 0; }
[id] { scroll-margin-top: 92px; }

.sc-block { margin-top: var(--space-12); }
.sc-block > h2 { margin: var(--space-1) 0 var(--space-6); }
.sc-block__tool { margin: var(--space-6) 0 var(--space-3); }

/* Plan cards */
.sc-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-4); }
.sc-plan { display: grid; gap: var(--space-2); align-content: start; }
.sc-plan h4 { font-size: 18px; line-height: 24px; font-weight: 700; }
.sc-plan__price { font-family: var(--font-mono); font-size: 22px; line-height: 28px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sc-plan__checked { font-family: var(--font-mono); font-size: 12px; line-height: 18px; color: var(--muted); }
.sc-plan ul { margin: var(--space-2) 0 0; padding: var(--space-3) 0 0; border-top: 1px solid var(--rule); list-style: none; display: grid; gap: 6px; font-size: 15px; line-height: 22px; }
.sc-plan li::before { content: "✓"; color: var(--positive); font-weight: 700; margin-right: 8px; }

/* Strengths and limits */
.sc-tool + .sc-tool { margin-top: var(--space-4); }
.sc-tool__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.sc-tool__head .sc-btn { padding: var(--space-2) var(--space-4); }
.sc-tool__meta { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin: var(--space-2) 0 var(--space-4); color: var(--muted); font-size: 15px; line-height: 22px; }
.sc-tool__meta .sc-data { font-size: 13px; }
.sc-proscons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--rule); }
.sc-proscons ul { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; line-height: 22px; }
.sc-proscons li { padding-left: 18px; text-indent: -18px; }
.sc-proscons .plus::before { content: "+"; color: var(--positive); font-weight: 700; display: inline-block; width: 18px; text-indent: 0; }
.sc-proscons .minus::before { content: "−"; color: var(--negative); font-weight: 700; display: inline-block; width: 18px; text-indent: 0; }

/* Sponsored note */
.sc-sponsor { border: 1.5px dashed var(--caution); background: var(--caution-wash); border-radius: var(--radius-lg); padding: var(--space-6); margin-top: var(--space-8); }
.sc-article__after .sc-sponsor { margin-top: 0; }
.sc-sponsor h4 { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 19px; line-height: 26px; margin: var(--space-3) 0 var(--space-2); }
.sc-sponsor__text { font-size: 15px; line-height: 24px; margin: 0 0 var(--space-4); }
.sc-sponsor small { display: block; margin-top: var(--space-3); color: var(--muted); font-size: 13px; line-height: 20px; }
.sc-sponsor small a { color: var(--muted); }

/* FAQ */
.sc-faq details { border-bottom: 1px solid var(--rule); }
.sc-faq details:first-of-type { border-top: 1px solid var(--rule); }
.sc-faq summary { cursor: pointer; list-style: none; padding: var(--space-4) var(--space-8) var(--space-4) 0; position: relative; font-weight: 700; font-size: 17px; line-height: 26px; }
.sc-faq summary::-webkit-details-marker { display: none; }
.sc-faq summary::after { content: "+"; position: absolute; right: var(--space-2); top: var(--space-4); font: 500 20px/26px var(--font-mono); color: var(--accent-text); }
.sc-faq details[open] summary::after { content: "−"; }
.sc-faq__a { padding-bottom: var(--space-4); color: var(--ink); }
.sc-faq__a p + p { margin-top: var(--space-2); }

.sc-corrections { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.sc-corrections time { color: var(--muted); margin-right: var(--space-2); }

/* Sources */
.sc-sources { margin: var(--space-4) 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.sc-sources li { display: grid; grid-template-columns: 32px 1fr auto; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 22px; }
.sc-sources__n { color: var(--accent-text); }
.sc-sources a { color: var(--ink); }
.sc-sources__domain { display: block; color: var(--muted); font-size: 13px; line-height: 20px; }
.sc-sources time { font-family: var(--font-mono); font-size: 12px; line-height: 22px; color: var(--muted); white-space: nowrap; }
.sc-sources li:target { background: var(--accent-wash); }

.sc-updated { margin-top: var(--space-8); color: var(--muted); font-size: 15px; line-height: 24px; }

/* Author card */
.sc-author { display: flex; gap: var(--space-4); align-items: flex-start; margin-top: var(--space-8); }
.sc-author__avatar { flex: none; border-radius: var(--radius-md); background: var(--ink); color: var(--paper); display: grid; place-items: center; overflow: hidden;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 17px; }
.sc-author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sc-author__name { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 18px; line-height: 24px; margin-top: var(--space-1); }
.sc-author__name a { color: var(--ink); text-decoration: none; }
.sc-author__name a:hover { color: var(--accent-text); }
.sc-author__title { color: var(--muted); font-size: 15px; }
.sc-author__bio { margin-top: var(--space-2); font-size: 15px; line-height: 24px; }
.sc-author__links { margin-top: var(--space-2); font-size: 14px; color: var(--muted); }
.sc-authorhead { display: flex; gap: var(--space-6); align-items: center; }
.sc-authorhead .sc-author__avatar { font-size: 30px; }
.sc-authorhead .sc-display-l { margin: var(--space-2) 0 0; }
.sc-author__social { list-style: none; display: flex; gap: var(--space-4); padding: 0; margin: var(--space-3) 0 0; }

/* ------------------------------------------------------------------ infographics */
.sc-figure { min-width: 0; margin: var(--space-8) 0; padding: var(--space-6); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.sc-article__top .sc-figure, .sc-article__after .sc-figure { margin: 0; }
.sc-article__top .sc-figure { margin-top: var(--space-8); }
.sc-figure__head { display: block; padding-bottom: var(--space-3); border-bottom: 2px solid var(--ink); }
.sc-figure__title { display: block; margin-top: var(--space-1); font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 20px; line-height: 26px; color: var(--ink); }
.sc-figure__body { padding-top: var(--space-4); }
.sc-figure__caption { margin-top: var(--space-4); color: var(--muted); font-size: 15px; line-height: 24px; }
.sc-figure__source { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-top: var(--space-3); padding-top: var(--space-3);
  border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; line-height: 18px; }
.sc-figure__source a { color: var(--accent-text); }
.sc-figure__dl { font-family: var(--font-body); font-weight: 600; font-size: 13px; }

.sc-bars { list-style: none; margin: 0; padding: 0; display: grid; }
.sc-bars__row { display: grid; grid-template-columns: minmax(120px, 30%) 1fr minmax(96px, auto); gap: var(--space-4); align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); }
.sc-bars__label { font-weight: 700; font-size: 15px; line-height: 20px; }
.sc-bars__label small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; line-height: 18px; }
.sc-bars__track { display: block; height: 14px; background: var(--sunken); border-radius: 4px; overflow: hidden; }
.sc-bars__fill { display: block; height: 100%; background: var(--ink); border-radius: 4px; min-width: 2px; }
.is-edge .sc-bars__fill { background: var(--accent); }
.sc-bars__value { font-size: 14px; white-space: nowrap; text-align: right; }
.sc-figure__scale { margin-top: var(--space-2); color: var(--muted); font-size: 12px; }

.sc-h2hbar__metric { font-weight: 700; margin-bottom: var(--space-3); }
.sc-h2hbar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.sc-h2hbar__side { padding: var(--space-4); border: 1px solid var(--rule); border-radius: var(--radius-md); display: grid; gap: var(--space-2); }
.sc-h2hbar__side.is-edge { background: var(--accent-wash); border-color: var(--accent); }
.sc-h2hbar__name { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 17px; line-height: 22px; }
.sc-h2hbar__value { margin: 0; }

.sc-stats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); margin: 0; }
.sc-stats--2 { --cols: 2; } .sc-stats--3 { --cols: 3; } .sc-stats--4 { --cols: 4; }
.sc-stats > div { padding: var(--space-2) var(--space-4); border-left: 1px solid var(--rule); }
.sc-stats > div:first-child { border-left: 0; padding-left: 0; }
.sc-stats dt { font: 600 12px/18px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-stats dd { margin: var(--space-1) 0 0; }
.sc-stats .sc-data-l { font-size: 30px; line-height: 36px; overflow-wrap: anywhere; }
.sc-stats__note { color: var(--muted); font-size: 13px; line-height: 18px; }

.sc-matrix-wrap { overflow-x: auto; }
.sc-matrix { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.sc-matrix th, .sc-matrix td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--rule); vertical-align: top; }
.sc-matrix thead th { background: var(--sunken); font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 15px; }
.sc-matrix thead th:first-child { font: 600 12px/18px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sc-matrix tbody th { font-weight: 600; }
.sc-matrix tbody tr:last-child > * { border-bottom: 0; }
.sc-cell { white-space: nowrap; }
.sc-cell--yes span { color: var(--positive); font-weight: 700; }
.sc-cell--no span { color: var(--negative); font-weight: 700; }
.sc-cell--partial span { color: var(--caution); }

.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sc-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--space-3); position: relative; padding-bottom: var(--space-4); }
.sc-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; border-left: 1.5px solid var(--edge); }
.sc-steps__n { width: 36px; height: 36px; font-size: 14px; line-height: 1; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--surface); }
.sc-steps strong { display: block; font-size: 16px; line-height: 24px; padding-top: 5px; }
.sc-steps li > div > span:not(.sc-chip) { display: block; color: var(--muted); font-size: 15px; line-height: 22px; }
.sc-steps .sc-chip { margin-top: var(--space-2); white-space: normal; max-width: 100%; }

/* ------------------------------------------------------------------ search, 404 */
.sc-search__form { display: flex; gap: var(--space-2); }
.sc-search__form input { flex: 1; min-width: 0; font: 400 17px/24px var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--edge);
  border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); }
.sc-search__form input::placeholder { color: var(--muted); }
.sc-search__status { margin: var(--space-4) 0; }
.sc-search__results { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.sc-search__title { display: block; margin-top: var(--space-1); font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 19px; line-height: 26px; color: var(--ink); text-decoration: none; }
.sc-search__title:hover { color: var(--accent-text); }
.sc-search__dek { color: var(--muted); font-size: 15px; line-height: 22px; margin-top: var(--space-1); }
.sc-notfound { padding-block: var(--space-20) var(--space-12); }
.sc-notfound .sc-display-l { margin: var(--space-3) 0 var(--space-4); }
.sc-notfound .sc-search__form { margin-top: var(--space-8); }
.sc-notfound__links { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-6); }

/* Static-page rate card (advertise) */
.sc-ratecard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.sc-ratecard .sc-plan__price { font-size: 26px; line-height: 32px; }
.sc-ratecard .sc-plan p:not([class]) { font-size: 15px; line-height: 22px; color: var(--muted); }
.sc-prose .sc-ratecard ul { padding-left: 0; }
.sc-prose .sc-ratecard li + li { margin-top: 0; }
.sc-page .sc-ratecard { margin-inline: 0; }

/* ------------------------------------------------------------------ consent */
.sc-consent { position: fixed; left: var(--space-6); bottom: var(--space-6); z-index: 40; width: min(420px, calc(100vw - 2 * var(--space-4)));
  background: var(--surface); border: 1.5px solid var(--edge); border-top: 3px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--raise); padding: var(--space-6); }
.sc-consent[hidden] { display: none; }
.sc-consent__title { font-size: 20px; line-height: 26px; font-weight: 800; margin-top: var(--space-2); }
.sc-consent__text { margin-top: var(--space-2); color: var(--muted); font-size: 15px; line-height: 24px; }
.sc-consent__actions { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.sc-consent__actions .sc-btn { flex: 1; padding-inline: var(--space-4); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1040px) {
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .has-feature .sc-hero-home__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .sc-hero-home::before { background: linear-gradient(0deg, var(--paper) 0%, transparent 40%), linear-gradient(90deg, var(--paper) 0%, transparent 90%); }
  .sc-feature { max-width: 640px; }
  .sc-panels { grid-template-columns: minmax(0, 1fr); }
  .sc-panel + .sc-panel { border-left: 0; border-top: 1px solid var(--rule); }
  .sc-listhead { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .sc-listhead__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sc-footer__grid.has-catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sc-article__grid { grid-template-columns: minmax(0, 1fr); }
  .sc-article__aside { position: static; max-width: var(--column); order: -1; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .sc-article__aside .sc-toc { display: none; }
  .sc-article__grid { gap: var(--space-8); }
  .sc-article__main { max-width: var(--column); }
  .sc-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .sc-footer__about { grid-column: 1 / -1; }
  .sc-ratecard { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sc-wrap { padding-inline: var(--space-4); }
  .sc-header__row { flex-wrap: wrap; gap: var(--space-2) var(--space-4); min-height: 0; padding-block: var(--space-3) 0; }
  .sc-header { position: static; }
  .sc-logo { height: 24px; }
  .sc-header__tools { margin-left: auto; }
  .sc-nav { order: 3; width: 100%; margin: 0; gap: var(--space-6); overflow-x: auto; border-top: 1px solid var(--rule); }
  .sc-nav a { font-size: 15px; padding: var(--space-3) 0; white-space: nowrap; }
  .sc-display-xl { font-size: 42px; line-height: 46px; }
  .sc-display-l { font-size: 34px; line-height: 40px; }
  .sc-lead { font-size: 18px; line-height: 28px; }
  .sc-hero-home { padding-top: var(--space-12); }
  .sc-grid { grid-template-columns: minmax(0, 1fr); }
  .sc-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .sc-sectile { padding: var(--space-4); gap: var(--space-1); }
  .sc-sectile p { display: none; }
  .sc-sectile h3 { font-size: 16px; line-height: 21px; flex: 1; }
  .sc-sectile__icon { width: 38px; height: 38px; }
  .sc-hero-home { padding-top: var(--space-8); background-size: 32px 32px; }
  .sc-hero-home__grid { padding-bottom: var(--space-8); }
  .sc-feature__bar, .sc-feature__names { padding-inline: var(--space-4); }
  .sc-feature__rows { padding-inline: var(--space-4); }
  .sc-feature__names { font-size: 20px; line-height: 24px; gap: var(--space-6); padding-top: var(--space-4); }
  .sc-feature__op { top: var(--space-4); line-height: 24px; }
  .sc-feature__cells { gap: var(--space-4); }
  .sc-feature__cell { font-size: 14px; line-height: 20px; }
  .sc-feature__verdict { margin-inline: var(--space-4); }
  .sc-feature__foot { padding: var(--space-4); }
  .sc-feature__foot .sc-btn { width: 100%; }
  .sc-statstrip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-1) var(--space-4); }
  .sc-statstrip__list li + li::before { content: none; }
  .sc-story__media { aspect-ratio: 5 / 2; }
  .sc-story--vs .sc-story__title { font-size: 22px; line-height: 27px; }
  .sc-story__body { padding: var(--space-4); }
  .sc-moretile { min-height: 0; }
  .sc-pricetable thead { display: none; }
  .sc-pricetable, .sc-pricetable tbody, .sc-pricetable tr, .sc-pricetable td, .sc-pricetable tbody th { display: block; width: 100%; }
  .sc-pricetable tr { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--rule); }
  .sc-pricetable tbody tr:last-child { border-bottom: 0; }
  .sc-pricetable td, .sc-pricetable tbody th { border: 0; padding: 0; }
  .sc-pricetable tbody th { width: auto; }
  .sc-pricetable td.sc-muted, .sc-pricetable__in { display: inline; width: auto; font-size: 13px; }
  .sc-pricetable td.sc-muted::after { content: " · "; }
  .sc-listhead .sc-display-l { gap: var(--space-3); }
  .sc-listhead__icon { width: 44px; height: 44px; }
  .sc-listhead__icon .sc-icon { width: 24px; height: 24px; }
  .sc-listhead__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-footer__grid.has-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-h2h { min-width: 0; font-size: 14px; line-height: 20px; }
  .sc-h2h thead th, .sc-h2h td, .sc-h2h tbody th { padding: var(--space-2) var(--space-3); }
  .sc-h2h th.sc-h2h__tool { font-size: 15px; width: auto; }
  .sc-h2h th.sc-h2h__crit { width: 30%; }
  .sc-h2h .sc-edge { display: table; margin-left: 0; margin-top: var(--space-1); }
  .sc-section { padding-block: var(--space-8); }
  .sc-pricerow { grid-template-columns: 1fr; }
  .sc-article__aside { grid-template-columns: 1fr; }
  .sc-spec__table thead { display: none; }
  .sc-spec__table, .sc-spec__table tbody, .sc-spec__table tr, .sc-spec__table td, .sc-spec__table tbody th { display: block; width: 100%; }
  .sc-spec__table tr { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--rule); }
  .sc-spec__table tbody tr:last-child { border-bottom: 0; }
  .sc-spec__table td, .sc-spec__table tbody th { border: 0; padding: var(--space-1) 0; }
  .sc-spec__cta { text-align: left; }
  .sc-figure { padding: var(--space-4); }
  .sc-bars__row { grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
  .sc-bars__value { white-space: normal; overflow-wrap: anywhere; }
  .sc-bars__track { grid-column: 1 / -1; grid-row: 2; }
  .sc-h2hbar { grid-template-columns: 1fr; }
  .sc-stats--3, .sc-stats--4 { --cols: 2; }
  .sc-stats .sc-data-l { font-size: 22px; line-height: 28px; }
  .sc-stats > div { padding-right: var(--space-2); }
  .sc-stats > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: var(--space-3); }
  .sc-stats > div:nth-child(-n+2) { border-top: 0; padding-top: var(--space-2); }
  .sc-sources li { grid-template-columns: 28px 1fr; }
  .sc-sources time { grid-column: 2; }
  .sc-authorhead { flex-direction: column; align-items: flex-start; }
  .sc-footer__grid { grid-template-columns: 1fr 1fr; }
  .sc-consent { left: var(--space-4); right: var(--space-4); bottom: var(--space-4); width: auto; padding: var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  a.sc-card:hover, .sc-story:hover, a.sc-sectile:hover { transform: none; }
}
@media print {
  .sc-header, .sc-footer, .sc-consent, .sc-article__aside { display: none; }
  body { background: #fff; }
}

/* "On this page": the section in view */
.sc-toc a { transition: color .15s ease; }
.sc-toc a[aria-current="location"] { color: var(--accent-text); }

/* Sticky aside: never taller than the screen; scrolls itself so the current TOC item stays in view (site.js) */
@media (min-width: 1041px) {
  .sc-article__aside { align-self: start; max-height: calc(100vh - 92px - 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
}

/* Bolder "current section" marker */
.sc-toc a { display: block; padding: 3px 10px; margin-inline: -10px; border-radius: 4px; transition: background-color .15s ease, color .15s ease; }
.sc-toc a[aria-current="location"] { font-weight: 700; background: color-mix(in srgb, var(--accent-text) 14%, transparent); box-shadow: inset 3px 0 0 var(--accent-text); text-decoration: none; }
