/* Design tokens. Light by default, dark follows the system. */
@font-face {
  font-family: "Noto Serif";
  src: url("fonts/noto-serif-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --grad-2: #2f86b8;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --surface-3: #e2e7ee;
  --text: #141a21;
  --muted: #596575;
  --faint: #828c9a;
  --border: rgba(20, 26, 33, 0.11);
  --border-strong: rgba(20, 26, 33, 0.18);
  --accent: #105e92;           /* links and focus */
  --btn: #105e92;              /* filled buttons: white text passes AA in both themes */
  --btn-hover: #0d5080;
  --on-btn: #ffffff;
  --accent-soft: rgba(16, 94, 146, 0.08);
  --good: #15713f;
  --warn: #9a5300;
  --header-bg: rgba(244, 246, 248, 0.72);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.06);
  --glow-1: rgba(16, 94, 146, 0.16);
  --glow-2: rgba(88, 176, 220, 0.14);
  --grid-line: rgba(20, 26, 33, 0.06);
  --radius: 18px;
  --radius-sm: 10px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grad-2: #9fd4ea;
    --bg: #0b0f14; --surface: #151b23; --surface-2: #1b222c; --surface-3: #273040;
    --text: #e9edf2; --muted: #9ba6b4; --faint: #7c8694;
    --border: rgba(255, 255, 255, 0.11); --border-strong: rgba(255, 255, 255, 0.18);
    --accent: #58b0dc; --accent-soft: rgba(88, 176, 220, 0.14);
    --good: #3ecf83; --warn: #e3a33c; --header-bg: rgba(11, 15, 20, 0.72);
    --shadow-sm: none; --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
    --glow-1: rgba(88, 176, 220, 0.22); --glow-2: rgba(16, 94, 146, 0.2); --grid-line: rgba(255, 255, 255, 0.055);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --grad-2: #9fd4ea;
  --bg: #0b0f14; --surface: #151b23; --surface-2: #1b222c; --surface-3: #273040;
  --text: #e9edf2; --muted: #9ba6b4; --faint: #7c8694;
  --border: rgba(255, 255, 255, 0.11); --border-strong: rgba(255, 255, 255, 0.18);
  --accent: #58b0dc; --accent-soft: rgba(88, 176, 220, 0.14);
  --good: #3ecf83; --warn: #e3a33c; --header-bg: rgba(11, 15, 20, 0.72);
  --shadow-sm: none; --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  --glow-1: rgba(88, 176, 220, 0.22); --glow-2: rgba(16, 94, 146, 0.2); --grid-line: rgba(255, 255, 255, 0.055);
  color-scheme: dark;
}

/* Base */
* { box-sizing: border-box; }
/* Anything given a display rule below must still vanish when hidden. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.47 "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01"; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; box-shadow: 0 0 0 1px var(--accent); border-radius: 6px; }
.wrap { max-width: 1920px; margin: 0 auto; padding: 0 clamp(22px, 2.5vw, 52px); }
@media (max-width: 680px) { .wrap { padding: 0 16px; } }
/* Headings in a serif: the editorial register the rest of the data-led
   layout earns. Self-hosted, as the CSP allows no third-party fonts. */
h1, h2, h3 { font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  letter-spacing: -0.015em; font-weight: 600; }
h1 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; font-weight: 600; margin: 0 0 10px; }
h2 { font-size: 22px; line-height: 1.25; font-weight: 600; margin: 44px 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sku { font: 500 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--faint); letter-spacing: 0; }
.crumbs { color: var(--faint); font-size: 13px; margin: 0 0 14px; }
.crumbs a { color: var(--muted); }

