/* Layout: one 1080px editorial column, tables scroll inside their own box, page never scrolls sideways. */
:root {
  --bg: #fbfaf7; --surface: #ffffff; --fg: #1b1f24; --muted: #5b6470; --rule: #e3e0d8;
  --accent: #0f6e56; --accent-soft: #e6f2ee; --note: #faf3dc; --warn: #b7471b;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
  /* Dark hero band, used only inside .hero. */
  --hero-bg: #0b0f0e; --hero-fg: #f5f5f0; --hero-muted: #a6ada8; --accent-bright: #2dd4bf;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 16px; }
.banner { background: var(--warn); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 6px 16px; letter-spacing: .02em; }
header.site { border-bottom: 1px solid var(--rule); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-block: 14px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.01em; color: var(--fg); text-decoration: none; margin-right: auto; }
nav.primary { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
nav.primary a { color: var(--fg); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.primary a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--accent); }
main { padding-block: 32px 56px; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
h2 { font-size: 24px; margin: 44px 0 12px; }
h3 { font-size: 18px; margin: 24px 0 6px; }
p, li { max-width: 72ch; }
.lede { font-size: 18px; color: var(--muted); margin-top: 0; }
.meta { font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.meta time { font-variant-numeric: tabular-nums; }
.take { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 14px 18px; margin: 20px 0; border-radius: 0 6px 6px 0; }
.take p { margin: 0; }
.note { border: 1px dashed var(--rule); background: var(--note); padding: 12px 16px; margin: 20px 0; border-radius: 6px; font-size: 15px; }
.note p { margin: 0; }
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 16px 0 8px; padding: 0; list-style: none; }
.picks li { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 12px 14px; }
.picks .label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.picks a { font-weight: 700; color: var(--fg); text-decoration: none; }
.picks a:hover { color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; padding: 0; margin: 16px 0; list-style: none; }
.tiles li a { display: block; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 16px; color: var(--fg); text-decoration: none; font-weight: 600; min-height: 72px; }
.tiles li a:hover { border-color: var(--accent); color: var(--accent); }
.tablewrap { overflow-x: auto; margin: 16px 0 8px; border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
th { background: var(--accent-soft); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.rank { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; width: 2.5em; }
td.num { font-variant-numeric: tabular-nums; }
.src { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.faq h3 { margin-top: 22px; }
.faq p { margin-top: 4px; }
.changelog { font-size: 14.5px; }
.badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 1px 6px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); vertical-align: middle; }
.badge.pending { background: var(--note); color: var(--warn); }
footer.site { border-top: 1px solid var(--rule); padding-block: 24px 40px; font-size: 14px; color: var(--muted); background: var(--surface); }
footer.site p { margin: 6px 0; max-width: none; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.disclosure { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 10px 14px; font-size: 14px; color: var(--muted); margin: 0 0 24px; }
form.corr { display: grid; gap: 14px; max-width: 560px; }
form.corr label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
form.corr input, form.corr textarea, form.corr select { font: inherit; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 4px; background: var(--surface); color: var(--fg); }
form.corr .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
form.corr button { font: inherit; font-weight: 600; background: var(--accent); color: #fff; border: 0; padding: 10px 18px; border-radius: 4px; cursor: pointer; justify-self: start; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 480px) { h2 { font-size: 21px; } .meta { font-size: 13px; } }
/* Hero and chooser */
.hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -32px;
  margin-bottom: 36px;
  background: var(--hero-bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent-bright) 35%, transparent), transparent 55%),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--accent-bright) 14%, transparent) 0 2px, transparent 2px 40px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent-bright) 14%, transparent) 0 2px, transparent 2px 40px);
  mask-image: radial-gradient(circle at 100% 0%, black, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 100% 0%, black, transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 48px 16px 40px; }
.hero-inner h1 { color: var(--hero-fg); font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
.hero-inner .lede { color: var(--hero-muted); font-size: 19px; max-width: 60ch; margin-bottom: 18px; }
.hero-inner .eyebrow { color: var(--accent-bright); }
.hero-inner .src { color: var(--hero-muted); }
.cta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 22px; }
.btn { display: inline-block; font-weight: 700; padding: 11px 18px; border-radius: 6px; text-decoration: none; border: 2px solid var(--accent); background: var(--accent); color: #fff; }
.btn.secondary { background: transparent; color: var(--accent); }
.btn:hover { filter: brightness(1.08); }
.hero-inner .btn:not(.secondary) { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--hero-bg); }
.hero-inner .btn.secondary { color: var(--hero-fg); border-color: var(--hero-fg); }
.hero-inner .btn.secondary:hover { background: color-mix(in srgb, var(--hero-fg) 12%, transparent); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; max-width: 760px; }
.stats li { border-top: 2px solid var(--accent); padding-top: 8px; }
.stats .n { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stats .l { display: block; font-size: 14px; color: var(--muted); }
.hero-inner .stats li { border-top-color: var(--accent-bright); }
.hero-inner .stats .n { color: var(--accent-bright); }
.hero-inner .stats .l { color: var(--hero-muted); }
.chooser fieldset { border: 1px solid var(--rule); border-radius: 6px; background: var(--surface); padding: 14px 16px 6px; margin: 0 0 16px; }
.chooser legend { font-weight: 700; padding: 0 6px; }
.chooser .opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 6px 0 10px; }
.chooser label.opt { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; border: 1px solid var(--rule); border-radius: 6px; padding: 10px 12px; cursor: pointer; background: var(--bg); }
.chooser label.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.chooser label.opt input { margin-top: 4px; }
.chooser label.opt b { display: block; }
.chooser label.opt span { font-size: 14px; color: var(--muted); }
.results { display: grid; gap: 12px; margin: 16px 0; }
.result { border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: 6px; background: var(--surface); padding: 14px 16px; }
.result h3 { margin: 0 0 4px; }
.result .fits { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.result p { margin: 6px 0; }
.result.best { box-shadow: 0 0 0 2px var(--accent-soft); }
.chooser-status { font-size: 15px; color: var(--muted); margin: 0 0 8px; }

/* Vendor logos in tables, compliance badges, "why this order" blocks */
.vlogo { width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; border-radius: 4px; object-fit: contain; background: #fff; }
.cbadge { width: 20px; height: 20px; vertical-align: -5px; margin-right: 6px; border-radius: 3px; object-fit: contain; }
.cbadge.lg { width: 28px; height: 28px; vertical-align: -6px; margin-right: 10px; }
.why { margin: 12px 0 28px; }
.why summary { cursor: pointer; list-style: none; }
.why summary::-webkit-details-marker { display: none; }
.why summary h3 { display: inline; font-size: 17px; margin: 0; }
.why summary::after { content: " (show or hide)"; font-size: 13px; color: var(--muted); }
.why > p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }
.why table { font-size: 13.5px; }
