/* ==========================================================================
   Nude Webcam — design system
   Palette A-6 Warm Sand · direction C-9 Organic Blobs · edges E2-7 asymmetric
   organic · header E1-2 floating pill · gate D-1 Aurora Veil · accent strategy 2
   (tinted section backgrounds, NOT coloured headings).
   Micro: F-1 toggle · F-14 noise · F-19 view-transitions on theme · F-8 ::selection.
   All colours via variables; --link is split from --accent because the warm
   accent fails AA as body-link text in dark (and is tight in light).
   ========================================================================== */

:root {
	--bg: #FAF6EF;
	--surface: #FFFDF8;
	--text: #2E261A;
	--muted: #6B5F4B;
	--accent: #8C6A3F;
	--accent-2: #D9C29A;
	--link: #7A5A2E;            /* split off --accent: accent-as-text is tight */
	--on-accent: #FFFFFF;
	--tint: #F3EADA;           /* tinted section background (accent strategy 2) */
	--tint-2: #EFE3CE;
	--line: rgba(46, 38, 26, .12);
	--grad: linear-gradient(135deg, #FBF3E4, #F3E6CC 50%, #EAD7B4);
	--shadow: 0 12px 28px rgba(140, 106, 63, .16);
	--shadow-sm: 0 6px 16px rgba(46, 38, 26, .08);
	--blob-a: rgba(217, 194, 154, .60);
	--blob-b: rgba(140, 106, 63, .28);
	--blob-c: rgba(234, 215, 180, .55);

	/* spacing + type tokens */
	--s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
	--s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
	--col: 44rem;
	--maxw: 1120px;
	--pad: clamp(16px, 4vw, 32px);

	/* radius + shadow system (E2-7 asymmetric organic; mirrored on neighbours) */
	--r-lg: 42px 14px 42px 14px;
	--r-md: 28px 10px 28px 10px;
	--r-sm: 14px;
	--r-pill: 999px;

	--font-head: "Geologica", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-body: "Rubik", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

	--header-h: 84px;
}

[data-theme="dark"] {
	--bg: #1B1712;
	--surface: #251F17;
	--text: #F0EAE0;
	--muted: #C0B29C;
	--accent: #8F6B3C;
	--accent-2: #C6A572;
	--link: #C6A572;           /* warm accent as text fails on dark bg (~3.65) */
	--on-accent: #FFFFFF;
	--tint: #241D14;
	--tint-2: #2B2217;
	--line: rgba(240, 234, 224, .14);
	--grad: linear-gradient(135deg, #2A2118, #241B12 50%, #1E1710);
	--shadow: 0 16px 32px rgba(0, 0, 0, .45);
	--shadow-sm: 0 6px 16px rgba(0, 0, 0, .35);
	--blob-a: rgba(143, 107, 60, .40);
	--blob-b: rgba(198, 165, 114, .22);
	--blob-c: rgba(90, 66, 34, .45);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	font-weight: 400;
	overflow-x: hidden;
}

/* subtle noise over flat fills (F-14) — static, respects nothing to animate */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: .04;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Content sits above the fixed noise (z-index 0). Header/cookie/sheet layer
   higher so the sticky header stays above scrolling content, and the sheet
   above the cookie. */
.dun-main, .dun-footer { position: relative; z-index: 1; }

::selection { background: var(--accent-2); color: var(--text); }          /* F-8 */
[data-theme="dark"] ::selection { background: rgba(198, 165, 114, .45); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.18; font-weight: 600; color: var(--text); }

a { color: var(--link); }

:where(a):focus-visible,
:where(button):focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 6px;
}

.dun-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--surface);
	color: var(--text);
	padding: var(--s3) var(--s4);
	border-radius: var(--r-sm);
	z-index: 60;
}
.dun-skip:focus { left: var(--s4); top: var(--s4); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.dun-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s2);
	min-height: 48px;
	padding: var(--s3) var(--s6);
	background: var(--accent);
	color: var(--on-accent);
	background-image: none;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.02rem;
	text-decoration: none;
	border: 0;
	border-radius: var(--r-pill);
	box-shadow: var(--shadow-sm);
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.dun-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dun-btn:active { transform: translateY(0); }
.dun-btn--sm { min-height: 40px; padding: var(--s2) var(--s5); font-size: .95rem; }

