/*
Theme Name: Rawz
Description: Multisite theme with internal Submissions CPT and funnel shell.
Version: 1.0.45
Text Domain: rawz
*/

/* -------------------------------------------------------------------------
   Design tokens — fallbacks only; Theme Options inject overrides on :root
   (#rawz-theme-css-vars in wp_head).
   ------------------------------------------------------------------------- */
:root {
	/* Brand palette */
	--color-page-bg:    #6A9C80;   /* sage green */
	--color-surface:    #ffffff;
	--color-text:       #1a1d26;
	--color-text-muted: #4a5568;
	--color-accent:     #D94035;   /* red — submit & selected states */
	--color-accent-soft:#fde8e6;
	--color-border:     rgba(255 255 255 / 0.22);

	/* Page typography (override via Theme Options) */
	--color-heading:    #ffffff;
	--color-body:       #1a1d26;
	--color-funnel-step-title: #ffffff;

	/* Pill / textarea brand tones */
	--color-pill-bg:       #fdd7bb;   /* resting rating / chips */
	--color-pill-hover:    #fbc9a8;   /* hover state */
	--color-pill-selected: #D94035;   /* red — rating hint + accents (pill/rating fills use orange) */
	--color-rating-active: #F97A1F;   /* selected rating tile (hint uses --color-pill-selected) */
	--color-rating-inactive: #9c9c9c; /* unselected rating numerals */
	--color-pill-text:     #1a1d26;
	--color-pill-text-sel: #ffffff;
	--color-textarea-bg:    #fdd7bb;   /* textarea fill */

	/* Typography: Ruddy headings + prose; Inter for form chips / textarea / ratings + submit */
	--font-body:    'Ruddy', Georgia, 'Times New Roman', serif;
	--font-display: 'Ruddy', Georgia, 'Times New Roman', serif;
	--font-heading-size: clamp(1rem, 2.85vw + 0.52rem, 1.5rem); /* white-card question labels ~16–24px */

	/* Funnel-readable body (fluid; aligns with Theme Options prose scale) */
	--font-funnel-prose: clamp(1rem, 3.05vw + 0.48rem, 1.375rem); /* rich text blocks ~16–22px */
	--font-inter:   'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	/* Radii */
	--radius-sm:   0.5rem;
	--radius-md:   0.875rem;
	--radius-lg:   1.125rem;
	--radius-pill: 9999px;

	/* Shadows (form card uses black-based lift; see --shadow-form) */
	--shadow-card:       0 2px 12px rgb(0 0 0 / 0.08), 0 0 0 1px rgb(0 0 0 / 0.04);
	--radius-form-card: 16px;
	--shadow-form:      0 4px 6px rgb(0 0 0 / 0.07),
		0 12px 24px rgb(0 0 0 / 0.12),
		0 24px 48px rgb(0 0 0 / 0.14);

	/* Spacing */
	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2rem;
	--space-xl: clamp(2rem, 6vw, 3rem);

	--tap-min: 2.75rem;

	/* Motion */
	--ease-out-soft:  cubic-bezier(0.22, 1, 0.36, 1);
	--duration-step:  0.28s;
	--duration-funnel-crossfade: 0.45s;
	--duration-fast:  0.15s;
}

@media (prefers-reduced-motion: reduce) {
	:root {
		--duration-step: 0.01ms;
		--duration-funnel-crossfade: 0.01ms;
		--duration-fast: 0.01ms;
	}
}

/* -------------------------------------------------------------------------
   Ruddy — Regular + Bold (assets/fonts/Ruddy-Regular, Ruddy-Bold)
   ------------------------------------------------------------------------- */
