/* Audio Comparer — site skin (2026-11). Replaces style.css.
   tokens -> base -> header/footer -> landing sections -> inner pages (legacy content) -> responsive.
   Dark theme is opt-in per page: <body class="theme-auto"> (inner pages still carry light inline styles). */

/* ---------- tokens ---------- */
:root {
	--bg: #f6f8fc;
	--surface: #ffffff;
	--surface-2: #eef2fa;
	--text: #14203d;
	--text-2: #4b587a;
	--muted: #7a86a3;
	--line: #dde3ef;
	--brand: #2453c7;        /* blue of the scales logo */
	--brand-2: #1e3175;      /* logo outline navy */
	--brand-soft: #e7eeff;
	--cta: #ff7a1a;          /* keeps the old orange, flat */
	--cta-hover: #f06a08;
	--cta-text: #ffffff;
	--ok: #1f9d55;
	--ok-soft: #e4f6eb;
	--bad: #d0342c;
	--bad-soft: #fdeaea;
	--warn: #c77700;
	--warn-soft: #fff3df;
	--shadow-sm: 0 1px 2px rgba(20, 32, 61, .06), 0 1px 3px rgba(20, 32, 61, .08);
	--shadow-lg: 0 24px 60px -20px rgba(20, 40, 100, .35), 0 8px 20px -10px rgba(20, 40, 100, .2);
	--radius: 14px;
	--radius-sm: 9px;
	--wrap: 1180px;
	--header-h: 64px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	.theme-auto {
		--bg: #0d1324;
		--surface: #141c31;
		--surface-2: #1a2440;
		--text: #e8ecf7;
		--text-2: #aeb8d3;
		--muted: #7f8aa8;
		--line: #26314f;
		--brand: #7aa2ff;
		--brand-2: #b9ccff;
		--brand-soft: #1b2850;
		--cta: #ff8a33;
		--cta-hover: #ff9b52;
		--cta-text: #1a0f00;
		--ok: #4cc884;
		--ok-soft: #12301f;
		--bad: #ff6b63;
		--bad-soft: #3a1617;
		--warn: #f0a63a;
		--warn-soft: #3a2a10;
		--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
		--shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
		color-scheme: dark;
	}
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--text-2); font-size: 19px; }
.eyebrow {
	display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--brand); margin-bottom: 12px;
}

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
	font: inherit; font-weight: 600; font-size: 17px; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: var(--cta-text); box-shadow: 0 6px 18px -6px rgba(255, 122, 26, .6); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 10px; }
.btn-lg { padding: 17px 30px; font-size: 18px; }
.btn small { font-weight: 400; opacity: .8; font-size: 13px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: saturate(1.6) blur(14px);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 19px; flex: none; }
.brand img { width: 38px; height: 33px; display: block; }
.nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav a {
	color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500;
	padding: 8px 9px; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 8px 8px 0 0; }
.nav .nav-new::after {
	content: "new"; margin-left: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase;
	color: var(--ok); background: var(--ok-soft); padding: 1px 6px; border-radius: 6px; vertical-align: 2px;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-menu { position: relative; }
.lang-menu summary {
	list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer;
	color: var(--text-2); font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: 8px;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--surface-2); color: var(--text); }
.lang-menu summary svg { width: 18px; height: 18px; }
.lang-menu ul {
	position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 170px;
	list-style: none; margin: 0; padding: 6px; background: var(--surface);
	border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
}
.lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a[aria-current="page"] { font-weight: 600; color: var(--brand); }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--text); cursor: pointer; border-radius: 8px; }
.burger svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
	content: ""; position: absolute; inset: -40% -10% auto auto; width: 900px; height: 900px; z-index: -1;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4vw, 50px); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-lead { font-size: 20px; color: var(--text-2); max-width: 34em; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.hero-meta li { display: flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--ok); }