/* --------------------------------------------------------------------------
   Header — floating pill (E1-2)
   -------------------------------------------------------------------------- */
.dun-header {
	position: sticky;
	top: 0;
	z-index: 30;
	padding: var(--s3) var(--pad) 0;
}
.dun-header__pill {
	max-width: var(--maxw);
	margin-inline: auto;
	margin-top: var(--s2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s4);
	padding: var(--s3) var(--s3) var(--s3) var(--s5);
	background: color-mix(in srgb, var(--surface) 82%, transparent);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	box-shadow: var(--shadow-sm);
}
.dun-brand {
	display: inline-flex;
	align-items: center;
	gap: var(--s3);
	text-decoration: none;
	color: var(--text);
	min-width: 0;
}
.dun-brand__mark { display: inline-grid; place-items: center; flex: 0 0 auto; }
.dun-brand__frame { fill: none; stroke: var(--accent); stroke-width: 2; }
.dun-brand__lens { fill: none; stroke: var(--accent); stroke-width: 2; }
.dun-brand__dot { fill: var(--accent-2); }
.dun-brand__name {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.14rem;
	letter-spacing: -.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.dun-header__actions { display: flex; align-items: center; gap: var(--s2); flex: 0 0 auto; }

/* icon-only buttons: fixed size + grid-centre (never let svg reset clamp them) */
.dun-icobtn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	color: var(--text);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	transition: background-color .18s ease, border-color .18s ease;
}
.dun-icobtn:hover { background: var(--tint); border-color: var(--accent-2); }

/* theme toggle sun/moon crossfade */
.dun-toggle__sun, .dun-toggle__moon { grid-area: 1 / 1; color: var(--text); transition: opacity .25s ease, transform .35s ease; }
[data-theme="light"] .dun-toggle__moon { opacity: 0; transform: rotate(-40deg) scale(.6); }
[data-theme="dark"]  .dun-toggle__sun  { opacity: 0; transform: rotate(40deg) scale(.6); }

/* burger */
.dun-burger__box { position: relative; width: 20px; height: 14px; display: block; }
.dun-burger__line, .dun-burger__box::before, .dun-burger__box::after {
	content: "";
	position: absolute;
	left: 0; right: 0;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform .28s ease, opacity .2s ease, top .28s ease;
}
.dun-burger__box::before { top: 0; }
.dun-burger__line { top: 6px; }
.dun-burger__box::after { top: 12px; }
.dun-burger[aria-expanded="true"] .dun-burger__box::before { top: 6px; transform: rotate(45deg); }
.dun-burger[aria-expanded="true"] .dun-burger__line { opacity: 0; }
.dun-burger[aria-expanded="true"] .dun-burger__box::after { top: 6px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Language dropdown (desktop) — TranslatePress menu lives inside
   -------------------------------------------------------------------------- */
.dun-lang { position: relative; }
.dun-lang__toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--s2);
	min-height: 42px;
	padding: 0 var(--s4);
	background: transparent;
	color: var(--text);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	font-family: var(--font-head);
	font-weight: 500;
	font-size: .95rem;
}
.dun-lang__toggle:hover { background: var(--tint); border-color: var(--accent-2); }
.dun-lang__chev { display: inline-grid; place-items: center; transition: transform .22s ease; }
.dun-lang[data-open="true"] .dun-lang__chev { transform: rotate(180deg); }
.dun-lang__menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 180px;
	padding: var(--s2);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.dun-lang[data-open="true"] .dun-lang__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity .2s ease, transform .2s ease;
}
.dun-lang__list { list-style: none; margin: 0; padding: 0; }
.dun-lang__list li { margin: 0; }
.dun-lang__list a,
.dun-lang__list .trp-language-switcher-container a {
	display: flex;
	align-items: center;
	gap: var(--s2);
	min-height: 44px;
	padding: var(--s2) var(--s3);
	border-radius: var(--r-sm);
	text-decoration: none;
	color: var(--text);
	font-family: var(--font-body);
}
.dun-lang__list a:hover { background: var(--tint); }
.dun-lang__list img { width: 20px; height: auto; border-radius: 3px; }

/* Desktop dropdown hidden on mobile — SCOPED to the header so the in-sheet
   language list (a separate element) is never caught. */