@font-face {
	font-family: 'Ruddy';
	src:
		url('assets/fonts/Ruddy-Regular/Ruddy-Regular.woff2') format('woff2'),
		url('assets/fonts/Ruddy-Regular/Ruddy-Regular.woff')  format('woff'),
		url('assets/fonts/Ruddy-Regular/Ruddy-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style:  normal;
	font-display: swap;
}

@font-face {
	font-family: 'Ruddy';
	src:
		url('assets/fonts/Ruddy-Bold/Ruddy-Bold.woff2') format('woff2'),
		url('assets/fonts/Ruddy-Bold/Ruddy-Bold.woff')  format('woff'),
		url('assets/fonts/Ruddy-Bold/Ruddy-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style:  normal;
	font-display: swap;
}

@font-face {
	font-family: 'Ruddy';
	src:
		url('assets/fonts/Ruddy-Bold/Ruddy-Bold.woff2') format('woff2'),
		url('assets/fonts/Ruddy-Bold/Ruddy-Bold.woff')  format('woff'),
		url('assets/fonts/Ruddy-Bold/Ruddy-Bold.ttf') format('truetype');
	font-weight: 800;
	font-style:  normal;
	font-display: swap;
}

@font-face {
	font-family: 'Ruddy';
	src:
		url('assets/fonts/Ruddy-Bold/Ruddy-Bold.woff2') format('woff2'),
		url('assets/fonts/Ruddy-Bold/Ruddy-Bold.woff')  format('woff'),
		url('assets/fonts/Ruddy-Bold/Ruddy-Bold.ttf') format('truetype');
	font-weight: 900;
	font-style:  normal;
	font-display: swap;
}

/* -------------------------------------------------------------------------
   Inter — form UI (SemiBold numeric/chips; Black button)
   assets/fonts/Inter/static/
   ------------------------------------------------------------------------- */
@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/Inter/static/Inter_18pt-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style:  normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/Inter/static/Inter_18pt-Black.ttf') format('truetype');
	font-weight: 900;
	font-style:  normal;
	font-display: swap;
}

/* -------------------------------------------------------------------------
   Global reset / base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	line-height: 1.45;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-body);
	min-height: 100dvh;
	background-color: var(--color-page-bg);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* -------------------------------------------------------------------------
   Site header
   ------------------------------------------------------------------------- */
.site-header {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-block: clamp(1rem, 4vw, 1.5rem) var(--space-xs);
	padding-inline: clamp(0.6875rem, 4vw, 1rem);
}

.site-branding {
	text-align: center;
}

.site-logo-link {
	display: inline-block;
	text-decoration: none;
	transition: opacity var(--duration-fast) var(--ease-out-soft);
}

.site-logo-link:hover   { opacity: 0.88; }
.site-logo-link:focus-visible {
	outline: 2px solid var(--color-surface);
	outline-offset: 0.35rem;
	border-radius: var(--radius-sm);
}

.site-logo-link .site-logo {
	display: block;
	max-height: clamp(3rem, 10vw, 5rem);
	width: auto;
	margin-inline: auto;
}

/* text fallback when no logo image */
.site-brand-name {
	display: inline-block;
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: clamp(2rem, 9vw, 4rem);
	line-height: 1;
	color: var(--color-heading);
}

/* -------------------------------------------------------------------------
   Footer — “Vezi și” (WP menu: rawz_footer_see_also)
   Background matches body / Theme Options --color-page-bg.
   ------------------------------------------------------------------------- */
nav.rawz-footer-see-also {
	background-color: var(--color-page-bg);
	transition: background-color var(--duration-step) var(--ease-out-soft);
	margin-bottom: 48px;
}

.rawz-footer-see-also__inner {
	box-sizing: border-box;
	max-width: 845px;
	margin-inline: auto;
	padding-block: var(--space-sm);
	padding-inline: clamp(0.6875rem, 4vw, 1rem);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: clamp(0.75rem, 3vw, 1.25rem);
	row-gap: var(--space-xs);
}

.rawz-footer-see-also__prefix {
	margin: 0;
	font-family: var(--font-inter);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--color-heading);
	white-space: nowrap;
}

