/* ==========================================================================
   DealDive — "test report" world
   Abyss navy owns the frame, sonar yellow is reserved for grades + buy action.
   ========================================================================== */

:root {
	--abyss: #0b1e3f;
	--abyss-2: #132b56;
	--abyss-3: #22407a;
	--on-abyss: #ffffff;
	--on-abyss-2: #b8c5dd;
	--sonar: #ffce3a;
	--sonar-2: #ffdb6e;
	--sonar-ink: #0b1e3f;
	--paper: #f2f5f9;
	--white: #ffffff;
	--ink: #0b1e3f;
	--ink-2: #45546f;
	--ink-3: #6a7891;
	--line: #d8dfea;
	--line-2: #e7ecf3;
	--pos: #0c7a53;
	--neg: #b3432b;
	--mark: #d93a2b;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(11, 30, 63, 0.06), 0 8px 24px -8px rgba(11, 30, 63, 0.18);
	--shadow-lift: 0 2px 4px rgba(11, 30, 63, 0.08), 0 22px 40px -16px rgba(11, 30, 63, 0.35);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--gutter: clamp(16px, 4vw, 40px);
	--max: 1240px;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scrollbar-color: var(--abyss-3) var(--paper);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	font-variation-settings: "wdth" 100;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--sonar);
	color: var(--sonar-ink);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

svg {
	width: 1em;
	height: 1em;
	flex: none;
}

:focus-visible {
	outline: 3px solid var(--sonar);
	outline-offset: 2px;
	border-radius: 4px;
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.1;
	text-wrap: balance;
}

p {
	margin: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	background: var(--sonar);
	color: var(--sonar-ink);
	padding: 10px 14px;
	border-radius: 8px;
	font-weight: 700;
}
.skip:focus {
	top: 12px;
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ---------- Display type ---------- */

.display,
.hero__title,
.pagehead__title,
.block__title,
.method__title,
.verdict__title,
.report__title,
.brand__name {
	font-variation-settings: "wdth" 118;
	letter-spacing: -0.02em;
}

/* ---------- Buttons & chips ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 0 1.25rem;
	border-radius: 999px;
	font-weight: 750;
	font-size: 0.975rem;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s;
	white-space: nowrap;
}
.btn svg {
	width: 1.05em;
	height: 1.05em;
}
.btn--buy,
.btn--sonar {
	background: var(--sonar);
	color: var(--sonar-ink);
	box-shadow: 0 2px 0 rgba(11, 30, 63, 0.25), 0 10px 22px -10px rgba(255, 206, 58, 0.9);
}
.btn--buy:hover,
.btn--sonar:hover {
	background: var(--sonar-2);
	transform: translateY(-1px);
}
.btn--buy:active {
	transform: translateY(1px);
}
.btn--line {
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--on-abyss);
}
.btn--line:hover {
	border-color: var(--on-abyss);
	background: rgba(255, 255, 255, 0.06);
}
.btn--line-dark {
	border-color: var(--ink);
	color: var(--ink);
}
.btn--line-dark:hover {
	background: var(--ink);
	color: var(--white);
}
.btn--wide {
	width: 100%;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	min-height: 38px;
	padding: 0 0.95rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.chip:hover {
	border-color: var(--ink);
}
.chip.is-on {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}
.chip--quiet b {
	font-weight: 700;
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
}

/* ---------- Masthead ---------- */

.masthead {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--abyss);
	color: var(--on-abyss);
	border-bottom: 1px solid var(--abyss-3);
}
.masthead__row {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: 64px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	color: var(--on-abyss);
}
.brand__mark {
	width: 30px;
	height: 30px;
	color: var(--sonar);
}
.brand__name {
	font-size: 1.35rem;
	font-weight: 850;
}
.nav {
	display: flex;
	gap: 0.25rem;
	margin-left: auto;
}
.nav a {
	padding: 0.5rem 0.75rem;
	border-radius: 8px;
	text-decoration: none;
	color: var(--on-abyss-2);
	font-weight: 600;
	font-size: 0.95rem;
	transition: color 0.2s, background-color 0.2s;
}
.nav a:hover,
.nav a.is-active {
	color: var(--on-abyss);
	background: var(--abyss-2);
}
.masthead__search {
	display: flex;
	align-items: center;
	background: var(--abyss-2);
	border: 1px solid var(--abyss-3);
	border-radius: 999px;
	padding-left: 1rem;
	width: 240px;
	transition: border-color 0.2s, width 0.3s var(--ease);
}
.masthead__search:focus-within {
	border-color: var(--sonar);
	width: 300px;
}
.masthead__search input {
	flex: 1;
	min-width: 0;
	background: none;
	border: 0;
	color: var(--on-abyss);
	font: inherit;
	font-size: 0.925rem;
	height: 40px;
	outline: none;
	caret-color: var(--sonar);
}
.masthead__search input::placeholder {
	color: var(--on-abyss-2);
}
.masthead__search button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	background: none;
	color: var(--on-abyss-2);
	cursor: pointer;
}

