/* Delving marketing site — tokens + base styles.
   Dark is default; .light on <html> overrides. Palette mirrors Orchestra. */
:root {
	/* Dark bg sits a step below the logo's navy (#022764) so the kingfisher's
	   orbital ring and tail read instead of dissolving into the background. */
	--bg: #0a0f1c;
	--surface: #121a2e;
	--border: #334155;
	--text: #f1f5f9;
	--text-muted: #94a3b8;
	--accent: #2563eb;
	--accent-hover: #1d4ed8;
	/* Blue for text (links, eyebrows). --accent is a fill colour: as text it
	   scores only ~3.5:1 on the dark bg, under WCAG AA's 4.5:1. */
	--accent-text: #60a5fa;
	--accent-text-hover: #93c5fd;
	/* Keyboard focus ring: gold reads on the dark bg and the blue light-mode header. */
	--focus: var(--gold-strong);
	/* Ambient wash behind the hero logo — a lifted-blue "sky" in dark, a faint
	   cool cushion in light — gives the navy swooshes a stage in both modes. */
	--hero-stage: rgba(72, 108, 188, 0.40);
	/* Gold from the logo (#f2ba13). Used for fills, rules, and the pipeline's
	   "catch" — never as small text on light (fails contrast). */
	--gold: #fc6;
	--gold-strong: #f2ba13;
	--on-gold: #1e293b;
	--radius: 12px;
	--maxw: 1080px;
	--font-heading: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
		Ubuntu, Cantarell, sans-serif;
}

:root.light {
	/* Cool paper, not stark white — takes the harsh edge off the logo's navy. */
	--bg: #eef2f9;
	--surface: #e4eaf5;
	--border: #d3dcec;
	--text: #1e293b;
	--text-muted: #475569;
	--accent-text: #1d4ed8;
	--accent-text-hover: #1e40af;
	--focus: #042863;
	--hero-stage: rgba(22, 44, 98, 0.085);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 18px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	font-family: var(--font-heading);
	line-height: 1.15;
	font-weight: 700;
}

h1 {
	font-size: clamp(2rem, 5vw, 3.25rem);
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	letter-spacing: -0.01em;
}

h3 {
	font-size: 1.25rem;
}

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

a {
	color: var(--accent-text);
	text-decoration: none;
}

a:hover {
	color: var(--accent-text-hover);
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Light-mode header is solid blue: navy would vanish, gold shows. */
:root.light .site-header :focus-visible {
	outline-color: var(--gold);
}

.container {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section {
	padding: 5rem 0;
}

/* Alternating band: a faint cobalt wash so sections read as distinct zones in
   both modes (--surface is near-white in light mode and wouldn't show). */
.section.alt {
	background: color-mix(in srgb, var(--accent) 6%, var(--bg));
}

/* Small transitional aside — hugs its neighbours instead of a full band. */
.section.section-aside {
	padding: 2rem 0;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 1rem;
	font-weight: 600;
	color: var(--accent-text);
}

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

.lead {
	font-size: 1.2rem;
	color: var(--text-muted);
	max-width: 42rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.4rem;
	border-radius: var(--radius);
	font-weight: 600;
	border: 1px solid var(--border);
	color: var(--text);
	cursor: pointer;
	background: transparent;
	transition: background 0.15s, border-color 0.15s;
}

.btn:hover {
	background: var(--surface);
}

.btn-primary {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.btn-primary:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: #fff;
}

/* Cards + grids */
.grid {
	display: grid;
	gap: 1.5rem;
}

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

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem;
}

.card h3 {
	margin-top: 0;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}

/* Light mode: solid header in the logo's main blue (#0c5bb8), edged with its dark #042863, light text */
:root.light .site-header {
	background: #0c5bb8;
	border-bottom-color: #042863;
}

:root.light .site-header .brand {
	color: #fff;
}

:root.light .site-header .nav a {
	color: #fff;
}

:root.light .site-header .nav a:hover {
	color: var(--gold);
	opacity: 1;
}

:root.light .site-header .theme-toggle {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}

:root.light .site-header .theme-toggle:hover {
	background: rgba(255, 255, 255, 0.15);
}

.site-header .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	/* Column-gap guarantees space between the logo and the nav even when they
	   share a row; row-gap is what shows once .nav wraps onto its own line
	   on narrow viewports (see the .nav rule below) instead of letting links
	   overflow the header unseen and unclickable. */
	gap: 0.5rem 1.5rem;
	min-height: 64px;
	padding-block: 0.75rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
	color: var(--text);
}

