/* Emerald Chat Alternatives — mobile-first styles */

:root {
	--ink: #172033;
	--ink-soft: #4a5468;
	--paper: #f4f6f9;
	--surface: #ffffff;
	--line: #d5dbe5;
	--cobalt: #2348c9;
	--cobalt-deep: #1a3699;
	--cobalt-wash: #e8edfb;
	--jade: #157a5a;
	--jade-wash: #e3f2ec;
	--rust: #b4451f;
	--rust-wash: #f8e9e3;
	--bubble-them: #e6eaf2;

	--font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Familjen Grotesk", "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;

	--measure: 42rem;
	--wide: 72rem;
	--gutter: 1.125rem;
	--radius: 0.75rem;
	--focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--cobalt);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 1rem;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--cobalt);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--cobalt-deep);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: none;
	box-shadow: var(--focus);
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2rem, 1.35rem + 3.2vw, 3.25rem);
	font-weight: 700;
	letter-spacing: -0.025em;
}

h2 {
	font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem);
	font-weight: 700;
	margin-top: 0;
}

h3 {
	font-size: 1.25rem;
	font-weight: 700;
}

h4 {
	font-size: 1rem;
	font-weight: 700;
}

p,
ul,
ol,
dl {
	margin: 0 0 1em;
}

.visually-hidden {
	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 {
	position: absolute;
	left: 0.75rem;
	top: -3rem;
	z-index: 10;
	padding: 0.5rem 0.875rem;
	background: var(--ink);
	color: #fff;
	border-radius: 0.5rem;
}

.skip-link:focus {
	top: 0.75rem;
}

/* ---------- Layout ---------- */

.wrap {
	width: 100%;
	max-width: calc(var(--wide) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap-wide {
	width: 100%;
	max-width: calc(var(--wide) + var(--gutter) * 2);
	margin-inline: auto;
}

.wrap-inner {
	padding-inline: var(--gutter);
}

.section {
	padding-block: 2.5rem 0;
}

.section-intro {
	color: var(--ink-soft);
	max-width: var(--measure);
}

.section-more {
	margin-top: 1.25rem;
	font-weight: 700;
}

/* ---------- Header ---------- */

.site-header {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding-block: 0.75rem 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--ink);
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	letter-spacing: -0.01em;
	align-self: flex-start;
}

.brand:hover {
	color: var(--ink);
}

.logo-mark {
	flex: none;
}

.primary-nav {
	margin-inline: calc(var(--gutter) * -1);
	overflow-x: auto;
	scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
	display: none;
}

.primary-nav ul {
	display: flex;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0.25rem var(--gutter) 0;
	white-space: nowrap;
}

.primary-nav a {
	display: block;
	padding: 0.625rem 0.625rem 0.75rem;
	color: var(--ink-soft);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9375rem;
	border-bottom: 3px solid transparent;
}

.primary-nav a:hover {
	color: var(--ink);
}

.primary-nav a[aria-current="page"] {
	color: var(--ink);
	border-bottom-color: var(--cobalt);
}

/* ---------- Hero ---------- */

.hero {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	padding-block: 2rem 2.5rem;
}

.hero-grid {
	display: grid;
	gap: 2rem;
}

.hero-copy h1 {
	max-width: 18ch;
}

.lede {
	font-size: 1.1875rem;
	line-height: 1.55;
	max-width: var(--measure);
}

.byline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	color: var(--ink-soft);
	font-size: 0.9375rem;
	margin: 0;
}

/* The chat-window picker: the one bold element on the page */

.matcher {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 1.25rem;
	overflow: hidden;
	align-self: start;
}

.matcher-bar {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.75rem 1rem;
	background: var(--ink);
	color: #fff;
}

.matcher-title {
	font-size: 1rem;
	margin: 0;
	letter-spacing: 0;
}

.status-dot {
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 50%;
	background: #3ccf91;
	box-shadow: 0 0 0 3px rgba(60, 207, 145, 0.25);
}

.matcher-body {
	padding: 1rem;
}

.bubble {
	display: block;
	max-width: 85%;
	padding: 0.625rem 0.875rem;
	border-radius: 1.125rem;
	font-size: 1rem;
	line-height: 1.4;
}

.bubble-slot {
	position: relative;
	margin-bottom: 0.875rem;
}

.bubble-them {
	margin: 0;
	background: var(--bubble-them);
	color: var(--ink);
	border-bottom-left-radius: 0.25rem;
	width: fit-content;
}

.replies {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.5rem;
}

.replies li {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

.bubble-you {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	width: fit-content;
	max-width: 100%;
	background: var(--cobalt);
	color: #fff;
	text-decoration: none;
	border-bottom-right-radius: 0.25rem;
}

.bubble-you:hover {
	background: var(--cobalt-deep);
	color: #fff;
	text-decoration: none;
}

.reply-need {
	font-weight: 700;
}

.reply-pick {
	font-size: 0.875rem;
	opacity: 0.88;
	white-space: nowrap;
}

.reply-pick::before {
	content: "";
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	margin-right: 0.4em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translateY(-0.1em) rotate(45deg);
}

.typing {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	gap: 0.25rem;
	padding: 0.875rem 1rem;
	background: var(--bubble-them);
	border-radius: 1.125rem 1.125rem 1.125rem 0.25rem;
}

.typing span {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--ink-soft);
}

@media (prefers-reduced-motion: no-preference) {
	.typing {
		display: inline-flex;
		animation: typing-out 0.2s ease 1.1s forwards;
	}

	.typing span {
		animation: typing-dot 0.9s ease-in-out infinite;
	}

	.typing span:nth-child(2) {
		animation-delay: 0.15s;
	}

	.typing span:nth-child(3) {
		animation-delay: 0.3s;
	}

	.bubble-them {
		animation: bubble-in 0.3s ease 1.15s both;
	}

	.replies li {
		animation: bubble-in 0.3s ease both;
		animation-delay: calc(1.45s + var(--i, 0) * 0.08s);
	}
}

@keyframes typing-dot {
	0%,
	80%,
	100% {
		opacity: 0.35;
		transform: translateY(0);
	}
	40% {
		opacity: 1;
		transform: translateY(-2px);
	}
}

@keyframes typing-out {
	to {
		opacity: 0;
		visibility: hidden;
	}
}

@keyframes bubble-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Short list ---------- */

.shortlist-list {
	list-style: none;
	counter-reset: pick;
	margin: 0;
	padding: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.shortlist-list li {
	counter-increment: pick;
	display: grid;
	grid-template-columns: 2rem 1fr;
	column-gap: 0.75rem;
	padding: 0.875rem 1rem;
	border-top: 1px solid var(--line);
}

.shortlist-list li:first-child {
	border-top: 0;
}

.shortlist-list li::before {
	content: counter(pick);
	grid-row: span 2;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.375rem;
	line-height: 1.2;
	color: var(--cobalt);
}

.shortlist-list a {
	font-weight: 700;
	font-size: 1.0625rem;
}

.shortlist-list span {
	color: var(--ink-soft);
	font-size: 0.9375rem;
}

/* ---------- Comparison table ---------- */

.table-scroll {
	overflow-x: auto;
	margin-top: 1rem;
	background: var(--surface);
	border-block: 1px solid var(--line);
}

.table-scroll:focus-visible {
	box-shadow: inset 0 0 0 3px var(--cobalt);
}

.compare {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	min-width: 60rem;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.compare td:nth-child(2) {
	min-width: 11rem;
}

.compare td:nth-child(3),
.compare td:nth-child(4) {
	min-width: 6.5rem;
}

.compare td:last-child {
	min-width: 7.5rem;
}

.table-note {
	padding: 0.75rem var(--gutter) 0;
	color: var(--ink-soft);
	font-size: 0.875rem;
	max-width: var(--measure);
}

.compare th,
.compare td {
	text-align: left;
	vertical-align: top;
	padding: 0.75rem 0.875rem;
	border-bottom: 1px solid var(--line);
}

.compare thead th {
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 700;
	background: var(--ink);
	color: #fff;
	white-space: nowrap;
}

.compare tbody th {
	position: sticky;
	left: 0;
	z-index: 1;
	background: var(--surface);
	font-weight: 700;
	min-width: 8.5rem;
	box-shadow: 1px 0 0 var(--line);
}

.compare thead th:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
}

.compare tr.baseline th,
.compare tr.baseline td {
	background: var(--cobalt-wash);
}

.flag {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 700;
}

.flag::before {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
}

.flag-yes {
	color: var(--jade);
}

.flag-yes::before {
	background: var(--jade);
}

.flag-no {
	color: var(--ink-soft);
}

.flag-no::before {
	border: 2px solid var(--ink-soft);
	width: 0.45rem;
	height: 0.45rem;
}

/* ---------- Alternatives list ---------- */

.alt-list {
	display: grid;
	gap: 1.25rem;
}

.alt {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.25rem var(--gutter) 1.25rem;
	scroll-margin-top: 1rem;
}

.alt:target {
	border-color: var(--cobalt);
	box-shadow: 0 0 0 2px var(--cobalt);
}

.alt-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.875rem;
	align-items: start;
	margin-bottom: 0.75rem;
}

.alt-rank {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2.25rem;
	line-height: 1;
	color: var(--cobalt);
	min-width: 2.25rem;
}

.alt h3 {
	font-size: 1.5rem;
	margin: 0;
}

.alt h3 a {
	color: var(--ink);
	text-decoration: none;
}

.alt h3 a:hover {
	color: var(--cobalt);
	text-decoration: underline;
}

.alt-best {
	margin: 0.25rem 0 0;
	color: var(--jade);
	font-weight: 700;
}

.alt-verdict {
	max-width: var(--measure);
}

.alt-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin: 1rem 0 0;
}