.catbar {
	border-top: 1px solid var(--abyss-2);
	background: var(--abyss);
}
.catbar__row {
	display: flex;
	gap: 0.25rem;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
	mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.catbar__row::-webkit-scrollbar {
	display: none;
}
.catbar a {
	flex: none;
	padding: 0.7rem 0.8rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--on-abyss-2);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.catbar a:hover {
	color: var(--on-abyss);
}
.catbar a.is-active {
	color: var(--on-abyss);
	border-bottom-color: var(--sonar);
}

/* ---------- Seal (grade stamp) ---------- */

.seal {
	--size: 72px;
	--ring: 6px;
	position: relative;
	flex: none;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	display: grid;
	place-items: center;
	align-content: center;
	background: conic-gradient(from -90deg, var(--sonar) calc(var(--fill) * 1turn), rgba(255, 206, 58, 0.22) 0);
	color: var(--on-abyss);
	text-align: center;
	isolation: isolate;
}
.seal::before {
	content: "";
	position: absolute;
	inset: var(--ring);
	border-radius: 50%;
	background: var(--abyss);
	z-index: -1;
}
.seal::after {
	content: "";
	position: absolute;
	inset: calc(var(--ring) + 4px);
	border-radius: 50%;
	border: 1px dashed rgba(255, 206, 58, 0.45);
	z-index: -1;
}
.seal__num {
	font-weight: 850;
	font-size: calc(var(--size) * 0.32);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	font-variation-settings: "wdth" 110;
	letter-spacing: -0.02em;
}
.seal__label {
	margin-top: 0.25em;
	font-size: calc(var(--size) * 0.085);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sonar);
	max-width: 80%;
	line-height: 1.15;
}
.seal--sm {
	--size: 46px;
	--ring: 4px;
}
.seal--sm::after {
	inset: calc(var(--ring) + 3px);
}
.seal--sm .seal__num {
	font-size: 14px;
	letter-spacing: -0.03em;
}
.seal--sm .seal__label {
	display: none;
}
.seal--lg {
	--size: 112px;
	--ring: 8px;
}
.seal--xl {
	--size: 132px;
	--ring: 9px;
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	background: var(--abyss);
	color: var(--on-abyss);
	overflow: hidden;
	padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 104px);
}
/* sonar rings radiating from behind the lead report */
.hero::before,
.hero::after {
	content: "";
	position: absolute;
	right: clamp(-360px, calc(24% - 460px), -120px);
	top: 50%;
	width: 920px;
	height: 920px;
	margin-top: -460px;
	border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 78px, rgba(255, 206, 58, 0.07) 78px 79px);
	pointer-events: none;
}
.hero::after {
	background: radial-gradient(circle, rgba(255, 206, 58, 0.16), transparent 60%);
	transform: scale(0.2);
	opacity: 0;
	animation: ping 6s var(--ease) 0.6s infinite;
}
@keyframes ping {
	0% {
		transform: scale(0.15);
		opacity: 0.9;
	}
	70%,
	100% {
		transform: scale(1);
		opacity: 0;
	}
}
.hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.hero__grid > * {
	min-width: 0;
}
.hero__title {
	font-size: clamp(2.1rem, 5vw, 4.1rem);
	font-weight: 850;
	line-height: 1.02;
	max-width: 13ch;
}
.hero__title span {
	color: var(--sonar);
}
.hero__lede {
	margin-top: 1.25rem;
	max-width: 52ch;
	color: var(--on-abyss-2);
	font-size: clamp(1rem, 1.4vw, 1.125rem);
}
.hero__search {
	margin-top: 1.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	max-width: 520px;
	background: var(--white);
	border-radius: 999px;
	padding: 6px 6px 6px 18px;
	box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}