.rawz-footer-see-also__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(0.75rem, 3vw, 1.25rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.rawz-footer-see-also__list > li {
	margin: 0;
	padding: 0;
}

.rawz-footer-see-also__list a {
	display: inline-block;
	font-family: var(--font-inter);
	font-weight: 700;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: #ffe6d5;
	transition:
		opacity var(--duration-fast) var(--ease-out-soft),
		text-decoration var(--duration-fast) var(--ease-out-soft);
}

.rawz-footer-see-also__list a:hover,
.rawz-footer-see-also__list a:focus-visible {
	opacity: 0.92;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.rawz-footer-see-also__list .current-menu-item a {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

/* -------------------------------------------------------------------------
   Funnel layout
   ------------------------------------------------------------------------- */
/*
 * main#primary: specificity over generic resets + Theme Options --color-page-bg.
 */
main#primary.site-main.funnel-host {
	padding-block: var(--space-sm) var(--space-xl);
	padding-inline: clamp(0.6875rem, 4vw, 1rem);
	max-width: 566px;
	margin-inline: auto;
	background-color: var(--color-page-bg);
	transition: background-color var(--duration-step) var(--ease-out-soft);
}
.funnel-root {
	position: relative;
	min-height: 60vh;
}
.funnel-root.funnel-root--step-crossfade {
	display: grid;
}

.funnel-root.funnel-root--step-crossfade > .funnel-step.funnel-step--crossfade-stack {
	grid-area: 1 / 1;
	min-width: 0;
	align-self: start;
	justify-self: stretch;
	transition:
		opacity var(--duration-funnel-crossfade) var(--ease-out-soft),
		transform var(--duration-funnel-crossfade) var(--ease-out-soft);
}

/* Stepped crossfade: exiting step fades up, entering step rises in */
.funnel-step.funnel-step--crossfade-enter {
	opacity: 0;
	transform: translate3d(0, 14px, 0);
	pointer-events: none;
}

.funnel-step.funnel-step--crossfade-leave {
	opacity: 0;
	transform: translate3d(0, -10px, 0);
	pointer-events: none;
}

/* -------------------------------------------------------------------------
   Funnel step
   ------------------------------------------------------------------------- */
.funnel-step {
	position: relative;
	border-radius: var(--radius-lg);
	padding: 0;
	padding-block-end: var(--space-md);
	transition:
		opacity  var(--duration-step) var(--ease-out-soft),
		transform var(--duration-step) var(--ease-out-soft);
	will-change: opacity;
	transform: translateZ(0);
	backface-visibility: hidden;
}

.funnel-step:focus-within { outline: none; }

/* Optional hero before step title / subtitle (Theme Options per step). */
.funnel-step__intro-image {
	margin: 0 0 clamp(0.875rem, 2.75vw + 0.52rem, 1.5rem);
	padding: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.funnel-step__intro-image .funnel-step__intro-image-el {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.funnel-step__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-xs);
	text-align: center;
	margin: 0 0 clamp(1rem, 3.25vw + 0.52rem, 1.5rem);
}

.funnel-step__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.75rem, 5.85vw + 0.72rem, 3rem); /* ~28–48px in the funnel column */
	line-height: 1.22;
	letter-spacing: 0.033em;
	text-align: center;
	margin: 0;
	color: var(--color-funnel-step-title);
	text-transform: uppercase;
}

.funnel-step__subtitle {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: clamp(1.0625rem, 3.05vw + 0.62rem, 1.5rem); /* ~17–24px */
	line-height: 1.42;
	letter-spacing: 0.025em;
	text-align: center;
	margin: 0 0 clamp(1.5rem, 4.5vw + 0.5rem, 3rem);
	max-width: 36ch;
	color: var(--color-heading);
}

/* Step masthead fragments (hero / title / subtitle) interleaved via Theme Options block order */
.funnel-step__meta-slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-xs);
	text-align: center;
	margin: 0;
	width: 100%;
}

.funnel-step__content {
	display: flex;
	flex-direction: column;
	gap: clamp(0.75rem, 2.75vw + 0.48rem, 1rem);
}

/* Text blocks aligned left — vertical rhythm vs neighbouring blocks */
.funnel-block.funnel-block--text.funnel-block--align-left {
	margin-top: clamp(10px, 2vw, 14px);
	margin-bottom: clamp(10px, 2vw, 14px);
}

/* -------------------------------------------------------------------------
   Block horizontal alignment (Theme Options → Align, next to Block type)
   ------------------------------------------------------------------------- */
.funnel-block--text.funnel-block--align-center,
.funnel-block--form.funnel-block--align-center {
	text-align: center;
}

.funnel-block--text.funnel-block--align-right,
.funnel-block--form.funnel-block--align-right {
	text-align: right;
}

