/*
 * Public store pages (store.kilanka.de): catalogue, detail, errors.
 *
 * Kilanka brand rules (brand review of 23 September 2026):
 * - Colours: Kilanka grey #323232 for text and filled controls, Kilanka green #04e676 as a
 *   line (title bar, underline, tick), background grey #f7f7f7 for quiet surfaces, white as
 *   the page. Loosened on 5 November 2026 (as in the review area): a soft tint of the green
 *   with a dark green text marks small states (Neu, chosen filter, areas), never a full fill.
 * - Lato Light (300) for headings, Regular (400) for text, Bold (700) for emphasis.
 * - The official logo file only; nothing tilted, no decorative effects.
 *
 * The pages run under a CSP without scripts or inline styles, so everything is here.
 */

/* ---------- fonts (self-hosted, SIL Open Font License, fonts/LICENSE-OFL.txt) ---------- */

@font-face {
	font-family: Lato;
	font-weight: 300;
	font-style: normal;

	font-display: swap;
	src: url("fonts/Lato-Light.woff2") format("woff2");
}

@font-face {
	font-family: Lato;
	font-weight: 400;
	font-style: normal;

	font-display: swap;
	src: url("fonts/Lato-Regular.woff2") format("woff2");
}

@font-face {
	font-family: Lato;
	font-weight: 700;
	font-style: normal;

	font-display: swap;
	src: url("fonts/Lato-Bold.woff2") format("woff2");
}

/* ---------- tokens ---------- */

:root {
	--ink: #323232;
	--ink-hover: #474747;
	--green: #04e676;
	/* Soft tint of the green and a dark green that reads on it and on white (contrast > 7:1). */
	--tint: oklch(96.5% 0.04 152deg);
	--tint-ink: oklch(38% 0.1 152deg);
	--grey: #f7f7f7;
	--paper: #fff;
	--muted: rgb(50 50 50 / 72%);
	--line: rgb(50 50 50 / 12%);
	--line-strong: rgb(50 50 50 / 30%);
	--on-dark: #fff;
	--on-dark-muted: rgb(255 255 255 / 80%);
	--on-dark-line: rgb(255 255 255 / 35%);
	--radius: 14px;
	--gutter: 1rem;

	/* Replicated www.kilanka.de chrome tokens (kilanka-website tailwind.config.js and _base.scss). */
	--site-dark: #424242;
	--site-green: #00e676;
	--site-unit: 1rem;

	color-scheme: light;
}

@media (width >= 40rem) {
	:root {
		--gutter: 2rem;
	}
}

/* Matches kilanka-website's responsive root scale without altering the store body typography. */
@media (width >= 48rem) {
	:root {
		--site-unit: 0.8rem;
	}
}

@media (width >= 64rem) {
	:root {
		--site-unit: 0.75rem;
	}
}

@media (width >= 96rem) {
	:root {
		--site-unit: 0.85rem;
	}
}

@media (width >= 113.125rem) {
	:root {
		--site-unit: 0.9rem;
	}
}

@media (width >= 120rem) {
	:root {
		--site-unit: 1rem;
	}
}

/* ---------- base ---------- */

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

html {
	text-size-adjust: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	margin: 0;

	font-family: Lato, system-ui, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);

	background: var(--paper);

	-webkit-font-smoothing: antialiased;
}

main {
	flex: 1 0 auto;
}

#inhalt {
	scroll-margin-top: 5.5rem;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
	margin: 0;
}

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

a {
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 2px;
}

.band :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--on-dark);
}

.visually-hidden {
	position: absolute;

	overflow: hidden;

	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;

	white-space: nowrap;

	clip-path: inset(50%);
}

.skip {
	position: absolute;
	z-index: 60;
	top: 0.5rem;
	left: 0.5rem;
	transform: translateY(-200%);

	padding: 0.5rem 1rem;
	border-radius: 999px;

	font-weight: 700;
	color: var(--paper);

	background: var(--ink);

	&:focus {
		transform: none;
	}

	&:focus-visible {
		outline-color: var(--on-dark);
	}
}