.hero__search > svg {
	color: var(--ink-3);
	width: 20px;
	height: 20px;
}
.hero__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	height: 44px;
	outline: none;
	background: none;
	caret-color: var(--abyss);
}
.hero__search input::placeholder {
	color: var(--ink-3);
}
.hero__search button {
	height: 44px;
	padding: 0 1.2rem;
	border: 0;
	border-radius: 999px;
	background: var(--abyss);
	color: var(--white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s;
}
.hero__search button:hover {
	background: var(--abyss-3);
}
.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-top: 1.25rem;
	font-size: 0.9rem;
	color: var(--on-abyss-2);
}
.hero__meta strong {
	color: var(--on-abyss);
	font-variant-numeric: tabular-nums;
}
.hero__meta a {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	color: var(--sonar);
	font-weight: 600;
	text-decoration: none;
}
.hero__meta a:hover {
	text-decoration: underline;
}

/* The lead report card */
.report {
	position: relative;
	background: var(--white);
	color: var(--ink);
	border-radius: 22px;
	padding: 18px;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
	max-width: 520px;
	width: 100%;
	justify-self: center;
}
.report__head {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 2px 4px 12px;
}
.report__tag {
	color: var(--mark);
}
.report__cat {
	color: var(--ink-3);
}
.report__main {
	position: relative;
}
.report__img {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: var(--paper);
	aspect-ratio: 1 / 1;
}
.report__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}
.report__img:hover img {
	transform: scale(1.03);
}
.report__seal {
	position: absolute;
	right: -10px;
	bottom: -26px;
	transform: rotate(-8deg);
	filter: drop-shadow(0 10px 16px rgba(11, 30, 63, 0.35));
}
.report__title {
	font-size: clamp(1.2rem, 1.8vw, 1.4rem);
	font-weight: 800;
	font-variation-settings: "wdth" 100;
	margin: 1.1rem 128px 0.9rem 4px;
	line-height: 1.15;
}
.report__title a {
	text-decoration: none;
}
.report__title a:hover {
	text-decoration: underline;
}
.report__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
	margin-top: 1rem;
}
.report__actions .btn--line {
	color: var(--ink);
	border-color: var(--line);
}
.report__actions .btn--line:hover {
	border-color: var(--ink);
	background: none;
}
.report--empty {
	text-align: center;
	padding: 48px 28px;
	display: grid;
	justify-items: center;
	gap: 1rem;
}
.report--empty .report__title {
	margin: 0;
}
.report--empty p {
	color: var(--ink-2);
}

/* Data sheet (dl rows) */
.sheet {
	margin: 0;
	border-top: 1px solid var(--line);
}
.sheet > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.6rem 4px;
	border-bottom: 1px solid var(--line-2);
}
.sheet dt {
	display: flex;
	align-items: center;
	gap: 0.5em;
	color: var(--ink-2);
	font-size: 0.9rem;
}
.sheet dt svg {
	color: var(--ink-3);
}
.sheet dd {
	margin: 0;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.sheet s {
	color: var(--ink-3);
	font-weight: 500;
	margin-left: 0.3em;
}

/* ---------- Blocks ---------- */

.block {
	padding: clamp(48px, 7vw, 88px) 0;
}
.block--tint {
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.block--list {
	padding-top: 28px;
}
.block__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(20px, 3vw, 32px);
}
.block__title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 850;
}
.block__more {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	font-size: 0.95rem;
}
.block__more svg {
	transition: transform 0.25s var(--ease);
}
.block__more:hover svg {
	transform: translateX(3px);
}

/* ---------- Ranked list ---------- */

.ranks {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	counter-reset: none;
}
.rank {
	display: grid;
	grid-template-columns: 44px 72px 1fr auto;
	grid-template-areas: "n img body seal";
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line-2);
	position: relative;
	transition: background-color 0.2s;
}
.rank:last-child {
	border-bottom: 0;
}
.rank:hover {
	background: #f8fafc;
}
.rank__n {
	grid-area: n;
	font-size: 1.6rem;
	font-weight: 850;
	font-variation-settings: "wdth" 80;
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
	text-align: center;
}
.rank__img {
	grid-area: img;
	border-radius: 10px;
	overflow: hidden;
	background: var(--paper);
	aspect-ratio: 1;
}
.rank__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rank__body {
	grid-area: body;
	min-width: 0;
}
.rank__body h3 {
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.3;
}
.rank__body h3 a {
	text-decoration: none;
}
.rank__body h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.rank__body h3 a:hover {
	text-decoration: underline;
}
.rank__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.9rem;
	margin-top: 0.3rem;
	font-size: 0.85rem;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}