/* Header: translucent, blurred, sticky */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg); border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 16px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 24px; height: 24px; flex: none; }
nav { display: flex; gap: 22px; }
nav a { color: var(--muted); font-size: 13px; font-weight: 500; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

main.wrap { padding-top: 8px; padding-bottom: 72px; }
.aff-notice { margin: 14px 0 10px; font-size: 12.5px; color: var(--muted); }
.aff-notice a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.aff-notice a:hover { color: var(--text); text-decoration-color: currentColor; }
.aff-notice + .hero { padding-top: 48px; }
@media (max-width: 680px) { .aff-notice + .hero { padding-top: 28px; } }

/* Hero */
.hero { position: relative; text-align: center; padding: 72px 0 40px; isolation: isolate; }
.hero::before {  /* fine grid, fading out from the centre */
  content: ""; position: absolute; inset: -8px -50vw 0; z-index: -2;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 35%, #000 20%, transparent 75%);
}
.hero::after {   /* soft colour glow behind the headline */
  content: ""; position: absolute; left: 50%; top: 30px; width: min(820px, 100vw); height: 340px; z-index: -1;
  transform: translateX(-50%); filter: blur(60px);
  background: radial-gradient(closest-side at 35% 50%, var(--glow-1), transparent), radial-gradient(closest-side at 65% 50%, var(--glow-2), transparent);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 980px; padding: 5px 12px 5px 10px; box-shadow: var(--shadow-sm); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 22%, transparent); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); letter-spacing: -0.045em; line-height: 1.03; margin: 22px auto 18px; }