.wrap {
	width: 100%;
	max-width: 76rem;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.muted {
	color: var(--muted);
}

/* ---------- type ---------- */

/* The brand's title card: light heading with a green bar on the left. */
.title-card {
	padding-left: 1.125rem;
	border-left: 4px solid var(--green);

	font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
	font-weight: 300;
	line-height: 1.12;
}

.title-card-small {
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
}

.subheading {
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1.2;
}

.eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--tint-ink);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	align-items: center;

	font-size: 0.9375rem;
	color: var(--muted);
}

.publisher {
	display: inline-flex;
	gap: 0.375rem;
	align-items: center;

	font-weight: 700;
	color: var(--ink);
}

/* The brand's tick: a green line, never a filled badge. */
.tick {
	flex: none;

	width: 1em;
	height: 1em;

	fill: none;
	stroke: var(--green);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.2;
}

.stars {
	color: var(--ink);
	letter-spacing: 0.08em;
}

.stars-count {
	color: var(--muted);
	letter-spacing: 0;
}

.new {
	display: inline-block;

	padding: 0.0625rem 0.5rem;
	border-radius: 999px;

	font-size: 0.75rem;
	font-weight: 700;
	color: var(--tint-ink);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	vertical-align: 0.2em;

	background: var(--tint);
}

.text-link {
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

/* ---------- buttons ---------- */

/*
 * As on kilanka.de (buttons.scss of the website): a rounded frame instead of a fill. The
 * main action has the green frame and the arrow in front, which moves along on hover;
 * .button-quiet is a secondary action with a grey frame. Green stays a line.
 */
.button {
	cursor: pointer;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 2.75rem;
	padding: 0 1.25rem;
	border: 0.125rem solid var(--green);
	border-radius: 0.75rem;

	font: inherit;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;

	background: transparent;

	transition: background-color 0.12s ease-out;

	/* The arrow: two sides of a square, turned to point right, right before the text. */
	&::before {
		content: "";

		flex: none;

		width: 0.5rem;
		height: 0.5rem;
		margin-right: 0.625rem;
		border: solid currentcolor;
		border-width: 0 2px 2px 0;

		transform: rotate(-45deg);

		transition: transform 0.12s ease-out;
	}

	&:hover {
		background: var(--grey);

		&::before {
			transform: translateX(0.1875rem) rotate(-45deg);
		}
	}

	@media (prefers-reduced-motion: reduce) {
		&,
		&::before {
			transition: none;
		}
	}
}

/* On the dark band: the same green frame, the text light. */
.button-light {
	color: var(--on-dark);

	&:hover {
		background: rgb(255 255 255 / 8%);
	}
}

.button-quiet {
	border-color: var(--line-strong);

	&::before {
		display: none;
	}
}

/* ---------- replicated www.kilanka.de header ---------- */

/* Matches kilanka-website wrapper.scss so logo and nav align identically on navigation. */
.site-wrap {
	width: 100%;
	margin-inline: auto;
	padding-inline: calc(1 * var(--site-unit));

	@media (width >= 48rem) {
		padding-inline: calc(3.5 * var(--site-unit));
	}

	@media (width >= 64rem) {
		padding-inline: calc(1 * var(--site-unit));
	}

	@media (width >= 73.75rem) {
		padding-inline: calc(4 * var(--site-unit));
	}

	@media (width >= 80rem) {
		padding-inline: calc(64px + 93.6 * ((100vw - 1280px) / 256));
	}

	@media (width >= 96rem) {
		max-width: calc(114 * var(--site-unit));
		padding-inline: calc(9 * var(--site-unit));
	}
}

.site-header {
	position: sticky;
	z-index: 50;
	inset-block-start: 0;

	color: var(--on-dark);
	background: var(--site-dark);
	border-block-end: 1px solid rgb(255 255 255 / 10%);

	@media (forced-colors: active) {
		border-block-end: 1px solid CanvasText;
	}
}

.site-header-inner {
	display: flex;
	gap: calc(1 * var(--site-unit));
	align-items: center;
	justify-content: space-between;
}

.site-brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	padding-block: calc(1.25 * var(--site-unit));
	text-decoration: none;
}

