:root {
	--ink: #14171c;
	--muted: #5c6370;
	--line: rgba(20, 23, 28, 0.12);
	--orange: #c4470a;
	--header-h: 80px;
	--font: "Inter", "Segoe UI", sans-serif;
	--bg-soft: #fafafa;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

button,
input,
textarea {
	font: inherit;
	color: inherit;
}

a {
	color: inherit;
}

h1, h2, p, ul {
	margin: 0;
}

ul {
	padding: 0;
	list-style: none;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	left: 16px;
	top: -48px;
	z-index: 80;
	background: #fff;
	padding: 8px 12px;
}

.skip:focus {
	top: 8px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 0 40px;
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.admin-bar .site-header {
	top: 32px;
}

.logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	text-decoration: none;
}

.logo__img {
	height: 36px;
	width: auto;
	max-width: none;
}

.nav {
	display: flex;
	align-items: center;
}

.nav > li > a,
.nav-link {
	display: inline-flex;
	align-items: center;
	background: none;
	border: 0;
	padding: 8px 0;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--ink);
	cursor: pointer;
}

.nav > li > a:hover,
.nav-link:hover,
.nav > li > a[aria-current="page"],
.nav-link[aria-current="page"] {
	color: var(--orange);
}

.sep {
	margin: 0 14px;
	color: rgba(20, 23, 28, 0.35);
	font-size: 13px;
	user-select: none;
}

.has-sub {
	position: relative;
}

.caret {
	width: 0;
	height: 0;
	margin-left: 7px;
	border-left: 3.5px solid transparent;
	border-right: 3.5px solid transparent;
	border-top: 4px solid currentColor;
}

.submenu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 30;
	min-width: 280px;
	padding-top: 14px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(-50%);
}

.submenu ul {
	background: #fff;
	border-radius: 12px;
	padding: 8px;
	box-shadow: 0 12px 40px rgba(16, 18, 22, 0.1);
}

.submenu a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.submenu a:hover,
.submenu a:focus-visible {
	color: var(--orange);
	background: rgba(196, 71, 10, 0.08);
}

@media (min-width: 901px) {
	.has-sub:hover > .submenu,
	.has-sub:focus-within > .submenu,
	.has-sub.is-open > .submenu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
}

.lang-switch {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
}

.lang-switch a {
	text-decoration: none;
	color: #8b919b;
}

.lang-switch a[aria-current="true"] {
	color: var(--ink);
	font-weight: 600;
}

.lang-switch a:hover {
	color: var(--orange);
}

.nav-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.nav-toggle .bar {
	position: absolute;
	left: 12px;
	right: 12px;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle .bar:nth-child(2) { top: 16px; }
.nav-toggle .bar:nth-child(3) { top: 21px; }
.nav-toggle .bar:nth-child(4) { top: 26px; }

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
	top: 21px;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(4) {
	top: 21px;
	transform: rotate(-45deg);
}

.hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100svh - var(--header-h));
	background: #fff;
}

.admin-bar .hero {
	min-height: calc(100svh - var(--header-h) - 32px);
}

.compare {
	position: relative;
	width: min(100%, calc((100svh - var(--header-h)) * var(--ar, 1.7778)));
	aspect-ratio: var(--ar, 1.7778);
	overflow: hidden;
	cursor: ew-resize;
	touch-action: pan-y;
	user-select: none;
	background: #111;
}

.admin-bar .compare {
	width: min(100%, calc((100svh - var(--header-h) - 32px) * var(--ar, 1.7778)));
}

.compare:focus-visible {
	outline: 2px solid var(--orange);
	outline-offset: -2px;
}

.compare__img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	pointer-events: none;
}

.compare__img--scan {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: fill;
}

.compare__pane {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: var(--pos);
	overflow: hidden;
	pointer-events: none;
}

.compare__pane .compare__img {
	height: 100%;
	width: auto;
	max-width: none;
	aspect-ratio: var(--ar, 1.7778);
}

.compare__line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 1px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
	transform: translateX(-0.5px);
	z-index: 2;
	pointer-events: none;
}

.compare__knob {
	position: absolute;
	top: 50%;
	left: var(--pos);
	z-index: 3;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: var(--orange);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.hero__copy {
	position: absolute;
	z-index: 4;
	left: 48px;
	bottom: 72px;
	max-width: min(32rem, calc(50% - 96px));
	padding: 12px 40px 12px 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 70%, rgba(255, 255, 255, 0) 100%);
	pointer-events: auto;
	user-select: text;
	cursor: auto;
}

.hero__copy h1 {
	font-size: clamp(40px, 4.6vw, 68px);
	line-height: 1.02;
	font-weight: 500;
	letter-spacing: -0.035em;
}

