/*
 * IPTV Nordic · Fredagsmys
 * Raspberry field, licorice ink, banana for the free test, plans picked like a bag of sweets.
 * Tokens and rules: DESIGN.md.
 */

@font-face {
	font-family: "Familjen Grotesk";
	src: url("../fonts/familjen-grotesk.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* Metric-matched fallback so the swap does not move the layout. */
@font-face {
	font-family: "Familjen Fallback";
	src: local("Arial"), local("Helvetica"), local("Liberation Sans"), local("Roboto");
	size-adjust: 87%;
	ascent-override: 118%;
	descent-override: 26%;
	line-gap-override: 0%;
}

:root {
	--raspberry: #c8195a;
	--raspberry-deep: #a3104a;
	--licorice: #241417;
	--banana: #ffc93c;
	--apple: #48b257;
	--sky: #3a8dde;
	--orange: #ff8a3d;
	--sugar: #fff7fa;
	--white: #fff;
	--ink-soft: #5a3a40;
	--blush: #ffe9f1;
	--licorice-muted: #d9c7cc;

	--font: "Familjen Grotesk", "Familjen Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: clamp(44px, 5.4vw, 80px);
	--heading: clamp(30px, 3.4vw, 46px);
	--wrap: 1240px;
	--gutter: 32px;
	--section: clamp(56px, 8vw, 96px);
	--frame: 3px solid var(--licorice);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 18px;
	line-height: 1.6;
	color: var(--licorice);
	background: var(--sugar);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-kerning: normal;
}

::selection { background: var(--banana); color: var(--licorice); }

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

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }

h1,
h2,
h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }

p { margin: 0; }
p,
li { text-wrap: pretty; }

button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--licorice); outline-offset: 3px; }
.hero :focus-visible,
.phead :focus-visible,
.wall :focus-visible,
.close :focus-visible,
.included :focus-visible,
.devices :focus-visible,
.app :focus-visible,
.foot :focus-visible,
.hint :focus-visible { outline-color: var(--white); }
.wall .bin :focus-visible,
.code :focus-visible,
.dev:focus-visible { outline-color: var(--licorice); }

.main:focus { outline: none; }

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

.sr {
	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 {
	position: absolute;
	left: 16px;
	top: -80px;
	z-index: 100;
	background: var(--licorice);
	color: var(--white);
	padding: 12px 18px;
	border-radius: 12px;
	font-weight: 700;
	text-decoration: none;
}
.skip:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn .icon { width: 22px; height: 22px; }

.btn-licorice { background: var(--licorice); color: var(--white); }
.btn-licorice:hover { background: #3b2328; }

.btn-test {
	background: var(--banana);
	color: var(--licorice);
	padding: 16px 26px;
	font-size: 18px;
	box-shadow: 0 10px 24px rgba(36, 20, 23, 0.28);
}
.btn-test:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(36, 20, 23, 0.3); }
.btn-test:active { transform: translateY(0); }

.btn-big { padding: 20px 30px; font-size: 20px; }
.btn-big .icon { width: 26px; height: 26px; }

.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-line:hover { background: rgba(36, 20, 23, 0.08); }

.link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--raspberry);
	text-decoration-thickness: 3px;
	text-underline-offset: 6px;
}
.link .icon { width: 20px; height: 20px; transition: transform 160ms var(--ease); }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Language hint ---------- */

.hint { background: var(--licorice); color: var(--white); font-size: 15px; }
.hint[hidden] { display: none; }
.hint-row { display: flex; align-items: center; gap: 16px; min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
.hint-text { margin-right: auto; }
.hint a { font-weight: 700; color: var(--white); }
.hint button {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--white);
	cursor: pointer;
}
.hint button:hover { background: rgba(255, 255, 255, 0.12); }
.hint .flag { width: 22px; height: 15px; border-radius: 2px; }

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