.site-brand-mark,
.site-brand-wordmark {
	width: auto;
	height: calc(1.5 * var(--site-unit));

	@media (width >= 80rem) {
		height: calc(2.5 * var(--site-unit));
	}
}

.site-brand-mark {
	margin-inline-end: calc(0.5 * var(--site-unit));

	@media (width >= 80rem) {
		margin-inline-end: calc(0.75 * var(--site-unit));
	}
}

.site-nav {
	display: flex;
	align-items: center;
}

.site-nav-list {
	display: none;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;

	@media (width >= 64rem) {
		display: flex;
	}
}

.site-nav-link {
	display: inline-flex;
	flex-direction: column;

	padding-block: calc(1.25 * var(--site-unit));
	padding-inline: calc(0.75 * var(--site-unit));

	font-size: calc(1.25 * var(--site-unit));
	font-weight: 300;
	line-height: calc(1.75 * var(--site-unit));
	color: var(--on-dark);
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;

	transition: color 0.3s ease;

	&:hover {
		color: var(--site-green);
	}

	&[aria-current="page"] {
		font-weight: 400;
		color: var(--site-green);

		@media (forced-colors: active) {
			text-decoration: underline;
			text-underline-offset: 0.25em;
		}
	}

	/* Reserve regular-weight width to prevent layout shift if an item becomes active. */
	&::after {
		content: attr(data-text);
		content: attr(data-text) / "";
		height: 0;
		font-weight: 400;
		text-transform: uppercase;
		visibility: hidden;
		user-select: none;
		pointer-events: none;
	}

	@media (prefers-reduced-motion: reduce) {
		transition: none;
	}
}

.site-menu-toggle,
.site-menu-close {
	cursor: pointer;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 2.75rem;
	min-height: 2.75rem;
	margin-inline-end: -0.5rem;
	padding: 0;
	border: 0;

	color: var(--on-dark);
	background: transparent;
}

.site-menu-toggle {
	@media (width >= 64rem) {
		display: none;
	}
}