/* Header mark: inline SVG glyph traced from the logo; inherits brand colour
   (white on the blue/dark bar) via currentColor, crisp at any size. */
/* The logo's navy and blue vanish on any dark or blue header, so it sits on a white badge in both modes */
.brand img {
	width: 40px;
	height: 40px;
	padding: 5px;
	box-sizing: border-box;
	background: #fff;
	border-radius: 50%;
	display: block;
}

.nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
}

.nav a {
	color: var(--text);
	font-weight: 500;
}

.nav a:hover {
	color: var(--gold-strong);
}

/* Current section: a gold underline, so visitors can see where they are. */
.nav a.active {
	text-decoration: underline;
	text-decoration-color: var(--gold-strong);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.4em;
}

.theme-toggle {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--text);
	border-radius: 8px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	font-size: 1rem;
}

.theme-toggle:hover {
	background: var(--surface);
}

/* Hero: the same faint cobalt wash as .section.alt, so the page header reads as its own zone */
.hero {
	padding: 6rem 0 4rem;
	background: color-mix(in srgb, var(--accent) 6%, var(--bg));
	border-bottom: 1px solid var(--border);
}

.hero .lead {
	margin: 1.25rem 0 2rem;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.hero-eyebrow {
	display: block;
	margin-bottom: 0.75rem;
}

.hero-logo {
	display: block;
	width: min(520px, 55vw);
	height: auto;
	margin: 0 auto 2rem;
}

/* Platform page: infographic anchor + numbered pipeline stages */
.infographic {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

/* Number is the structural device: the stages are a real ordered sequence. */
.stage-num {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1;
	color: var(--accent-text);
	min-width: 1ch;
}

/* Platform: one example record followed through the stages. Text left,
   the record as it looks at that stage right. */
.record-story {
	list-style: none;
	padding: 0;
	margin: 2.5rem 0 0;
}

.record-step {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
	gap: 2.5rem;
	align-items: start;
	padding: 2rem 0;
	border-top: 1px solid var(--border);
}

.record-step p {
	margin: 0;
}

.record {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	font: 0.72rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
	color: var(--text-muted);
	overflow-x: auto;
}

/* Step tabs (js/platform.js). Without JS the tab bar stays hidden and the
   steps above remain a stacked list. */
.tabbed .step-tablist {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.5rem;
	margin-top: 2rem;
}

/* Anchor targets clear the sticky header. */
:target,
.step-tabs {
	scroll-margin-top: 6rem;
}

.tab-mark {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

/* Number and icon above, name below: Dutch names ("Transformeren",
   "Velden koppelen") need the full tab width. */
.step-tablist [role="tab"] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	text-align: center;
	color: var(--text-muted);
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.7rem 0.4rem;
	cursor: pointer;
}

.step-tablist [role="tab"]:hover {
	color: var(--text);
	background: var(--surface);
}

.step-tablist [role="tab"][aria-selected="true"] {
	color: var(--text);
	background: var(--surface);
	border-color: var(--accent-text);
	box-shadow: inset 0 -3px 0 var(--accent-text);
}

/* Publish keeps its gold, also as a tab. */
.step-tablist [role="tab"]:last-child[aria-selected="true"] {
	border-color: var(--gold-strong);
	box-shadow: inset 0 -3px 0 var(--gold-strong);
}

.step-tablist .stage-num {
	font-size: 1rem;
}

.step-tablist .stage-icon {
	width: 22px;
	height: 22px;
}

.tabbed .record-story {
	margin-top: 0;
}

.tabbed .record-step {
	border-top: 0;
}

.record-step[hidden] {
	display: none;
}

/* The tab already names the step. */
.tabbed .record-step .stage-title {
	display: none;
}

/* Inside a record: <b> flags what Analyze/Map found, <i> names a source,
   <s> is a plain value that Enrich replaced with a link. */
.record b {
	color: var(--gold-strong);
	font-weight: 600;
}

.record i {
	color: var(--accent-text);
	font-style: normal;
}

.record s {
	opacity: 0.6;
}

/* Publish: the record as a visitor finds it. Gold, the payoff. */
.record-result {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	background: var(--surface);
	border: 1px solid var(--gold);
	border-top-width: 3px;
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	font-size: 0.92rem;
}

.record-result strong {
	font-family: var(--font-heading);
	font-size: 1.1rem;
}

.record-tags {
	list-style: none;
	padding: 0;
	margin: 0.25rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

/* A linked term: a chip that opens its authority card. */
.term {
	font: inherit;
	font-size: 0.85rem;
	color: var(--accent-text);
	background: color-mix(in srgb, var(--accent) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--accent-text) 45%, transparent);
	border-radius: 999px;
	padding: 0.1rem 0.7rem;
	cursor: pointer;
}

.term:hover {
	background: color-mix(in srgb, var(--accent) 24%, transparent);
}

/* Popovers sit in the top layer, centred by the browser. */
.term-card {
	width: min(24rem, calc(100vw - 2rem));
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
	border-top: 3px solid var(--accent-text);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	font-size: 0.92rem;
}

.term-card::backdrop {
	background: rgba(0, 0, 0, 0.35);
}

.term-card strong {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.2rem;
	padding-right: 2rem;
}

.term-source {
	color: var(--accent-text);
	font-size: 0.85rem;
}

.term-card p {
	margin: 0.75rem 0;
	color: var(--text-muted);
}

.term-card dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.3rem 1rem;
	margin: 0;
	padding-top: 0.75rem;
	border-top: 1px solid var(--border);
}

.term-card dt {
	color: var(--text-muted);
}

.term-card dd {
	margin: 0;
}

.term-close {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
	width: 2rem;
	height: 2rem;
	background: transparent;
	border: 0;
	color: var(--text-muted);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.record-result code {
	margin-top: 0.5rem;
	font-size: 0.72rem;
	color: var(--text-muted);
	white-space: pre-wrap;
}

/* Step icons: the Orchestra service motifs, drawn as outlines. */
.stage-icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	color: var(--accent);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Icon beside the step name, on one line. */
.stage-title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.5rem;
}

.card .stage-title h3 {
	margin: 0;
}

/* Roadmap note: a clearly-labelled "coming, not here" line on a stage. The
   gold pill flags future status so it never reads as a shipped capability. */
.stage-roadmap {
	margin: 1rem 0 0;
	padding-top: 1rem;
	border-top: 1px dashed var(--border);
	font-size: 0.9rem;
	color: var(--text-muted);
}

.roadmap-tag {
	display: inline-block;
	background: var(--gold);
	color: var(--on-gold);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.1rem 0.45rem;
	border-radius: 5px;
	margin-right: 0.5rem;
	vertical-align: 1px;
}

/* "Beyond the pipeline" reads as prose, left-aligned for real paragraphs. */
.beyond {
	margin-top: 1rem;
}

.beyond h2:first-child {
	margin-top: 0.5rem;
}

/* Centered hero (home): big logo, gradient, everything centered — mirrors Orchestra's landing */
.hero-centered {
	text-align: center;
	background:
		radial-gradient(72% 62% at 50% 40%, var(--hero-stage) 0%, transparent 66%),
		color-mix(in srgb, var(--accent) 6%, var(--bg));
}

.hero-centered .container {
	max-width: 46rem;
}

.hero-centered h1 {
	/* Let the kingfisher be the colour hero; the headline reads in plain text.
	   (Was var(--accent) — loud on light, low-contrast on dark.) */
	color: var(--text);
}

.hero-centered .lead {
	margin-left: auto;
	margin-right: auto;
}

.hero-centered .hero-actions {
	justify-content: center;
}



/* Home: the tools and standards visitors juggle today, folding into one process. */
.calm-title {
	max-width: 38rem;
}

.calm {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
	margin-top: 2rem;
}

.calm-sources {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.calm-sources li {
	border: 1px dashed var(--border);
	border-radius: 6px;
	padding: 0.2rem 0.65rem;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.calm-arrow {
	color: var(--gold-strong);
	font-size: 2.25rem;
	font-weight: 700;
}

/* Links to the platform page. */
.calm-target {
	display: block;
	text-align: center;
	color: var(--text-muted);
}

.calm-target:hover {
	color: var(--text);
}

.calm-target:hover strong {
	border-color: var(--accent-text);
}

.calm-target strong {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.4rem;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.75rem 1rem;
	margin-bottom: 0.5rem;
}

/* Home: the six steps, shown once. A real sequence, so an ordered list. */
.steps {
	list-style: none;
	padding: 0;
	margin: 2rem 0 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
}

.step-name {
	display: block;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.6rem 0.5rem;
	font-weight: 600;
	text-align: center;
	margin-bottom: 0.6rem;
}

/* Publish is the payoff: gold, like the platform page's last stage. */
.steps li:last-child .step-name {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--on-gold);
}

.steps p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.steps-more {
	margin: 1.5rem 0 0;
}

/* CTA band */
.cta-band {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.cta-band .container {
	text-align: center;
	padding: 4rem 1.5rem;
}

.cta-band h2 {
	margin: 0 0 1rem;
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--border);
	color: var(--text-muted);
	padding: 2.5rem 0;
	font-size: 0.9rem;
}

.site-footer .container {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 1rem 2rem;
}

.site-footer a {
	color: var(--text-muted);
}

.site-footer a:hover {
	color: var(--accent-text);
}

.footer-nav,
.footer-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
}

/* Prose (inner pages) */
.prose {
	max-width: 44rem;
}

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

.prose ul {
	padding-left: 1.25rem;
}

.prose li {
	margin: 0.4rem 0;
}

.prose img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 2rem auto;
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

/* Services page: two questions that suggest a combination of services (js/services.js). */
.chooser {
	display: grid;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.chooser[hidden] {
	display: none;
}

.chooser fieldset {
	border: 0;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.chooser legend {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.15rem;
	margin-bottom: 0.75rem;
	padding: 0;
}

.pick {
	font: inherit;
	font-size: 0.95rem;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 1.25rem;
	padding: 0.4rem 1rem;
	text-align: left;
	cursor: pointer;
}

.pick:hover {
	border-color: var(--accent-text);
}

.pick[aria-pressed="true"] {
	color: var(--accent-text);
	border-color: var(--accent-text);
	background: color-mix(in srgb, var(--accent) 15%, var(--bg));
}

.suggestion {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
}

.suggestion[hidden] {
	display: none;
}

.suggestion p {
	margin: 0;
}

.suggestion-count {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.15rem;
}

.suggestion-list {
	flex: 1 1 100%;
	margin: 0;
	padding-left: 1.25rem;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 0.35rem 1.5rem;
}

.suggestion-list li::marker {
	color: var(--gold-strong);
	font-weight: 700;
}

.suggestion .muted {
	flex: 1 1 18rem;
	font-size: 0.9rem;
}

/* Rows the chooser suggests: a gold marker; the rest step back. */
.service-row {
	transition: opacity 0.2s;
}

.service-row.is-suggested .service-name {
	border-left: 3px solid var(--gold-strong);
	padding-left: 0.75rem;
}

.service-row.is-dimmed {
	opacity: 0.45;
}

/* How this visitor's records get in, filled in by the chooser. */
.service-harvest {
	display: block;
	margin-top: 0.35rem;
	color: var(--accent-text);
}

.service-harvest[hidden] {
	display: none;
}

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

.service-list {
	margin-top: 2rem;
	border-top: 1px solid var(--border);
}

.service-row {
	display: grid;
	grid-template-columns: 290px minmax(0, 1fr);
	gap: 1.5rem;
	align-items: center;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--border);
}

.service-name {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.service-name h3 {
	margin: 0;
	font-size: 1.05rem;
}

.service-row p {
	margin: 0;
	font-size: 0.92rem;
}

/* Product page: two-column hero when a screenshot is set, benefits, technical panel, price table */
.product-hero.has-image {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 520px;
	gap: 3rem;
	align-items: center;
}

.product-shot {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.benefit-grid {
	margin-top: 2.5rem;
}

.benefit-grid .card p {
	margin: 0.5rem 0 0;
}

.how-it-works {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 3rem;
}

.how-it-works .prose p:first-child {
	margin-top: 0;
}

.price-table {
	padding: 0;
	overflow: hidden;
	margin-top: 2rem;
}

.price-row {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
	border-bottom: 1px solid var(--border);
}

.price-row:last-child {
	border-bottom: 0;
}

.price-row>div {
	padding: 1rem 1.5rem;
	font-size: 0.92rem;
}

.price-head {
	background: var(--bg);
}

.price-head>div {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.2rem;
}

.price {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--gold);
}

.price-span {
	grid-column: span 4;
}

.price-note {
	margin: 1rem 0 0;
	font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 820px) {
	.grid-3 {
		grid-template-columns: 1fr;
	}

	.site-header .container,
	.nav {
		justify-content: center;
	}

	.service-row {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.product-hero.has-image,
	.how-it-works {
		grid-template-columns: 1fr;
	}

	.price-row {
		grid-template-columns: 1fr;
	}

	.price-span {
		grid-column: auto;
	}

	.record-step {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.tabbed .step-tablist {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* The header wraps to more rows here. */
	:target,
	.step-tabs {
		scroll-margin-top: 10rem;
	}

	.step-tablist [role="tab"] {
		font-size: 0.8rem;
		padding: 0.6rem 0.15rem;
		/* Below ~380px "Transformeren" is wider than a third of the screen. */
		hyphens: auto;
	}

	.calm {
		grid-template-columns: 1fr;
		gap: 1rem;
		justify-items: center;
	}

	.calm-sources {
		justify-content: center;
	}

	.calm-arrow {
		transform: rotate(90deg);
	}

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

	.nav {
		gap: 1rem;
	}

	.section {
		padding: 3.5rem 0;
	}
}

@media (max-width: 560px) {

	/* The header wraps to three rows here; pinned, it would hold a fifth of
	   the screen, so it scrolls away with the page instead. */
	.site-header {
		position: static;
	}

	.nav {
		gap: 0.9rem;
		font-size: 0.95rem;
	}

	/* Steps become a list: name beside its line. */
	.steps {
		grid-template-columns: 1fr;
		gap: 0.6rem;
	}

	.steps li {
		display: grid;
		grid-template-columns: 9rem minmax(0, 1fr);
		gap: 0.75rem;
		align-items: center;
	}

	.step-name {
		margin: 0;
	}
}

/* Language switcher (header) */
.lang-switch {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: 0.25rem;
	padding-left: 0.75rem;
	border-left: 1px solid var(--border);
	font-size: 0.8rem;
	letter-spacing: 0.02em;
}

.lang-switch a {
	color: var(--text);
	opacity: 0.5;
	font-weight: 600;
}

.lang-switch a:hover {
	opacity: 0.85;
}

.lang-switch a.active {
	opacity: 1;
	color: var(--gold-strong);
}

:root.light .site-header .lang-switch {
	border-left-color: rgba(255, 255, 255, 0.35);
}

:root.light .site-header .lang-switch a {
	color: #fff;
	opacity: 0.65;
}

:root.light .site-header .lang-switch a.active {
	opacity: 1;
	color: var(--gold);
}

/* Text for screen readers only (e.g. the new-tab note on external links) */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