/* Image blocks: horizontal placement without forcing full bleed */
.funnel-block--image.funnel-block--align-center {
	display: flex;
	justify-content: center;
}

.funnel-block--image.funnel-block--align-right {
	display: flex;
	justify-content: flex-end;
}

.funnel-block--image.funnel-block--align-center .funnel-block__image,
.funnel-block--image.funnel-block--align-right .funnel-block__image {
	width: auto;
	max-width: 100%;
}

/* Form controls that are flex strips — pills centered; rating strip stays full-width spacing */
.funnel-block--form.funnel-block--align-center .funnel-field__control--pills {
	justify-content: center;
}

.funnel-block--form.funnel-block--align-right .funnel-field__control--pills {
	justify-content: flex-end;
}

.funnel-block--form.funnel-block--align-center .funnel-field__label {
	text-align: center;
}

.funnel-block--form.funnel-block--align-right .funnel-field__label {
	text-align: right;
}

.funnel-block--form.funnel-block--align-center .funnel-field__rating-hint {
	text-align: center;
}

.funnel-block--form.funnel-block--align-right .funnel-field__rating-hint {
	text-align: right;
}

/* Readable typing even when card is centred in the funnel column */
.funnel-block--form.funnel-block--align-center .funnel-field__textarea,
.funnel-block--form.funnel-block--align-center .funnel-field__textarea--pill-followup,
.funnel-block--form.funnel-block--align-right .funnel-field__textarea,
.funnel-block--form.funnel-block--align-right .funnel-field__textarea--pill-followup {
	text-align: start;
}

/* -------------------------------------------------------------------------
   Text block
   ------------------------------------------------------------------------- */
.funnel-block--text .funnel-block__heading,
h3.funnel-block__heading {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--font-funnel-prose);
	font-weight: 400;
	line-height: 1.28;
	color: var(--color-heading);
	text-transform: uppercase;
}

.funnel-block--text .funnel-block__body {
	color: var(--color-body);
	font-family: var(--font-body);
	font-size: var(--font-funnel-prose);
	font-weight: 400;
	line-height: 1.48;
	margin: 0;
	white-space: pre-line;
}

.funnel-block--text .funnel-block__body :where(p, li, h1, h2, h3, h4, h5, h6) {
	white-space: pre-line;
}

/* Inline rich-text tokens (Theme Options toolbar — whitelisted span classes) */
.funnel-block--text .funnel-block__body .rawz-rich-tone-heading {
	color: var(--color-heading);
}

.funnel-block--text .funnel-block__body .rawz-rich-tone-body {
	color: var(--color-body);
}

.funnel-block--text .funnel-block__body .rawz-rich-fw-bold {
	font-weight: 700;
}

.funnel-block--text .funnel-block__body .rawz-rich-fw-regular {
	font-weight: 400;
}



/* -------------------------------------------------------------------------
   Image block
   ------------------------------------------------------------------------- */
.funnel-block--image {
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.funnel-block__image {
	width: 100%;
	display: block;
}

/* -------------------------------------------------------------------------
   Form block: transparent stack — one white card per question (fieldset).
   ------------------------------------------------------------------------- */
.funnel-block--form {
	display: flex;
	flex-direction: column;
	gap: clamp(1.15rem, 3.85vw + 0.65rem, 2rem);
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	margin-block: clamp(1rem, 3vw, 1.5rem);
	padding: 0;
	min-inline-size: 0;
}

.funnel-block--form fieldset.funnel-field {
	position: relative;
	box-sizing: border-box;
	background-color: var(--color-surface);
	border: 0;
	border-radius: var(--radius-form-card);
	box-shadow: var(--shadow-form);
	margin: 0;
	min-width: 0;
	padding: clamp(1rem, 3.5vw, 1.4rem);
}

/* Visible question heading (legend is sr-only — avoids UA drawing legend outside the card) */
.funnel-block--form .funnel-field__label {
	float: none;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 clamp(0.65rem, 2.2vw, 1rem);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--font-heading-size);
	line-height: 1.28;
	text-transform: uppercase;
	letter-spacing: 0.055em;
	text-align: left;
	color: var(--color-text);
}

/* -------------------------------------------------------------------------
   Rating — 1–10 horizontal strip with ~44px touch targets & scroll pan on narrow columns
   ------------------------------------------------------------------------- */