.rank__facts > span {
	display: inline-flex;
	align-items: center;
	gap: 0.25em;
}
.rank__facts svg {
	color: #e0a100;
}
.rank__off {
	color: var(--mark);
	font-weight: 700;
}
.rank__price {
	display: none;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.rank .seal {
	grid-area: seal;
}
.rank__go {
	display: none;
	position: relative;
	z-index: 1;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	place-items: center;
	background: var(--sonar);
	color: var(--sonar-ink);
	transition: transform 0.2s var(--ease), background-color 0.2s;
}
.rank__go:hover {
	background: var(--sonar-2);
	transform: scale(1.06);
}

/* ---------- Card grid ---------- */

.grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
}
.card:hover {
	box-shadow: var(--shadow-lift);
	transform: translateY(-3px);
	border-color: transparent;
}
.card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	background: var(--paper);
	overflow: hidden;
}
.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}
.card:hover .card__media img {
	transform: scale(1.04);
}
.card__off {
	position: absolute;
	left: 10px;
	top: 10px;
	background: var(--mark);
	color: var(--white);
	font-weight: 800;
	font-size: 0.8rem;
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
	font-variant-numeric: tabular-nums;
}
.card__off--lg {
	font-size: 1rem;
	left: 16px;
	top: 16px;
}
.card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 12px 12px 12px;
	flex: 1;
}
.card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: -35px;
}
.card__top .seal {
	margin-left: auto;
	box-shadow: 0 0 0 3px var(--white);
}
.card__cat {
	align-self: end;
	margin-top: 32px;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.card__title {
	font-size: 0.975rem;
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card__title a {
	text-decoration: none;
}
.card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.75rem;
	margin: 0;
	font-size: 0.82rem;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}
.card__facts > div {
	display: flex;
	align-items: center;
	gap: 0.25em;
}
.card__facts dt {
	display: flex;
	color: var(--ink-3);
}
.card__facts > div:first-child dt {
	color: #e0a100;
}
.card__facts dd {
	margin: 0;
	font-weight: 600;
}
.card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 0.5rem;
	border-top: 1px solid var(--line-2);
}
.price {
	font-weight: 800;
	font-size: 1.05rem;
	font-variant-numeric: tabular-nums;
}
.price s {
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--ink-3);
}
.price--na {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ink-2);
}
.card__go {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--sonar);
	color: var(--sonar-ink);
	transition: transform 0.2s var(--ease), background-color 0.2s;
}
.card__go:hover {
	background: var(--sonar-2);
	transform: scale(1.08);
}

/* ---------- Categories ---------- */

.cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--line);
}
.cat {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "name count" "blurb blurb";
	gap: 0.15rem 1rem;
	padding: 1.1rem 0.25rem;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	transition: background-color 0.25s, padding 0.25s var(--ease), color 0.25s;
}
.cat__name {
	grid-area: name;
	font-size: 1.25rem;
	font-weight: 800;
	font-variation-settings: "wdth" 115;
}
.cat__blurb {
	grid-area: blurb;
	color: var(--ink-2);
	font-size: 0.925rem;
}
.cat__count {
	grid-area: count;
	align-self: center;
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
}
.cat:hover {
	background: var(--abyss);
	color: var(--on-abyss);
	padding-left: 1rem;
	padding-right: 1rem;
}
.cat:hover .cat__blurb {
	color: var(--on-abyss-2);
}
.cat:hover .cat__count {
	color: var(--sonar);
}

/* ---------- Method band ---------- */