.gradient-text { background: linear-gradient(95deg, var(--accent) 0%, var(--grad-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(17px, 2vw, 21px); line-height: 1.4; color: var(--muted); max-width: 40ch; margin: 0 auto; letter-spacing: -0.015em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 760px; margin: 40px auto 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 12px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }
@media (max-width: 680px) { .hero { padding: 44px 0 28px; } .stats { grid-template-columns: repeat(2, 1fr); } }

/* Presets */
.presets-wrap { margin: 8px 0 18px; text-align: center; }
.presets-label { display: block; font-size: 13px; font-weight: 550; color: var(--muted); margin-bottom: 10px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
button.preset { font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 980px; padding: 8px 16px; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
button.preset:hover { border-color: var(--text); }
button.preset:active { transform: scale(0.97); }
button.preset[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
#preset-why { margin: 12px auto 0; max-width: 60ch; }

/* Filter panel */
.filters { display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.filter-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.row-main { grid-template-columns: 1.15fr 1.15fr 1fr .9fr 1.15fr 1.1fr; }
.row-specs { grid-template-columns: 1.3fr .8fr .8fr .8fr 1.6fr; }
.row-more { grid-template-columns: repeat(2, minmax(0, 200px)); }
.filters-wrap > summary { display: none; }
.filters-body { display: flex; flex-direction: column; gap: 18px; }
details.more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--accent); user-select: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
details.more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.more-count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--btn); color: var(--on-btn); font-size: 11px;
  display: inline-grid; place-items: center; }
.more-body { display: flex; flex-direction: column; gap: 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.linkish.small { font-size: 12px; font-weight: 600; }
@media (max-width: 900px) { .row-main, .row-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .row-specs .search { grid-column: 1 / -1; } }
.filters label, .field-label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.filters select, .filters input:not([type="checkbox"]):not([type="radio"]) {
  font: inherit; font-size: 14px; color: var(--text); background: var(--surface-2); border: 1px solid transparent;
  border-radius: var(--radius-sm); height: 38px; padding: 0 12px; width: 100%; min-width: 0; letter-spacing: -0.01em;
  transition: border-color .15s, background .15s, box-shadow .15s; }
.filters select { appearance: none; -webkit-appearance: none; padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.filters select:hover, .filters input:hover { background-color: var(--surface-3); }
.filters select:focus, .filters input:focus { outline: none; background-color: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.filters input::placeholder { color: var(--faint); }

/* Segmented controls */
.seg { display: flex; background: var(--surface-2); border-radius: var(--radius-sm); padding: 3px; gap: 2px; height: 38px; }
.seg label { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; position: relative; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 550;
  color: var(--muted); border-radius: 8px; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; white-space: nowrap; padding: 0 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 0.5px rgba(0,0,0,.04); }
.seg label:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent); }
:root[data-theme="dark"] .seg label:has(input:checked) { background: var(--surface-3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seg label:has(input:checked) { background: var(--surface-3); } }

/* Provider chips */
.providers { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.providers legend { font-size: 12px; font-weight: 600; color: var(--muted); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filters label.chip { flex-direction: row; align-items: center; gap: 7px; color: var(--text); font-size: 13px; font-weight: 500;
  border: 1px solid var(--border-strong); border-radius: 980px; padding: 6px 13px 6px 10px; cursor: pointer; background: var(--surface);
  transition: background .15s, border-color .15s; }
.filters label.chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.legend-hint { font-weight: 400; color: var(--faint); }
.chip input { margin: 0; accent-color: var(--btn); width: 14px; height: 14px; }
.filter-foot { grid-template-columns: minmax(220px, 2fr) minmax(180px, 1fr) auto; align-items: end; }

/* Buttons */
.btn-secondary { font: inherit; font-size: 14px; font-weight: 500; color: var(--accent); background: transparent; border: 0;
  border-radius: 980px; height: 38px; padding: 0 14px; cursor: pointer; white-space: nowrap; }
.btn-secondary:hover { background: var(--accent-soft); }
#more { color: var(--text); border: 1px solid var(--border-strong); padding: 0 20px; }
#more:hover { background: var(--surface-2); }
.linkish { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
a.deal { display: inline-flex; align-items: center; gap: 4px; background: var(--btn); color: var(--on-btn); font-weight: 600; font-size: 13px;
  border-radius: 980px; padding: 7px 15px; letter-spacing: -0.01em; white-space: nowrap; transition: background .15s, color .15s, transform .15s; }
a.deal:hover { background: var(--btn-hover); text-decoration: none; }
/* In long tables a solid button per row is visual noise: a quiet pill that fills in on row hover. */
.plans .deal-cell a.deal { background: var(--accent-soft); color: var(--accent); padding: 6px 13px; }
.plans tr:hover .deal-cell a.deal, .plans .deal-cell a.deal:focus-visible { background: var(--btn); color: var(--on-btn); }
a.deal:active { transform: scale(0.97); }
a.deal-lg { font-size: 16px; padding: 12px 24px; margin-top: 16px; }
a.ref:hover { color: var(--text); border-color: var(--text); text-decoration: none; }
.ad-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.ad-note .ref { margin: 0 4px 0 0; }
.ref { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--faint); border: 1px solid var(--border-strong); border-radius: 5px; padding: 1px 5px; vertical-align: middle; }

/* Results table */
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 2px 12px; }
#summary { margin: 0; font-size: 14px; color: var(--muted); }
#summary b { color: var(--text); font-weight: 650; }
.results-tools { display: flex; align-items: center; gap: 8px; }
.sort-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.sort-label select { font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 99px; height: 34px; padding: 0 30px 0 14px; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
table.plans { border-collapse: collapse; width: 100%; font-size: 14px; }
.plans th, .plans td { padding: 13px 12px; text-align: left; vertical-align: top; }
.plans td.deal-cell { padding-right: 16px; }
.plans td.sel, .plans th.sel { width: 34px; padding-right: 0; }
#plans td.loc { white-space: nowrap; }
#plans td.loc .more-locs { display: block; font-size: 12px; }
.plans td { border-top: 1px solid var(--border); }
.plans th { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); white-space: nowrap; padding-top: 12px; padding-bottom: 12px; }
.plans th[data-sort] { cursor: pointer; user-select: none; transition: color .15s; }
.plans th[data-sort]:hover { color: var(--text); }
.plans th[aria-sort] { color: var(--text); }
.plans th[aria-sort="ascending"]::after { content: " ↑"; }
.plans th[aria-sort="descending"]::after { content: " ↓"; }
.plans tbody tr { transition: background .12s; }
.plans tbody tr:hover { background: var(--surface-2); }
.num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price { font-weight: 650; font-size: 16px; letter-spacing: -0.02em; }
.price .note { font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; letter-spacing: 0; margin-top: 2px; }
.tag { font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.tag.shared { color: var(--faint); } .tag.dedicated { color: var(--good); } .tag.stale { color: var(--warn); }
.plans td.prov { white-space: nowrap; color: var(--muted); font-weight: 500; }
.plans td.prov a { color: inherit; }
a.plan-link { color: var(--text); font-weight: 600; }
.plans td.plan { min-width: 170px; }
.plans td.loc { min-width: 0; }
.unmetered { color: var(--muted); }
.metered { color: var(--muted); }
a.plan-link:hover { color: var(--accent); text-decoration: none; }
.deal-cell { white-space: nowrap; text-align: right; vertical-align: middle !important; }
.empty { padding: 48px 16px !important; text-align: center; }
.cta-row { margin-top: 12px; }
.more-wrap { text-align: center; margin: 20px 0 0; }

@media (max-width: 680px) {
  nav { gap: 16px; }
  nav a:first-child { display: none; }
  .br-desk { display: none; }
  .hero h1 { font-size: 40px; }
  .filters { padding: 0; border-radius: 16px; }
  .filters-wrap > summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; }
  .filters-wrap > summary::-webkit-details-marker { display: none; }
  .fs-title { font-weight: 650; }
  .fs-state { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fs-chev { width: 8px; height: 8px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(45deg); transition: transform .2s; }
  .filters-wrap[open] .fs-chev { transform: rotate(-135deg); }
  .filters-body { padding: 4px 16px 16px; }
  .results-bar { margin-top: 16px; }
  .filter-foot { grid-template-columns: 1fr auto; }
  .filter-foot .search { grid-column: 1 / -1; }
  #plans thead { display: none; }
  #plans, #plans tbody { display: block; }
  #plans tr { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 3px; padding: 16px; border-top: 1px solid var(--border); }
  #plans tbody tr:first-child { border-top: 0; }
  #plans td { padding: 0; border: 0; text-align: left !important; }
  #plans td.prov { order: 1; flex: 1 1 auto; font-size: 13px; }
  #plans td.price { order: 2; font-size: 19px; }
  #plans td.plan { order: 3; flex: 1 0 100%; }
  #plans td.spec { order: 4; font-size: 13px; color: var(--muted); }
  #plans td.spec::before { content: attr(data-label) " "; color: var(--faint); }
  #plans td.spec .tag, #plans td.price .tag, #plans td.price .note { display: inline; margin-left: 4px; }
  #plans td.loc { order: 5; flex: 1 0 100%; font-size: 13px; color: var(--muted); }
  #plans td.sel { order: 6; flex: 0 0 auto; margin-top: 10px; width: auto; }
  #plans td.sel label.cmp span { position: static; width: auto; height: auto; clip: auto; }
  #plans td.deal-cell { order: 7; flex: 1 0 60%; margin-top: 10px; display: flex; align-items: center; justify-content: flex-end; }
  #plans .deal-cell a.deal { background: var(--btn); color: var(--on-btn); }
  #plans a.deal { flex: 1; justify-content: center; padding: 11px 12px; font-size: 15px; }
}

/* Plan page */
.plan-head { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-end; padding: 36px 0 28px; }
.plan-head h1 { margin-bottom: 6px; }
.plan-price { text-align: right; }
.plan-price .big { font-size: 56px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.plan-price .muted { margin-top: 8px; font-size: 13px; }
.note-strong { color: var(--good); font-weight: 600; font-size: 14px; margin-top: 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.card h2 { margin: 0 0 14px; font-size: 17px; }
dl.specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
dl.specs dt { color: var(--muted); }
dl.specs dd { margin: 0; font-weight: 500; }
table.breakdown { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.breakdown td { padding: 8px 0; border-bottom: 1px solid var(--border); }
table.breakdown tr.total td { font-weight: 700; font-size: 17px; border-bottom: 0; padding-top: 12px; }
figure.chart { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; color: var(--btn); box-shadow: var(--shadow); }
figure.chart svg { width: 100%; height: 160px; display: block; }
figure.chart figcaption { margin-top: 10px; }
@media (max-width: 680px) { .plan-price { text-align: left; } .plan-price .big { font-size: 44px; } }

/* Long-form pages */
.prose { padding-top: 36px; font-size: 16px; line-height: 1.6; }
.prose h2 { font-size: 21px; margin-top: 40px; }
.prose p, .prose li { color: var(--text); }
table.compact { border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; margin: 8px 0; }
table.compact td, table.compact th { padding: 7px 28px 7px 0; border-bottom: 1px solid var(--border); text-align: left; }
table.compact th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); font-weight: 650; }
.page-head { padding: 36px 0 8px; }
.page-head p { color: var(--muted); }

/* Side-by-side selection */
label.cmp { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12px; color: var(--muted); cursor: pointer; font-weight: 500; }
label.cmp input { width: 15px; height: 15px; }
label.cmp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
label.cmp input { accent-color: var(--btn); margin: 0; }
label.cmp:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.cmp-tray { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 20;
  display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--header-bg); border: 1px solid var(--border-strong); box-shadow: 0 10px 30px rgba(0,0,0,.18);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); max-width: calc(100vw - 32px); }
.cmp-tray[hidden] { display: none; }
.cmp-tray a.deal.disabled { opacity: .45; pointer-events: none; }
@media (max-width: 680px) { .cmp-tray { gap: 8px; padding: 8px 8px 8px 14px; font-size: 13px; } #plans td.plan label.cmp { display: flex; } }

/* Provider facts */
table.facts-table th, table.facts-table td { vertical-align: baseline; }
table.facts-table th[scope="row"] { width: 190px; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 600; }
table.facts-table td.fact-val { width: 170px; font-weight: 600; }
table.facts-table td.fact-note { color: var(--muted); font-size: 13.5px; }
@media (max-width: 680px) { table.facts-table th[scope="row"], table.facts-table td.fact-val { width: auto; } }

/* Side-by-side page */
table.sbs th[scope="row"] { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 600; white-space: nowrap; }
table.sbs thead th { text-transform: none; letter-spacing: -0.01em; font-size: 14px; color: var(--text); vertical-align: bottom; }
table.sbs td { font-variant-numeric: tabular-nums; min-width: 170px; }
table.sbs td.best { background: color-mix(in srgb, var(--good) 10%, transparent); font-weight: 600; }
table.sbs .big-price { font-size: 20px; letter-spacing: -0.02em; }
table.sbs .note { font-size: 11px; color: var(--muted); }

/* Featured partner card (outside the ranking) */
.featured { margin: 28px 0 8px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface)); padding: 16px 20px; }
.featured-head { margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.featured-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.featured-note { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.featured-body { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; }
.featured-price { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.featured-price span { font-size: 13px; font-weight: 500; color: var(--muted); }
.featured-cta { white-space: nowrap; }
@media (max-width: 680px) { .featured-body { grid-template-columns: 1fr auto; } .featured-cta { grid-column: 1 / -1; } .featured-cta a.deal { width: 100%; justify-content: center; } }

/* Landing pages & guides */
.stats-left { margin: 22px 0 0; max-width: 760px; }
@media (max-width: 680px) { .stats-left { grid-template-columns: repeat(2, 1fr); } }
.page-head h1 { font-size: clamp(30px, 5vw, 48px); letter-spacing: -0.035em; }
.page-head p { font-size: 16px; line-height: 1.6; }
.prose-list { padding-left: 20px; line-height: 1.6; }
.prose-list li { margin: 6px 0; }
.save-pos { color: var(--good); }
.rise { color: var(--warn); }
.note-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: var(--muted); }
.guide-links { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--border); }
/* Four explicit columns rather than auto-fit: with four children auto-fit was
   collapsing to one tall column on some widths, which made the footer a long
   scroll. Columns are declared, and step down at real breakpoints. */
.guide-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 32px; align-items: start; }
@media (max-width: 1000px) { .guide-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guide-cols { grid-template-columns: 1fr; } }
.guide-cols h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin: 10px 0 8px; font-weight: 650; }
.guide-cols h2 { font-size: 18px; margin: 28px 0 10px; }
.guide-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.guide-cols a { color: var(--text); font-weight: 500; }
.guide-cols a:hover { color: var(--accent); }
.guide-hub { margin-top: 8px; }

/* Home: explanatory copy and FAQ */
.home-copy { margin-top: 64px; }
.copy-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .copy-cols { grid-template-columns: 1fr; gap: 16px; } }
.home-copy h2 { margin-top: 0; }
.home-copy p { color: var(--muted); line-height: 1.65; max-width: 62ch; }
.faq details { border-bottom: 1px solid var(--border); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 2px; font-size: 14px; }

/* Footer */
footer.site { background: var(--surface-2); color: var(--muted); font-size: 12px; line-height: 1.5; padding: 28px 0 40px; border-top: 1px solid var(--border); }
footer.site p { margin: 0 0 10px; max-width: 90ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 16px 0 0; }
.foot-links a { color: var(--text); font-size: 12px; }
.foot-rule { border: 0; border-top: 1px solid var(--border-strong); margin: 18px 0; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-bottom p { margin: 0; }
.made-by { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.made-by img { width: 16px; height: 22px; opacity: .9; }

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