@media (max-width: 768px) {
	.dun-header .dun-lang { display: none; }
}
@media (min-width: 769px) {
	.dun-burger { display: none; }
}

/* --------------------------------------------------------------------------
   Mobile sheet (bottom sheet) — above the cookie banner and header
   -------------------------------------------------------------------------- */
.dun-sheet { position: fixed; inset: 0; z-index: 50; }
.dun-sheet[hidden] { display: none; }
.dun-sheet__scrim {
	position: absolute;
	inset: 0;
	background: rgba(20, 15, 8, .5);
	opacity: 0;
	transition: opacity .3s ease;
	z-index: 50;
}
.dun-sheet__panel {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 51;                       /* above scrim so link taps land */
	max-height: 82vh;
	overflow-y: auto;
	padding: var(--s5) var(--pad) calc(var(--s6) + env(safe-area-inset-bottom));
	background: var(--surface);
	border-radius: 28px 28px 0 0;
	box-shadow: 0 -12px 40px rgba(0, 0, 0, .3);
	transform: translateY(100%);
	transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.dun-sheet.is-open .dun-sheet__scrim { opacity: 1; }
.dun-sheet.is-open .dun-sheet__panel { transform: translateY(0); }
.dun-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s4); }
.dun-sheet__title { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.dun-sheet__label {
	margin: var(--s4) 0 var(--s2);
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}
.dun-lang__list--sheet a { border: 1px solid var(--line); margin-bottom: var(--s2); }
.dun-sheet__links { list-style: none; margin: 0; padding: 0; }
.dun-sheet__links a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: var(--s2) var(--s3);
	border-radius: var(--r-sm);
	text-decoration: none;
	color: var(--text);
}
.dun-sheet__links a:hover { background: var(--tint); }

/* --------------------------------------------------------------------------
   Article + reading column
   -------------------------------------------------------------------------- */
.dun-main { padding-block: var(--s6) var(--s8); }
.dun-entry {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--pad);
}
/* Zero-specificity centred column; component rules override, gate is exempt. */
.dun-entry > :where(*:not(.dun-gate)) {
	max-width: var(--col);
	margin-inline: auto;
}
.dun-entry > * + * { margin-block-start: var(--s5); }

.dun-h1 {
	font-size: clamp(2rem, 5.4vw, 3rem);
	font-weight: 700;
	letter-spacing: -.02em;
	margin-block: var(--s7) var(--s4);
	scroll-margin-top: 96px;
}
.dun-entry h2 {
	font-size: clamp(1.45rem, 3.4vw, 1.95rem);
	margin-block: var(--s7) var(--s3);
	scroll-margin-top: 96px;
}
.dun-entry p { margin-block: 0; }
.dun-entry strong { font-weight: 600; color: var(--text); }
.dun-entry a:not([class]) {
	color: var(--link);
	text-decoration-color: var(--accent-2);
	text-underline-offset: 3px;
}

/* Gutenberg lists (.wp-block-list) — never blanket margin:0 them */
.dun-entry .wp-block-list { padding-left: 0; list-style: none; }
.dun-steps, .dun-norms { display: grid; gap: var(--s3); }
.dun-steps li, .dun-norms li {
	position: relative;
	margin: 0;
	padding: var(--s4) var(--s5) var(--s4) var(--s6);
	background: var(--tint);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}
.dun-steps { counter-reset: dun-step; }
.dun-steps li { counter-increment: dun-step; padding-left: calc(var(--s8) + var(--s2)); }
.dun-steps li::before {
	content: counter(dun-step);
	position: absolute;
	left: var(--s4);
	top: var(--s4);
	width: 34px; height: 34px;
	display: grid; place-items: center;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1rem;
	color: var(--on-accent);
	background: var(--accent);
	border-radius: 14px 6px 14px 6px;
}
.dun-norms li { padding-left: var(--s6); }
.dun-norms li::before {
	content: "";
	position: absolute;
	left: var(--s4);
	top: 1.55em;
	width: 9px; height: 9px;
	background: var(--accent);
	border-radius: 60% 40% 55% 45%;
}
.dun-steps strong, .dun-norms strong { display: block; margin-bottom: 2px; }

/* Illustration (H-10 signal waves; colours from palette, dark-safe) */
.dun-illus {
	margin-block: var(--s6);
	padding: var(--s5);
	background: var(--grad);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}