/* ---------- Facts ---------- */

.facts {
	display: grid;
	gap: 0;
	margin: 0 0 1rem;
	border-top: 1px solid var(--line);
}

.fact {
	display: grid;
	grid-template-columns: minmax(7.5rem, 38%) 1fr;
	gap: 0.75rem;
	padding: 0.625rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.fact dt {
	color: var(--ink-soft);
}

.fact dd {
	margin: 0;
	font-weight: 700;
}

.fact-long dd {
	font-weight: 400;
}

.facts-compact {
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	border: 0;
	gap: 0.5rem;
}

.facts-compact .fact {
	display: block;
	padding: 0.5rem 0.75rem;
	border: 0;
	border-radius: 0.5rem;
	background: var(--paper);
}

.facts-compact dt {
	font-size: 0.8125rem;
}

/* ---------- Pros and cons ---------- */

.pros-cons {
	display: grid;
	gap: 0.75rem;
	margin-block: 1rem;
}

.pc {
	border-radius: 0.5rem;
	padding: 0.875rem 1rem 0.25rem;
}

.pc-pros {
	background: var(--jade-wash);
}

.pc-cons {
	background: var(--rust-wash);
}

.pc-title {
	font-size: 1rem;
	margin-bottom: 0.5rem;
}

.pc-pros .pc-title {
	color: var(--jade);
}

.pc-cons .pc-title {
	color: var(--rust);
}

.pc ul {
	list-style: none;
	padding: 0;
	margin: 0 0 0.75rem;
}

.pc li {
	position: relative;
	padding-left: 1.4rem;
	margin-bottom: 0.375rem;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.pc-pros li::before,
.pc-cons li::before {
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
}

.pc-pros li::before {
	content: "+";
	color: var(--jade);
}

.pc-cons li::before {
	content: "\2212";
	color: var(--rust);
}

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

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.5rem 1.125rem;
	border-radius: 999px;
	background: var(--cobalt);
	color: #fff;
	font-weight: 700;
	font-size: 0.9375rem;
	text-decoration: none;
	border: 2px solid var(--cobalt);
}

.button:hover {
	background: var(--cobalt-deep);
	border-color: var(--cobalt-deep);
	color: #fff;
	text-decoration: none;
}

.button-quiet {
	background: transparent;
	color: var(--cobalt);
}

.button-quiet:hover {
	background: var(--cobalt-wash);
	color: var(--cobalt-deep);
}

/* ---------- Long-form text ---------- */

.prose {
	max-width: var(--measure);
}

.prose h2 {
	margin-top: 2.25rem;
}

.prose > :first-child,
.prose > div > :first-child {
	margin-top: 0;
}

.prose h3 {
	margin-top: 1.75rem;
}

.prose ul,
.prose ol {
	padding-left: 1.35rem;
}

.prose li {
	margin-bottom: 0.5rem;
	padding-left: 0.15rem;
}

.prose li::marker {
	color: var(--cobalt);
	font-weight: 700;
}

.prose blockquote {
	margin: 1.5rem 0;
	padding: 0.25rem 0 0.25rem 1rem;
	border-left: 4px solid var(--cobalt);
	color: var(--ink-soft);
}

/* ---------- Entry pages ---------- */

.entry {
	padding-block: 1rem 0;
}

.entry-head {
	padding-block: 0.5rem 1.5rem;
}

.entry-head h1 {
	max-width: 22ch;
}

.entry-narrow {
	max-width: calc(var(--measure) + var(--gutter) * 2 + 4rem);
}

.entry-grid {
	display: grid;
	gap: 0 2rem;
	grid-template-areas:
		"head"
		"facts"
		"main";
}

.entry-grid > * {
	min-width: 0;
}

.entry-grid > .entry-head {
	grid-area: head;
}

.entry-grid > .facts-card {
	grid-area: facts;
	margin-bottom: 2rem;
}

.entry-grid > .entry-main {
	grid-area: main;
}

.facts-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.25rem var(--gutter);
	align-self: start;
}