.funnel-field__control--rating {
	box-sizing: border-box;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	min-width: 0;
	column-gap: 0.15rem;
	padding-block: 0.2rem;
	margin-inline: -0.125rem;
	padding-inline: 0.125rem;
	overflow-x: auto;
	overflow-y: visible;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
}

.funnel-field__rating-option {
	position: relative;
	box-sizing: border-box;
	flex: 0 0 var(--tap-min);
	width: var(--tap-min);
	height: var(--tap-min);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	scroll-snap-align: center;
}

.funnel-field__rating-option input {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: var(--tap-min);
	height: var(--tap-min);
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.funnel-field__rating-option span[aria-hidden="true"] {
	box-sizing: border-box;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	display: grid;
	place-items: center;
	justify-content: center;
	align-content: center;
	width: min(2.125rem, 78%);
	height: min(2.125rem, 78%);
	padding: 0;
	margin: 0;
	overflow: visible;
	line-height: 1;
	border-radius: 50%;
	font-family: var(--font-inter);
	font-size: clamp(0.6875rem, 2vw, 0.75rem);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	text-align: center;
	background: var(--color-pill-bg);
	color: var(--color-rating-inactive);
	transition:
		background-color var(--duration-fast) ease,
		color var(--duration-fast) ease;
	pointer-events: none;
	user-select: none;
}

.funnel-field__rating-option:hover span[aria-hidden="true"],
.funnel-field__rating-option:focus-within span[aria-hidden="true"] {
	background-color: var(--color-pill-hover);
}

.funnel-field__rating-option input:checked + .screen-reader-text + span[aria-hidden="true"] {
	background: var(--color-rating-active);
	color: var(--color-pill-text-sel);
}

/* hint text below rating */
.funnel-field__rating-hint {
	font-size: clamp(0.9375rem, 0.5rem + 1.85vw, 1rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-pill-selected);
	text-align: center;
	margin-top: clamp(1rem, 3vw, 1.4rem);
}

/* -------------------------------------------------------------------------
   Pills (multi-select checkboxes)
   ------------------------------------------------------------------------- */
.funnel-field__control--pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.funnel-field__pill {
	display: block;
	flex: 0 1 auto;
	cursor: pointer;
}

.funnel-field__pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
}

.funnel-field__pill-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	box-sizing: border-box;
	padding: 0.5rem clamp(0.875rem, 3vw, 1.0625rem);
	border-radius: var(--radius-pill);
	background-color: var(--color-pill-bg);
	font-family: var(--font-inter);
	font-size: max(13px, 0.8125rem);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-pill-text);
	line-height: 1.22;
	transition:
		background-color var(--duration-fast) ease,
		color var(--duration-fast) ease;
	white-space: nowrap;
}

.funnel-field__pill:hover .funnel-field__pill-text,
.funnel-field__pill:focus-within .funnel-field__pill-text {
	background-color: var(--color-pill-hover);
}

/* Selected: same tokens as `.funnel-field__rating-option` checked (solid orange fill, white numerals/type) */
.funnel-field__pill input:checked + .funnel-field__pill-text {
	background-color: var(--color-rating-active);
	color: var(--color-pill-text-sel);
}

.funnel-field--pills .funnel-field__pill-followup {
	margin-top: clamp(0.875rem, 2.5vw + 0.55rem, 1.5rem);
}

/* -------------------------------------------------------------------------
   Textarea
   ------------------------------------------------------------------------- */
textarea.funnel-field__control {
	width: 100%;
	min-height: clamp(6.5rem, 22vh, 7rem);
	border-radius: var(--radius-md);
	border: none;
	background: var(--color-textarea-bg);
	padding: var(--space-sm) var(--space-md);
	font-family: var(--font-inter);
	font-size: max(14px, 1rem); /* avoids iOS input zoom below 16px */
	font-weight: 600;
	line-height: 1.55;
	resize: vertical;
	color: var(--color-text);
	transition: box-shadow var(--duration-fast) ease;
}

textarea.funnel-field__control::placeholder {
	color: var(--color-text);
	font-size: 1em;
	opacity: 1;
}