.method {
	background: var(--abyss);
	color: var(--on-abyss);
	padding: clamp(56px, 8vw, 104px) 0;
}
.method__grid {
	display: grid;
	gap: 40px;
	align-items: center;
}
.method__title {
	font-size: clamp(1.8rem, 3.6vw, 2.8rem);
	font-weight: 850;
	max-width: 16ch;
}
.method p {
	color: var(--on-abyss-2);
	margin: 1rem 0 1.75rem;
	max-width: 52ch;
}
.weights {
	margin: 0;
}
.weights__bar {
	display: flex;
	height: 76px;
	border-radius: 12px;
	overflow: hidden;
	gap: 3px;
}
.weights__bar > span {
	flex: var(--w) 1 0;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 10px 12px;
	font-size: 0.85rem;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
}
.weights__bar b {
	font-size: 1.35rem;
	font-weight: 850;
	font-variation-settings: "wdth" 110;
}
.weights__bar > span:nth-child(1) {
	background: var(--sonar);
	color: var(--sonar-ink);
}
.weights__bar > span:nth-child(2) {
	background: #8fb0ea;
	color: var(--abyss);
}
.weights__bar > span:nth-child(3) {
	background: var(--abyss-3);
	color: var(--on-abyss);
	justify-content: center;
}
.weights figcaption {
	display: grid;
	gap: 0.5rem;
	margin-top: 1rem;
	font-size: 0.9rem;
	color: var(--on-abyss-2);
}
.weights figcaption > span {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.k {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	flex: none;
}
.k--1 {
	background: var(--sonar);
}
.k--2 {
	background: #8fb0ea;
}
.k--3 {
	background: var(--abyss-3);
	outline: 1px solid var(--on-abyss-2);
}
.weights--light {
	margin: 1.25rem 0 1.5rem;
}
.weights--light .weights__bar > span:nth-child(3) {
	background: var(--abyss);
}

/* ---------- Page head ---------- */

.pagehead {
	background: var(--abyss);
	color: var(--on-abyss);
	padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 5vw, 60px);
}
.pagehead__title {
	font-size: clamp(2rem, 4.6vw, 3.6rem);
	font-weight: 850;
	margin-top: 1rem;
	max-width: 20ch;
}
.pagehead__lede {
	margin-top: 0.9rem;
	color: var(--on-abyss-2);
	max-width: 60ch;
	font-size: 1.05rem;
}
.pagehead--error .wrap {
	display: grid;
	justify-items: start;
	gap: 0.25rem;
	padding-top: 32px;
	padding-bottom: 32px;
}
.pagehead--error .btn {
	margin-top: 1.5rem;
}

.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--on-abyss-2);
}
.crumbs a {
	text-decoration: none;
}
.crumbs a:hover {
	color: var(--on-abyss);
	text-decoration: underline;
}
.crumbs span[aria-current] {
	color: var(--on-abyss);
}
.crumbs--dark {
	color: var(--ink-3);
	margin-bottom: 1.25rem;
}
.crumbs--dark a:hover,
.crumbs--dark span[aria-current] {
	color: var(--ink);
}

/* ---------- Listing toolbar ---------- */

.toolbar {
	display: grid;
	gap: 12px;
	margin-bottom: 16px;
}
.toolbar__search {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0 1rem;
	transition: border-color 0.2s;
}
.toolbar__search:focus-within {
	border-color: var(--ink);
}
.toolbar__search svg {
	color: var(--ink-3);
}
.toolbar__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	font: inherit;
	height: 46px;
	background: none;
	color: var(--ink);
}
.toolbar__sort,
.chips {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}
.toolbar__sort::-webkit-scrollbar,
.chips::-webkit-scrollbar {
	display: none;
}
.chips {
	margin-bottom: 24px;
}
.pager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin-top: 40px;
	font-weight: 600;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}

.empty {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 0.75rem;
	padding: 64px 16px;
	background: var(--white);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
}
.empty h2 {
	font-size: 1.5rem;
	font-weight: 800;
}
.empty p {
	color: var(--ink-2);
	margin-bottom: 0.75rem;
}

/* ---------- Product dossier ---------- */