.top { position: relative; z-index: 20; background: var(--sugar); border-bottom: var(--frame); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.025em;
	text-decoration: none;
	white-space: nowrap;
}
.brand-mark { width: 34px; height: 34px; flex: none; }
.custom-logo-link img { max-height: 44px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; }
.nav-list { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-list a {
	display: block;
	padding: 6px 0;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	text-underline-offset: 8px;
}
.nav-list a:hover,
.nav-list a[aria-current="page"],
.nav-list .current-menu-item > a {
	text-decoration: underline;
	text-decoration-thickness: 3px;
	text-decoration-color: var(--raspberry);
}
.nav-help { display: none; }

.switch { position: relative; }
.switch summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 6px 12px 6px 12px;
	border: 2px solid var(--licorice);
	border-radius: 999px;
	background: var(--white);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	list-style: none;
	cursor: pointer;
	user-select: none;
}
.switch summary::-webkit-details-marker { display: none; }
.switch summary:hover { background: var(--blush); }
.switch .flag { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(36, 20, 23, 0.15); }
.switch-caret { width: 16px; height: 16px; transition: transform 160ms var(--ease); }
.switch[open] .switch-caret { transform: rotate(180deg); }
.switch-list {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--white);
	border: var(--frame);
	border-bottom-width: 8px;
	border-radius: 14px;
}
.switch-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
}
.switch-list a:hover { background: var(--blush); }
.switch-list a[aria-current] { background: var(--banana); font-weight: 700; }

.top-help { flex: none; }

.nav-toggle {
	display: none;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid var(--licorice);
	border-radius: 999px;
	background: var(--white);
	cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

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

.hero { background: var(--raspberry); color: var(--white); padding: 52px 0 44px; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.hero-title { font-size: var(--display); line-height: 0.96; letter-spacing: -0.035em; max-width: 15ch; }
.hero-title span { display: block; margin-top: 0.12em; color: var(--banana); }
.hero-lead { max-width: 36ch; margin-bottom: 26px; font-size: 20px; line-height: 1.5; color: var(--blush); }
.hero-note { margin-top: 14px; font-size: 15px; color: var(--blush); }

/* ---------- The pick-and-mix wall ---------- */

.wall { position: relative; background: var(--raspberry-deep); border-top: 6px solid var(--licorice); padding-top: 28px; color: var(--white); }
.wall .defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.shelf-form { margin: 0 auto; }

.wall-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 30px; }
.wall-title { font-size: 28px; letter-spacing: -0.025em; }

.scoops { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0 auto; padding: 0; border: 0; min-width: 0; }
.scoop { position: relative; display: inline-flex; cursor: pointer; }
.scoop input,
.bin input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.scoop span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 18px;
	border: 2px solid var(--white);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	transition: background-color 140ms var(--ease), color 140ms var(--ease);
}
.scoop:hover span { background: rgba(255, 255, 255, 0.14); }
.scoop input:checked + span { background: var(--white); color: var(--licorice); }
.scoop input:focus-visible + span { outline: 3px solid var(--banana); outline-offset: 3px; }

.shelf { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 18px; align-items: end; }
.bins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: end; margin: 0; padding: 0; border: 0; min-width: 0; }

.bin {
	position: relative;
	display: block;
	height: 280px;
	overflow: hidden;
	container-type: inline-size;
	color: var(--licorice);
	background: rgba(255, 255, 255, 0.9);
	border: var(--frame);
	border-bottom-width: 8px;
	border-radius: 18px 18px 6px 6px;
	cursor: pointer;
	transition: transform 160ms var(--ease);
}
.bin:hover { transform: translateY(-3px); }
.bin:has(input:checked) { outline: 5px solid var(--banana); outline-offset: 3px; }
.bin:has(input:focus-visible) { outline: 5px solid var(--white); outline-offset: 3px; }
.bin:has(input:checked:focus-visible) { outline-color: var(--banana); box-shadow: 0 0 0 11px var(--white); }

