/* ==========================================================================
   Compare Logo Makers: main stylesheet
   Warm paper background, near-black ink, soft greys and a warm brown accent
   (palette inspired by sonderdays.com). Bricolage Grotesque for display,
   Geist for text, Geist Mono for numbers, Instrument Serif for accents.
   ========================================================================== */

:root {
	--bg: #F7F5F1;
	--surface: #FFFFFF;
	--surface-2: #F3F1EC;
	--surface-3: #ECE9E3;
	--line: #E9E6E0;
	--line-2: #D9D5CE;
	--ink: #141414;
	--ink-2: #38352F;
	--muted: #6E6A65;
	--faint: #A1A1A1;
	--accent: #5A4A3B;
	--accent-2: #8A6F55;
	--accent-soft: #EFE8DF;
	--pro: #2F7D4F;
	--con: #B4432F;
	--star: #C08A2D;

	--display: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, sans-serif;
	--font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
	--serif: "Instrument Serif", Georgia, serif;

	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 8px 24px -14px rgba(20, 20, 20, .14);
	--shadow-lg: 0 1px 2px rgba(20, 20, 20, .05), 0 24px 48px -24px rgba(20, 20, 20, .28);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--header-h: 68px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* Slightly "zoomed out" so a full comparison fits on one screen. */
html { font-size: 14.5px; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (min-width: 1600px) { html { font-size: 15.5px; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; font-family: var(--display); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--ink); color: #fff; }
[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 12px; left: 12px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px;
}

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 28px; }
.container-wide { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: 28px; }
.container--narrow { max-width: 780px; }
@media (max-width: 600px) { .container, .container-wide { padding-inline: 16px; } }

.icon { flex: none; }

/* ---------- Type helpers ---------- */

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
	color: var(--accent); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.section-title { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 14px 0 0; text-wrap: pretty; }
.label { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .92rem; text-decoration: none; color: var(--ink); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
	font-size: .88rem; font-weight: 500; text-decoration: none; white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -10px var(--accent); }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--block { width: 100%; height: 46px; }
.btn .icon { width: 14px; height: 14px; }

.btn--xl { height: 60px; padding: 0 8px 0 26px; font-size: 1rem; gap: 16px; }
.btn__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); transition: transform .3s var(--ease); }
.btn__ico .icon { width: 18px; height: 18px; }
.btn--xl:hover .btn__ico { transform: translateY(2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #EFE8DF; color: var(--ink); }
.btn--light .btn__ico { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, .28); color: #fff; padding: 0 26px; }
.btn--outline-light:hover { border-color: #fff; color: #fff; }

/* ---------- Header ----------
   Homepage banner: transparent, no border, logo + links + "View all tools".
   Once comparing: frosted bar, filters centred, links collapse to icons. */

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--bg);
	-webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid var(--line);
	transition: background .35s, border-color .35s, box-shadow .35s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header--home { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-scrolled .site-header--home {
	background: var(--bg); border-bottom-color: var(--line);
	-webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
}
.site-header__inner { position: relative; display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; position: relative; z-index: 2; }
.brand:hover { color: var(--ink); }
.brand__img { max-height: 34px; width: auto; }
.brand__name { font-family: var(--display); font-weight: 750; font-size: 1.14rem; letter-spacing: -.045em; }
.brand__name-rest { font-weight: 450; color: var(--ink-2); }
.brand__mark { display: block; width: 32px; height: 32px; flex: none; overflow: visible; }
.brand__bar { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .45s var(--ease); }
/* Hover: the bars swap heights, a small nod to "comparing". */
.brand:hover .brand__bar--a { transform: scaleY(1.45); }
.brand:hover .brand__bar--b { transform: scaleY(.66); }

.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.primary-nav .menu a {
	display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
	font-size: .94rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s;
}
.primary-nav .menu a:hover { background: var(--surface-3); color: var(--ink); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current_page_parent > a { background: var(--ink); color: #fff; }
.primary-nav .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; position: relative; z-index: 2; }
.header-actions__all { height: 42px; padding: 0 18px 0 14px; }
.header-actions__all .icon { width: 16px; height: 16px; }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--line-2); width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.nav-toggle:hover { border-color: var(--ink); }
.nav-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Filter bar: one segmented pill. Hidden in the banner, centred while comparing. */
.filters { display: flex; align-items: center; gap: 0; }
.site-header--home .filters {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateY(-10px);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.is-comparing .site-header--home .filters { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -50%); }
.filters__reset, .cols-toggle { margin-left: 10px; }
.filter {
	position: relative; display: block; height: 46px; min-width: 164px;
	background: var(--surface); border: 1px solid var(--line-2); transition: background .2s;
}
.filter + .filter { border-left: 0; }
.filter:first-child { border-radius: 999px 0 0 999px; }
.filter:nth-child(3) { border-radius: 0 999px 999px 0; }
.filter:hover { background: var(--surface-2); }
.filter + .filter::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.filter__label {
	position: absolute; left: 20px; top: 7px; pointer-events: none;
	font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.filter select {
	appearance: none; -webkit-appearance: none; position: absolute; inset: 0; width: 100%;
	border: 0; background: transparent; border-radius: inherit; outline: none; cursor: pointer;
	padding: 18px 36px 0 20px; font-size: .87rem; font-weight: 600; color: var(--ink);
}
.filter select:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.filter .icon { position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.filter.is-set .filter__label { color: var(--accent); }
.filter.is-set .filter__label::after { content: " ●"; }
.filters__reset {
	display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px;
	border: 0; border-radius: 999px; background: var(--surface-3); font-size: .8rem; font-weight: 500; color: var(--ink-2);
}
.filters__reset .icon { width: 12px; height: 12px; }
.filters__reset:hover { background: var(--ink); color: #fff; }
.cols-toggle { display: inline-flex; padding: 3px; background: var(--surface-3); border-radius: 999px; }
.cols-toggle button { width: 42px; height: 38px; border: 0; background: transparent; border-radius: 999px; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s; }
.cols-toggle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 20, 20, .14); }
.cols-ico { display: inline-flex; gap: 2px; }
.cols-ico i { width: 5px; height: 13px; border-radius: 2px; background: currentColor; }

/* Shared dropdown menu look. */
.is-comparing .site-header--home .primary-nav {
	position: absolute; top: calc(100% + 6px); right: 28px; left: auto; width: 240px; margin: 0;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px);
	transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.is-comparing .site-header--home .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.is-comparing .site-header--home .primary-nav:not(.is-open) { transition: none; }
.is-comparing .site-header--home .primary-nav .menu { flex-direction: column; align-items: stretch; }
.is-comparing .site-header--home .primary-nav .menu a { padding: 11px 14px; }
.is-comparing .site-header--home .nav-toggle { display: inline-flex; }
.is-comparing .site-header--home .header-actions { margin-left: auto; }
.is-comparing .site-header--home .header-actions__all { width: 42px; padding: 0; }
.is-comparing .site-header--home .header-actions__label { display: none; }

@media (max-width: 1180px) {
	.filter { min-width: 136px; }
	.filter select { padding-left: 16px; }
	.filter__label { left: 16px; }
}
@media (max-width: 960px) {
	.site-header__inner { flex-wrap: wrap; gap: 10px; padding-block: 12px; min-height: 0; }
	.header-actions { margin-left: auto; }
	.header-actions__all { width: 42px; padding: 0; }
	.header-actions__label { display: none; }
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: absolute; top: calc(100% + 6px); right: 16px; left: 16px; margin: 0;
		background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
		box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s, transform .2s var(--ease), visibility .2s;
	}
	.primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; }
	.primary-nav .menu a { padding: 12px 14px; }
	.site-header--home .filters, .is-comparing .site-header--home .filters {
		position: static; transform: none; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none;
		display: none; opacity: 1; visibility: visible; pointer-events: auto;
	}
	.is-comparing .site-header--home .filters { display: flex; }
	.filters::-webkit-scrollbar { display: none; }
	.filter { flex: 1 0 140px; height: 44px; }
	.cols-toggle { display: none; }
}

/* ---------- Banner: a comparison of its own (do vs don't) ---------- */

:root { --sand: #D6BE9C; --do: #2F7D4F; --do-soft: #EAF3EC; --dont: #B4432F; --dont-soft: #F8ECE8; }
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: #fff; color: var(--ink);
	/* Slides up under the transparent header so the colour runs to the top edge. */
	margin-top: calc(-1 * var(--header-h));
	min-height: 100vh; min-height: 100svh;
	display: flex; padding: calc(var(--header-h) + 24px) 0 28px;
}
.hero__inner { position: relative; display: flex; flex-direction: column; gap: clamp(22px, 3.4vh, 40px); width: 100%; }

.hero__head { text-align: center; max-width: 1080px; margin-inline: auto; }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
	font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.hero__title {
	font-size: clamp(2.5rem, 5.6vw, 5.6rem); font-weight: 600; letter-spacing: -.05em; line-height: .95;
	margin: 0; color: var(--ink); text-wrap: balance;
}
.hero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); padding: 0 .06em; }
.hero__text { margin: 18px auto 0; max-width: 720px; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

/* The two sides, split by a VS badge. */
.versus {
	position: relative; flex: 1; display: grid; grid-template-columns: 1fr 1fr;
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 0;
}
.versus__side { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(26px, 4vh, 48px) clamp(26px, 4vw, 64px); }
.versus__side--do { background: linear-gradient(160deg, var(--do-soft), #fff 70%); --tone: var(--do); }
.versus__side--dont { background: linear-gradient(200deg, var(--dont-soft), var(--surface-2) 70%); --tone: var(--dont); border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.versus__label {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 6px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); color: var(--tone);
	font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.versus__side--dont .versus__label { flex-direction: row-reverse; padding: 6px 6px 6px 14px; }
.versus__ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tone); color: #fff; }
.versus__ico .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.versus__title { font-size: clamp(1.6rem, 2.7vw, 2.7rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; margin: 0; max-width: 520px; text-wrap: balance; }
.versus__text { margin: 14px 0 0; max-width: 470px; color: var(--ink-2); font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.versus__points { list-style: none; margin: 0; padding: clamp(20px, 3.4vh, 36px) 0 0; display: grid; gap: 10px; width: 100%; max-width: 500px; }
.versus__points li { display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(20, 20, 20, .07); font-size: .96rem; color: var(--ink); }
.versus__side--dont .versus__points li { flex-direction: row-reverse; color: var(--ink-2); }
.versus__mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--tone); background: #fff; border: 1px solid currentColor; }
.versus__mark .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.versus__vs {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
	width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; padding-bottom: 6px;
	background: var(--ink); color: #fff; box-shadow: 0 0 0 10px #fff, var(--shadow-lg);
	font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1;
}

.hero__bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 0; margin: 0; }
.stats__item { display: flex; flex-direction: column-reverse; padding: 0 36px; border-left: 1px solid var(--line); }
.stats__item:first-child { padding-left: 0; border-left: 0; }
.stats dd { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 2.8vw, 2.7rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.stats dt { margin-top: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hero__ctas { display: flex; align-items: center; gap: 28px; }

@media (max-height: 820px) and (min-width: 961px) {
	.hero__text { display: none; }
	.versus__points li:nth-child(n+3) { display: none; }
}
@media (max-width: 960px) {
	.hero { padding: calc(var(--header-h) + 20px) 0 28px; }
	.hero__head { text-align: left; margin-inline: 0; }
	.hero__text { margin-left: 0; }
	.versus { grid-template-columns: 1fr; }
	.versus__side--dont { border-left: 0; border-top: 1px solid var(--line); text-align: left; align-items: flex-start; }
	.versus__side--dont .versus__label, .versus__side--dont .versus__points li { flex-direction: row; }
	.versus__side--dont .versus__label { padding: 6px 14px 6px 6px; }
	.versus__side--do { padding-bottom: 44px; }
	.versus__side--dont { padding-top: 44px; }
	.versus__vs { left: auto; right: 24px; width: 58px; height: 58px; font-size: 1.55rem; box-shadow: 0 0 0 6px #fff, var(--shadow-lg); }
	.stats { grid-template-columns: repeat(2, 1fr); gap: 22px 0; width: 100%; }
	.stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
	.hero__ctas { width: 100%; justify-content: space-between; }
}
@media (max-width: 600px) {
	.versus__side { padding: 24px 20px; }
	.stats__item { padding: 0 18px; }
	.hero__ctas { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
	.hero__ctas .btn { justify-content: space-between; }
	.hero__ctas .link-arrow { justify-content: center; }
}

/* ---------- Split-screen comparison ---------- */

.compare { position: relative; }
.stage { position: relative; }
.compare:not(.is-enhanced) .stage,
.compare:not(.is-enhanced) .list-mode { display: none; }

.stage__sticky {
	position: sticky; top: var(--header-h-live, var(--header-h));
	height: var(--sticky-h, calc(100vh - var(--header-h))); overflow: hidden;
}
.admin-bar .stage__sticky { top: calc(var(--header-h-live, var(--header-h)) + 32px); }
.stage__grid { position: relative; height: 100%; display: grid; }
.stage__grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stage__grid[data-cols="2"] .slot--second { display: none; }
.stage__grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage__grid.is-solo { grid-template-columns: 1fr; }
.stage__grid.is-solo .slot--rotor, .stage__grid.is-solo .slot--second, .stage__grid.is-solo .vs-badge { display: none; }

.slot { position: relative; overflow: hidden; display: flex; min-width: 0; }
.slot > * { flex: 1; min-width: 0; }
.slot > .is-leaving { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Panels: no card chrome, just colour fields. */
.slot .tool-card, .list-mode .tool-card {
	border: 0; border-radius: 0; box-shadow: none; padding: 0; height: 100%;
	display: flex; align-items: center; justify-content: center;
}
.slot .tool-card__inner, .list-mode .tool-card__inner { width: 100%; max-width: 620px; height: auto; padding: 32px 48px 96px; gap: 18px; }
.slot .tool-card__foot, .list-mode .tool-card__foot { margin-top: 6px; }
.slot--lead .tool-card { background: var(--surface); }
.slot--second .tool-card { background: #FAF8F4; }
.slot--rotor .tool-card { background: #F1ECE4; background: color-mix(in srgb, var(--brand) 8%, #F3EFE8); }
.stage__grid[data-cols="3"] .tool-card__inner { padding-inline: 32px; }

.slot .tool-card__name { font-size: clamp(1.9rem, 2.6vw, 2.7rem); }
.slot .tool-logo, .list-mode .tool-logo { width: 60px; height: 60px; border-radius: 16px; }
.slot .tool-card__score-num { font-size: 2.4rem; }
.slot .facts, .list-mode .facts { background: transparent; border-radius: 0; border-block: 1px solid rgba(20, 20, 20, .09); }
.slot .facts > div, .list-mode .facts > div { padding: 12px 0; }
.slot .facts > div + div, .list-mode .facts > div + div { padding-left: 16px; border-left-color: rgba(20, 20, 20, .09); }
.slot--lead .tool-card__role { background: var(--ink); color: #fff; }

/* VS badge sits on the seam between the pinned and the rotating panel. */
.vs-badge {
	position: absolute; top: 46%; left: 50%; z-index: 5; transform: translate(-50%, -50%);
	width: 78px; height: 78px; border-radius: 50%; background: var(--ink); color: #fff;
	display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 8px rgba(255, 255, 255, .55), var(--shadow-lg);
}
.stage__grid[data-cols="3"] .vs-badge { left: 66.666%; width: 58px; height: 58px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .55), var(--shadow-lg); }
.stage__grid[data-cols="3"] .vs-badge__x { font-size: 1.3rem; }
.stage__grid[data-cols="3"] .vs-badge__score { font-size: .58rem; }
.stage__grid[data-cols="3"] .slot--rotor .tool-card__inner { padding-left: 48px; }
.stage__grid[data-cols="3"] .slot--second .tool-card__inner { padding-right: 48px; }
.vs-badge__x { font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: .9; }
.vs-badge__score { font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; opacity: .7; margin-top: 2px; }

/* Floating control bar: comparison counter, dots, skip. */
.stage__bar {
	position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 6;
	display: flex; align-items: center; gap: 16px; padding: 6px 6px 6px 20px; border-radius: 999px;
	background: rgba(20, 20, 20, .92); color: rgba(255, 255, 255, .7); box-shadow: var(--shadow-lg);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap;
}
.stage__counter { font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; }
.stage__counter b { color: #fff; font-weight: 600; }
.stage__dots { display: flex; gap: 5px; list-style: none; }
.stage__dots button { display: block; width: 7px; height: 7px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .28); transition: width .35s var(--ease), background .35s; }
.stage__dots button:hover { background: rgba(255, 255, 255, .6); }
.stage__dots li.is-active button { width: 24px; background: #fff; }
.stage__skip {
	display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
	background: #fff; color: var(--ink); font-size: .82rem; font-weight: 600; transition: background .2s;
}
.stage__skip:hover { background: var(--accent-soft); }
.stage__skip .icon { width: 14px; height: 14px; }

/* Shorter laptop screens: trim secondary text so each panel fits one screen. */
@media (max-height: 900px) {
	.slot .tool-card__inner { padding-top: 22px; padding-bottom: 84px; gap: 14px; }
	.slot .tool-card__why p:not(.label), .slot .tool-card__best p:not(.label) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.slot .scores { gap: 6px; }
}
@media (max-height: 780px) {
	.slot .tool-card__why, .slot .tool-card__tagline { display: none; }
	.slot .tool-card__name { font-size: 1.8rem; }
}

/* Pool: what crawlers and no-JS visitors see. */
.pool { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; list-style: none; padding-block: 8px 48px; }
.pool__item { display: flex; }
.compare.is-enhanced .pool { display: none; }

/* List mode (phones, reduced motion): stacked colour panels. */
.list-mode .tool-card { background: var(--surface); }
.list-mode .tool-card:not(:first-child) { background: #F1ECE4; background: color-mix(in srgb, var(--brand) 8%, #F3EFE8); }
.list-mode .tool-card__inner { padding: 36px 20px; }
.list-mode__vs {
	display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px;
	background: var(--ink); color: rgba(255, 255, 255, .75); font-size: .82rem;
}
.list-mode__vs b { color: #fff; font-family: var(--mono); margin-inline: 4px; }
.list-mode__vs .vs-badge__x { color: #fff; font-size: 1.3rem; }

.empty { text-align: center; padding: 72px 0; color: var(--muted); }
.empty .btn { margin-top: 10px; }

/* ---------- Tool card / panel ---------- */

.tool-card {
	position: relative; width: 100%;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); container-type: inline-size;
}
.tool-card__inner { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; height: 100%; }
.tool-card__top { display: flex; align-items: center; gap: 10px; min-height: 24px; }
.rank-num { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--faint); letter-spacing: .04em; }
.tool-card__role:empty { display: none; }
.tool-card__role {
	font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
	padding: 4px 9px; border-radius: 999px; background: rgba(20, 20, 20, .07); color: var(--ink-2);
}
.tool-card__top .badge { margin-left: auto; }

.badge {
	display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px;
	background: var(--accent-soft); color: var(--accent); font-size: .74rem; font-weight: 600; white-space: nowrap;
}
.badge--editors_pick, .badge--best_overall { background: var(--accent); color: #fff; }
.badge--editors_pick::before, .badge--best_overall::before { content: "★"; font-size: .7rem; }
.badge--sm { height: 20px; padding: 0 8px; font-size: .68rem; }

.tool-card__id { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.tool-card__titles { min-width: 0; }
.tool-card__name { font-size: 1.5rem; font-weight: 650; letter-spacing: -.035em; line-height: 1.02; }
.tool-card__name a { text-decoration: none; }
.tool-card__name a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.tool-card__tagline { margin: 5px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.tool-card__score { text-align: right; }
.tool-card__score-num { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.tool-card__score .stars { font-size: .72rem; letter-spacing: 1px; }
.tool-card__score .stars__num { display: none; }

.tool-card__text p:not(.label) { margin: 0; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.tool-card__text .label { margin-bottom: 4px; }
.tool-card__why .label { color: var(--accent); }

.tool-card__scores .label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.tool-card__duel { text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.scores { list-style: none; display: grid; gap: 8px; }
.scores li { display: grid; grid-template-columns: minmax(110px, 34%) 1fr 44px; align-items: center; gap: 12px; font-size: .86rem; }
.scores__label { color: var(--ink-2); }
.scores__track { height: 6px; border-radius: 6px; background: rgba(20, 20, 20, .08); overflow: hidden; }
.scores__track i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--brand, var(--ink)); transition: width .9s var(--ease), opacity .3s; }
.scores.is-anim i { width: 0; }
.scores__val { font-family: var(--mono); font-size: .8rem; font-weight: 500; text-align: right; color: var(--muted); }
.scores li.is-win .scores__val { color: var(--ink); font-weight: 600; }
.scores li.is-win .scores__val::before { content: "▲ "; color: var(--pro); font-size: .6rem; vertical-align: 1px; }
.scores li.is-lose .scores__track i { opacity: .38; }

.tool-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.tool-card__foot .btn { height: 40px; }

/* Card contexts (archives, alternatives): keep them compact. */
.card-grid .tool-card__why, .pool .tool-card__why { display: none; }

.tool-logo {
	width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--surface);
	border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
}
.tool-logo--lg { width: 84px; height: 84px; border-radius: 22px; }
.tool-logo--sm { width: 32px; height: 32px; border-radius: 9px; }
.tool-logo--xs { width: 30px; height: 30px; border-radius: 50%; }
.tool-logo__img { width: 100%; height: 100%; object-fit: contain; padding: 9px; }
.tool-logo--sm .tool-logo__img, .tool-logo--xs .tool-logo__img { padding: 5px; }
.tool-logo--lg .tool-logo__img { padding: 14px; }
.tool-logo__mono { width: 100%; height: 100%; display: grid; place-items: center; background: var(--brand, var(--ink)); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.tool-logo--sm .tool-logo__mono, .tool-logo--xs .tool-logo__mono { font-size: .8rem; }
.tool-logo--lg .tool-logo__mono { font-size: 2.2rem; }

.stars { position: relative; display: inline-block; font-size: .92rem; letter-spacing: 2px; line-height: 1; vertical-align: middle; }
.stars__track { color: var(--line-2); }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--star); }
.stars__num { margin-left: 8px; font-weight: 600; font-size: .9rem; vertical-align: middle; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; background: var(--surface-2); border-radius: var(--radius-sm); }
.facts > div { padding: 10px 14px; min-width: 0; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.facts--stack { grid-template-columns: 1fr 1fr; }
.facts--stack > div:nth-child(3) { border-left: 0; }
.facts--stack > div:nth-child(n+3) { border-top: 1px solid var(--line); }

@container (max-width: 420px) {
	.tool-card__name { font-size: 1.3rem; }
	.tool-card__score-num { font-size: 1.5rem; }
	.facts > div { padding: 8px 10px; }
	.scores li { grid-template-columns: 1fr 70px 40px; }
	.tool-card__foot .btn { padding: 0 12px; font-size: .82rem; }
}

.ticks { list-style: none; display: grid; gap: 8px; font-size: .92rem; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.ticks .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--pro); }
.ticks--x .icon { color: var(--con); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips li { font-size: .76rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--surface); }


/* ---------- Head-to-head (vs) ---------- */

.vs {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 1.55fr) minmax(0, 1fr);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); overflow: hidden; width: 100%;
}
.vs__side { padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; font-size: .88rem; color: var(--ink-2); }
.vs__side p:not(.label) { margin: 0; line-height: 1.5; }
.vs__side:empty { visibility: hidden; }
.vs__side--a { background: var(--surface-2); background: color-mix(in srgb, var(--a, #141414) 6%, var(--surface)); border-right: 1px solid var(--line); }
.vs__side--b { background: var(--surface-2); background: color-mix(in srgb, var(--b, #5A4A3B) 6%, var(--surface)); border-left: 1px solid var(--line); text-align: right; }
.vs__side--a .label { color: var(--a); }
.vs__side--b .label { color: var(--b); }

.vs__core { padding: 16px 26px 14px; }
.vs__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 8px; }
.vs__name { font-family: var(--display); font-weight: 650; font-size: 1.08rem; letter-spacing: -.025em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs__name--a { text-align: right; }
.vs__name--a::after, .vs__name--b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; }
.vs__name--a::after { background: var(--a); margin-left: 8px; }
.vs__name--b::before { background: var(--b); margin-right: 8px; }
.vs__x { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1; padding-bottom: 3px; }

.vs__table { width: 100%; border-collapse: collapse; font-size: .84rem; table-layout: fixed; }
.vs__row > * { padding: 5px 0; }
.vs__row + .vs__row > * { border-top: 1px solid var(--line); }
.vs__val { width: 9%; font-family: var(--mono); font-size: .8rem; color: var(--faint); }
.vs__row > .vs__val:first-child { text-align: left; }
.vs__row > .vs__val:last-child { text-align: right; }
.vs__val.is-win { color: var(--ink); font-weight: 600; }
.vs__bar { width: 23%; }
.vs__bar i { display: block; height: 6px; border-radius: 6px; width: var(--w); transition: width .9s var(--ease); }
.vs__bar--a i { margin-left: auto; background: var(--a, var(--ink)); }
.vs__bar--b i { background: var(--b, var(--accent)); }
.vs.is-anim .vs__bar i { width: 0; }
.vs__label { width: 36%; text-align: center; font-weight: 500; font-size: .78rem; color: var(--ink-2); padding-inline: 10px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs__row--text .vs__text { font-weight: 600; font-size: .8rem; }
.vs__row--text .vs__text:first-child { text-align: left; }
.vs__row--text .vs__text:last-child { text-align: right; }

.vs__summary { margin: 10px auto 0; width: fit-content; padding: 6px 14px; background: var(--surface-2); border-radius: 999px; font-size: .8rem; text-align: center; }
.vs__summary strong { font-weight: 650; }

@media (max-width: 1100px) {
	.vs { grid-template-columns: 1fr; }
	.vs__core { order: -1; }
	.vs__side { border: 0 !important; border-top: 1px solid var(--line) !important; text-align: left; padding: 14px 20px; }
}
@media (max-width: 600px) {
	.vs__core { padding: 14px 14px 12px; }
	.vs__label { width: 40%; font-size: .72rem; }
	.vs__bar { width: 19%; }
	.vs__val { width: 11%; }
}

/* ---------- Sections ---------- */

.section { padding: 104px 0; }
.section--tight { padding: 24px 0 88px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }

/* FAQ */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 72px; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.15rem; font-weight: 550; letter-spacing: -.02em; }
.faq__item summary:hover h3 { color: var(--accent); }
.faq__icon { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background .2s, border-color .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .2s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--ink); border-color: var(--ink); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { padding: 0 56px 24px 0; color: var(--muted); font-size: .98rem; }
.faq__answer p { margin: 0; }
@media (max-width: 960px) { .faq__inner { grid-template-columns: 1fr; gap: 24px; } .faq__head { position: static; } .faq__answer { padding-right: 0; } }

/* Cards grids */
.post-grid, .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.card-grid--ranked { margin-top: 32px; }
@media (max-width: 1000px) { .post-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid, .card-grid { grid-template-columns: 1fr; } }
.card-grid > li { display: flex; }

.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card__media { display: block; text-decoration: none; aspect-ratio: 16 / 7; background: var(--surface-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph {
	width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 22px; text-align: left;
	font-family: var(--serif); font-style: italic; font-size: 1.9rem; line-height: 1; color: var(--accent);
	background: radial-gradient(120% 120% at 100% 0%, var(--accent-soft) 0%, var(--surface-2) 60%);
}
.post-card__ph small { font-family: var(--mono); font-style: normal; font-size: .7rem; color: var(--muted); }
.post-card:hover .post-card__ph span { color: var(--ink); }
.post-card__body { padding: 18px 22px 22px; }
.post-card__meta { font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-bottom: 10px; }
.post-card__title { font-size: 1.22rem; letter-spacing: -.025em; margin-bottom: 8px; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Inner pages ---------- */

.page-hero { padding: 40px 0 36px; }
.page-hero--center { text-align: center; padding: 96px 0; }
.page-hero--center .search-form { margin: 24px auto; max-width: 520px; }
.page-title { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 650; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.page-lead { color: var(--muted); font-size: 1.1rem; margin-top: 16px; max-width: 680px; }
.page-hero--center .page-lead { margin-inline: auto; }
.page-lead p { margin: 0; }
.entry-meta { font-family: var(--mono); font-size: .76rem; color: var(--muted); margin: 18px 0 0; }
.entry-media { margin: 0 auto 40px; }
.entry-media img { width: 100%; border-radius: var(--radius); }
.entry-foot { padding-block: 32px 64px; display: grid; gap: 24px; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-2); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.prose { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); padding-bottom: 32px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.75rem; letter-spacing: -.03em; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; color: var(--ink); margin-top: 1.6em; }
.prose p { margin: 0; }
.prose a { color: var(--ink); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--ink); }
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-family: var(--mono); font-size: .85em; }

.search-form { display: flex; gap: 8px; }
.search-form__input { flex: 1; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 20px; background: var(--surface); }

.nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; background: var(--surface); font-family: var(--mono); font-size: .85rem; }
.nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: grid; text-decoration: none; font-weight: 500; }

.archive-vs { margin: 0 0 8px; }

/* ---------- Single logo maker ---------- */

.tool-hero { padding: 32px 0 48px; border-bottom: 1px solid var(--line); }
.tool-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 56px; align-items: start; }
.tool-hero__id { display: flex; align-items: center; gap: 20px; margin: 20px 0 22px; }
.tool-hero__title { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 650; line-height: .96; letter-spacing: -.045em; }
.tool-hero__tagline { margin: 10px 0 0; color: var(--muted); font-size: 1.1rem; }
.tool-hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 640px; }
.tool-hero__updated { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.tool-single .tool-card__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tool-single .rank-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .72rem; }

.score-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg); display: grid; gap: 18px; position: relative; overflow: hidden; }
.score-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand, var(--ink)); }
.score-card__total { display: flex; align-items: center; gap: 16px; }
.score-card__num { font-family: var(--display); font-weight: 650; font-size: 3.6rem; letter-spacing: -.05em; line-height: 1; }
.score-card__of { display: block; font-family: var(--mono); font-size: .72rem; color: var(--muted); margin-top: 6px; }
.score-bars { list-style: none; display: grid; gap: 10px; }
.score-bars li { display: grid; grid-template-columns: 130px 1fr 32px; align-items: center; gap: 12px; font-size: .88rem; }
.score-bars__track { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.score-bars__track i { display: block; height: 100%; width: var(--w); background: var(--brand, var(--ink)); border-radius: 6px; }
.score-bars b { text-align: right; font-family: var(--mono); font-weight: 500; font-size: .82rem; }

.tool-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-block: 48px 24px; }
.tool-body__side { display: grid; gap: 14px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h2 { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 40px; }
.review-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review-box h2 { font-size: 1.3rem; letter-spacing: -.03em; margin-bottom: 10px; }
.review-box p { font-size: .94rem; color: var(--ink-2); margin: 0 0 .6em; }

.proscons { margin-bottom: 40px; }
.proscons > h2, .verdict h2 { font-size: 1.75rem; letter-spacing: -.03em; margin-bottom: 18px; }
.proscons__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.proscons__col { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); background: var(--surface); }
.proscons__col h3 { font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.proscons__col--pro h3 { color: var(--pro); }
.proscons__col--con h3 { color: var(--con); }

.verdict { background: var(--ink); color: rgba(255, 255, 255, .85); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 32px; }
.verdict h2 { color: #fff; }
.verdict p { font-size: 1.08rem; margin: 0; }

.h2h { background: var(--surface); border-top: 1px solid var(--line); }
.h2h .field--inline { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.h2h .field--inline select { appearance: none; -webkit-appearance: none; height: 42px; border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 0 38px 0 16px; font-weight: 600; color: var(--ink); cursor: pointer; }
.h2h .field--inline .icon { position: absolute; right: 14px; width: 14px; height: 14px; pointer-events: none; }
.alts { padding-top: 72px; }
.alts .section-title { margin-bottom: 32px; }

@media (max-width: 1000px) {
	.tool-hero__grid, .tool-body { grid-template-columns: 1fr; gap: 32px; }
	.tool-body__side { position: static; }
	.review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.proscons__grid { grid-template-columns: 1fr; }
	.score-bars li { grid-template-columns: 110px 1fr 28px; }
}

/* ---------- Comments ---------- */

.comments { padding-bottom: 64px; }
.comment-list { list-style: none; display: grid; gap: 16px; margin: 20px 0 40px; }
.comment-list .children { list-style: none; margin: 16px 0 0 24px; }
.comment-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 14px; background: var(--surface); }
.comment-form .submit { background: var(--ink); color: #fff; border: 0; height: 44px; padding: 0 22px; border-radius: 999px; }

/* ---------- Footer (big, modern) ---------- */

.site-footer { position: relative; background: var(--ink); color: rgba(255, 255, 255, .62); padding: 112px 0 0; font-size: .94rem; overflow: hidden; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .62); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer::before {
	content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(168, 139, 111, .22), transparent); pointer-events: none;
}

.site-footer__cta { position: relative; padding-bottom: 88px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer__kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #C8AE8F; margin: 0 0 22px; }
.site-footer__headline { font-family: var(--display); font-weight: 650; color: #fff; font-size: clamp(2.6rem, 6.4vw, 6.6rem); line-height: .94; letter-spacing: -.05em; max-width: 15ch; margin: 0 0 44px; text-wrap: balance; }
.site-footer__headline em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: #C8AE8F; }
.site-footer__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 72px 0 64px; }
.site-footer__about p { max-width: 360px; margin: 18px 0 22px; }
.site-footer .brand--footer, .site-footer .brand--footer:hover { color: #fff; }
.brand--footer .brand__name-rest { color: rgba(255, 255, 255, .72); }
.site-footer__title { color: #fff; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-menu, .legal-menu, .social { list-style: none; display: grid; gap: 11px; }
.footer-menu a { font-size: 1rem; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: .82rem; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .42); flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; max-width: 760px; }
.legal-menu { display: flex; gap: 18px; }
.widget-title { color: #fff; font-weight: 600; }

/* Giant wordmark bleeding off the bottom edge. */
.site-footer__wordmark {
	margin: 8px 0 -.2em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
	font-family: var(--display); font-weight: 700; font-size: 10.4vw; line-height: .9; letter-spacing: -.065em;
	color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .02) 85%);
	-webkit-background-clip: text; background-clip: text;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } .site-footer { padding-top: 80px; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__actions .btn { width: 100%; justify-content: space-between; } }


/* ---------- WordPress core classes ---------- */

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* Footer buttons keep their own colours over the footer link colour. */
.site-footer .btn--light, .site-footer .btn--light:hover { color: var(--ink); }
.site-footer .btn--outline-light { color: #fff; }

/* Homepage: hide the scrollbar; the comparison pages one tool per scroll. */
html.has-compare { scrollbar-width: none; scroll-behavior: auto; }
html.has-compare::-webkit-scrollbar { display: none; }
html.no-js .site-header--home { background: #fff; }

/* ==========================================================================
   Page templates: About, Contact, How We Test, Legal, default page
   ========================================================================== */

/* Page header: big, left-aligned, white, same voice as the homepage banner. */
.phero { background: #fff; border-bottom: 1px solid var(--line); }
.phero__inner { padding-block: 56px 64px; }
.phero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
	font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.phero__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.phero__title {
	font-size: clamp(2.6rem, 6.2vw, 6rem); font-weight: 600; letter-spacing: -.055em; line-height: .94;
	max-width: 16ch; text-wrap: balance;
}
.phero__title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--accent); }
.phero__lead { margin: 26px 0 0; max-width: 760px; font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.phero__meta { margin: 22px 0 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; color: var(--muted); }

.section--tight { padding: 64px 0 104px; }
.section--tint { background: #fff; border-block: 1px solid var(--line); }

/* Stats band under the About header. */
.band--stats { padding: 36px 0; border-bottom: 1px solid var(--line); }
.stats--page { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Two columns: sticky heading left, content right. */
.split__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 72px; }
.split__head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.split__head .link-arrow { margin-top: 22px; }
.split__body { padding-bottom: 0; }
.split__body > :first-child { margin-top: 0; }

/* Numbered tiles (principles, criteria). */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--ink); }
.tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile { padding: 26px 28px 8px 0; }
.tile + .tile { padding-left: 28px; border-left: 1px solid var(--line); }
.tile__num { font-family: var(--mono); font-size: .76rem; color: var(--accent); }
.tile__title { font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.15; margin: 34px 0 10px; }
.tile p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* Criteria list (About). */
.criteria { list-style: none; border-top: 1px solid var(--ink); }
.criteria li { display: grid; grid-template-columns: minmax(150px, .5fr) 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.criteria__name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
.criteria__desc { color: var(--ink-2); }

/* Process steps (How We Test). */
.steps { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.steps__item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .85rem; }
.steps__title { font-size: 1.2rem; letter-spacing: -.02em; margin: 6px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }

/* Scores table (How We Test). */
.table-scroll { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.score-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .92rem; }
.score-table th, .score-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.score-table thead th { font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.score-table tbody tr:last-child > * { border-bottom: 0; }
.score-table td { font-family: var(--mono); }
.score-table tbody tr:hover { background: var(--surface-2); }
.score-table__tool { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; }
.score-table__rank { font-family: var(--mono); font-size: .76rem; color: var(--faint); }

/* Contact. */
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact__form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; scroll-margin-top: calc(var(--header-h) + 24px); }
.contact__title { font-size: 1.7rem; letter-spacing: -.035em; margin-bottom: 26px; }
.contact__cards { list-style: none; border-top: 1px solid var(--ink); margin-bottom: 28px; }
.contact__card { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact__card p:not(.label) { margin: 0; color: var(--ink-2); }
.contact__big { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; word-break: break-all; }
.contact__big:hover { text-decoration: underline; }
.prose--sm { font-size: .97rem; padding-bottom: 0; }
.prose--sm h2 { font-size: 1.25rem; margin-top: 1.4em; }
.prose--sm > :first-child { margin-top: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 24px; }
.pills a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .86rem; text-decoration: none; }
.pills a:hover { border-color: var(--ink); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 7px; margin: 0; }
.field label { font-size: .86rem; font-weight: 600; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
	background: var(--bg); font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(20, 20, 20, .06); }
.field__select { position: relative; display: block; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field__select .icon { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.field--check { grid-template-columns: 20px 1fr; align-items: start; gap: 12px; }
.field--check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.field--check label { font-weight: 400; color: var(--ink-2); line-height: 1.5; }
.field--check a { color: var(--ink); }
.form .btn { justify-self: start; margin-top: 6px; }
.notice { margin: 0 0 22px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .95rem; }
.notice--ok { background: #E8F3EC; color: #1F5C3A; }
.notice--error { background: #FBEAEA; color: #8A2A2A; }
.field__req { color: var(--con); font-weight: 400; }
.field__hint { justify-self: end; margin-top: -2px; font-family: var(--mono); font-size: .7rem; color: var(--faint); }
.field__error { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--con); }
.field__error::before { content: "!"; flex: none; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--con); color: #fff; font-size: .68rem; font-weight: 700; }
.field__error[hidden] { display: none; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--con); background: #FFF8F6; }
.field.is-invalid input:focus, .field.is-invalid textarea:focus, .field.is-invalid select:focus { box-shadow: 0 0 0 4px rgba(180, 67, 47, .12); }
.field.is-valid input, .field.is-valid textarea, .field.is-valid select { border-color: var(--pro); }
.field--check .field__error { grid-column: 2; }
.field--check.is-invalid label { color: var(--con); }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.contact__done { display: grid; justify-items: start; gap: 14px; padding: 40px; border: 1px solid #CFE5D7; border-radius: var(--radius); background: linear-gradient(160deg, #EAF3EC, #fff 70%); outline: none; }
.contact__done .contact__title { margin: 6px 0 0; }
.contact__done p { margin: 0; color: var(--ink-2); }
.contact__done-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--pro); color: #fff; }
.contact__done-ico .icon { width: 26px; height: 26px; stroke-width: 2.4; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } .contact__done { padding: 28px 22px; } }

/* Legal: contents list left, text right. */
.legal { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 760px); gap: 80px; }
.legal__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 32px; }
.toc ol, .toc ul { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: .9rem; color: var(--ink-2); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover, .toc .current-menu-item > a { color: var(--ink); border-left-color: var(--ink); }
.legal__body { padding-bottom: 0; }
.legal__body > :first-child { margin-top: 0; }
.legal__body h2 { scroll-margin-top: calc(var(--header-h) + 24px); }

@media (max-width: 1100px) {
	.tiles, .tiles--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tile:nth-child(odd) { padding-left: 0; border-left: 0; }
	.tile { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
}
@media (max-width: 960px) {
	.phero__inner { padding-block: 36px 44px; }
	.split__inner, .contact, .legal { grid-template-columns: 1fr; gap: 32px; }
	.split__head, .legal__aside { position: static; }
	.stats--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.section--tight { padding: 40px 0 72px; }
	.contact__form-wrap { padding: 26px 20px; }
}
@media (max-width: 600px) {
	.tiles, .tiles--5 { grid-template-columns: 1fr; }
	.tile, .tile + .tile { padding-left: 0; border-left: 0; }
	.form__row { grid-template-columns: 1fr; }
	.criteria li { grid-template-columns: 1fr; gap: 6px; }
	.form .btn { justify-self: stretch; justify-content: space-between; }
}

/* -------------------------------------------------------------------------
 * Logo maker directory + category / style / language pages
 * ---------------------------------------------------------------------- */
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dir-table { min-width: 980px; }
.dir-table th[scope="row"] .badge { margin-left: 10px; font-size: .6rem; vertical-align: middle; }
.section .archive-vs { margin-top: 36px; }
.dir-table td { font-family: var(--font); }
.dir-table td:nth-child(2), .dir-table td:nth-child(3) { font-family: var(--mono); }
.dir-table__for { white-space: normal !important; min-width: 220px; max-width: 320px; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.dir-table .link-arrow { font-size: .84rem; }
.browse { display: grid; gap: 34px; margin-top: 40px; }
.browse__group { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.browse__title { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 9px; }
.browse .pills { margin-top: 0; }
.pills__count { margin-left: 4px; font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.pills a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills a.is-current .pills__count { color: rgba(255, 255, 255, .6); }
@media (max-width: 960px) {
	.tiles--3 { grid-template-columns: 1fr; }
	.tiles--3 .tile, .tiles--3 .tile + .tile { padding-left: 0; border-left: 0; }
	.browse__group { grid-template-columns: 1fr; gap: 12px; }
}
.stage__all { display: flex; justify-content: center; padding-block: 8px 72px; }
.stage__all .btn { gap: 10px; }

/* -------------------------------------------------------------------------
 * Compare AI logo generators (page-templates/compare.php)
 * ---------------------------------------------------------------------- */
.cmp-intro { padding: 40px 0 0; }
.cmp-intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.cmp-quick, .cmp-match { border-radius: var(--radius); padding: 28px 30px; }
.cmp-quick { background: var(--ink); color: rgba(255, 255, 255, .82); }
.cmp-quick .label { color: var(--sand); }
.cmp-quick__text { margin: 4px 0 0; font-size: 1.12rem; line-height: 1.6; text-wrap: pretty; }
.cmp-quick__text strong { color: #fff; font-weight: 600; }
.cmp-quick__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cmp-quick__jump a { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: .84rem; text-decoration: none; transition: background .2s, color .2s; }
.cmp-quick__jump a:hover { background: #fff; color: var(--ink); }
.cmp-match { background: var(--surface); border: 1px solid var(--line); }
.cmp-match__title { font-size: 1.45rem; letter-spacing: -.03em; margin: 2px 0 10px; }
.cmp-match p:not(.label) { margin: 0; color: var(--ink-2); }
.cmp-match__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 20px; }
.cmp-match .btn .icon, .cmp-cta .btn .icon, .cmp-tool__actions .btn .icon { width: 15px; height: 15px; }

.cmp-article { max-width: 820px; }
.cmp-body .legal__aside, .cmp-body .toc, .cmp-body .toc li { min-width: 0; }
.cmp-body .toc ol { grid-template-columns: minmax(0, 1fr); }
.cmp-body .toc a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prose.cmp-article > * + * { margin-top: 1.1em; }
.prose.cmp-article > h2 { margin-top: 2.4em; }
.prose.cmp-article > h3 { margin-top: 1.8em; }
.prose.cmp-article > h2 + *, .prose.cmp-article > h3 + * { margin-top: .7em; }
.cmp-tool > p, .cmp-tool > ol { margin: 0; }
.cmp-tool > * + * { margin-top: 1em !important; }
.legal:has(.cmp-article) { grid-template-columns: minmax(200px, 270px) minmax(0, 820px); }
.cmp-article h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.cmp-article .table-scroll { margin-top: 1.4em; }
.cmp-small { font-size: .9rem; color: var(--muted); }

.cmp-note { margin: 1.6em 0; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); font-size: .97rem; line-height: 1.65; }
.cmp-note--warn { background: var(--dont-soft); border-color: #EFD6CF; }
.cmp-note p { margin: 0; }

.cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.45; }
.cmp-table--wide { min-width: 1020px; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th { font-family: var(--mono); font-size: .64rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
.cmp-table tbody tr:hover { background: var(--surface-2); }
.cmp-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp-table tfoot > * > * { border-top: 1px solid var(--ink); border-bottom: 0; font-weight: 600; }
.cmp-tool-name { display: inline-flex; align-items: center; gap: 10px; }
.cmp-table--wide tbody th, .cmp-table--wide thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
.cmp-table--wide thead th:first-child { background: var(--surface-2); }
.cmp-table--wide tbody tr:hover th { background: var(--surface-2); }
.cmp-weight { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); }
.cmp-weight__bar { width: 56px; height: 6px; border-radius: 3px; background: var(--surface-3); position: relative; overflow: hidden; }
.cmp-weight__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink); border-radius: 3px; }

.cmp-types { display: grid; gap: 14px; margin-top: 1.4em; }
.cmp-type { position: relative; padding: 24px 26px 24px 80px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cmp-type__num { position: absolute; left: 26px; top: 24px; font-family: var(--mono); font-size: .8rem; color: var(--faint); }
.cmp-type h3 { margin: 0 0 8px; font-size: 1.2rem; }
.cmp-type > p { margin: 0; }
.cmp-type__facts { display: grid; gap: 8px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .94rem; }
.cmp-type__facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.cmp-type__facts dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.cmp-type__facts dd { margin: 0; }

.cmp-tool { margin-top: 2em; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.cmp-tool > * + * { margin-top: 1em; }
.cmp-tool__head { display: flex; align-items: center; gap: 16px; }
.cmp-tool__num { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .8rem; }
.cmp-tool__title { margin: 0 !important; font-size: 1.4rem; letter-spacing: -.03em; line-height: 1.2; }
.cmp-tool__title span { display: block; margin-top: 4px; font-family: var(--font); font-size: .98rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.cmp-tool__for { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: .97rem; }
.cmp-tool__verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp-tool__col { padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: .95rem; line-height: 1.6; }
.cmp-tool__col p { margin: 0; }
.cmp-tool__col .label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.cmp-tool__col .icon { width: 14px; height: 14px; }
.cmp-tool__col--win { background: var(--do-soft); border-color: #D3E6D8; }
.cmp-tool__col--win .label { color: var(--do); }
.cmp-tool__col--trade { background: var(--dont-soft); border-color: #EFD6CF; }
.cmp-tool__col--trade .label { color: var(--dont); }
.cmp-tool__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 6px; }
.prose .cmp-tool__actions a, .prose .cmp-match a, .prose .cmp-quick a { text-decoration: none; }

.cmp-cards { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp-cards li { margin: 0 !important; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: .97rem; line-height: 1.6; }
.cmp-cards strong { display: block; margin-bottom: 6px; color: var(--ink); }

.cmp-steps { margin-top: 1.4em; padding: 0 !important; }
.cmp-steps .steps__item { margin: 0 !important; padding: 18px 0; }
.cmp-steps .steps__title { margin-top: 8px; font-size: 1.08rem; }

.cmp-prompt { padding: 20px 22px; border-radius: var(--radius-sm); background: var(--ink); color: rgba(255, 255, 255, .88); font-family: var(--mono); font-size: .88rem; line-height: 1.7; }
.cmp-prompt p { margin: 0; }
.cmp-prompt__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.cmp-prompt__bar .label { margin: 0; color: var(--sand); }
.cmp-copy { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font: 500 .78rem var(--font); cursor: pointer; transition: background .2s, color .2s; }
.cmp-copy:hover, .cmp-copy.is-done { background: #fff; color: var(--ink); }

.cmp-brief { display: grid; margin: 1.2em 0; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); overflow: hidden; font-size: .95rem; }
.cmp-brief > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 18px; }
.cmp-brief > div + div { border-top: 1px solid var(--line); }
.cmp-brief dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.cmp-brief dd { margin: 0; color: var(--ink); }

.cmp-checks { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.4em; }
.cmp-checks li { position: relative; margin: 0 !important; padding: 22px 22px 22px 66px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.cmp-checks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cmp-checks__num { position: absolute; left: 22px; top: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ink); font-family: var(--mono); font-size: .78rem; color: var(--ink); }
.cmp-checks h3 { margin: 4px 0 8px !important; font-size: 1.05rem; }
.cmp-checks p { font-size: .94rem; line-height: 1.6; }

.cmp-free { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 1.2em 0; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.cmp-free > div { padding: 18px; font-size: .92rem; line-height: 1.5; }
.cmp-free > div + div { border-left: 1px solid var(--line); }
.cmp-free > div:last-child { background: var(--do-soft); }
.cmp-free dt { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cmp-free dd { margin: 0; color: var(--ink-2); }

.cmp-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.2em; }
.cmp-versus__side { padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); font-size: .97rem; line-height: 1.6; }
.cmp-versus__side:first-child { background: linear-gradient(160deg, var(--do-soft), var(--surface) 70%); }
.cmp-versus__side:last-child { background: linear-gradient(200deg, #F1ECE5, var(--surface) 70%); }
.cmp-versus__side p:not(.label) { margin: 0; }

.cmp-faq { margin-top: 1em; }
.cmp-faq .faq__item summary h3 { margin: 0; font-size: 1.05rem; }
.cmp-faq .faq__answer { padding-right: 40px; }

.cmp-verdict { margin: 2.4em 0 0; padding: 34px 36px; }
.cmp-verdict h2 { margin: 0 0 16px !important; color: #fff; }
.cmp-verdict p + p { margin-top: 1em; }
.cmp-verdict strong { color: #fff; }
.cmp-verdict__end { font-family: var(--serif); font-style: italic; font-size: 1.45rem !important; line-height: 1.35; color: #fff; }

.cmp-cta__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; align-items: end; gap: 40px; }
.cmp-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

@media (max-width: 960px) {
	.cmp-intro__grid, .cmp-cta__inner { grid-template-columns: 1fr; }
	.legal:has(.cmp-article) { grid-template-columns: minmax(0, 1fr); }
	.cmp-body .legal__aside { display: none; }
	.cmp-free { grid-template-columns: 1fr 1fr; }
	.cmp-free > div:nth-child(3) { border-left: 0; }
	.cmp-free > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.cmp-quick, .cmp-match { padding: 22px 20px; }
	.cmp-tool { padding: 22px 18px; }
	.cmp-tool__verdict, .cmp-cards, .cmp-checks, .cmp-versus, .cmp-free { grid-template-columns: 1fr; }
	.cmp-free > div + div { border-left: 0; border-top: 1px solid var(--line); }
	.cmp-checks li:last-child:nth-child(odd) { grid-column: auto; }
	.cmp-type { padding: 22px 20px; }
	.cmp-type__num { position: static; display: block; margin-bottom: 8px; }
	.cmp-type__facts > div, .cmp-brief > div { grid-template-columns: 1fr; gap: 2px; }
	.cmp-verdict { padding: 26px 22px; }
}
