/* ToolsRoom, iteration 2. Tokens first; no gradients, no shadows, no entrance animations. */
@font-face {
	font-family: "Schibsted Grotesk";
	src: url("../fonts/SchibstedGrotesk-VF-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}
/* Metric-matched fallback so the swap does not move text (CLS ~0). */
@font-face {
	font-family: "Schibsted Fallback";
	src: local("Arial");
	size-adjust: 104%;
	ascent-override: 96%;
	descent-override: 24%;
	line-gap-override: 0%;
}

:root {
	--bg: #ffffff;
	--surface: #f4f6f9;
	--text: #0e1726;
	--muted: #4b5565;
	--line: #e3e8ef;
	--accent: #0b5cad;
	--accent-hover: #084a8c;
	--accent-soft: #eef5fc;
	--marker: #cfe3f7;
	--accent-line: #9fc3e8;
	--radius: 6px;
	--wrap: 1200px;
	--gutter: 24px;
	--font: "Schibsted Grotesk", "Schibsted Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; text-wrap: balance; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
/* Tabular figures where numbers line up or repeat. Not on running text: the font widens commas with tnum. */
time, .pagination, .is-num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

/* Links ---------------------------------------------------------------- */
a { color: var(--text); text-decoration-line: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); text-decoration-color: var(--accent-hover); }

/* Focus ---------------------------------------------------------------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
.screen-reader-text, .search-form__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

/* Header --------------------------------------------------------------- */
.site-header { position: relative; border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header__row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex: none; }
.brand:hover { color: var(--text); }
.brand__mark { display: block; }
.brand__name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.primary-nav__list a { display: block; padding: 8px 10px; font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; color: var(--text); white-space: nowrap; }
.primary-nav__list a:hover { color: var(--accent); }
.primary-nav__list a[aria-current] { text-decoration-line: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 9px; }
.primary-nav__list .menu-item-search { margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.nav-toggle:hover { border-color: var(--text); }

.search-panel { background: var(--surface); border-top: 1px solid var(--line); padding: 16px 0; }
.search-panel[hidden] { display: none; }

/* The header row (logo, Tools, 5 topics, Search, About) needs about 1190px. */
@media (max-width: 1199px) {
	.site-header__row { flex-wrap: wrap; row-gap: 0; padding-block: 10px; }
	.nav-toggle { display: inline-block; }
	.js .primary-nav { display: none; }
	.js .primary-nav.is-open { display: block; }
	.primary-nav { flex-basis: 100%; order: 3; padding: 8px 0 12px; }
	.primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav__list a { padding: 12px 0; font-size: 17px; border-top: 1px solid var(--line); }
	.primary-nav__list .menu-item-search { margin-left: 0; }
	.primary-nav__list a[aria-current] { text-underline-offset: 6px; }
}

/* Search form ----------------------------------------------------------- */
.search-form__row { display: flex; gap: 8px; max-width: 560px; }
.search-form__input { flex: 1; min-width: 0; padding: 11px 14px; background: #fff; border: 1px solid #8a94a3; border-radius: var(--radius); font-size: 17px; line-height: 1.4; }
.search-form__input:focus-visible { outline-offset: 1px; }
.btn { display: inline-block; padding: 11px 20px; background: var(--text); color: #fff; border: 0; border-radius: var(--radius); font-weight: 600; font-size: 16px; line-height: 1.4; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--accent { background: var(--accent); }

/* Verdict marker: highlighter band built from text-decoration. */
.verdict {
	text-decoration-line: underline;
	text-decoration-color: var(--marker);
	text-decoration-thickness: 0.7em;
	text-underline-offset: -0.4em;
	text-decoration-skip-ink: none;
}

/* Pick tile -------------------------------------------------------------- */
.choice { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.choice__label { color: var(--muted); font-weight: 500; }
.choice__tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--accent-soft); color: var(--accent); border-radius: var(--radius); font-size: 14px; font-weight: 700; line-height: 1; }
.choice__name { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
a.choice__link { position: relative; z-index: 1; text-decoration-line: none; }
a.choice__link:hover { color: var(--accent); text-decoration-line: underline; }
.choice__tile--md { width: 40px; height: 40px; font-size: 17px; }
.choice__tile--lg { width: 48px; height: 48px; font-size: 20px; }
img.choice__tile--logo { object-fit: contain; background: none; border: 0; padding: 0; border-radius: 0; }
/* On the dark hero panel dark marks would disappear: a plain white plate, no outline. */
.hpanel img.choice__tile--logo { box-sizing: border-box; padding: 5px; background: #fff; border-radius: var(--radius); }

/* Verdict labels (tools) */
.badge { display: inline-block; padding: 1px 9px; border: 1px solid transparent; border-radius: var(--radius); font-size: 13px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.badge--recommended { background: var(--accent); color: #fff; }
.badge--situational { background: #fff; border-color: var(--accent); color: var(--accent); }
.badge--skip { background: var(--text); color: #fff; }
.vrow__pick .badge, .item__meta .badge { margin-left: 4px; }

.flag { display: inline-block; margin-right: 10px; padding: 1px 8px; background: var(--marker); color: var(--text); border-radius: var(--radius); font-size: 13px; font-weight: 600; line-height: 1.5; vertical-align: 2px; white-space: nowrap; }

/* Sections ---------------------------------------------------------------- */
.section { padding-top: 64px; }
.section--first { padding-top: 40px; }
.section--flush { padding-top: 8px; }
.section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.section__title { font-size: 26px; line-height: 1.2; margin: 0 0 20px; }
.section__head .section__title { margin: 0; }
.empty { color: var(--muted); }

/* Logo mark ----------------------------------------------------------------- */
.brand__mark .m-frame { stroke: var(--accent); }
.brand__mark .m-line { fill: var(--accent); }
.brand__mark .m-bar { fill: var(--marker); }

/* Dark band: landing header, hero, logo strip. #8bbcff on #0b1220 is about 9:1. */
:root {
	--d-bg: #0b1220;
	--d-panel: #121b2e;
	--d-line: #22314a;
	--d-text: #e6edf7;
	--d-muted: #9fb0c7;
	--d-accent: #8bbcff;
	--d-ghost: #3a4d6b;
}
.site-header--dark { background: var(--d-bg); border-bottom-color: transparent; }
.site-header--dark .brand, .site-header--dark .brand:hover { color: #fff; }
.site-header--dark .brand__mark .m-frame { stroke: var(--d-accent); }
.site-header--dark .brand__mark .m-line { fill: var(--d-accent); }
.site-header--dark .brand__mark .m-bar { fill: var(--d-accent); fill-opacity: 0.35; }
.site-header--dark .primary-nav__list a { color: rgb(230 237 247 / 0.8); }
.site-header--dark .primary-nav__list a:hover { color: #fff; }
.site-header--dark .primary-nav__list a[aria-current] { color: #fff; text-decoration-color: var(--d-accent); }
.site-header--dark .nav-toggle { border-color: var(--d-ghost); color: var(--d-text); }
.site-header--dark :focus-visible, .hero :focus-visible, .lstrip :focus-visible { outline-color: var(--d-accent); }

.hero { background: var(--d-bg); color: var(--d-text); padding: 72px 0 64px; }
/* About 7/5. The panel is fixed at 400px so the 56px headline keeps its second line (736px wide) on one row at 1280. */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.hero__title { margin: 0 0 24px; font-size: 56px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; color: #fff; text-wrap: initial; }
.hero__title span { display: block; }
@media (min-width: 1200px) { .hero__title span { white-space: nowrap; } } /* Two lines on desktop, as designed. */
.hero__accent { color: var(--d-accent); }
.hero__lede { max-width: 36em; margin: 0 0 32px; font-size: 19px; line-height: 1.55; color: var(--d-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 44px; }
.hbtn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 8px; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.hbtn--solid { background: #fff; color: var(--d-bg); }
.hbtn--solid:hover { background: var(--d-text); color: var(--d-bg); }
.hbtn--ghost { border-color: var(--d-ghost); color: #fff; }
.hbtn--ghost:hover { border-color: var(--d-muted); color: #fff; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.stat__num { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; color: #fff; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 14px; color: var(--d-muted); }

.hpanel { padding: 24px; background: var(--d-panel); border: 1px solid var(--d-line); border-radius: 12px; }
.hpanel__title { margin: 0 0 6px; font-size: 17px; color: #fff; }
.hpanel__list { list-style: none; }
.hrow { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--d-line); }
.hrow:last-child { border-bottom: 0; }
.hrow__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--d-text); text-decoration: none; }
.hrow__title:hover { color: #fff; text-decoration: underline; }
.hrow__meta { display: flex; margin: 2px 0 0; font-size: 12.5px; line-height: 1.3; color: var(--d-muted); white-space: nowrap; }
.hrow__cat { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hrow__meta > span:not(.hrow__cat) { flex: none; white-space: pre; }
.dbadge { padding: 1px 8px; border: 1px solid transparent; border-radius: var(--radius); font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.dbadge--recommended { background: var(--d-accent); color: var(--d-bg); }
.dbadge--situational { border-color: var(--d-accent); color: var(--d-accent); }
.dbadge--skip { background: #2b3a54; color: var(--d-text); }
.hpanel__all { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--d-accent); text-decoration: none; }
.hpanel__all:hover { color: #fff; text-decoration: underline; }

.lstrip { background: var(--d-bg); border-top: 1px solid var(--d-line); padding: 26px 0 30px; }
.lstrip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.lstrip__label { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--d-muted); }
.lstrip__list { display: flex; flex-wrap: wrap; gap: 14px 32px; list-style: none; }
.lstrip__item { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 16px; font-weight: 600; color: var(--d-muted); text-decoration: none; opacity: 0.8; }
.lstrip__mono { display: block; width: 28px; height: 28px; background: var(--d-muted); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.lstrip__color { display: none; width: 28px; height: 28px; }
.lstrip__letter { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: var(--radius); font-size: 14px; }
.lstrip__item:hover, .lstrip__item:focus-visible { opacity: 1; color: #fff; }
.lstrip__item:hover .lstrip__mono, .lstrip__item:focus-visible .lstrip__mono { display: none; }
.lstrip__item:hover .lstrip__color, .lstrip__item:focus-visible .lstrip__color { display: block; }

@media (max-width: 959px) {
	.hero { padding: 48px 0 40px; }
	.hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.hero__title { font-size: 36px; margin-bottom: 18px; }
	.hero__lede { font-size: 17px; margin-bottom: 26px; }
	.hero__actions { margin-bottom: 32px; }
	.hero__stats { gap: 16px 32px; }
	.stat__num { font-size: 26px; }
	.hpanel { padding: 18px; }
}

/* Light sections ---------------------------------------------------------------- */
.section__more { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }
.section__more:hover { color: var(--accent-hover); text-decoration: underline; }
.chip { display: inline-block; padding: 1px 8px; background: var(--surface); border-radius: var(--radius); font-size: 12.5px; font-weight: 500; line-height: 1.5; color: var(--text); white-space: nowrap; }

.qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.qcard { position: relative; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.qcard:hover { border-color: var(--accent-line); }
.qcard__logos { display: flex; margin-bottom: 16px; }
.qcard__logos > * { margin-left: -10px; border: 2px solid #fff; box-sizing: content-box; }
.qcard__logos > :first-child { margin-left: 0; }
.qcard__what { margin: 0 0 4px; font-size: 14px; font-weight: 500; color: var(--muted); }
.qcard__q { margin: 0 0 18px; font-size: 19px; line-height: 1.35; }
.qcard__more { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }
.qcard__more::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.qcard:hover .qcard__more { text-decoration: underline; }
@media (max-width: 899px) { .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .qgrid { grid-template-columns: minmax(0, 1fr); } }

.ttools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.tcard { position: relative; /* keeps visually hidden text inside the scroller */ display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.tcard__head { display: flex; align-items: center; gap: 12px; }
.tcard__names { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.tcard__name { margin: 0; font-size: 18px; line-height: 1.25; }
.tcard__name a { text-decoration: none; }
.tcard__name a:hover { color: var(--accent); text-decoration: underline; }
.tcard__desc { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard__badge { margin: 0; }
.tcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: auto 0 0; padding-top: 4px; }
.btn--sm { padding: 8px 14px; border-radius: 8px; font-size: 14.5px; }
.tcard__view { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }
.tcard__view:hover { color: var(--accent-hover); text-decoration: underline; }
@media (max-width: 999px) {
	.ttools { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(260px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.tcard { scroll-snap-align: start; }
}

.epick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.epick__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; }
.epick__panel { display: flex; align-items: center; justify-content: center; height: 220px; background: var(--accent-soft); border-radius: 8px; }
.epick__flag { margin: 0 0 10px; }
.epick__title { margin: 0 0 14px; font-size: 30px; line-height: 1.18; }
.epick__title a { text-decoration: none; }
.epick__title a:hover { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-hover); }
.epick__verdict { margin: 0 0 16px; font-size: 18px; line-height: 1.6; }
.epick__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 0; font-size: 15px; color: var(--muted); }
.epick__meta a { font-weight: 600; color: var(--accent); text-decoration: none; }
.epick__meta a:hover { color: var(--accent-hover); text-decoration: underline; }
@media (max-width: 799px) { .epick { grid-template-columns: minmax(0, 1fr); gap: 20px; } .epick__title { font-size: 25px; } }

.vlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.vitem { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.vitem__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.vitem__title { margin: 0 0 6px; font-size: 19px; line-height: 1.35; }
.vitem__title a { text-decoration: none; }
.vitem__title a:hover { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-hover); }
.vitem__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 8px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.vitem__date { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 799px) { .vlist { grid-template-columns: minmax(0, 1fr); } }

.topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.topic { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--line); }
.topic__title { margin: 0 0 2px; font-size: 17px; line-height: 1.3; }
.topic__count { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.topic__list { margin: 0 0 12px; list-style: none; font-size: 15px; line-height: 1.45; }
.topic__list li { padding: 8px 0; border-top: 1px solid var(--line); }
.topic__list a { color: var(--text); text-decoration: none; }
.topic__list a:hover { color: var(--accent); text-decoration: underline; }
.topic__all { margin-top: auto; font-size: 14.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.topic__all:hover { color: var(--accent-hover); text-decoration: underline; }
@media (max-width: 1079px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 719px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .topics { grid-template-columns: minmax(0, 1fr); } }

/* Filters (/verdicts/, /tools/) */
.rfilter + .archive-head__count { margin: 16px 0 8px; }

/* Pagination -------------------------------------------------------------------------- */
.pagination { margin-top: 28px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.pagination li .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 16px; text-decoration: none; }
.pagination li a.page-numbers:hover { border-color: var(--text); color: var(--text); }
.pagination li .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination li .dots { border-color: transparent; }

/* Items: archive, search, related ------------------------------------------------------- */
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.items--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.item { display: flex; align-items: flex-start; gap: 20px; padding: 20px 0 22px; border-top: 1px solid var(--line); }
.item__body { flex: 1; min-width: 0; }
.item__title { font-size: 19px; line-height: 1.35; margin: 0 0 6px; }
.item__title a { text-decoration: none; }
.item__title a:hover { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-hover); }
.item__verdict { font-size: 15.5px; line-height: 1.55; margin: 0 0 12px; }
.item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.item__thumb { flex: none; }
.thumb { display: block; width: 96px; height: 64px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
@media (max-width: 899px) { .items, .items--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .item { gap: 14px; } .thumb { width: 72px; height: 48px; } }

/* Archive / search / 404 ---------------------------------------------------- */
.archive-head { padding-block: 48px 20px; }
.archive-head__title { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; margin-bottom: 14px; }
.archive-head__lede { max-width: 62ch; font-size: 19px; line-height: 1.6; color: var(--muted); }
.archive-head__lede p { margin: 0 0 0.6em; }
.archive-head__count { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.archive-head__search { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 16px; }
.chips a { display: block; padding: 8px 14px; background: var(--surface); border-radius: var(--radius); font-size: 15px; font-weight: 500; text-decoration: none; }
.chips a:hover { color: var(--accent); }

/* Page ---------------------------------------------------------------------- */
.page { max-width: calc(720px + var(--gutter) * 2); }
.page__head { padding-block: 56px 16px; }
.page__title { font-size: clamp(32px, 4.4vw, 44px); line-height: 1.12; }
.page__body { padding-bottom: 32px; }

/* Single --------------------------------------------------------------------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; grid-template-areas: "head" "answer" "toc" "body"; }
@media (min-width: 1080px) {
	.post-layout { grid-template-columns: minmax(0, 720px) 220px; column-gap: 64px; grid-template-areas: "head ." "answer toc" "body toc"; grid-template-rows: auto auto 1fr; }
}
.post-head { grid-area: head; padding-top: 48px; }
.short-answer { grid-area: answer; }
.toc { grid-area: toc; }
.post-body { grid-area: body; min-width: 0; }

.post-head__trail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 14px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.card__topic { color: var(--muted); text-decoration-line: none; font-weight: 500; }
.card__topic:hover { color: var(--accent); text-decoration-line: underline; }
.card__type { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 1px 8px; font-size: 13px; font-weight: 600; }
.post-title { font-size: clamp(31px, 4.6vw, 44px); line-height: 1.13; margin: 0 0 18px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.byline a { color: var(--text); }
.disclosure { background: var(--surface); border-radius: var(--radius); padding: 12px 16px; font-size: 15px; line-height: 1.55; margin: 0 0 20px; }
.post-image { margin: 32px 0 0; }
.post-image img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }

.short-answer { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px 20px; margin: 20px 0 8px; }
.short-answer__title { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.short-answer__verdict { font-size: 21px; line-height: 1.55; font-weight: 600; margin: 0 0 12px; letter-spacing: -0.005em; }
.short-answer__fact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.short-answer .choice__tile { background: #fff; }
.short-answer__jump { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 14px 0 0; font-size: 16px; line-height: 1.5; }

.toc { align-self: start; margin: 16px 0 0; }
.toc__title { font-size: 15px; margin: 0 0 8px; }
.toc__toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; background: none; border: 0; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; cursor: pointer; }
.toc__toggle:disabled { color: var(--text); cursor: default; }
.toc__list { list-style: none; border-left: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.toc__list a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.toc__list a:hover { color: var(--accent); }
.toc__list a.is-current { border-left-color: var(--accent); color: var(--text); font-weight: 600; }
@media (min-width: 1080px) {
	.toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; margin-top: 28px; }
}
@media (max-width: 1079px) {
	.toc { margin: 8px 0 0; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
	.toc__title { margin: 0; }
	.toc__toggle { width: 100%; justify-content: space-between; padding: 10px 0; font-size: 16px; }
	.toc__toggle::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 500; }
	.toc.is-open .toc__toggle::after { content: "\2212"; }
	.js .toc:not(.is-open) .toc__list { display: none; }
	.toc__list { margin-bottom: 8px; }
}

/* Entry (article body) ----------------------------------------------------------- */
.entry { padding-top: 32px; }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font-size: 29px; line-height: 1.22; margin: 2.1em 0 0.6em; scroll-margin-top: 24px; }
.entry h3 { font-size: 21px; line-height: 1.3; font-weight: 600; margin: 1.7em 0 0.5em; scroll-margin-top: 24px; }
.entry h2.pick { border-top: 1px solid var(--line); padding-top: 36px; margin-top: 56px; }
.entry ul, .entry ol { padding-left: 1.35em; margin: 0 0 1.2em; }
.entry li { margin: 0.35em 0; padding-left: 0.2em; }
.entry li::marker { color: var(--muted); }
.entry blockquote { margin: 1.6em 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--line); color: var(--muted); }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry img, .entry video { border-radius: var(--radius); }
.entry figure { margin: 1.6em 0; }
.entry figcaption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.entry code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; background: var(--surface); padding: 0.1em 0.35em; border-radius: 4px; }
.entry pre { background: var(--surface); border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; font-size: 14.5px; line-height: 1.6; }
.entry pre code { background: none; padding: 0; }
.entry--extra { padding-top: 0; margin-top: 56px; }
.post-body > .entry--extra:first-child { margin-top: 32px; }
.entry .note { font-size: 15px; color: var(--muted); }
.entry .sources { padding-left: 0; }

.tr-meta { background: var(--surface); border-radius: var(--radius); padding: 12px 18px; margin: 0 0 1.4em; }
.tr-meta p { margin: 4px 0; font-size: 16px; line-height: 1.55; }
.tr-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; margin: 0 0 1.2em; }
.tr-proscons > .wp-block-column { min-width: 0; }
.tr-proscons h3 { margin-top: 0; font-size: 18px; }
@media (max-width: 599px) { .tr-proscons { grid-template-columns: minmax(0, 1fr); } }
.tr-shot { aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 1.2em; display: flex; align-items: center; justify-content: center; }
.tr-shot figure { margin: 0; width: 100%; height: 100%; }
.tr-shot img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.tr-shot__empty { margin: 0; color: var(--muted); font-size: 15px; }

.wp-block-table, .table-scroll { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); }
.wp-block-table table, .table-scroll table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; margin: 0; }
.entry th, .entry td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.entry th { background: var(--surface); font-weight: 600; white-space: nowrap; }
.entry tbody tr:last-child td { border-bottom: 0; }
.entry td:first-child { font-weight: 600; }

/* FAQ, sources, author ------------------------------------------------------------- */
.faq { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 18px; line-height: 1.4; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; line-height: 1.2; font-weight: 500; flex: none; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding: 0 0 8px; }
.faq__answer p:last-child { margin-bottom: 12px; }
.sources { list-style: none; font-size: 16px; line-height: 1.5; }
.sources li { margin: 0.5em 0; padding-left: 0; }
.entry .sources a { overflow-wrap: anywhere; }

.author-box { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; margin: 56px 0 0; padding: 24px; background: var(--surface); border-radius: var(--radius); }
.author-box__avatar { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--marker); border-radius: var(--radius); font-weight: 700; font-size: 18px; }
.author-box__name { font-size: 18px; line-height: 1.3; margin: 2px 0 6px; }
.author-box__bio { margin: 0 0 8px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.author-box__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 15px; }

.related { margin-top: 72px; }

/* Review page */
.review-head__id { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.review-head__id .choice__tile--lg { margin-top: 4px; }
.review-head__names { min-width: 0; }
.review-head__title { margin-bottom: 6px; }
.review-head__tagline { margin: 0; font-size: 19px; line-height: 1.45; color: var(--muted); }
.review-head__meta { align-items: center; }
.review-head__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 20px; }
.review-head__aff { font-size: 14.5px; color: var(--muted); }
.compared { list-style: none; padding-left: 0 !important; }
.compared li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 0; margin: 0; border-top: 1px solid var(--line); }
.compared li:last-child { border-bottom: 1px solid var(--line); }

/* Tool rows: /tools/ and related tools */
.rfilters { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 4px 0 4px; }
.rfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rfilter__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.filter__list { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.filter__list a { display: block; padding: 6px 12px; border-radius: var(--radius); font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--muted); text-decoration: none; }
.filter__list a:hover { background: var(--surface); color: var(--text); }
.filter__list a[aria-current] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.rfilters + .archive-head__count { margin: 20px 0 8px; }
.rlist { border-top: 1px solid var(--line); }
.rrow { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; column-gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rrow__name { font-size: 19px; line-height: 1.3; margin: 0 0 2px; }
.rrow__name a { text-decoration: none; }
.rrow__name a:hover { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-hover); }
.rrow__tagline { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.rrow__meta { display: flex; align-items: center; gap: 16px; justify-self: end; }
.rrow__date { font-size: 14.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 699px) {
	.rrow { grid-template-columns: 48px minmax(0, 1fr); row-gap: 10px; align-items: start; }
	.rrow__meta { grid-column: 2; justify-self: start; gap: 12px; }
}
.related .section__title { margin-bottom: 4px; }

/* Footer: dark band. Text #c9d3e0 on #0e1726 is about 12.6:1, headings white. ----------------- */
.site-footer {
	--f-bg: #0b1220;
	--f-text: #c9d3e0;
	--f-head: #ffffff;
	--f-line: #22314a;
	margin-top: 96px;
	background: var(--f-bg);
	color: var(--f-text);
	font-size: 15px;
	line-height: 1.5;
}
.fwrap { width: 100%; max-width: calc(1100px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.site-footer a { color: var(--f-text); text-decoration-line: none; }
.site-footer a:hover { color: var(--f-head); text-decoration-line: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: #9fc3e8; }

.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 40px 0 32px; border-bottom: 1px solid var(--f-line); }
.footer-top__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-footer .footer-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--f-head); text-decoration: none; }
.footer-logo__mark { display: block; flex: none; }
.footer-logo__name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.footer-top__line { margin: 0; font-size: 15.5px; }
.footer-social { display: flex; gap: 4px; list-style: none; margin-right: -10px; }
.site-footer .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.site-footer .footer-social a:hover { color: var(--f-head); }

.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 36px 0 40px; }
.fcol__summary { display: block; list-style: none; }
.fcol__summary::-webkit-details-marker { display: none; }
.fcol__title { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--f-head); }
.fcol__list { list-style: none; }
.fcol__list a { display: inline-block; padding: 5px 0; }

.footer-bottom { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 32px; padding: 20px 0 32px; border-top: 1px solid var(--f-line); font-size: 14px; }
.footer-bottom p { margin: 0; }

@media (min-width: 720px) {
	.fcol__summary { pointer-events: none; }
}
@media (min-width: 720px) and (max-width: 899px) {
	.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
	.footer-top { padding: 32px 0 20px; }
	.footer-top__brand { flex-direction: column; align-items: flex-start; }
	.footer-cols { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 4px 0 0; }
	.fcol:last-child { border-bottom: 0; }
	.fcol { border-bottom: 1px solid var(--f-line); }
	.fcol__summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 4px 0; cursor: pointer; }
	.fcol__summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--f-head); }
	.fcol[open] > .fcol__summary::after { content: "\2212"; }
	.fcol__title { margin: 0; font-size: 16px; }
	.fcol__list { padding-bottom: 12px; }
	.footer-bottom { flex-direction: column; }
}

@media (max-width: 599px) {
	.section { padding-top: 48px; }
	.section--first { padding-top: 28px; }
	.entry h2 { font-size: 26px; }
	.short-answer { padding: 18px 18px 16px; }
	.short-answer__verdict { font-size: 19px; }
	.post-head { padding-top: 32px; }
	.author-box { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media print { .site-header, .site-footer, .toc, .related { display: none; } }