.site-menu-icon {
	width: 1.5rem;
	height: 1.5rem;

	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

/* Mobile navigation popover: works without JavaScript under the strict script-free CSP. */
.site-mobile-menu {
	position: fixed;
	inset: auto;
	inset-block-start: 0;
	inset-inline: 0;

	inline-size: 100%;
	max-inline-size: none;
	max-block-size: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	border-block-end: 1px solid rgb(255 255 255 / 12%);
	overflow-y: auto;

	color: var(--on-dark);
	background: var(--site-dark);
	box-shadow: 0 12px 32px rgb(0 0 0 / 28%);

	opacity: 0;
	translate: 0 -0.5rem;
	transition:
		opacity 0.2s ease-out,
		translate 0.2s ease-out,
		overlay 0.2s ease-out,
		display 0.2s ease-out;
	transition-behavior: allow-discrete;

	&::backdrop {
		background: rgb(0 0 0 / 40%);
		opacity: 0;
		transition:
			opacity 0.2s ease-out,
			overlay 0.2s ease-out,
			display 0.2s ease-out;
		transition-behavior: allow-discrete;
	}

	&:popover-open {
		opacity: 1;
		translate: 0 0;

		&::backdrop {
			opacity: 1;
		}

		@starting-style {
			opacity: 0;
			translate: 0 -0.5rem;

			&::backdrop {
				opacity: 0;
			}
		}
	}

	@media (prefers-reduced-motion: reduce) {
		transition: none;

		&::backdrop {
			transition: none;
		}
	}

	@media (forced-colors: active) {
		border-block-end: 1px solid CanvasText;
	}

	@media (width >= 64rem) {
		display: none;
	}
}

.site-mobile-menu-inner {
	padding-block-end: calc(2.5 * var(--site-unit));
}

.site-mobile-menu-head {
	display: flex;
	gap: calc(1 * var(--site-unit));
	align-items: center;
	justify-content: space-between;
	margin-block-end: calc(1 * var(--site-unit));
}

.site-mobile-menu-list {
	margin: 0;
	padding: 0;
	list-style: none;

	@media (width >= 48rem) {
		display: flex;
		flex-wrap: wrap;
		gap: calc(0.25 * var(--site-unit)) calc(1.25 * var(--site-unit));
	}
}

.site-mobile-menu-link {
	display: flex;
	align-items: center;
	min-height: 2.75rem;
	padding-block: calc(0.375 * var(--site-unit));

	font-size: calc(1.25 * var(--site-unit));
	font-weight: 300;
	line-height: 1.5;
	color: var(--on-dark);
	text-transform: uppercase;
	text-decoration: none;

	transition: color 0.3s ease;

	&:hover {
		color: var(--site-green);
	}

	&[aria-current="page"] {
		font-weight: 400;
		color: var(--site-green);

		@media (forced-colors: active) {
			text-decoration: underline;
			text-underline-offset: 0.25em;
		}
	}

	@media (prefers-reduced-motion: reduce) {
		transition: none;
	}
}

/* Fallback for browsers without Popover API support: avoid an invisible click-stealing
   overlay and keep navigation reachable as a horizontal scrolling row. */
@supports not selector(:popover-open) {
	.site-menu-toggle,
	.site-mobile-menu {
		display: none;
	}

	.site-header-inner {
		flex-wrap: wrap;
	}

	.site-nav {
		max-width: 100%;
		overflow-x: auto;
	}

	.site-nav-list {
		display: flex;
	}
}

/* ---------- dark band: intro, spotlight ---------- */

.band {
	color: var(--on-dark);
	background: var(--ink);

	.eyebrow,
	.meta,
	.stars-count {
		color: var(--on-dark-muted);
	}

	.publisher,
	.stars {
		color: var(--on-dark);
	}
}

.intro {
	display: grid;
	gap: 1rem;
	padding-top: 3rem;
	padding-bottom: 2.5rem;
}

.intro-text {
	max-width: 64ch;
	font-size: 1.125rem;
	color: var(--on-dark-muted);
}

.search {
	display: flex;
	align-items: center;

	max-width: 38rem;
	margin-top: 0.75rem;
	padding: 0.3125rem 0.3125rem 0.3125rem 1.25rem;
	border-radius: 1rem;

	background: var(--paper);

	input {
		flex: 1;

		min-width: 0;
		padding: 0.5rem 0;
		border: 0;

		font: inherit;
		color: var(--ink);

		background: transparent;
		outline: none;
	}

	/* The search button in the website's style, inside the white field. */
	button {
		cursor: pointer;

		min-height: 2.5rem;
		padding: 0 1.25rem;
		border: 0.125rem solid var(--green);
		border-radius: 0.75rem;

		font: inherit;
		font-weight: 700;
		color: var(--ink);

		background: transparent;

		&:hover {
			background: var(--grey);
		}
	}

	&:focus-within {
		outline: 2px solid var(--on-dark);
		outline-offset: 2px;
	}
}

.spotlight {
	display: grid;
	gap: 2rem;
	padding-top: 0.5rem;

	h2 {
		margin: 0.5rem 0 0.75rem;
		font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
		font-weight: 300;
		line-height: 1.1;
	}

	@media (width >= 56rem) {
		grid-template-columns: 5fr 7fr;
		gap: 3rem;
		align-items: end;
	}
}

.spotlight-text {
	display: grid;
	gap: 0.5rem;
	align-content: start;

	@media (width >= 56rem) {
		padding-bottom: 3rem;
	}
}

.spotlight-lead {
	max-width: 52ch;
	margin: 0.5rem 0 1rem;
	font-size: 1.125rem;
	color: var(--on-dark-muted);
}

/* The screenshot stands on the lower edge of the band. */
.spotlight-shot img {
	aspect-ratio: 16 / 10.5;
	width: 100%;
	border-radius: 10px 10px 0 0;

	object-fit: cover;
	object-position: top left;
}

/* ---------- catalogue list ---------- */

.section {
	padding-top: 3.5rem;
	padding-bottom: 4rem;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	align-items: baseline;
	justify-content: space-between;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.filter {
	display: inline-flex;
	align-items: center;

	min-height: 2.25rem;
	padding: 0 0.875rem;
	border-radius: 999px;

	font-size: 0.9375rem;
	text-decoration: none;

	box-shadow: inset 0 0 0 1px var(--line-strong);

	&[aria-current="page"] {
		font-weight: 700;
		color: var(--tint-ink);
		background: var(--tint);
		box-shadow: inset 0 0 0 0.125rem var(--green);
	}

	&:hover:not([aria-current="page"]) {
		background: var(--grey);
	}
}

.lines {
	margin: 1.5rem 0 0;
	padding: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}

.line {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: start;

	padding: 1.5rem 0;
	border-bottom: 1px solid var(--line);

	@media (width >= 48rem) {
		grid-template-columns: minmax(0, 1fr) 16rem;
		gap: 2rem;
		align-items: center;
	}

	@media (width >= 64rem) {
		grid-template-columns: minmax(0, 1fr) 20rem;
	}
}

.line-text {
	display: grid;
	gap: 0.375rem;
	min-width: 0;
}

.line-title {
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.25;

	a {
		text-decoration: none;

		&:hover {
			text-decoration: underline;
			text-decoration-thickness: 1px;
			text-underline-offset: 0.2em;
		}
	}
}

.line-teaser {
	max-width: 64ch;
	color: var(--muted);
}

.line-shot {
	display: none;

	img {
		aspect-ratio: 16 / 10;
		width: 100%;
		border-radius: 6px;

		object-fit: cover;
		object-position: top left;
		box-shadow: 0 0 0 1px var(--line);
	}

	@media (width >= 48rem) {
		display: block;
	}
}

.empty {
	display: grid;
	gap: 1rem;
	justify-items: start;
	padding: 2rem 0;
}

.pager {
	display: flex;
	align-items: center;
	justify-content: space-between;

	margin-top: 2rem;

	color: var(--muted);
}

/* ---------- Kilanka Studio ---------- */

.studio {
	padding: 4rem 0;
	background: var(--grey);
}

.studio-text {
	max-width: 70ch;
	margin-top: 1.25rem;
	font-size: 1.125rem;
	color: var(--muted);
}

.steps {
	display: grid;
	gap: 2rem;

	margin: 2.5rem 0 0;
	padding: 0;

	list-style: none;

	li {
		display: grid;
		gap: 0.375rem;
		align-content: start;

		padding-top: 1rem;
		border-top: 4px solid var(--green);
	}

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

	p {
		color: var(--muted);
	}

	@media (width >= 48rem) {
		grid-template-columns: repeat(3, 1fr);
		gap: 2.5rem;
	}
}

/* ---------- detail ---------- */

.band-compact {
	padding-bottom: 2.75rem;
}

.detail-hero {
	display: grid;
	gap: 0.75rem;
	padding-top: 2.25rem;

	h1 {
		font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
		font-weight: 300;
		line-height: 1.1;
	}
}

.back {
	font-size: 0.9375rem;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;

	&::before {
		content: "← ";
	}
}

.detail {
	display: grid;
	gap: 3.5rem;
	padding-top: 2.5rem;
	padding-bottom: 4rem;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;

	img {
		width: 100%;
		border-radius: 10px;
		box-shadow: 0 0 0 1px var(--line);
	}

	figcaption {
		margin-top: 0.5rem;
		font-size: 0.875rem;
		color: var(--muted);
	}
}

.gallery-main {
	grid-column: 1 / -1;
}

.detail-columns {
	display: grid;
	gap: 2.5rem;

	@media (width >= 60rem) {
		grid-template-columns: minmax(0, 1fr) 22rem;
		gap: 4rem;
		align-items: start;
	}
}

.prose {
	display: grid;
	gap: 1rem;
	max-width: 68ch;

	.subheading + p {
		margin-top: 0.25rem;
	}

	p + .subheading {
		margin-top: 1.5rem;
	}
}

.install {
	display: grid;
	gap: 1.25rem;

	padding: 1.75rem;
	border-radius: var(--radius);

	background: var(--grey);
}

.install-title {
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.25;
}

.install-lead {
	color: var(--muted);

	strong {
		color: var(--ink);
		overflow-wrap: anywhere;
	}
}

.install-open {
	width: 100%;
	background: var(--paper);

	&:hover {
		background: var(--tint);
	}
}

.install-steps {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding-left: 1.25rem;

	li::marker {
		font-weight: 700;
	}
}

.facts {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5rem 1.25rem;

	padding-top: 1.25rem;
	border-top: 1px solid var(--line);

	font-size: 0.9375rem;

	dt {
		font-weight: 700;
	}
}

.related {
	display: grid;
	gap: 0.5rem;
}

/* ---------- errors, replicated www.kilanka.de footer ---------- */

.notice {
	display: grid;
	gap: 1.25rem;
	align-content: start;
	justify-items: start;

	padding-top: 3.5rem;
	padding-bottom: 5rem;
}

/* Matches kilanka-website _footer.inc across all breakpoints. */
.site-footer {
	font-size: calc(1.25 * var(--site-unit));
	line-height: calc(1.75 * var(--site-unit));
	color: var(--on-dark);
	background: var(--site-dark);

	a {
		color: var(--on-dark);
		text-decoration: none;
		transition: color 0.15s ease;

		&:hover {
			color: var(--site-green);
			text-decoration: underline;
			text-underline-offset: 0.2em;
		}

		@media (prefers-reduced-motion: reduce) {
			transition: none;
		}
	}
}

.site-footer-inner {
	padding-block: calc(6 * var(--site-unit));
}

.site-footer-grid {
	display: grid;
	gap: calc(1.5 * var(--site-unit));

	@media (width >= 48rem) {
		grid-template-columns: 8fr 4fr;
	}

	@media (width >= 64rem) {
		grid-template-columns: 9fr 3fr;
	}
}

.site-footer-company {
	display: grid;

	@media (width >= 80rem) {
		grid-template-columns: 4fr 8fr;
		gap: calc(1.5 * var(--site-unit));
	}
}

.site-footer-heading {
	font-size: calc(1.5 * var(--site-unit));
	font-weight: 400;
	line-height: calc(2 * var(--site-unit));
}

.site-footer-heading-brand {
	margin-block-end: calc(0.5 * var(--site-unit));

	@media (width >= 40rem) {
		font-size: calc(1.7 * var(--site-unit));
	}
}

.site-footer-address p:not(:last-child) {
	margin-block-end: calc(1.25 * var(--site-unit));
}

.site-footer-about {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-block-start: calc(2.75 * var(--site-unit));

	@media (width >= 80rem) {
		padding-inline-end: calc(3 * var(--site-unit));
	}
}

.site-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: calc(0.5 * var(--site-unit)) calc(0.75 * var(--site-unit));
	margin-block-start: calc(1.25 * var(--site-unit));

	@media (width >= 80rem) {
		margin-block-start: calc(1.5 * var(--site-unit));
	}
}

.site-footer-downloads {
	padding-block-start: calc(1.5 * var(--site-unit));
	border-block-start: 1px solid var(--on-dark);

	@media (width >= 48rem) {
		padding-block-start: 0;
		padding-inline-start: calc(1.5 * var(--site-unit));
		border-block-start: 0;
		border-inline-start: 1px solid var(--on-dark);
	}
}

.site-footer-download-list {
	margin: calc(0.75 * var(--site-unit)) 0 0;
	padding: 0;
	list-style: none;
}

/* Data an applet reads (detail page): one line per kind of data, name first. */
.data-list {
	display: grid;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;

	li {
		display: grid;
		gap: 0.125rem;
	}

	span {
		color: var(--muted);
	}
}