.tag {
	position: relative;
	z-index: 1;
	display: block;
	margin: 10px;
	padding: 10px 12px 12px;
	background: var(--white);
	border: 2px solid var(--licorice);
	border-radius: 8px;
	line-height: 1.25;
	transition: background-color 140ms var(--ease);
}
.bin input:checked ~ .tag { background: var(--banana); }
.tag > span { display: block; }
.tag-len { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.tag-price { margin-top: 6px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tag-price .approx,
.bag-sum .approx { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 2px; color: var(--ink-soft); }
.tag-price .amt { font-size: clamp(22px, 14.5cqi, 34px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tag-eur,
.tag-per { margin-top: 5px; font-size: 14px; color: var(--ink-soft); }
.bin input:checked ~ .tag .approx,
.bin input:checked ~ .tag .tag-eur,
.bin input:checked ~ .tag .tag-per { color: var(--licorice); }

.candy { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: var(--fill, 60%); }
@media (prefers-reduced-motion: no-preference) {
	.candy {
		clip-path: inset(100% 0 0 0);
		animation: nd-fill 900ms var(--ease) forwards;
		animation-delay: calc(var(--i, 0) * 110ms + 250ms);
	}
	@keyframes nd-fill {
		to { clip-path: inset(0 0 0 0); }
	}
}

.bag {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 300px;
	margin-top: 22px;
	padding: 22px 22px 20px;
	container-type: inline-size;
	color: var(--licorice);
	background: var(--white);
	border: var(--frame);
	border-radius: 6px 6px 18px 18px;
}
.bag::before {
	content: "";
	position: absolute;
	left: -3px;
	right: -3px;
	top: -19px;
	height: 19px;
	background: repeating-linear-gradient(90deg, var(--raspberry) 0 18px, var(--white) 18px 36px);
	border: var(--frame);
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
}
.bag-title { font-size: 18px; font-weight: 700; }
.bag-sum { margin-top: 8px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.bag-sum .amt { font-size: clamp(32px, 17cqi, 48px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bag-sub { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.bag-rate { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.btn-order {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	margin-top: auto;
	padding: 14px;
	border-radius: 12px;
	background: var(--licorice);
	color: var(--white);
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 140ms var(--ease);
}
.btn-order:hover { background: #3b2328; }
.btn-order .icon { width: 20px; height: 20px; transition: transform 160ms var(--ease); }
.btn-order:hover .icon { transform: translateX(3px); }
.bag-live { margin-bottom: 18px; }

.shelf-edge { height: 22px; margin-top: 0; background: var(--licorice); }

/* On the prices page the wall follows a page head instead of the hero. */
.pk-prices .wall { border-top: 0; }

/* ---------- Woven blanket band ---------- */

.blanket {
	height: 56px;
	background:
		repeating-linear-gradient(90deg, rgba(58, 141, 222, 0.9) 0 40px, transparent 40px 80px),
		repeating-linear-gradient(0deg, rgba(255, 201, 60, 0.75) 0 14px, transparent 14px 28px),
		var(--apple);
	border-bottom: var(--frame);
}

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

.section { padding: var(--section) 0; }
.section h2 { font-size: var(--heading); }

.define-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.define-text { max-width: 58ch; font-size: 21px; line-height: 1.6; }

.included { background: var(--raspberry); color: var(--white); }
.incl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.incl-copy p { max-width: 40ch; margin-top: 18px; font-size: 19px; color: var(--blush); }
.incl-copy .incl-figures { display: grid; gap: 18px; margin-top: 40px; color: var(--white); }
.fig { display: block; font-size: 19px; font-weight: 600; line-height: 1.2; }
.fig-n { display: block; margin-bottom: 6px; font-size: clamp(44px, 5vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }

.label {
	margin: 0;
	padding: 6px 24px;
	list-style: none;
	color: var(--licorice);
	background: var(--white);
	border: var(--frame);
	border-top-width: 14px;
	border-radius: 8px;
}
.label li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--licorice); font-size: 17px; line-height: 1.45; }
.label li:nth-child(4) { border-top-width: 3px; }
.label li:first-child { border-top: 0; }
.label-icon { width: 28px; height: 28px; margin-top: 1px; color: var(--raspberry); }
.label-text strong { display: block; font-size: 18px; }

.app { background: var(--licorice); color: var(--white); }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.app-lead { max-width: 46ch; margin-top: 18px; font-size: 19px; }
.app-alt { max-width: 52ch; margin-top: 14px; font-size: 17px; color: var(--licorice-muted); }
.app-copy .link { margin-top: 22px; text-decoration-color: var(--banana); }
.app-note { max-width: 52ch; margin-top: 22px; font-size: 14px; color: var(--licorice-muted); }

.code {
	position: relative;
	padding: 28px 30px 30px;
	color: var(--licorice);
	background: var(--banana);
	border-radius: 18px;
}
.code::before {
	content: "";
	position: absolute;
	top: 18px;
	right: 22px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: var(--licorice);
}
.code-label { font-size: 18px; font-weight: 700; }
.code-num {
	margin-top: 6px;
	font-size: clamp(64px, 8.4vw, 112px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.code-gap { display: inline-block; width: 0.18em; }
.code-how { max-width: 40ch; margin-top: 14px; font-size: 16px; }
.code-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.steps h2 { max-width: 20ch; }
.step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: none; }
.step { padding-top: 22px; border-top: var(--frame); }
.step-n { display: block; font-size: 72px; font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; color: var(--raspberry); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 16px; font-size: 24px; letter-spacing: -0.02em; }
.step p { margin-top: 10px; font-size: 17px; color: var(--ink-soft); }
.steps-cta { margin-top: 44px; }

.devices { background: var(--raspberry-deep); color: var(--white); }
.devices-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
.devices-grid > div p { max-width: 36ch; margin-top: 18px; font-size: 19px; color: var(--blush); }
.dev-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.dev {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 72px;
	padding: 14px 18px;
	color: var(--licorice);
	background: var(--white);
	border: var(--frame);
	border-bottom-width: 6px;
	border-radius: 12px;
	text-decoration: none;
	transition: transform 160ms var(--ease);
}
.dev:hover { transform: translateY(-2px); }
.dev-icon { width: 30px; height: 30px; color: var(--raspberry); }
.dev-text { display: grid; gap: 2px; margin-right: auto; }
.dev-name { font-size: 18px; font-weight: 700; line-height: 1.25; }
.dev-how { font-size: 15px; color: var(--ink-soft); line-height: 1.35; }
.dev-go { width: 22px; height: 22px; transition: transform 160ms var(--ease); }
.dev:hover .dev-go { transform: translateX(3px); }

.voices { border-top: var(--frame); }
.voice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.voice { margin: 0; padding: 24px; background: var(--white); border: var(--frame); border-radius: 12px; }
.voice blockquote { margin: 0; font-size: 18px; }
.voice figcaption { margin-top: 14px; font-weight: 700; }

.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.qa,
.prose .wp-block-details { border-top: var(--frame); }
.qa summary,
.prose .wp-block-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	list-style: none;
	cursor: pointer;
}
.qa summary::-webkit-details-marker,
.prose .wp-block-details summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.3; }
.qa-icon,
.prose .wp-block-details summary::after {
	flex: none;
	width: 36px;
	height: 36px;
	padding: 8px;
	border-radius: 999px;
	color: var(--white);
	background: var(--licorice);
	transition: transform 180ms var(--ease);
}
.qa[open] .qa-icon,
.prose .wp-block-details[open] summary::after { transform: rotate(45deg); }
.qa > p { max-width: 62ch; padding: 0 0 22px; font-size: 17px; color: var(--ink-soft); }
.faq-more { padding: 22px 0; border-top: var(--frame); }

/* ---------- Reading content ---------- */

.read { background: var(--white); border-top: var(--frame); }
.read-wrap { max-width: calc(68ch + 2 * var(--gutter)); }
.pk-faq .read-wrap,
.read-faq .read-wrap { max-width: calc(820px + 2 * var(--gutter)); }

.prose { font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.prose h3 { margin-top: 1.6em; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.prose h2 + *,
.prose h3 + * { margin-top: 0.6em; }
.prose > :first-child { margin-top: 0; }
.prose a { text-decoration-color: var(--raspberry); text-decoration-thickness: 2px; font-weight: 600; }
.prose a:hover { text-decoration-thickness: 3px; }
.prose a[href^="https://wa.me"] { white-space: nowrap; }
.prose ul,
.prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.45em; }
.prose ul li::marker { color: var(--raspberry); }
.prose ol li::marker { font-weight: 700; color: var(--raspberry); }
.prose .lead { font-size: 21px; line-height: 1.55; }
.prose .note { padding: 16px 20px; background: var(--blush); border: 2px dashed var(--raspberry); border-radius: 8px; font-size: 16px; }
.prose h2[id] { scroll-margin-top: 24px; }
.prose .wp-block-details { margin-top: 0; }
.prose .wp-block-details:last-child { border-bottom: var(--frame); }
.prose .wp-block-details summary { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.prose .wp-block-details summary::after {
	content: "";
	padding: 0;
	background: var(--licorice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23fff'%3E%3Cpath d='M224 128a8 8 0 0 1-8 8h-80v80a8 8 0 0 1-16 0v-80H40a8 8 0 0 1 0-16h80V40a8 8 0 0 1 16 0v80h80a8 8 0 0 1 8 8z'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.prose .wp-block-details > p { margin: 0; padding: 0 0 22px; color: var(--ink-soft); }
.prose .wp-block-details + .wp-block-details { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th,
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--licorice-muted); text-align: left; }

.updated { margin-top: 36px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Inner page head ---------- */

.phead { background: var(--raspberry); color: var(--white); padding: 36px 0 52px; }
.phead h1 { max-width: 20ch; font-size: clamp(40px, 4.8vw, 68px); line-height: 0.98; letter-spacing: -0.035em; }
.phead-lead { max-width: 52ch; margin-top: 20px; font-size: 20px; line-height: 1.5; color: var(--blush); }
.phead-cta { margin-top: 28px; }
.phead .updated { margin-top: 20px; color: var(--blush); }

.crumbs { margin-bottom: 26px; font-size: 15px; color: var(--blush); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.7; }
.crumbs a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.5); }

/* ---------- Guide: device jump list ---------- */

.jump { background: var(--sugar); padding: 28px 0; }
.jump-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.jump-title { font-size: 20px; letter-spacing: -0.02em; }
.jump-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.jump-list a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 8px 18px 8px 14px;
	background: var(--white);
	border: 2px solid var(--licorice);
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}
.jump-list a:hover { background: var(--blush); }
.jump-list .icon { width: 22px; height: 22px; color: var(--raspberry); }

/* ---------- Price table ---------- */

.table-section { background: var(--sugar); border-top: var(--frame); }
.table-intro { max-width: 60ch; margin-top: 16px; font-size: 19px; color: var(--ink-soft); }
.table-scroll { margin-top: 32px; overflow-x: auto; border: var(--frame); border-bottom-width: 8px; border-radius: 14px; background: var(--white); }
.ptable { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.ptable thead th:first-child { width: 17%; }
.ptable thead th { padding: 16px 14px; background: var(--licorice); color: var(--white); font-weight: 700; text-align: left; white-space: nowrap; }
.ptable tbody th { padding: 16px; font-weight: 700; text-align: left; vertical-align: top; white-space: nowrap; border-top: 2px solid var(--licorice-muted); }
.ptable td { padding: 0; border-top: 2px solid var(--licorice-muted); border-left: 2px solid var(--licorice-muted); vertical-align: top; }
.ptable tr.best th,
.ptable tr.best td { background: var(--blush); }
.ptable tbody th { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: inset -2px 0 0 var(--licorice-muted); }
.ptable thead th:first-child { position: sticky; left: 0; z-index: 2; }
.row-tag { display: block; width: max-content; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--licorice); color: var(--white); font-size: 13px; font-weight: 700; white-space: nowrap; }
.cell { display: block; height: 100%; padding: 14px 16px 16px; text-decoration: none; transition: background-color 120ms var(--ease); }
.cell:hover { background: var(--banana); }
.cell:focus-visible { outline-offset: -4px; }
.cell > span { display: block; }
.cell-price { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cell-price .approx { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }
.cell-eur,
.cell-per { margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.cell:hover .cell-eur,
.cell:hover .cell-per,
.cell:hover .approx { color: var(--licorice); }
.table-note { max-width: 80ch; margin-top: 18px; font-size: 15px; color: var(--ink-soft); }

/* ---------- 404 and lists ---------- */

.nf-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

/* ---------- Closing band ---------- */

.close { background: var(--raspberry); color: var(--white); padding: var(--section) 0; text-align: center; border-top: 6px solid var(--licorice); }
.close-inner { display: grid; justify-items: center; }
.close h2 { max-width: 16ch; font-size: var(--display); line-height: 0.96; letter-spacing: -0.035em; }
.close p { max-width: 52ch; margin-top: 22px; font-size: 20px; color: var(--blush); }
.close .close-cta { margin-top: 34px; }
.close .close-note { margin-top: 16px; font-size: 15px; }

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

.foot { background: var(--licorice); color: var(--white); padding: 64px 0 28px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.foot .brand-mark circle { stroke: var(--licorice-muted); stroke-width: 1.5; }
.foot-brand p { max-width: 34ch; margin-top: 16px; color: var(--licorice-muted); font-size: 15px; }
.foot-col h2 { margin-bottom: 14px; font-size: 16px; letter-spacing: -0.01em; color: var(--licorice-muted); }
.foot-col ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.foot-col .nowrap { white-space: nowrap; }
.foot-col a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 10px; min-height: 32px; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-decoration-color: var(--banana); text-decoration-thickness: 2px; }
.foot-col a[aria-current] { font-weight: 700; }
.foot-countries .flag { width: 22px; height: 15px; border-radius: 2px; }
.foot-base { display: grid; gap: 8px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.18); color: var(--licorice-muted); font-size: 14px; }
.foot-note { max-width: 100ch; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.shelf { grid-template-columns: minmax(0, 1fr) 256px; }
	.bins { gap: 14px; }
	.top-row { gap: 18px; }
	.nav-list { gap: 20px; }
}

@media (max-width: 1060px) {
	.top-help span { display: none; }
	.top-help { width: 48px; padding: 0; }
}

@media (max-width: 980px) {
	.nav-toggle { display: inline-grid; }
	.switch { margin-left: auto; }
	.nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		margin: 0;
		padding: 18px var(--gutter) 26px;
		background: var(--sugar);
		border-top: var(--frame);
		border-bottom: var(--frame);
	}
	.nav.is-open { display: flex; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { padding: 14px 0; font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--licorice-muted); }
	.nav-help { display: inline-flex; align-self: flex-start; }

	.hero-row,
	.define-inner,
	.incl-grid,
	.app-grid,
	.devices-grid,
	.faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.hero-title { max-width: 18ch; }
	.shelf { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.bag { min-height: 0; margin-top: 0; }
	.bag-live { margin-bottom: 18px; }
	.step-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; padding: 22px 0; }
	.step-n { grid-row: span 2; font-size: 56px; }
	.step h3 { margin-top: 2px; }
	.foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
	:root { --gutter: 18px; }
	body { font-size: 17px; }
	.top-row { min-height: 66px; gap: 10px; }
	.brand { font-size: 19px; gap: 8px; }
	.brand-mark { width: 30px; height: 30px; }
	.switch summary { padding: 6px 10px; gap: 6px; }
	.switch-caret { display: none; }
	.hero { padding: 36px 0 34px; }
	.hero-title { font-size: clamp(38px, 11vw, 48px); }
	.hero-lead { font-size: 18px; margin-bottom: 22px; }
	.btn-big { width: 100%; padding: 18px 20px; font-size: 18px; }
	.btn-big .icon { width: 24px; height: 24px; }
	.wall { padding-top: 24px; }
	.wall-head { margin-bottom: 24px; }
	.wall-title { font-size: 24px; width: 100%; }
	.scoops { margin-left: 0; }
	.scoop span { padding: 8px 14px; font-size: 14px; }
	.bins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.bin { height: 226px; }
	.tag { margin: 8px; padding: 9px 10px 10px; }
	.tag-len { font-size: 12px; }
	.tag-eur,
	.tag-per { font-size: 13px; }
	.tag-price .approx { font-size: 13px; }
	.define-text { font-size: 19px; }
	.label { padding: 4px 18px; }
	.code { padding: 24px 22px 26px; }
	.code-actions .btn { flex: 1 1 auto; }
	.dev { min-height: 64px; padding: 12px 14px; }
	.qa summary h3,
	.prose .wp-block-details summary { font-size: 18px; }
	.phead { padding: 26px 0 40px; }
	.phead h1 { font-size: clamp(32px, 9.4vw, 44px); }
	.phead-lead { font-size: 18px; }
	.prose { font-size: 17px; }
	.prose .lead { font-size: 19px; }
	.close h2 { font-size: clamp(40px, 11vw, 52px); }
	.close p { font-size: 18px; }
	.foot { padding-top: 48px; }
	.foot-grid { gap: 32px 20px; }
	.hint-row { gap: 10px; font-size: 14px; }
	.ptable { min-width: 640px; font-size: 15px; }
	.ptable thead th:first-child { width: 118px; }
	.ptable tbody th { padding: 14px 12px; white-space: normal; }
	.row-tag { width: auto; white-space: normal; border-radius: 10px; }
	.cell { padding: 12px 12px 14px; }
	.cell-price { font-size: 19px; }
}

@media (max-width: 380px) {
	.brand-name { font-size: 17px; }
	.top-help { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0ms !important; }
	.btn-test:hover,
	.bin:hover,
	.dev:hover { transform: none; }
}

@media print {
	.top,
	.hint,
	.wall,
	.blanket,
	.close,
	.foot,
	.btn { display: none !important; }
	body,
	.phead,
	.hero { background: #fff; color: #000; }
}