textarea.funnel-field__control::-webkit-input-placeholder {
	color: var(--color-text);
	font-size: 1em;
	opacity: 1;
}

textarea.funnel-field__control::-moz-placeholder {
	color: var(--color-text);
	font-size: 1em;
	opacity: 1;
}

textarea.funnel-field__control:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgb(217 64 53 / 0.22);
}

/* Step footer — submit + GDPR (only appended on steps containing a `.funnel-block--form`; see assets/js/main.js) */
.funnel-step__footer {
	margin-top: clamp(1rem, 3vw, 1.5rem);
	display: flex;
	flex-direction: column;
	gap: clamp(0.75rem, 2.25vw + 0.45rem, 1rem);
}

/* Non-form steps: same vertical rhythm without GDPR slot */
.funnel-step__nav {
	margin-top: clamp(1rem, 3vw, 1.5rem);
	display: flex;
	flex-direction: column;
	gap: clamp(0.75rem, 2.25vw + 0.45rem, 1rem);
}

/* GDPR consent block */
.funnel-gdpr-consent {
	font-size: clamp(0.72rem, 1.95vw + 0.62rem, 0.8125rem);
	line-height: 1.58;
	color: rgba(255 255 255 / 0.8);
	padding-inline-start: clamp(0.5625rem, 2vw, 0.75rem);
	border-left: 2px solid rgba(255 255 255 / 0.35);
}

.funnel-gdpr-label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
	min-height: var(--tap-min);
	padding-block: 0.15rem;
}

.funnel-gdpr-checkbox {
	appearance: none;
	-webkit-appearance: none;
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	align-self: flex-start;
	margin: 0.25rem 0 0;
	border-radius: var(--radius-sm);
	border: 1.5px solid rgba(255 255 255 / 0.5);
	background: transparent;
	transition:
		border-color var(--duration-fast) ease,
		background-color var(--duration-fast) ease;
}

.funnel-gdpr-checkbox:checked {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
	box-shadow: inset 0 0 0 2px #fff;
}

.funnel-gdpr-checkbox:focus-visible {
	outline: 2px solid rgba(255 255 255 / 0.6);
	outline-offset: 2px;
}

.funnel-gdpr-text {
	color: rgba(255 255 255 / 0.8);
	overflow-wrap: break-word;
}

/* Submit button */
.funnel-step__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: max(3.25rem, var(--tap-min));
	padding: clamp(0.6875rem, 3vw + 0.35rem, 1rem) var(--space-md);
	border: none;
	border-radius: var(--radius-pill);
	font-family: var(--font-inter);
	font-size: clamp(1rem, 0.82rem + 2.95vw, 1.0625rem);
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	color: #ffffff;
	background: var(--color-accent);
	box-shadow: 0 4px 16px rgb(217 64 53 / 0.35);
	transition:
		transform var(--duration-fast) var(--ease-out-soft),
		box-shadow var(--duration-fast) ease,
		opacity var(--duration-fast) ease;
}

.funnel-step__submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(255 255 255 / 0.4), 0 4px 16px rgb(217 64 53 / 0.35);
}

.funnel-step__submit:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgb(217 64 53 / 0.45);
}

.funnel-step__submit:active:not(:disabled) {
	transform: translateY(0);
}

.funnel-step__submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* -------------------------------------------------------------------------
   Completion / thank-you screen
   ------------------------------------------------------------------------- */
.funnel-complete {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 60vh;
	padding: clamp(1.5rem, 5vw, var(--space-xl)) clamp(0.75rem, 3vw, 1rem);
	gap: clamp(0.75rem, 0.6rem + 2.85vw, 1rem);
}

.funnel-complete__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.35rem, 3.95vw + 0.76rem, 1.875rem); /* headline above card-scale question labels */
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-heading);
	margin: 0;
}

.funnel-complete__subtitle {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: clamp(0.9rem, 0.74rem + 2.05vw, 1.125rem);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-body);
	margin: 0;
}

/* -------------------------------------------------------------------------
   Screen-reader only
   ------------------------------------------------------------------------- */
.screen-reader-text {
	clip-path: inset(50%);
	overflow: hidden;
	position: absolute;
	width: 1px;
	height: 1px;
	white-space: nowrap;
}