.facts-card h2 {
	font-size: 1.25rem;
}

.facts-logo {
	max-width: 8rem;
	margin-bottom: 0.75rem;
}

.facts-cta {
	margin: 1rem 0 0.5rem;
}

.facts-cta .button {
	width: 100%;
}

.facts-note {
	font-size: 0.8125rem;
	color: var(--ink-soft);
	margin: 0;
}

.entry-main > section + section,
.entry-main > section + .prose,
.entry-main > .prose + .faq {
	margin-top: 2.25rem;
}

.entry-main > section > p {
	max-width: var(--measure);
}

/* "{Name} vs Emerald Chat" table */

.table-scroll.vs-scroll {
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.vs-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.vs-table th,
.vs-table td {
	text-align: left;
	vertical-align: top;
	padding: 0.7rem 0.875rem;
	border-bottom: 1px solid var(--line);
}

.vs-table thead th {
	background: var(--ink);
	color: #fff;
	font-family: var(--font-display);
	font-size: 0.875rem;
}

.vs-table tbody th {
	width: 30%;
	color: var(--ink-soft);
	font-weight: 400;
}

.vs-table td:nth-child(2) {
	font-weight: 700;
}

.vs-table td:last-child {
	background: var(--cobalt-wash);
}

.vs-table tbody tr:last-child > * {
	border-bottom: 0;
}

.entry-figure {
	margin: 0 0 1.5rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
	color: var(--ink-soft);
}

.breadcrumbs li + li::before {
	content: "/";
	margin-inline: 0.5rem;
	color: var(--line);
}

/* ---------- FAQ ---------- */

.faq {
	padding-top: 0.5rem;
}

.faq-list {
	border-top: 1px solid var(--line);
	max-width: var(--measure);
}

.faq details {
	border-bottom: 1px solid var(--line);
}

.faq summary {
	cursor: pointer;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	align-items: center;
	padding: 1rem 0;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	border-right: 2px solid var(--cobalt);
	border-bottom: 2px solid var(--cobalt);
	transform: rotate(45deg) translateY(-0.2rem);
	transition: transform 0.15s ease;
}

.faq details[open] summary::after {
	transform: rotate(-135deg) translateY(-0.1rem);
}

.faq summary h3 {
	font-size: 1.0625rem;
	margin: 0;
	font-family: var(--font-body);
	letter-spacing: 0;
	line-height: 1.4;
}

.faq details p {
	margin: 0 0 1.125rem;
	max-width: 38rem;
}

/* ---------- Cards ---------- */

.card-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem 1.125rem;
}