.dossier {
	padding: 24px 0 clamp(40px, 6vw, 72px);
	background: linear-gradient(var(--white), var(--paper));
	border-bottom: 1px solid var(--line);
}
.dossier__grid {
	display: grid;
	gap: 28px;
	align-items: start;
}
.dossier__grid > *,
.findings > *,
.method__grid > * {
	min-width: 0;
}
.gallery__main {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: var(--paper);
	aspect-ratio: 1;
	border: 1px solid var(--line);
}
.gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.25s;
}
.gallery__thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	overflow-x: auto;
	scrollbar-width: none;
}
.gallery__thumbs button {
	flex: none;
	width: 64px;
	height: 64px;
	padding: 0;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid transparent;
	background: var(--paper);
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s, border-color 0.2s;
}
.gallery__thumbs button:hover {
	opacity: 1;
}
.gallery__thumbs button.is-on {
	border-color: var(--abyss);
	opacity: 1;
}
.gallery__thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.verdict__top {
	display: flex;
	align-items: center;
	gap: 1.1rem;
}
.verdict__kind {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-2);
}
.verdict__kind b {
	font-size: 1.1rem;
	color: var(--ink);
}
.verdict__rank {
	display: flex;
	align-items: center;
	gap: 0.4em;
	margin-top: 0.35rem;
	font-weight: 600;
	color: var(--ink-2);
}
.verdict__rank a {
	color: var(--ink);
}
.verdict__title {
	font-size: clamp(1.6rem, 2.8vw, 2.2rem);
	font-weight: 850;
	margin-top: 1.25rem;
	line-height: 1.08;
}
.verdict__store {
	display: flex;
	align-items: center;
	gap: 0.4em;
	margin-top: 0.6rem;
	color: var(--ink-2);
	font-size: 0.925rem;
}
.buybox {
	margin: 1.5rem 0;
	padding: 18px;
	background: var(--abyss);
	color: var(--on-abyss);
	border-radius: 18px;
}
.buybox__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.3rem 0.7rem;
	margin-bottom: 14px;
}
.buybox__now {
	font-size: 2.2rem;
	font-weight: 850;
	font-variant-numeric: tabular-nums;
	font-variation-settings: "wdth" 110;
	line-height: 1;
}
.buybox__now--na {
	font-size: 1.4rem;
}
.buybox__price s {
	color: var(--on-abyss-2);
	font-size: 1.05rem;
}
.buybox__note {
	flex-basis: 100%;
	font-size: 0.82rem;
	color: var(--on-abyss-2);
}
.buybox__disc {
	margin-top: 10px;
	font-size: 0.8rem;
	color: var(--on-abyss-2);
	text-align: center;
}
.buybox__disc a {
	color: var(--on-abyss);
}
.sheet--light {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 4px 14px;
}
.sheet--light > div:last-child {
	border-bottom: 0;
}

.findings {
	display: grid;
	gap: 32px;
}
.findings__text {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	line-height: 1.6;
	margin-top: 1rem;
	max-width: 62ch;
}
.editor {
	margin-top: 1rem;
	padding: 1rem 1.1rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	font-size: 1.05rem;
	max-width: 62ch;
}
.editor::before {
	content: "Editor's note";
	display: block;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mark);
	margin-bottom: 0.35rem;
}
.findings__fine {
	margin-top: 0.9rem;
	font-size: 0.85rem;
	color: var(--ink-3);
}
.procon {
	display: grid;
	gap: 14px;
}
.procon__col {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px;
}
.procon__col h3 {
	font-size: 1rem;
	font-weight: 800;
	margin-bottom: 0.75rem;
}
.procon ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}
.procon li {
	display: flex;
	gap: 0.6rem;
	line-height: 1.45;
}
.procon li svg {
	margin-top: 0.2em;
	width: 1.1em;
	height: 1.1em;
	padding: 2px;
	border-radius: 50%;
	color: var(--white);
}
.procon__col--pro li svg {
	background: var(--pos);
}
.procon__col--con li svg {
	background: var(--neg);
}
.procon p {
	color: var(--ink-2);
}