.dun-illus__svg { width: 100%; height: auto; display: block; }
.dun-illus__bg { fill: var(--surface); opacity: .5; }
.dun-illus__waves .dun-illus__wave { stroke: var(--accent); stroke-width: 7; opacity: .8; }
.dun-illus__wave--faint { stroke: var(--accent-2); opacity: .55; }
.dun-illus__core { fill: var(--accent); }
.dun-illus__dot { fill: var(--on-accent); }
.dun-illus__spark { fill: var(--accent-2); }
.dun-illus__spark--2 { opacity: .7; }
.dun-illus__spark--3 { opacity: .5; }

/* Quote callout (E3-6) */
.dun-quote {
	position: relative;
	margin-block: var(--s6);
	padding: var(--s6) var(--s6) var(--s6) var(--s7);
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-sm);
}
.dun-quote::before {
	content: "\201C";
	position: absolute;
	left: var(--s4); top: -.1em;
	font-family: var(--font-head);
	font-size: 3.4rem;
	line-height: 1;
	color: var(--accent-2);
}
.dun-quote p { font-family: var(--font-head); font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 500; line-height: 1.4; }

/* Compare cards (E3-5) — mirrored organic radii (E2-7) */
.dun-compare {
	margin-block: var(--s6);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--s4);
}
.dun-compare__card {
	padding: var(--s5);
	background: var(--tint);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}
.dun-compare__card--good { border-radius: 14px 42px 14px 42px; border-color: var(--accent-2); background: var(--surface); }
.dun-compare__head {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.05rem;
	margin-bottom: var(--s3);
	padding-bottom: var(--s2);
	border-bottom: 1px solid var(--line);
}
.dun-compare__card--good .dun-compare__head { color: var(--text); }
.dun-compare__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.dun-compare__list li { position: relative; margin: 0; padding-left: var(--s5); font-size: .98rem; color: var(--muted); }
.dun-compare__list li::before {
	content: "";
	position: absolute; left: 2px; top: .62em;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent);
}
.dun-compare__card--good .dun-compare__list li::before { background: var(--accent-2); }

/* --------------------------------------------------------------------------
   Age gate — Aurora Veil (D-1): full-width band, drifting blobs, dissolving base
   -------------------------------------------------------------------------- */
.dun-gate {
	position: relative;
	overflow: hidden;
	margin-block: var(--s5) var(--s7);
	padding: clamp(var(--s6), 7vw, var(--s8)) var(--pad);
	border-radius: var(--r-lg);
	isolation: isolate;
	background:
		linear-gradient(180deg, transparent 62%, var(--bg) 100%),
		var(--grad);
}
.dun-gate__veil { position: absolute; inset: 0; z-index: -1; }
.dun-gate__blob {
	position: absolute;
	width: 46%;
	aspect-ratio: 1;
	border-radius: 50%;
	filter: blur(60px);
	will-change: transform;
}
.dun-gate__blob--a { top: -12%; left: -6%; background: radial-gradient(circle, var(--blob-a), transparent 68%); animation: dun-drift-a 22s ease-in-out infinite; }
.dun-gate__blob--b { bottom: -18%; right: -4%; background: radial-gradient(circle, var(--blob-b), transparent 66%); animation: dun-drift-b 26s ease-in-out infinite; }
.dun-gate__blob--c { top: 24%; right: 22%; width: 34%; background: radial-gradient(circle, var(--blob-c), transparent 64%); animation: dun-drift-c 19s ease-in-out infinite; }
@keyframes dun-drift-a { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6%, 8%); } }
@keyframes dun-drift-b { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-7%, -5%); } }
@keyframes dun-drift-c { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4%, -6%) scale(1.08); } }

.dun-gate__inner {
	position: relative;
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
	display: grid;
	justify-items: center;
	gap: var(--s4);
}
.dun-gate__badge {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .04em;
	color: var(--on-accent);
	background: var(--accent);
	padding: var(--s2) var(--s4);
	border-radius: var(--r-pill);
	box-shadow: var(--shadow-sm);
}
/* gate text at (0,2,0) so a .dun-entry p (0,1,1) can't shrink it to body size */
.dun-gate .dun-gate__q {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(1.5rem, 4.4vw, 2.15rem);
	line-height: 1.22;
	color: var(--text);
	max-width: 20ch;
}
/* Gate note + scroll link: over the WARM gradient in light mode the --muted /
   --link values dip under AA on the darkest stop (#EAD7B4 ~4.42/4.47), so use a
   darker ink here; dark mode keeps the light values (the gradient is dark). */