.card:hover {
	border-color: var(--cobalt);
}

.card-link {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--ink);
	text-decoration: none;
}

.card-link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.card:hover .card-link {
	color: var(--cobalt);
}

.card-note {
	margin: 0.25rem 0 0;
	color: var(--jade);
	font-weight: 700;
	font-size: 0.9375rem;
}

.card-text {
	margin: 0.375rem 0 0;
	color: var(--ink-soft);
	font-size: 0.9375rem;
}

/* ---------- Misc ---------- */

.empty {
	padding-bottom: 2rem;
}

.not-found {
	padding-bottom: 3rem;
}

.not-found-links {
	padding-left: 1.25rem;
}

/* ---------- Footer ---------- */

.site-footer {
	margin-top: 4rem;
	background: var(--ink);
	color: #d9deea;
	font-size: 0.9375rem;
}

.site-footer a {
	color: #fff;
}

.footer-inner {
	display: grid;
	gap: 2rem;
	padding-block: 2.5rem 1.5rem;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	color: #fff;
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
}

.footer-brand .logo-mark path:nth-child(2) {
	stroke: var(--ink);
}

.footer-brand .logo-mark path:nth-child(3) {
	fill: var(--ink);
}

.footer-about p {
	max-width: 30rem;
}

.footer-note {
	color: #aeb6c8;
	font-size: 0.875rem;
}