.hero-shot { position: relative; }
.hero-shot img { display: block; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.float-chip {
	position: absolute; display: flex; align-items: center; gap: 10px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
	padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.3;
}
.float-chip b { display: block; font-size: 15px; }
.float-chip .dot { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float-chip .dot svg { width: 18px; height: 18px; }
.chip-a { left: -28px; bottom: 34px; }
.chip-a .dot { background: var(--ok-soft); color: var(--ok); }
.chip-b { right: 24px; top: -22px; }
.chip-b .dot { background: var(--brand-soft); color: var(--brand); }

/* mobile "send me the link" */
.send-link { display: none; }
.send-link form { display: flex; gap: 8px; }
.send-link input {
	flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px;
	border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.send-link p { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-2); line-height: 1.35; }
.trust b { color: var(--text); display: block; }
.trust svg { width: 26px; height: 26px; color: var(--brand); flex: none; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
	box-shadow: var(--shadow-sm); position: relative;
}
.step .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.step .ico svg { width: 26px; height: 26px; }
.step::after {
	counter-increment: step; content: counter(step);
	position: absolute; top: 22px; right: 26px; font-size: 44px; font-weight: 700; color: var(--line); line-height: 1;
}
.step p { color: var(--text-2); margin: 0; }

/* ---------- best copy ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text p { color: var(--text-2); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--text-2); }
.checks li b { color: var(--text); }
.checks svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }

.group-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.group-card header {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2);
	font-size: 14px; color: var(--text-2);
}
.group-card header b { color: var(--text); font-size: 15px; }
.copy { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.copy:last-child { border-bottom: 0; }
.fmt { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-align: center; padding: 7px 0; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
.copy-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copy-facts { font-size: 13px; color: var(--muted); }
.copy-facts .bad { color: var(--bad); font-weight: 600; }
.tag { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.tag-keep { background: var(--ok-soft); color: var(--ok); }
.tag-extra { background: var(--surface-2); color: var(--muted); }
.copy.is-keep { background: color-mix(in srgb, var(--ok-soft) 55%, transparent); }
.copy.is-keep .fmt { background: var(--ok); color: #fff; }
.copy.is-extra .copy-name { color: var(--text-2); }
.group-card footer { padding: 12px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- formats ---------- */
.formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; padding: 0; list-style: none; }
.formats li {
	font-weight: 600; font-size: 14px; letter-spacing: .03em; padding: 8px 14px; border-radius: 10px;
	background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.formats li.hl { border-color: var(--brand); color: var(--brand); }

/* ---------- checker embed ---------- */
.checker { max-width: 860px; margin: 0 auto; }
.checker .aqc-drop { background: var(--surface); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); border-radius: var(--radius); margin: 0; }
.checker .aqc-drop:hover, .checker .aqc-drop:focus, .checker .aqc-drop.aqc-over { background: var(--brand-soft); border-color: var(--brand); }
.checker .aqc-drop-icon svg { width: 44px; height: 44px; color: var(--brand); margin: 0 auto; }
.checker .aqc-drop-icon { line-height: 1.1; }
.checker .aqc-drop-main { font-size: 21px; font-weight: 700; margin: 8px 0 4px; color: var(--text); }
.checker .aqc-drop-sub { font-size: 14px; color: var(--muted); }
.checker .aqc-cap { font-size: 13px; color: var(--muted); }
.checker .aqc-details { margin-top: 8px; font-size: 15px; }
.checker .aqc-text { margin: 8px 0 6px; color: var(--text-2); }
.checker #aqc-results { margin-top: 18px; }
.checker .aqc-card { background: var(--surface); border-color: var(--line); }
.checker .aqc-name { color: var(--text); }
.checker-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- tools ---------- */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.tool {
	display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
	text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.tool:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tool img, .tool .ico { width: 56px; height: 56px; border-radius: 12px; }
.tool .ico { background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.tool .ico svg { width: 28px; height: 28px; }
.tool h3 { margin-bottom: 6px; }
.tool p { color: var(--text-2); margin: 0 0 8px; font-size: 16px; }
.tool .more { font-weight: 600; color: var(--brand); font-size: 15px; }

/* ---------- compare table ---------- */
.vs { width: 100%; max-width: 880px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vs th, .vs td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; }
.vs tr:last-child td { border-bottom: 0; }
.vs thead th { background: var(--surface-2); font-size: 14px; color: var(--text-2); font-weight: 600; }
.vs thead th.us { color: var(--brand); }
.vs td:not(:first-child), .vs th:not(:first-child) { text-align: center; width: 190px; }
.vs td.us { background: color-mix(in srgb, var(--brand-soft) 60%, transparent); }
.yes, .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.yes { background: var(--ok-soft); color: var(--ok); }
.no { background: var(--surface-2); color: var(--muted); }
.yes svg, .no svg { width: 16px; height: 16px; }

/* ---------- screenshots strip ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shots figure { margin: 0; }
.shots a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 16 / 10; background: var(--surface); }
.shots img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .3s; }
.shots a:hover img { transform: scale(1.03); }
.shots figcaption { font-size: 15px; color: var(--text-2); margin-top: 10px; text-align: center; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; display: flex; flex-direction: column; }
.stars { color: #f5a524; letter-spacing: 2px; font-size: 18px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 18px; color: var(--text-2); flex: 1; }
.review figcaption { font-size: 15px; font-weight: 600; }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
	display: flex; flex-direction: column; position: relative;
}
.price.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price .badge {
	position: absolute; top: -13px; left: 30px; background: var(--brand); color: #fff;
	font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
:root .price .badge { color: var(--surface); }
.price h3 { margin-bottom: 4px; }
.price .who { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.amount { font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-bottom: 4px; }
.amount s { font-size: 20px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.amount-note { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); margin-bottom: 9px; }
.price li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }
.price .btn { width: 100%; white-space: normal; text-align: center; }
.price { min-width: 0; }
.pay-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
	font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { color: var(--text-2); margin: -4px 0 20px; }

/* ---------- final cta ---------- */
.final {
	text-align: center; color: #fff; border-radius: 24px; padding: 64px 32px;
	background: radial-gradient(120% 140% at 0% 0%, #3a6cf0 0%, #1e3175 60%, #121d4a 100%);
}
.final h2 { color: #fff; }
.final p { color: #c9d6ff; font-size: 19px; max-width: 36em; margin: 0 auto 28px; }
.final .hero-meta { justify-content: center; color: #aebde9; margin-top: 16px; }
.final .hero-meta svg { color: #7ee2a5; }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 36px; color: var(--text-2); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.foot-brand p { margin-top: 14px; max-width: 22em; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

/* ---------- inner pages: layout ---------- */
.page { padding: 44px 0 80px; }
.page-grid {
	display: grid; grid-template-columns: minmax(0, 1fr) 290px; grid-template-areas: "content side";
	gap: 48px; align-items: start;
}
.page-grid.no-sidebar { grid-template-columns: minmax(0, 1fr); grid-template-areas: "content"; }
#content { grid-area: content; min-width: 0; }
#sidebar {
	grid-area: side; min-width: 0; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 22px 20px 8px; box-shadow: var(--shadow-sm);
}

/* landing extras */
.send-link-note { font-size: 15px; color: var(--text-2); margin: 0 0 12px; }
.formats-left { justify-content: flex-start; margin-top: 24px; }
.perfect-title { font-size: 22px; margin-bottom: 16px; }
.perfect { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.perfect li {
	display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius-sm); padding: 14px 16px; color: var(--text-2); font-size: 16px; line-height: 1.4;
}
.perfect b { color: var(--text); }
.perfect .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.perfect .ico svg { width: 22px; height: 22px; }
.center-link { text-align: center; margin-top: 28px; }
.section--tight { padding-top: 0; }
#offer:empty { display: none; }
#offer { margin: 0 auto 32px; max-width: 880px; }

.hero-sub { font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--text-2); margin: -4px 0 16px; letter-spacing: 0; }
.prices--single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.more-progs { max-width: 820px; margin: 48px auto 0; }
.more-progs h3 { font-size: 18px; }
.more-progs ul { padding-left: 1.2em; margin: 0; color: var(--text-2); }
.more-progs li { margin: .4em 0; font-size: 16px; }

/* shared teaser box (compare-online-teaser.inc.php and similar) */
.teaser-box {
	background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line));
	border-radius: var(--radius); padding: 24px; text-align: center; margin: 28px 0;
}
#content .teaser-box h2 { margin-top: 0; }

/* ---------- inner pages: legacy content (pages keep their markup) ---------- */
#content h1 { font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 .6em; }
#content h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 1.6em 0 .55em; }
#content h3 { font-size: 20px; margin: 1.4em 0 .5em; }
#content h1 + h2, #content h2:first-child { margin-top: 0; }
#content p, #content li, #content td, #content dd { font-size: 17px; line-height: 1.65; color: var(--text-2); }
#content strong, #content b { color: var(--text); }
#content ul, #content ol { padding-left: 1.4em; }
#content li { margin: .35em 0; }
#content div { margin-block: 1em; }
#content table { border-collapse: collapse; max-width: 100%; }
#content td, #content th { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
#content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
#content details summary { cursor: pointer; }
#content code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

#sidebar h2 { font-size: 18px; margin: 0 0 .6em; }
#sidebar h3 { font-size: 16px; margin: 1.1em 0 .4em; }
#sidebar h2:first-child, #sidebar h3:first-child { margin-top: 0; }
#sidebar p, #sidebar li, #sidebar td { font-size: 15px; line-height: 1.5; color: var(--text-2); margin: 0 0 .9em; }
#sidebar ul { padding-left: 1.2em; margin: 0 0 1em; }
#sidebar img { border-radius: 8px; }

.centered { text-align: center; }
.screenshots { margin: 18px 0; text-align: center; }
.screenshots img, #content p > img, #content .centered img {
	border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin: 5px;
}

/* the old yellow gradient button, now the flat primary CTA */
.myButton {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--cta); border: 1px solid transparent; border-radius: 12px;
	color: var(--cta-text) !important; font-size: 17px !important; font-weight: 600 !important;
	line-height: 1.25; padding: 12px 22px; margin: 6px; text-decoration: none !important; cursor: pointer;
	box-shadow: 0 6px 18px -8px rgba(255, 122, 26, .7); transition: background .15s, transform .15s;
}
.myButton:hover { background: var(--cta-hover); }
.myButton:active { transform: translateY(1px); }
#sidebar .myButton { font-size: 15px !important; padding: 10px 16px; }

input::placeholder { color: var(--muted); }
/* plain old forms (contacts, uninstall); :where() keeps specificity at zero so component styles win */
:where(#content) :where(input[type="text"], input[type="email"], input:not([type]), textarea, select) {
	font: inherit; font-size: 16px; color: var(--text); background: var(--surface);
	border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 4px 0 12px;
}
:where(#content) :where(input[type="text"], input[type="email"], input:not([type]), textarea, select):focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
:where(#content) :where(input[type="submit"], button[type="submit"]) {
	font: inherit; font-weight: 600; font-size: 16px; color: var(--cta-text); background: var(--cta);
	border: 0; border-radius: 12px; padding: 12px 24px; cursor: pointer;
}
:where(#content) :where(input[type="submit"], button[type="submit"]):hover { background: var(--cta-hover); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
	.nav a { padding: 8px 6px; font-size: 14px; }
	.nav .nav-new::after { display: none; }
	.chip-a { left: -8px; }
}
@media (max-width: 1040px) {
	.burger { display: block; order: 3; }
	.nav {
		display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
		background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
	}
	.nav a { font-size: 17px; padding: 13px 12px; }
	.site-header.open .nav { display: flex; }
	.nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); border-radius: 0 8px 8px 0; }
	.site-header .wrap { gap: 12px; }
	.header-actions { margin-left: auto; }
}
@media (max-width: 960px) {
	.hero { padding-top: 40px; }
	.hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
	.trust ul { grid-template-columns: repeat(2, 1fr); }
	.steps, .reviews, .prices { grid-template-columns: 1fr; }
	.tools { grid-template-columns: 1fr; }
	.shots { grid-template-columns: 1fr 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
	.page-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "content" "side"; gap: 32px; }
	.price.featured { order: -1; }
	.section { padding: 64px 0; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.lang-menu summary span, .header-actions .btn { display: none; }
	.hero-lead { font-size: 18px; }
	.trust ul { grid-template-columns: 1fr; gap: 12px; }
	.shots { grid-template-columns: 1fr; }
	.chip-a, .chip-b { display: none; }
	.copy { grid-template-columns: 46px minmax(0, 1fr); }
	.copy .tag { grid-column: 2; justify-self: start; }
	.vs th, .vs td { padding: 12px 10px; font-size: 14px; }
	.vs td:not(:first-child), .vs th:not(:first-child) { width: 80px; }
	.final { padding: 48px 20px; border-radius: 18px; }
	.btn-lg { white-space: normal; text-align: center; padding: 15px 20px; max-width: 100%; }
	/* old table-based forms (contacts, uninstall): stack the cells */
	#content form table, #content form tbody, #content form tr, #content form td { display: block; width: auto !important; padding-left: 0; padding-right: 0; border: 0; }
	#content form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), #content form textarea, #content form select { width: 100%; max-width: 100%; box-sizing: border-box; }
	#content table:not(form table) { display: block; overflow-x: auto; }
	/* product box floated next to the H1 on old pages: keep it small on phones */
	#content > img[style*="float"] { width: 92px !important; margin: 4px 0 8px 14px !important; }
	#content h1 { font-size: 28px; }
}
/* phones and tablets can't run a Windows installer: offer to send the link instead */
@media (max-width: 960px) and (pointer: coarse) {
	.hero-cta .btn-primary { display: none; }
	.send-link { display: block; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