.specs__table {
	margin: 1.25rem 0 0;
	display: grid;
	grid-template-columns: 1fr;
	border-top: 1px solid var(--line);
}
.specs__table > div {
	display: grid;
	grid-template-columns: minmax(120px, 38%) 1fr;
	gap: 1rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--line-2);
	font-size: 0.925rem;
}
.specs__table dt {
	color: var(--ink-2);
}
.specs__table dd {
	margin: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.stickybuy {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: var(--abyss);
	color: var(--on-abyss);
	box-shadow: 0 -10px 30px -10px rgba(11, 30, 63, 0.5);
	transform: translateY(110%);
	transition: transform 0.35s var(--ease);
}
.stickybuy.is-shown {
	transform: none;
}
.stickybuy__info {
	flex: 1;
	min-width: 0;
	display: grid;
}
.stickybuy__name {
	font-size: 0.8rem;
	color: var(--on-abyss-2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.stickybuy__price {
	font-weight: 850;
	font-size: 1.1rem;
	font-variant-numeric: tabular-nums;
}

/* ---------- Prose pages ---------- */

.prose {
	max-width: 760px;
	font-size: 1.05rem;
}
.prose p,
.prose ul {
	margin: 0 0 1.1rem;
	color: var(--ink-2);
}
.prose h2 {
	font-size: 1.45rem;
	font-weight: 800;
	margin: 2.4rem 0 0.8rem;
	font-variation-settings: "wdth" 112;
}
.prose h2:first-child {
	margin-top: 0;
}
.prose li {
	margin-bottom: 0.6rem;
}
.prose strong {
	color: var(--ink);
}
.prose a:not(.btn) {
	color: var(--ink);
	font-weight: 600;
	text-decoration-color: var(--sonar);
	text-decoration-thickness: 2px;
}
.prose code {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 5px;
	padding: 0.05em 0.35em;
	font-size: 0.9em;
}
.legend {
	margin: 0;
	display: grid;
	gap: 0.85rem;
}
.legend > div {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.legend dd {
	margin: 0;
	color: var(--ink-2);
}
.contact-mail {
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 800;
}

/* ---------- Footer ---------- */

.footer {
	background: var(--abyss);
	color: var(--on-abyss-2);
	padding: 56px 0 calc(28px + 64px);
	font-size: 0.925rem;
}
.footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px 24px;
}
.footer__brand {
	grid-column: 1 / -1;
}
.footer__brand p {
	margin-top: 0.75rem;
	max-width: 42ch;
}
.footer__col {
	display: grid;
	align-content: start;
	gap: 0.55rem;
}
.footer__col h2 {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--on-abyss);
	margin-bottom: 0.25rem;
}
.footer__col a {
	text-decoration: none;
}
.footer__col a:hover {
	color: var(--on-abyss);
	text-decoration: underline;
}
.footer__legal {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--abyss-3);
	display: grid;
	gap: 0.75rem;
	font-size: 0.82rem;
	line-height: 1.6;
}
.footer__legal strong {
	color: var(--on-abyss);
}

/* ---------- Motion: one entrance, content visible by default ---------- */

@media (prefers-reduced-motion: no-preference) {
	.report {
		animation: surface 0.9s var(--ease) both;
	}
	.report__seal {
		animation: stamp 0.7s var(--ease) 0.45s both;
	}
}
@keyframes surface {
	from {
		transform: translateY(24px);
		opacity: 0.001;
	}
}
@keyframes stamp {
	from {
		transform: rotate(-30deg) scale(1.5);
		opacity: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Breakpoints ---------- */

@media (max-width: 719px) {
	.nav__hide-sm {
		display: none;
	}
	.masthead__row {
		gap: 0.75rem;
		height: 58px;
	}
	.masthead__search {
		display: none;
	}
	.nav a {
		padding: 0.45rem 0.55rem;
		font-size: 0.9rem;
	}
	.brand__name {
		font-size: 1.2rem;
	}
	.report__title {
		margin-right: 104px;
	}
	.report .seal--lg {
		--size: 96px;
	}
	.rank {
		grid-template-columns: 28px 60px 1fr auto;
		padding: 12px;
		gap: 0.6rem 0.75rem;
	}
	.rank__n {
		font-size: 1.25rem;
	}
}

@media (min-width: 720px) {
	.grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px;
	}
	.card__body {
		padding: 14px 16px 16px;
	}
	.card__title {
		font-size: 1.02rem;
	}
	.cats {
		grid-template-columns: 1fr 1fr;
		column-gap: 32px;
	}
	.toolbar {
		grid-template-columns: minmax(240px, 360px) 1fr;
		align-items: center;
	}
	.toolbar__sort {
		justify-content: end;
	}
	.procon {
		grid-template-columns: 1fr 1fr;
	}
	.specs__table {
		grid-template-columns: 1fr 1fr;
		column-gap: 40px;
	}
	.footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
	.footer__brand {
		grid-column: auto;
	}
	.footer {
		padding-bottom: 28px;
	}
	.rank {
		grid-template-columns: 52px 88px 1fr auto auto auto;
		grid-template-areas: "n img body price seal go";
		padding: 14px 20px;
		gap: 1.25rem;
	}
	.rank__price,
	.rank__go {
		display: grid;
	}
}

@media (min-width: 960px) {
	.hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
	}
	.report {
		justify-self: end;
	}
	.grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.cats {
		grid-template-columns: 1fr 1fr 1fr;
	}
	.method__grid {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}
	.dossier__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 56px;
	}
	.gallery {
		position: sticky;
		top: 132px;
	}
	.findings {
		grid-template-columns: 1.1fr 1fr;
		gap: 56px;
		align-items: start;
	}
	.procon {
		grid-template-columns: 1fr;
	}
	.stickybuy {
		display: none;
	}
}