.footer-note strong {
	color: #fff;
}

.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.625rem 1.5rem;
}

.footer-nav a {
	text-decoration: none;
}

.footer-nav a:hover {
	text-decoration: underline;
}

.footer-base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-block: 1.25rem 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	color: #aeb6c8;
	font-size: 0.875rem;
}

.footer-base p {
	margin: 0;
}

/* ---------- Larger screens ---------- */

@media (min-width: 40rem) {
	:root {
		--gutter: 1.5rem;
	}

	.pros-cons {
		grid-template-columns: 1fr 1fr;
	}

	.card-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.table-scroll {
		border: 1px solid var(--line);
		border-radius: var(--radius);
		margin-inline: var(--gutter);
	}

	.alt {
		padding: 1.5rem 1.75rem;
	}
}

@media (min-width: 60rem) {
	body {
		font-size: 1.125rem;
	}

	.header-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-block: 0;
	}

	.brand {
		align-self: center;
		padding-block: 1rem;
	}

	.primary-nav {
		margin: 0;
	}

	.primary-nav ul {
		padding: 0;
	}

	.primary-nav a {
		padding: 1.5rem 0.75rem 1.3rem;
	}

	.hero {
		padding-block: 3.5rem 4rem;
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 3.5rem;
		align-items: center;
	}

	.section {
		padding-top: 3.5rem;
	}

	.entry-grid {
		grid-template-columns: minmax(0, 1fr) 20rem;
		grid-template-rows: auto 1fr;
		grid-template-areas:
			"head facts"
			"main facts";
		column-gap: 3.5rem;
	}

	.entry-grid > .facts-card {
		position: sticky;
		top: 1.5rem;
		margin-top: 0.5rem;
		margin-bottom: 0;
	}

	.shortlist-list {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.shortlist-list li {
		border-top: 0;
		border-left: 1px solid var(--line);
		grid-template-columns: 1fr;
		padding: 1rem 1.125rem 1.125rem;
	}

	.shortlist-list li:first-child {
		border-left: 0;
	}

	.shortlist-list li::before {
		grid-row: auto;
		margin-bottom: 0.25rem;
	}

	.scroll-hint {
		display: none;
	}

	.table-note {
		padding-inline: 0;
		margin-inline: var(--gutter);
	}

	.card-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer-inner {
		grid-template-columns: 1.2fr 1fr;
	}

	.compare {
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