.dun-gate .dun-gate__note { font-size: 1rem; color: #574334; max-width: 40ch; }
.dun-gate .dun-gate__scroll {
	font-size: .95rem;
	color: #6E4E20;
	text-decoration: none;
	border-bottom: 1px solid var(--accent);
	padding-bottom: 2px;
}
.dun-gate .dun-gate__scroll:hover { color: var(--accent); }
[data-theme="dark"] .dun-gate .dun-gate__note { color: var(--muted); }
[data-theme="dark"] .dun-gate .dun-gate__scroll { color: var(--link); border-bottom-color: var(--accent-2); }
.dun-gate__go { margin-top: var(--s2); }

/* --------------------------------------------------------------------------
   Cookie notice — floating corner card
   -------------------------------------------------------------------------- */
.dun-cookie {
	position: fixed;
	left: var(--s4);
	right: var(--s4);
	bottom: var(--s4);
	z-index: 40;
	max-width: 420px;
	margin-left: auto;
	padding: var(--s4) var(--s5);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow);
	display: grid;
	gap: var(--s3);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .3s ease, transform .3s ease;
}
.dun-cookie[hidden] { display: none; }
.dun-cookie.is-in { opacity: 1; transform: translateY(0); }
.dun-cookie__text { font-size: .9rem; line-height: 1.55; color: var(--muted); margin: 0; }
.dun-cookie__text a { color: var(--link); }
.dun-cookie__ok { justify-self: start; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.dun-footer {
	margin-top: var(--s8);
	padding: var(--s7) var(--pad) calc(var(--s7) + env(safe-area-inset-bottom));
	background: var(--tint);
	border-top: 1px solid var(--line);
}
.dun-footer__inner {
	max-width: var(--maxw);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s4);
}
.dun-footer__brand { display: inline-flex; align-items: center; gap: var(--s3); }
.dun-footer__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.dun-footer__nav .dun-foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s5); }
.dun-footer__nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.dun-footer__nav a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.dun-footer__legal { display: inline-flex; align-items: center; gap: var(--s3); font-size: .88rem; color: var(--muted); margin: 0; }
.dun-footer__age {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .78rem;
	color: var(--on-accent);
	background: var(--accent);
	padding: 2px var(--s2);
	border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Small templates (index / 404 / inner pages)
   -------------------------------------------------------------------------- */
.dun-mini, .dun-e404 { display: grid; place-items: center; min-height: 60vh; padding: var(--s8) var(--pad); text-align: center; }
.dun-mini__inner, .dun-e404__inner { max-width: 32rem; display: grid; gap: var(--s4); justify-items: center; }
.dun-e404__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 18vw, 8rem); line-height: 1; color: var(--accent); margin: 0; }
.dun-mini__title, .dun-e404__title { font-size: clamp(1.5rem, 4vw, 2rem); }
.dun-mini__text, .dun-e404__text { color: var(--muted); margin: 0; }

.dun-page { max-width: var(--col); margin-inline: auto; padding: var(--s7) var(--pad) var(--s8); }
.dun-page__title { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: var(--s5); }
.dun-prose > * + * { margin-block-start: var(--s4); }
.dun-prose h2 { font-size: 1.4rem; margin-block: var(--s6) var(--s3); }
.dun-prose a { color: var(--link); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.dun-compare { grid-template-columns: 1fr; }
	.dun-header__pill { padding-left: var(--s4); }
	.dun-brand__name { font-size: 1.04rem; }
	.dun-cookie { max-width: none; }
}
@media (max-width: 380px) {
	.dun-brand__name { font-size: .96rem; max-width: 42vw; }
}

/* Motion: one ambient decoration (gate blobs). Kill decorative motion on ask. */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
	.dun-gate__blob { animation: none !important; }
	.dun-btn, .dun-icobtn, .dun-lang__menu, .dun-sheet__panel, .dun-sheet__scrim, .dun-cookie { transition: none !important; }
}