.hero__lead {
	margin-top: 16px;
	max-width: 34rem;
	font-size: 16px;
	line-height: 1.5;
	color: #2a2f36;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 26px;
	padding: 14px 18px;
	background: var(--orange);
	color: #fff;
	text-decoration: none;
	border: 0;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

.btn:hover {
	background: #a83b08;
}

.btn:focus-visible,
.nav a:focus-visible,
.nav-link:focus-visible,
.submenu a:focus-visible,
.lang-switch a:focus-visible,
.footer-contact a:focus-visible,
.footer-social a:focus-visible,
.footer-legal a:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

.compare__label {
	position: absolute;
	bottom: 20px;
	z-index: 4;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	color: var(--ink);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	pointer-events: none;
}

.compare__label--real { left: 20px; }
.compare__label--scan { right: 20px; }

.site-footer {
	background: var(--bg-soft);
	border-top: 1px solid var(--line);
	padding: 28px 40px 18px;
}

.footer-main {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 32px;
}

.footer-social {
	justify-self: end;
}

.footer-contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	color: var(--muted);
	font-size: 14px;
}

.footer-contact a {
	text-decoration: none;
}

.footer-contact a:hover,
.footer-legal a:hover,
.footer-social a:hover {
	color: var(--orange);
}

.footer-social {
	display: flex;
	align-items: center;
	gap: 16px;
}

.footer-social a {
	display: grid;
	place-items: center;
	color: var(--ink);
	text-decoration: none;
}

.footer-legal {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 12px;
}

.footer-legal a {
	text-decoration: none;
}

.page__inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 72px 24px 96px;
}

.page__inner--wide {
	max-width: 880px;
}

.page h1 {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.08;
}

.kicker {
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.lede,
.prose p,
.listing__item p {
	margin-top: 18px;
	font-size: 18px;
	line-height: 1.6;
	color: #2c3138;
}

.meta-line {
	margin-top: 14px;
	color: var(--muted);
	font-size: 14px;
}

.feature,
.listing__img {
	width: 100%;
	height: auto;
	margin-top: 28px;
	max-height: 520px;
	object-fit: cover;
}

.listing__item {
	display: block;
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}

.listing__item h2 {
	font-size: 28px;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.listing__item:hover h2 {
	color: var(--orange);
}

.listing__item p {
	font-size: 16px;
}

.nav-links,
.pagination {
	display: flex;
	gap: 16px;
	margin-top: 28px;
}

.page-numbers {
	text-decoration: none;
	color: var(--muted);
}

.page-numbers.current,
.page-numbers:hover {
	color: var(--orange);
}

.contact-form {
	margin-top: 36px;
	max-width: 520px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 18px;
}

.field label {
	font-size: 13px;
	color: var(--muted);
}

.field input,
.field textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	padding: 10px 0;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-bottom-color: var(--orange);
}

.hp {
	position: absolute;
	left: -9999px;
}

.form-note {
	margin-top: 20px;
	font-size: 15px;
}

.form-note--ok { color: #1d6b3a; }
.form-note--bad { color: #9d2c12; }

.contact-facts {
	margin-top: 36px;
	color: var(--muted);
}

.contact-facts li + li {
	margin-top: 6px;
}

.contact-facts a {
	text-decoration: none;
}

.contact-facts a:hover {
	color: var(--orange);
}

@media (max-width: 900px) {
	.site-header {
		padding: 0 20px;
	}

	.nav-toggle {
		display: inline-block;
	}

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: #fff;
		padding: 28px 24px 40px;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		overflow: auto;
	}

	.admin-bar .site-nav {
		top: calc(var(--header-h) + 46px);
	}

	.site-nav.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.nav {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.sep {
		display: none;
	}

	.nav > li > a,
	.nav-link {
		font-size: 22px;
		font-weight: 500;
		padding: 8px 0;
	}

	.submenu {
		position: static;
		min-width: 0;
		padding: 0 0 8px 2px;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}

	.has-sub.is-open > .submenu {
		display: block;
		pointer-events: auto;
	}

	.submenu ul {
		box-shadow: none;
		padding: 0;
		border-radius: 0;
	}

	.submenu a {
		padding: 8px 0;
		font-size: 16px;
		font-weight: 400;
		color: var(--muted);
	}

	.lang-switch {
		margin-top: 12px;
		font-size: 16px;
	}

	body.nav-open {
		overflow: hidden;
	}
}

@media (max-width: 700px) {
	:root {
		--header-h: 64px;
	}

	.logo__img {
		height: 30px;
	}

	.hero,
	.admin-bar .hero {
		min-height: 0;
		display: block;
	}

	.compare,
	.admin-bar .compare {
		width: 100%;
	}

	.hero__copy {
		left: 20px;
		right: 20px;
		top: 24px;
		bottom: auto;
		max-width: none;
		padding: 0 48px 36px 0;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 62%, rgba(255, 255, 255, 0) 100%);
	}

	.hero__copy h1 {
		font-size: 34px;
	}

	.hero__lead {
		font-size: 15px;
	}

	.compare__knob {
		width: 42px;
		height: 42px;
	}

	.compare__label {
		bottom: 14px;
		max-width: 46%;
		font-size: 10px;
		letter-spacing: 0.05em;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.site-footer {
		padding: 28px 20px 20px;
	}

	.footer-main {
		grid-template-columns: 1fr;
		justify-items: start;
	}

	.footer-social {
		justify-self: start;
	}

	.footer-legal {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-contact {
		justify-content: flex-start;
		flex-direction: column;
		gap: 6px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (prefers-reduced-transparency: reduce) {
	.hero__copy {
		background: rgba(255, 255, 255, 0.94);
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nav-toggle .bar {
		transition: none;
	}
}
