/*
 * AEDOps landing page. Mobile-first; colors, type and spacing come from theme.json presets. Prefix aed-.
 *
 * Visual language: full-width bands that alternate white, cool gray and deep night, so every section reads as
 * its own stop. The accent comes from the theme.json palette (logo navy and teal); readiness colors (ready green, due-soon amber, overdue red) are the
 * one recurring motif, used the way the product uses them. Sample screens are drawn in HTML, not images.
 * Motion is calm and only runs without a reduced-motion preference (landing.js adds .aed-anim).
 */

:root {
	--aed-ink: var(--wp--preset--color--contrast);
	--aed-accent: var(--wp--preset--color--primary);
	--aed-paper: var(--wp--preset--color--base);
	--aed-sand: var(--wp--preset--color--surface);
	--aed-night: var(--wp--preset--color--night);
	--aed-night-soft: var(--wp--preset--color--night-soft);
	--aed-signal: var(--wp--preset--color--signal);
	--aed-amber: var(--wp--preset--color--amber);
	--aed-red: var(--wp--preset--color--red);
	--aed-line: var(--wp--preset--color--line);
	--aed-line-strong: color-mix(in srgb, var(--aed-ink) 26%, transparent);
	--aed-tint: var(--wp--preset--color--mint);
	--aed-tint-2: color-mix(in srgb, var(--aed-accent) 14%, var(--aed-paper));
	--aed-sand-deep: color-mix(in srgb, var(--aed-sand) 80%, var(--aed-ink) 6%);
	--aed-art-ink: color-mix(in srgb, var(--aed-ink) 78%, transparent);
	--aed-art-muted: color-mix(in srgb, var(--aed-ink) 38%, transparent);
	--aed-on-night: #e7edf3;
	--aed-on-night-muted: #a9b7c4;
	--aed-night-line: color-mix(in srgb, #ffffff 13%, transparent);
	--aed-radius: 14px;
	--aed-radius-lg: 22px;
	--aed-shadow: 0 1px 2px color-mix(in srgb, var(--aed-ink) 6%, transparent), 0 18px 40px -22px color-mix(in srgb, var(--aed-ink) 35%, transparent);
	--aed-shadow-lg: 0 2px 4px color-mix(in srgb, #000 10%, transparent), 0 40px 80px -30px color-mix(in srgb, #000 55%, transparent);
	--aed-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--aed-header-h: 4.5rem;
	--aed-error: #b3261e;
	--aed-error-bg: #fdf1f0;
	--aed-section-y: clamp(4rem, 9vw, 7.5rem);
	--aed-wrap: 1360px;
	--aed-gutter: clamp(1rem, 4vw, 2.5rem);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--aed-header-h) + 0.5rem);
}

html.aed-modal-open {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.aed-main {
	margin: 0 !important;
}

.aed-main > *,
.aed-main .aed-sec {
	margin-block: 0 !important;
}

.aed-main h2,
.aed-main h3 {
	text-wrap: balance;
	margin: 0;
}

.aed-main p {
	text-wrap: pretty;
	margin: 0;
}

.aed-main ul,
.aed-main ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aed-main a:not(.wp-element-button):not(.aed-connect) {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

:where(.aed-main, .aed-modal) a:focus-visible,
:where(.aed-main, .aed-modal) button:focus-visible,
:where(.aed-main, .aed-modal) summary:focus-visible,
:where(.aed-main) input:focus-visible + span {
	outline: 3px solid var(--aed-accent);
	outline-offset: 3px;
	border-radius: 6px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Layout: full-width bands, one wide container ---------- */

.aed-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--aed-wrap) + 2 * var(--aed-gutter));
	margin-inline: auto;
	padding-inline: var(--aed-gutter);
}

.aed-sec {
	position: relative;
	padding-block: var(--aed-section-y);
	padding-inline: 0 !important;
}

.aed-sec--white {
	background: var(--aed-paper);
}

.aed-sec--surface {
	background: var(--aed-sand);
}

.aed-sec--mint {
	background: var(--aed-tint);
}

.aed-sec--night {
	background: var(--aed-night);
	color: var(--aed-on-night);
}

.aed-sec--night a:not(.wp-element-button):not(.aed-connect) {
	color: var(--aed-signal);
}

.aed-sec__head {
	display: grid;
	gap: 1rem;
	max-width: 52rem;
	margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.aed-sec__head--center {
	margin-inline: auto;
	text-align: center;
	justify-items: center;
}

.aed-sec__title {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -0.022em;
}

.aed-sec__lead {
	max-width: 44rem;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.aed-sec--night .aed-sec__lead {
	color: var(--aed-on-night-muted);
}

.aed-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--aed-accent);
}

.aed-sec--night .aed-eyebrow {
	color: var(--aed-signal);
}

.aed-eyebrow__num {
	display: inline-grid;
	place-items: center;
	min-width: 2rem;
	height: 1.5rem;
	padding: 0 0.4rem;
	border-radius: 6px;
	background: color-mix(in srgb, currentColor 13%, transparent);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
}

.aed-sec__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.5rem;
	margin-top: clamp(2.5rem, 5vw, 3.5rem) !important;
	text-align: center;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
}

.aed-sec__cta--light {
	color: var(--aed-on-night);
}

/* ---------- Buttons, links in text, status pills ---------- */

.aed-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3.1rem;
	box-sizing: border-box;
	text-decoration: none !important;
	box-shadow: 0 1px 0 color-mix(in srgb, #fff 25%, transparent) inset, 0 10px 24px -12px color-mix(in srgb, var(--aed-accent) 80%, transparent);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--aed-ease), box-shadow 0.2s ease;
}

.aed-btn:hover {
	transform: translateY(-1px);
}

.aed-btn__arrow {
	transition: transform 0.25s var(--aed-ease);
}

.aed-btn:hover .aed-btn__arrow {
	transform: translateX(4px);
}

.aed-btn--lg {
	min-height: 3.5rem;
	padding-inline: 1.75rem !important;
	font-size: var(--wp--preset--font-size--medium);
}

.aed-btn--ghost {
	background: transparent !important;
	color: var(--aed-ink) !important;
	box-shadow: inset 0 0 0 2px var(--aed-line-strong);
}

.aed-btn--ghost:hover {
	box-shadow: inset 0 0 0 2px var(--aed-ink);
}

.aed-sec--night .aed-btn--ghost,
.aed-hero .aed-btn--ghost {
	color: #fff !important;
	box-shadow: inset 0 0 0 2px color-mix(in srgb, #fff 35%, transparent);
}

.aed-sec--night .aed-btn--ghost:hover,
.aed-hero .aed-btn--ghost:hover {
	box-shadow: inset 0 0 0 2px #fff;
}

.aed-btn--light {
	background: #fff !important;
	color: var(--aed-ink) !important;
}

.aed-btn--light:hover {
	background: var(--aed-signal) !important;
}

.aed-sec--night .aed-btn:not(.aed-btn--ghost):not(.aed-btn--light),
.aed-hero .aed-btn:not(.aed-btn--ghost) {
	background: var(--aed-signal);
	color: var(--aed-night);
	box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--aed-signal) 70%, transparent);
}

.aed-sec--night .aed-btn:not(.aed-btn--ghost):not(.aed-btn--light):hover,
.aed-hero .aed-btn:not(.aed-btn--ghost):hover {
	background: #fff;
	color: var(--aed-night);
}

.aed-inline-cta {
	font-weight: 700;
	white-space: nowrap;
}

.aed-inline-cta__arrow {
	display: inline-block;
	margin-left: 0.3em;
	transition: transform 0.25s var(--aed-ease);
}

.aed-inline-cta:hover .aed-inline-cta__arrow {
	transform: translateX(3px);
}

.aed-pill {
	--c: var(--aed-accent);
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--c) 12%, transparent);
	color: var(--c);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
}

.aed-pill i {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: currentColor;
}

.aed-pill--due {
	--c: var(--aed-amber);
}

.aed-pill--overdue {
	--c: var(--aed-red);
}

.aed-ticks {
	display: grid;
	gap: 0.75rem;
}

.aed-ticks li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
}

.aed-ticks .aed-icon {
	margin-top: 0.2rem;
	padding: 0.15rem;
	border-radius: 50%;
	color: #fff;
	background: var(--aed-accent);
	stroke-width: 2.6;
	width: 1.1rem;
	height: 1.1rem;
}

.aed-card {
	box-sizing: border-box;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--aed-line);
	border-radius: var(--aed-radius-lg);
	background: var(--aed-paper);
	box-shadow: var(--aed-shadow);
}

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

.aed-header-wrap {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
	margin: 0 !important;
}

@media (max-width: 600px) {
	.admin-bar .aed-header-wrap {
		top: 0;
	}
}

.aed-header {
	position: relative;
	padding: 0 !important;
	background: color-mix(in srgb, var(--aed-night) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--aed-night-line);
	color: var(--aed-on-night);
	transition: box-shadow 0.25s ease;
}

.aed-header.is-scrolled {
	box-shadow: 0 10px 30px -18px #000;
}

.aed-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--aed-header-h);
}

.aed-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	font-family: var(--wp--preset--font-family--wordmark);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1;
	color: inherit;
	text-decoration: none;
}

/* Name over tagline, as in the reference logo. */
.aed-wordmark__text {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.aed-wordmark__tagline {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	white-space: nowrap;
	opacity: 0.85;
}

a.aed-wordmark {
	color: #fff;
	text-decoration: none;
}

.aed-wordmark b {
	font-weight: inherit;
	color: var(--aed-signal);
}

.aed-wordmark__mark {
	flex: none;
	color: var(--aed-signal);
	width: 2.6rem;
	height: 2.6rem;
}

.aed-wordmark--small {
	font-size: 1.2rem;
}

.aed-wordmark--small .aed-wordmark__mark {
	width: 2.4rem;
	height: 2.4rem;
}

.aed-wordmark--small .aed-wordmark__tagline {
	font-size: 0.66rem;
}

/* Narrow phones: the header keeps the name and the menu; the tagline stays in the footer. */
@media (max-width: 26rem) {
	.aed-header .aed-wordmark__tagline {
		display: none;
	}
}


/* ---------- Icons ---------- */

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

.aed-icon-badge {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	color: var(--aed-accent);
	background: var(--aed-tint-2);
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--aed-ease);
}

.aed-icon-badge .aed-icon {
	width: 1.35rem;
	height: 1.35rem;
}

.aed-icon-badge--inline {
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 8px;
}

.aed-icon-badge--inline .aed-icon {
	width: 1.15rem;
	height: 1.15rem;
}

/* ---------- Direct contact (email, WhatsApp) ---------- */

.aed-connect-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.aed-connect {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--aed-ink);
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--aed-ease);
}

.aed-connect:focus-visible {
	outline: 2px solid var(--aed-accent);
	outline-offset: 2px;
}

.aed-connect.is-pending {
	cursor: help;
}

.aed-connect--button {
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.7rem;
	border: 1px solid var(--aed-line-strong);
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	background: var(--wp--preset--color--base);
}

.aed-connect--button .aed-icon {
	width: 1.2rem;
	height: 1.2rem;
	color: var(--aed-accent);
}

.aed-connect--button .aed-connect__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.aed-connect--button:hover {
	border-color: var(--aed-accent);
	background: var(--aed-tint);
}

.aed-connect--button.is-pending {
	border-style: dashed;
}

.aed-connect--link {
	font-weight: 600;
	color: var(--aed-accent);
}

.aed-connect--link:hover .aed-connect__label {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.aed-connect--link .aed-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.aed-connect__marker {
	font-family: inherit;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.aed-connect-group--link {
	gap: 0.5rem 1.25rem;
}

.aed-connect-group--card {
	display: grid;
	gap: 0.6rem;
}

.aed-connect--card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.85rem;
	padding: 0.85rem 1rem;
	border: 1px solid var(--aed-line-strong);
	border-radius: var(--aed-radius);
	background: var(--wp--preset--color--base);
}

.aed-connect__text {
	display: grid;
	min-width: 0;
}

.aed-connect--card .aed-connect__label {
	font-weight: 600;
}

.aed-connect__value {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	overflow-wrap: anywhere;
}

.aed-connect.is-pending .aed-connect__value {
	font-family: inherit;
	font-size: var(--wp--preset--font-size--x-small);
}

.aed-connect__arrow {
	color: var(--aed-accent);
	transition: transform 0.25s var(--aed-ease);
}

.aed-connect--card:not(.is-pending):hover {
	border-color: var(--aed-accent);
	box-shadow: var(--aed-shadow);
}

.aed-connect--card:not(.is-pending):hover .aed-connect__arrow {
	transform: translateX(4px);
}

.aed-connect--card:not(.is-pending):hover .aed-icon-badge {
	color: var(--wp--preset--color--primary-contrast);
	background: var(--aed-accent);
}

.aed-connect--card.is-pending {
	border-style: dashed;
}

.aed-connect--card.is-pending .aed-connect__arrow {
	opacity: 0.35;
}

/* ---------- Image slots ---------- */

.aed-slot {
	position: relative;
	margin: 0;
	width: 100%;
	overflow: hidden;
	border-radius: var(--aed-radius);
	border: 1px solid var(--aed-line);
	background-color: var(--wp--preset--color--surface);
}

.aed-slot__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
}

.aed-slot--empty {
	border-style: dashed;
	border-color: var(--aed-line-strong);
	background-image:
		linear-gradient(var(--aed-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--aed-line) 1px, transparent 1px);
	background-size: 100% 2.5rem, 25% 100%;
	display: grid;
	place-items: center;
}

.aed-slot__label {
	display: grid;
	gap: 0.25rem;
	text-align: center;
	padding: 0.75rem 1rem;
	margin: 1rem;
	background: var(--wp--preset--color--base);
	border-radius: 8px;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

.aed-slot__size {
	opacity: 0.85;
}

/* ---------- Lead form ---------- */

.aed-next-list {
	position: relative;
	display: grid;
	gap: var(--wp--preset--spacing--30);
	margin: var(--wp--preset--spacing--40) 0;
}

.aed-next-list::before {
	content: "";
	position: absolute;
	left: calc(1.25rem - 1px);
	top: 1.25rem;
	bottom: 1.25rem;
	width: 2px;
	background-image: linear-gradient(var(--aed-accent) 50%, transparent 50%);
	background-size: 2px 6px;
	opacity: 0.5;
}

.aed-next-list li {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.85rem;
	align-items: start;
}

.aed-next-list .aed-icon-badge {
	border-radius: 50%;
	background: var(--wp--preset--color--base);
	border: 1.5px solid var(--aed-accent);
}

.aed-next-list li > span:last-child {
	padding-top: 0.45rem;
}

.aed-talk {
	display: grid;
	gap: 0.6rem;
	padding: var(--wp--preset--spacing--40);
	border-radius: var(--aed-radius-lg);
	border: 1px solid var(--aed-line);
	background: var(--wp--preset--color--base);
}

.aed-talk p {
	margin: 0;
}

.aed-talk__title {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--large);
}

.aed-talk__text {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
	margin-bottom: 0.4rem !important;
}

.aed-lead__form {
	position: relative;
}

.aed-lead__art {
	display: none;
}

.aed-form-wrap {
	position: relative;
	container: aedform / inline-size;
}

.aed-form {
	display: grid;
	gap: var(--wp--preset--spacing--30);
}

.aed-form[hidden],
.aed-form-success[hidden],
.aed-form__errors[hidden] {
	display: none;
}

.aed-form__row {
	display: grid;
	gap: var(--wp--preset--spacing--30);
}

.aed-field {
	display: grid;
	gap: 0.35rem;
	min-width: 0;
}

.aed-field label,
.aed-field legend {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
}

.aed-form input[type="email"],
.aed-form input[type="text"],
.aed-form select {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.7rem 0.9rem;
	font: inherit;
	font-size: 1.125rem;
	color: var(--aed-ink);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: 8px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aed-form input:hover,
.aed-form select:hover {
	border-color: var(--aed-ink);
}

.aed-form input:focus-visible,
.aed-form select:focus-visible {
	outline: 2px solid var(--aed-accent);
	outline-offset: 1px;
	border-color: var(--aed-accent);
	box-shadow: 0 0 0 5px var(--aed-tint-2);
}

.aed-form [aria-invalid="true"] {
	border-color: var(--aed-error);
	border-width: 2px;
}

.aed-field__error {
	color: var(--aed-error);
	font-size: var(--wp--preset--font-size--small);
	margin: 0;
}

/* Live email check: typo suggestion ("Did you mean ...?") */
.aed-field__hint {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
	margin: 0;
}

.aed-field__hint[hidden] {
	display: none;
}

.aed-field__suggest {
	font: inherit;
	color: var(--wp--preset--color--primary);
	background: none;
	border: 0;
	padding: 0.25rem 0;
	min-height: 24px;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.aed-field__suggest:hover,
.aed-field__suggest:focus-visible {
	text-decoration-thickness: 2px;
}

.aed-field--choices {
	border: 0;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.aed-field--choices legend {
	width: 100%;
	margin-bottom: 0.35rem;
	padding: 0;
}

.aed-choice {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.35rem 0.9rem;
	border: 1px solid var(--aed-line-strong);
	border-radius: 999px;
	background: #fff;
	font-size: var(--wp--preset--font-size--small);
	cursor: pointer;
	font-weight: 400 !important;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.aed-choice:hover {
	border-color: var(--aed-ink);
}

.aed-choice:has(input:checked) {
	border-color: var(--aed-accent);
	background: var(--aed-tint);
}

.aed-choice input {
	accent-color: var(--aed-accent);
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
}

.aed-form__submit .wp-element-button {
	width: 100%;
	border: 0;
	cursor: pointer;
	font-family: inherit;
}

.aed-form__submit .wp-element-button[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.aed-form__privacy {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

.aed-form__errors {
	border-left: 4px solid var(--aed-error);
	background: var(--aed-error-bg);
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-size: var(--wp--preset--font-size--small);
}

.aed-form__errors ul {
	margin: 0.25rem 0 0;
	padding-left: 1.1rem;
}

.aed-form__errors p {
	margin: 0;
}

.aed-form__hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.aed-form-success {
	border-left: 4px solid var(--aed-accent);
	padding-left: var(--wp--preset--spacing--30);
}

.aed-form-success:focus {
	outline: none;
}

.aed-form-success__title {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.aed-form-success__small {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

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

.aed-footer {
	border-top: 1px solid var(--aed-line);
}

.aed-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	padding-bottom: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--30);
	border-bottom: 1px solid var(--aed-line);
}

/* ---------- Sticky mobile bar ---------- */

.aed-sticky-cta {
	display: none;
}

@media (max-width: 781px) {
	.aed-js .aed-sticky-cta {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		margin: 0 !important;
		padding: 0.6rem var(--wp--preset--spacing--30) calc(0.6rem + env(safe-area-inset-bottom));
		background: color-mix(in srgb, var(--wp--preset--color--base) 96%, transparent);
		border-top: 1px solid var(--aed-line);
		box-shadow: 0 -8px 24px -18px color-mix(in srgb, var(--aed-ink) 45%, transparent);
		transform: translateY(110%);
		transition: transform 0.25s var(--aed-ease);
	}

	.aed-js .aed-sticky-cta.is-visible {
		transform: none;
	}

	.aed-sticky-cta .aed-cta {
		flex: 1;
		min-width: 0;
	}

	.aed-sticky-cta .wp-element-button {
		display: block;
		width: 100%;
		box-sizing: border-box;
		text-align: center;
		padding: 0.8rem 0.5rem;
		font-size: 1rem;
		letter-spacing: -0.005em;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.aed-sticky-cta .wp-element-button::after {
		display: none;
	}

	.aed-sticky-cta__connect {
		flex-wrap: nowrap;
		gap: 0.4rem;
	}

	.aed-sticky-cta .aed-connect--button {
		width: 2.75rem;
		height: 2.75rem;
		padding: 0;
	}

	.aed-js body {
		padding-bottom: 4.75rem;
	}
}

/* ---------- Header menu (in-page anchors only) ---------- */

a.aed-wordmark {
	color: var(--aed-ink);
	text-decoration: none;
}

.aed-header {
	position: relative;
}

.aed-nav {
	position: relative;
	display: flex;
	align-items: center;
}

.aed-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.aed-nav__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 2.5rem;
	padding: 0 0.7rem;
	border-radius: 8px;
	color: color-mix(in srgb, var(--aed-ink) 80%, transparent);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.aed-nav__list a:hover {
	color: var(--aed-ink);
	background: var(--wp--preset--color--surface);
}

.aed-nav__list a:focus-visible {
	outline: 2px solid var(--aed-accent);
	outline-offset: 1px;
}

.aed-nav__list a.is-active {
	color: var(--aed-accent);
}

.aed-nav__list a.is-active::after {
	content: "";
	position: absolute;
	left: 0.7rem;
	right: 0.7rem;
	bottom: 0.3rem;
	height: 2px;
	border-radius: 2px;
	background: var(--aed-accent);
}

.aed-nav__cta a {
	margin-left: 0.4rem;
	color: var(--wp--preset--color--primary-contrast);
	background: var(--aed-accent);
	font-weight: 600;
}

.aed-nav__cta a.is-active {
	color: var(--wp--preset--color--primary-contrast);
}

.aed-nav__cta a.is-active::after {
	display: none;
}

.aed-nav__cta a:hover {
	color: var(--wp--preset--color--primary-contrast);
	background: var(--aed-ink);
}

.aed-nav__cta .aed-icon {
	width: 1rem;
	height: 1rem;
	transition: transform 0.25s var(--aed-ease);
}

.aed-nav__cta a:hover .aed-icon {
	transform: translateX(3px);
}

.aed-nav__toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0 0.85rem;
	border: 1px solid var(--aed-line-strong);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--aed-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	cursor: pointer;
}

.aed-nav__toggle:focus-visible {
	outline: 2px solid var(--aed-accent);
	outline-offset: 2px;
}

.aed-nav__burger {
	display: grid;
	gap: 3px;
	width: 1rem;
}

.aed-nav__burger i {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s var(--aed-ease), opacity 0.2s ease;
}

.aed-nav.is-open .aed-nav__burger i:nth-child(1) {
	transform: translateY(5px) rotate(45deg);
}

.aed-nav.is-open .aed-nav__burger i:nth-child(2) {
	opacity: 0;
}

.aed-nav.is-open .aed-nav__burger i:nth-child(3) {
	transform: translateY(-5px) rotate(-45deg);
}

/* Below 1024px: a menu button opens a panel. Without JS the links stay visible as a scrollable row. */
@media (max-width: 1023px) {
	.aed-nav__list {
		max-width: 60vw;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.aed-js .aed-nav__toggle:not([hidden]) {
		display: inline-flex;
	}

	.aed-js .aed-nav__list {
		position: absolute;
		top: calc(100% + 0.6rem);
		right: 0;
		z-index: 5;
		display: grid;
		gap: 0.15rem;
		width: min(17rem, calc(100vw - 2rem));
		max-width: none;
		padding: 0.5rem;
		border: 1px solid var(--aed-line);
		border-radius: var(--aed-radius);
		background: var(--wp--preset--color--base);
		box-shadow: var(--aed-shadow);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 0.2s ease, transform 0.25s var(--aed-ease), visibility 0s linear 0.25s;
	}

	.aed-js .aed-nav.is-open .aed-nav__list {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.2s ease, transform 0.25s var(--aed-ease), visibility 0s;
	}

	.aed-js .aed-nav__list a {
		display: flex;
		min-height: 2.75rem;
		font-size: var(--wp--preset--font-size--medium);
	}

	.aed-js .aed-nav__list a.is-active::after {
		left: 0;
		right: auto;
		top: 0.6rem;
		bottom: 0.6rem;
		width: 3px;
		height: auto;
	}

	.aed-js .aed-nav__cta a {
		margin: 0.35rem 0 0;
		justify-content: space-between;
	}
}

/* Reading progress under the header */
.aed-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	max-width: none !important;
	margin: 0 !important;
	pointer-events: none;
}

.aed-progress i {
	display: block;
	height: 100%;
	background: var(--aed-accent);
	transform: scaleX(0);
	transform-origin: left;
}

/* ---------- Floating contact buttons and one-time nudge ---------- */

.aed-fab {
	position: fixed;
	right: max(1rem, env(safe-area-inset-right));
	bottom: calc(1rem + env(safe-area-inset-bottom));
	z-index: 55;
	display: grid;
	justify-items: end;
	gap: 0.6rem;
	pointer-events: none;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.35s var(--aed-ease), bottom 0.25s var(--aed-ease);
}

.aed-fab.is-visible {
	opacity: 1;
	transform: none;
}

.aed-fab.is-visible > * {
	pointer-events: auto;
}

.aed-fab.is-raised {
	bottom: calc(5.25rem + env(safe-area-inset-bottom));
}

.aed-fab__buttons {
	display: grid;
	gap: 0.6rem;
}

.aed-fab .aed-connect--button {
	width: 3.25rem;
	height: 3.25rem;
	padding: 0;
	border-radius: 50%;
	border: 0;
	color: var(--wp--preset--color--primary-contrast);
	background: var(--aed-accent);
	box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--aed-ink) 55%, transparent);
}

.aed-fab .aed-connect--button .aed-icon {
	width: 1.45rem;
	height: 1.45rem;
	color: currentColor;
}

.aed-fab .aed-connect--button:hover {
	background: var(--aed-ink);
	transform: translateY(-2px);
}

.aed-fab .aed-connect--button.is-pending {
	color: var(--aed-accent);
	background: var(--wp--preset--color--base);
	outline: 1.5px dashed var(--aed-accent);
	outline-offset: -1.5px;
}

/* Hover label beside each button (desktop pointers only) */
@media (hover: hover) and (min-width: 782px) {
	.aed-fab .aed-connect--button {
		position: relative;
	}

	.aed-fab .aed-connect--button .aed-connect__label {
		position: absolute;
		right: calc(100% + 0.6rem);
		top: 50%;
		width: auto;
		height: auto;
		clip: auto;
		overflow: visible;
		padding: 0.3rem 0.6rem;
		border-radius: 6px;
		background: var(--aed-ink);
		color: #fff;
		font-size: var(--wp--preset--font-size--x-small);
		opacity: 0;
		transform: translate(4px, -50%);
		transition: opacity 0.2s ease, transform 0.2s var(--aed-ease);
		pointer-events: none;
	}

	.aed-fab .aed-connect--button:hover .aed-connect__label,
	.aed-fab .aed-connect--button:focus-visible .aed-connect__label {
		opacity: 1;
		transform: translate(0, -50%);
	}
}

.aed-fab__nudge {
	position: relative;
	width: min(19rem, calc(100vw - 2rem));
	padding: 1rem 1.1rem 1.1rem;
	border: 1px solid var(--aed-line);
	border-left: 3px solid var(--aed-accent);
	border-radius: var(--aed-radius);
	background: var(--wp--preset--color--base);
	box-shadow: var(--aed-shadow);
	opacity: 0;
	transform: translateY(8px) scale(0.98);
	transform-origin: bottom right;
	transition: opacity 0.3s ease, transform 0.35s var(--aed-ease);
}

.aed-fab__nudge.is-open {
	opacity: 1;
	transform: none;
}

.aed-fab__nudge[hidden] {
	display: none;
}

.aed-fab__nudge::after {
	content: "";
	position: absolute;
	right: 1.2rem;
	bottom: -7px;
	width: 12px;
	height: 12px;
	background: var(--wp--preset--color--base);
	border-right: 1px solid var(--aed-line);
	border-bottom: 1px solid var(--aed-line);
	transform: rotate(45deg);
}

.aed-fab__title {
	margin: 0 1.75rem 0.25rem 0;
	font-weight: 600;
}

.aed-fab__text {
	margin: 0 0 0.6rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.aed-fab__links {
	gap: 0.35rem 1rem;
}

.aed-fab__links .aed-connect__marker {
	display: block;
	width: 100%;
}

.aed-fab__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
}

.aed-fab__close:hover {
	color: var(--aed-ink);
	background: var(--wp--preset--color--surface);
}

.aed-fab__close:focus-visible {
	outline: 2px solid var(--aed-accent);
}

.aed-fab__close-icon {
	width: 1rem;
	height: 1rem;
}

@media (prefers-reduced-motion: reduce) {
	.aed-fab,
	.aed-fab__nudge,
	.aed-nav__list {
		transition: none !important;
	}
}



/* ---------- Header menu on the dark bar (overrides the shared menu rules above) ---------- */

.aed-header a.aed-wordmark {
	color: #fff;
}

.aed-nav__list a {
	color: var(--aed-on-night-muted);
	font-weight: 600;
}

.aed-nav__list a:hover {
	color: #fff;
	background: color-mix(in srgb, #fff 8%, transparent);
}

.aed-nav__list a.is-active {
	color: #fff;
}

.aed-nav__list a.is-active::after {
	background: var(--aed-signal);
}

.aed-nav__list a:focus-visible {
	outline-color: var(--aed-signal);
}

.aed-nav__ask a {
	margin-left: 0.5rem;
	color: #fff;
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #fff 28%, transparent);
}

.aed-nav__ask .aed-icon {
	width: 1.05rem;
	height: 1.05rem;
}

.aed-nav__cta a {
	color: var(--aed-night);
	background: var(--aed-signal);
	font-weight: 700;
}

.aed-nav__cta a.is-active {
	color: var(--aed-night);
}

.aed-nav__cta a:hover {
	color: var(--aed-night);
	background: #fff;
}

.aed-nav__toggle {
	background: transparent;
	color: #fff;
	border-color: color-mix(in srgb, #fff 30%, transparent);
}

@media (max-width: 1199px) {
	.aed-nav__list {
		max-width: 62vw;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.aed-js .aed-nav__toggle:not([hidden]) {
		display: inline-flex;
	}

	.aed-js .aed-nav__list {
		position: absolute;
		top: calc(100% + 0.6rem);
		right: 0;
		z-index: 5;
		display: grid;
		gap: 0.15rem;
		width: min(19rem, calc(100vw - 2rem));
		max-width: none;
		padding: 0.5rem;
		border: 1px solid var(--aed-night-line);
		border-radius: var(--aed-radius);
		background: var(--aed-night-soft);
		box-shadow: var(--aed-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 0.2s ease, transform 0.25s var(--aed-ease), visibility 0s linear 0.25s;
	}

	.aed-js .aed-nav.is-open .aed-nav__list {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.2s ease, transform 0.25s var(--aed-ease), visibility 0s;
	}

	.aed-js .aed-nav__list a {
		display: flex;
		min-height: 2.75rem;
		font-size: var(--wp--preset--font-size--medium);
	}

	.aed-js .aed-nav__list a.is-active::after {
		left: 0;
		right: auto;
		top: 0.6rem;
		bottom: 0.6rem;
		width: 3px;
		height: auto;
	}

	.aed-js .aed-nav__ask a,
	.aed-js .aed-nav__cta a {
		margin: 0.35rem 0 0;
		justify-content: space-between;
	}
}

.aed-progress i {
	background: var(--aed-signal);
}

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

.aed-hero {
	overflow: hidden;
	padding-block: clamp(3rem, 7vw, 6rem) 0;
	background:
		radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--aed-signal) 16%, transparent), transparent 60%),
		linear-gradient(180deg, var(--aed-night) 0%, color-mix(in srgb, var(--aed-night-soft) 55%, var(--aed-night)) 100%);
	color: var(--aed-on-night);
}

.aed-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(color-mix(in srgb, #fff 5%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, #fff 5%, transparent) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
	pointer-events: none;
}

.aed-hero__grid {
	position: relative;
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: center;
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.aed-hero__copy {
	display: grid;
	gap: 1.5rem;
	justify-items: start;
}

.aed-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.4rem 0.85rem 0.4rem 0.5rem;
	border: 1px solid var(--aed-night-line);
	border-radius: 999px;
	background: color-mix(in srgb, #fff 5%, transparent);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
}

.aed-hero__kicker .aed-icon {
	padding: 0.2rem;
	border-radius: 50%;
	color: var(--aed-night);
	background: var(--aed-signal);
	width: 1.4rem;
	height: 1.4rem;
}

.aed-hero__title {
	max-width: 17ch;
	margin: 0;
	color: #fff;
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.aed-hero__title em {
	font-style: normal;
	color: var(--aed-signal);
}

.aed-hero__lead {
	max-width: 36rem;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
	color: var(--aed-on-night-muted);
}

.aed-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 0.5rem;
}

.aed-hero__next {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	max-width: 34rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--aed-on-night-muted);
}

.aed-hero__next .aed-icon {
	margin-top: 0.15rem;
	color: var(--aed-signal);
}

.aed-hero__next a {
	color: var(--aed-signal);
}

/* Fleet board (sample data, HTML illustration) */
.aed-hero__media {
	min-width: 0;
}

.aed-board {
	position: relative;
	margin: 0;
	border: 1px solid var(--aed-night-line);
	border-radius: 18px;
	background: linear-gradient(180deg, #fff, #f6f8fa);
	color: var(--aed-ink);
	box-shadow: var(--aed-shadow-lg), 0 0 0 8px color-mix(in srgb, #fff 4%, transparent);
	overflow: hidden;
	font-size: 0.9375rem;
	transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
	transform-origin: left center;
}

.aed-board__bar {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--aed-line);
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
}

.aed-board__bar i {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--aed-line);
}

.aed-board__bar span {
	margin-left: 0.5rem;
}

.aed-board__bar b,
.aed-mock__chrome span {
	margin-left: auto;
	padding: 0.15rem 0.5rem;
	border-radius: 6px;
	background: var(--aed-sand);
	color: var(--wp--preset--color--muted);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.aed-board__kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
	padding: 1rem;
}

.aed-kpi {
	--c: var(--aed-accent);
	display: grid;
	gap: 0.2rem;
	padding: 0.75rem 0.8rem;
	border: 1px solid var(--aed-line);
	border-radius: 12px;
	background: #fff;
}

.aed-kpi span {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--wp--preset--color--muted);
}

.aed-kpi strong {
	font-size: 1.6rem;
	line-height: 1.1;
	color: var(--c);
	font-variant-numeric: tabular-nums;
}

.aed-kpi i {
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--c) var(--w), var(--aed-sand) var(--w));
}

.aed-kpi--due {
	--c: var(--aed-amber);
}

.aed-kpi--overdue {
	--c: var(--aed-red);
}

.aed-board__rows {
	display: grid;
	padding: 0 0.5rem 0.75rem;
}

.aed-board__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.15rem 0.75rem;
	align-items: center;
	padding: 0.65rem 0.6rem;
	border-radius: 10px;
	border-top: 1px solid var(--aed-line);
	transition: background-color 0.4s ease;
}

.aed-board__row:first-child {
	border-top: 0;
}

.aed-board__row.is-live {
	background: var(--aed-tint);
}

.aed-board__where {
	display: grid;
	min-width: 0;
}

.aed-board__where strong {
	font-size: 0.9375rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aed-board__where small {
	font-size: 0.78rem;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aed-board__what {
	grid-column: 1;
	font-size: 0.8125rem;
	color: var(--aed-ink);
}

.aed-board__row .aed-pill {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.aed-board__toast {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	padding: 0.55rem 0.9rem;
	border-radius: 10px;
	background: var(--aed-night);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	width: max-content;
	max-width: 88%;
	text-align: center;
	box-shadow: var(--aed-shadow-lg);
	opacity: 0;
	transform: translate(-50%, 10px);
	pointer-events: none;
}

.aed-board__toast::before {
	content: "\2713";
	margin-right: 0.45rem;
	color: var(--aed-signal);
	font-weight: 800;
}

.aed-board__toast.is-on {
	animation: aed-toast 2.8s var(--aed-ease) both;
}

@keyframes aed-toast {
	0% {
		opacity: 0;
		transform: translate(-50%, 10px);
	}
	12%,
	80% {
		opacity: 1;
		transform: translate(-50%, 0);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -4px);
	}
}

/* Brand strip */
.aed-brands {
	position: relative;
	border-top: 1px solid var(--aed-night-line);
	background: color-mix(in srgb, #000 18%, transparent);
	padding-block: 1.5rem;
}

.aed-brands__inner {
	display: grid;
	gap: 0.85rem;
	justify-items: center;
	text-align: center;
}

.aed-brands__label {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--aed-on-night-muted);
}

.aed-brands__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 2rem;
}

.aed-brands__list li {
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: color-mix(in srgb, #fff 72%, transparent);
	white-space: nowrap;
}

/* ---------- Problems ---------- */

.aed-evidence {
	display: grid;
	gap: 1rem;
	margin-bottom: clamp(3rem, 6vw, 4.5rem) !important;
}

.aed-evidence__item {
	display: grid;
	align-content: start;
	gap: 0.6rem;
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: var(--aed-radius-lg);
	background: var(--aed-night);
	color: var(--aed-on-night);
}

.aed-evidence__num {
	font-size: clamp(2.75rem, 6vw, 4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--aed-signal);
	font-variant-numeric: tabular-nums;
}

.aed-evidence__item:nth-child(2) .aed-evidence__num {
	color: var(--wp--preset--color--amber-light);
}

.aed-evidence__item:nth-child(3) .aed-evidence__num {
	color: var(--wp--preset--color--red-light);
}

.aed-evidence__text {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.45;
	color: #fff;
}

.aed-evidence__src {
	margin-top: auto !important;
	padding-top: 0.75rem;
	border-top: 1px solid var(--aed-night-line);
	font-size: 0.8125rem;
	color: var(--aed-on-night-muted);
}

.aed-problems__sub {
	margin-bottom: 1.75rem !important;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 750;
}

.aed-problems__grid {
	display: grid;
	gap: 1rem;
}

.aed-problem {
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	gap: 0.75rem;
	padding: clamp(1.4rem, 2.5vw, 1.9rem);
	border: 1px solid var(--aed-line);
	border-radius: var(--aed-radius-lg);
	background: var(--aed-paper);
	transition: transform 0.25s var(--aed-ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.aed-problem:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--aed-red) 35%, var(--aed-line));
	box-shadow: var(--aed-shadow);
}

.aed-problem .aed-icon-badge {
	color: var(--aed-red);
	background: color-mix(in srgb, var(--aed-red) 10%, var(--aed-paper));
}

.aed-problem__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.25;
}

.aed-problem p {
	color: var(--wp--preset--color--muted);
}

.aed-problem__cost {
	display: flex;
	gap: 0.5rem;
	padding-top: 0.85rem;
	border-top: 1px dashed var(--aed-line);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--aed-ink) !important;
}

.aed-problem__cost b {
	color: var(--aed-red);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	padding-top: 0.15rem;
}

.aed-problems__turn {
	display: grid;
	gap: 1rem;
	justify-items: center;
	margin-top: clamp(2.5rem, 5vw, 3.5rem) !important;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border-radius: var(--aed-radius-lg);
	background: var(--aed-tint);
	text-align: center;
}

.aed-problems__turn p:first-child {
	max-width: 46rem;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.4;
}

.aed-problems__turn-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

/* ---------- Scorecard (lead magnet) ---------- */

.aed-score {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.aed-score__intro {
	display: grid;
	gap: 1.25rem;
}

.aed-score__intro .aed-sec__head {
	margin-bottom: 0;
}

.aed-score__perks {
	display: grid;
	gap: 0.7rem;
}

.aed-score__perks li {
	display: flex;
	gap: 0.6rem;
	color: var(--aed-on-night);
}

.aed-score__perks .aed-icon {
	color: var(--aed-signal);
	margin-top: 0.15rem;
}

.aed-score__card {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--aed-night-line);
	border-radius: var(--aed-radius-lg);
	background: var(--aed-night-soft);
	box-shadow: var(--aed-shadow-lg);
}

.aed-score__progress {
	--aed-p: 0;
	display: grid;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	color: var(--aed-on-night-muted);
}

.aed-score__progress::after {
	content: "";
	height: 6px;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--aed-signal) calc(var(--aed-p) * 100%), color-mix(in srgb, #fff 10%, transparent) 0);
	transition: background 0.3s ease;
}

.aed-score__setup {
	margin: 0 0 1rem;
	padding: 0 0 1.25rem;
	border: 0;
	border-bottom: 1px solid var(--aed-night-line);
}

.aed-score__setup legend {
	padding: 0;
	margin-bottom: 0.75rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.4;
}

.aed-score__setup legend small {
	font-weight: 500;
	color: var(--aed-on-night-muted);
}

.aed-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.aed-chip {
	position: relative;
	cursor: pointer;
}

.aed-chip input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.aed-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 2.6rem;
	padding: 0 1rem;
	border: 1.5px solid color-mix(in srgb, #fff 22%, transparent);
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--aed-on-night);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.aed-chip:hover span {
	border-color: #fff;
}

.aed-chip input:checked + span {
	border-color: var(--aed-signal);
	background: var(--aed-signal);
	color: var(--aed-night);
}

.aed-chip--no input:checked + span {
	border-color: var(--wp--preset--color--amber-light);
	background: var(--wp--preset--color--amber-light);
}

.aed-chip input:focus-visible + span {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.aed-q {
	margin: 0;
	padding: 1rem 0;
	border: 0;
	border-bottom: 1px solid var(--aed-night-line);
	min-width: 0;
}

.aed-q:last-of-type {
	border-bottom: 0;
}

.aed-q legend {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	float: left;
	width: 100%;
	padding: 0;
	margin-bottom: 0.75rem;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.4;
	color: #fff;
}

.aed-q legend + * {
	clear: both;
}

.aed-q__n {
	flex: none;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: color-mix(in srgb, #fff 8%, transparent);
	font-size: 0.875rem;
	font-weight: 800;
	color: var(--aed-on-night-muted);
	transition: background-color 0.2s ease, color 0.2s ease;
}

.aed-q.is-answered .aed-q__n {
	background: var(--aed-signal);
	color: var(--aed-night);
}

.aed-q__body {
	padding-left: 2.85rem;
}

.aed-score__submit {
	margin-top: 1rem;
}

.aed-score__result {
	--aed-score: 0;
	display: grid;
	gap: 1.25rem;
	margin-top: 1.5rem;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	border-radius: var(--aed-radius);
	background: #fff;
	color: var(--aed-ink);
	animation: aed-rise 0.5s var(--aed-ease) both;
}

.aed-score__top {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.aed-ring {
	flex: none;
	position: relative;
	display: grid;
	place-content: center;
	justify-items: center;
	width: 6.5rem;
	height: 6.5rem;
	border-radius: 50%;
	background: conic-gradient(var(--c, var(--aed-accent)) calc(var(--aed-score) * 360deg), var(--aed-sand) 0);
	transition: background 0.6s ease;
}

.aed-ring::before {
	content: "";
	position: absolute;
	inset: 10px;
	border-radius: 50%;
	background: #fff;
}

.aed-ring span {
	position: relative;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--wp--preset--color--muted);
}

.aed-ring strong {
	position: relative;
	font-size: 2.1rem;
	line-height: 1;
	color: var(--aed-ink);
}

.aed-score__result[data-band="gaps"] {
	--c: var(--aed-amber);
}

.aed-score__result[data-band="memory"] {
	--c: var(--aed-red);
}

.aed-score__label {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 800;
	color: var(--c, var(--aed-accent));
}

.aed-score__gaps {
	display: grid;
	gap: 0.75rem;
}

.aed-score__gaps li {
	display: grid;
	gap: 0.2rem;
	padding: 0.85rem 1rem;
	border-left: 3px solid var(--c, var(--aed-accent));
	border-radius: 0 10px 10px 0;
	background: var(--aed-sand);
}

.aed-score__gaps span {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.aed-score__gaps-title {
	font-weight: 800;
}

.aed-score__result:not(.has-gaps) .aed-score__gaps-title {
	display: none;
}

.aed-score__cta {
	display: grid;
	gap: 0.5rem;
	justify-items: start;
}

.aed-score__cta .aed-btn {
	background: var(--aed-accent) !important;
	color: #fff !important;
}

.aed-score__cta p {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--muted);
}

/* ---------- Platform explorer ---------- */

.aed-explorer__tabs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	margin: 0 calc(-1 * var(--aed-gutter)) 1.5rem;
	padding: 0.25rem var(--aed-gutter) 0.5rem;
	scrollbar-width: none;
}

.aed-explorer__tab {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 0.55rem;
	min-height: 3.25rem;
	padding: 0 1.15rem;
	border: 1px solid var(--aed-line);
	border-radius: 14px;
	background: var(--aed-paper);
	color: var(--aed-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aed-explorer__tab .aed-icon {
	color: var(--aed-accent);
}

.aed-explorer__tab:hover {
	border-color: var(--aed-ink);
}

.aed-explorer__tab.is-active {
	background: var(--aed-night);
	border-color: var(--aed-night);
	color: #fff;
	box-shadow: var(--aed-shadow);
}

.aed-explorer__tab.is-active .aed-icon {
	color: var(--aed-signal);
}

.aed-explorer__panels {
	display: grid;
	gap: 1.5rem;
}

.aed-explorer__panel {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: center;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius: 28px;
	background: var(--aed-sand);
}

.aed-explorer.is-tabbed .aed-explorer__panel.is-active {
	animation: aed-rise 0.45s var(--aed-ease) both;
}

.aed-explorer__copy {
	display: grid;
	gap: 1.1rem;
	align-content: start;
}

.aed-explorer__copy h3 {
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.15;
}

.aed-today {
	display: grid;
	gap: 0.35rem;
	padding: 0.9rem 1.1rem;
	border-radius: 12px;
	background: color-mix(in srgb, var(--aed-red) 7%, var(--aed-paper));
	color: var(--aed-ink);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

.aed-today span {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--aed-red);
}

.aed-modules {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8125rem;
}

.aed-modules span {
	color: var(--wp--preset--color--muted);
	margin-right: 0.2rem;
}

.aed-modules b {
	padding: 0.25rem 0.6rem;
	border: 1px solid var(--aed-line);
	border-radius: 6px;
	background: var(--aed-paper);
	font-weight: 700;
}

/* Sample screens */
.aed-mock__frame {
	border: 1px solid var(--aed-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: var(--aed-shadow);
	overflow: hidden;
}

.aed-mock__chrome {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.7rem 0.9rem;
	border-bottom: 1px solid var(--aed-line);
}

.aed-mock__chrome i {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--aed-line);
}

.aed-mock__body {
	display: grid;
	gap: 0.9rem;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	font-size: 0.9375rem;
	min-height: 16rem;
	align-content: start;
}

.aed-mock__title {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 0.65rem;
	align-items: center;
}

.aed-mock__title .aed-icon {
	grid-row: span 2;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0.5rem;
	border-radius: 10px;
	color: var(--aed-accent);
	background: var(--aed-tint);
}

.aed-mock__title strong {
	font-size: 1.05rem;
}

.aed-mock__title span {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.aed-tree,
.aed-life,
.aed-alerts {
	display: grid;
	gap: 0.5rem;
}

.aed-tree li,
.aed-life li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.2rem 0.75rem;
	align-items: center;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--aed-line);
	border-radius: 10px;
}

.aed-tree__node {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 700;
}

.aed-tree__node .aed-icon {
	width: 1rem;
	height: 1rem;
	color: var(--wp--preset--color--muted);
}

.aed-tree__meta {
	grid-column: 1;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.aed-tree li .aed-pill,
.aed-life li .aed-pill {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.aed-mock__contact {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	padding: 0.7rem 0.85rem;
	border-radius: 10px;
	background: var(--aed-sand);
	font-size: 0.875rem;
}

.aed-life li > span:first-child {
	font-weight: 700;
}

.aed-life__bar {
	grid-column: 1;
	height: 6px;
	border-radius: 6px;
	background: var(--aed-sand);
	overflow: hidden;
}

.aed-life__bar i {
	display: block;
	width: var(--v);
	height: 100%;
	border-radius: inherit;
	background: var(--aed-accent);
}

.aed-life__bar i.is-due {
	background: var(--aed-amber);
}

.aed-phone {
	display: grid;
	gap: 0.75rem;
	max-width: 19rem;
	margin: 0 auto;
	padding: 1rem;
	border: 8px solid var(--aed-night);
	border-radius: 28px;
	background: #fff;
}

.aed-phone__head {
	display: grid;
}

.aed-phone__head span {
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.aed-phone__list {
	display: grid;
	gap: 0.4rem;
}

.aed-phone__list li {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	padding: 0.55rem 0.65rem;
	border-radius: 8px;
	background: var(--aed-sand);
	font-size: 0.875rem;
}

.aed-phone__list li.is-done .aed-icon {
	padding: 0.12rem;
	border-radius: 50%;
	color: #fff;
	background: var(--aed-accent);
	stroke-width: 2.8;
	width: 1rem;
	height: 1rem;
}

.aed-phone__btn {
	display: block;
	padding: 0.7rem;
	border-radius: 10px;
	background: var(--aed-accent);
	color: #fff;
	font-weight: 700;
	text-align: center;
}

.aed-alerts li {
	--c: var(--aed-accent);
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--aed-line);
	border-left: 4px solid var(--c);
	border-radius: 10px;
}

.aed-alerts li .aed-icon {
	color: var(--c);
	margin-top: 0.1rem;
}

.aed-alerts li span {
	display: grid;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.aed-alerts li strong {
	font-size: 0.9375rem;
	color: var(--aed-ink);
}

.aed-alerts .is-due {
	--c: var(--aed-amber);
}

.aed-alerts .is-overdue {
	--c: var(--aed-red);
}

.aed-timeline {
	position: relative;
	display: grid;
	gap: 0.9rem;
	padding-left: 1.25rem !important;
}

.aed-timeline::before {
	content: "";
	position: absolute;
	left: 0.3rem;
	top: 0.4rem;
	bottom: 0.4rem;
	width: 2px;
	background: var(--aed-line);
}

.aed-timeline li {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0 0.75rem;
}

.aed-timeline li::before {
	content: "";
	position: absolute;
	left: -1.25rem;
	top: 0.35rem;
	width: 0.7rem;
	height: 0.7rem;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--aed-accent);
}

.aed-timeline b {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aed-accent);
}

.aed-timeline span {
	grid-column: 1;
	font-size: 0.9rem;
}

.aed-timeline time {
	grid-column: 2;
	grid-row: 1 / span 2;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

/* ---------- Replacement forecast ---------- */

.aed-fc {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}

.aed-fc__inputs {
	display: grid;
	gap: 1rem;
}

.aed-fc__rows {
	display: grid;
	gap: 0.75rem;
}

.aed-fc__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 7.5rem auto;
	gap: 0.4rem 0.75rem;
	align-items: end;
	padding: 1rem;
	border: 1px solid var(--aed-line);
	border-radius: var(--aed-radius);
	background: var(--aed-paper);
}

.aed-fc__row label,
.aed-fc__price label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	color: var(--wp--preset--color--muted);
}

.aed-fc select,
.aed-fc input {
	box-sizing: border-box;
	width: 100%;
	min-height: 3rem;
	padding: 0.5rem 0.75rem;
	border: 1.5px solid var(--aed-line-strong);
	border-radius: 10px;
	background: #fff;
	color: var(--aed-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
}

.aed-fc select:focus-visible,
.aed-fc input:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--aed-accent) 45%, transparent);
	border-color: var(--aed-accent);
}

.aed-fc__life {
	grid-column: 1 / -1;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.aed-fc__remove {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 10px;
	background: var(--aed-sand);
	color: var(--aed-ink);
	cursor: pointer;
}

.aed-fc__remove[hidden] {
	display: grid;
	visibility: hidden;
}

.aed-fc__add {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.75rem;
	padding: 0 1rem;
	border: 1.5px dashed var(--aed-line-strong);
	border-radius: 10px;
	background: transparent;
	color: var(--aed-accent);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.aed-fc__add:hover {
	border-color: var(--aed-accent);
}

.aed-fc__price {
	max-width: 22rem;
}

.aed-fc__price small {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.aed-fc__out {
	display: grid;
	gap: 1rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--aed-radius-lg);
	background: var(--aed-night);
	color: var(--aed-on-night);
	box-shadow: var(--aed-shadow-lg);
}

.aed-fc__out-title {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	color: var(--aed-on-night-muted);
}

.aed-fc__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.aed-fc__stat {
	display: grid;
	gap: 0.15rem;
	padding: 1rem;
	border-radius: 14px;
	background: var(--aed-night-soft);
}

.aed-fc__stat strong {
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1;
	letter-spacing: -0.03em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.aed-fc__stat span {
	font-size: 0.875rem;
	color: var(--aed-on-night-muted);
}

.aed-fc__stat--big {
	grid-column: 1 / -1;
	background: color-mix(in srgb, var(--aed-signal) 14%, var(--aed-night-soft));
}

.aed-fc__stat--big strong {
	color: var(--aed-signal);
}

.aed-fc__money strong {
	color: var(--wp--preset--color--amber-light);
}

.aed-fc__note {
	font-size: 0.8125rem;
	color: var(--aed-on-night-muted);
}

.aed-fc__out .aed-btn {
	justify-self: start;
}

.aed-fc__nojs {
	padding: 1rem;
	border-radius: 10px;
	background: var(--aed-sand);
}

.aed-forecast.is-live .aed-fc__nojs,
.aed-js .aed-fc__nojs {
	display: none;
}

/* ---------- Your data ---------- */

.aed-switch {
	display: inline-flex;
	gap: 0.25rem;
	margin: 0 auto 2rem;
	padding: 0.3rem;
	border: 1px solid var(--aed-night-line);
	border-radius: 999px;
	background: var(--aed-night-soft);
}

.aed-compare {
	display: grid;
	justify-items: center;
}

.aed-switch__btn {
	min-height: 2.9rem;
	padding: 0 1.25rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--aed-on-night-muted);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.aed-switch__btn.is-active {
	background: #fff;
	color: var(--aed-night);
}

.aed-switch__btn[data-aed-tab="aedops"].is-active {
	background: var(--aed-signal);
}

.aed-compare__panels {
	display: grid;
	gap: 1.25rem;
	width: 100%;
}

.aed-flow {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border: 1px solid var(--aed-night-line);
	border-radius: var(--aed-radius-lg);
	background: var(--aed-night-soft);
}

.aed-compare.is-tabbed .aed-flow.is-active {
	animation: aed-rise 0.45s var(--aed-ease) both;
}

.aed-compare.is-tabbed .aed-flow figcaption {
	display: none;
}

.aed-flow figcaption {
	font-weight: 800;
	color: #fff;
}

.aed-flow__diagram {
	display: grid;
	gap: 0.75rem;
	align-items: center;
}

.aed-flow__you,
.aed-flow__store {
	display: grid;
	gap: 0.6rem;
	padding: 1.25rem;
	border-radius: 16px;
	background: color-mix(in srgb, #fff 6%, transparent);
	border: 1px solid var(--aed-night-line);
}

.aed-flow__label {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--aed-on-night-muted);
}

.aed-flow__you ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
}

.aed-flow__you li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 0.7rem;
	border-radius: 10px;
	background: color-mix(in srgb, #fff 8%, transparent);
	font-size: 0.9rem;
	font-weight: 600;
	color: #fff;
}

.aed-flow__you .aed-icon {
	color: var(--aed-signal);
	width: 1.05rem;
	height: 1.05rem;
}

.aed-flow__arrow {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 3rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--aed-on-night-muted);
}

.aed-flow__arrow::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: repeating-linear-gradient(180deg, currentColor 0 6px, transparent 6px 12px);
	animation: aed-flow-y 1s linear infinite;
}

.aed-flow__arrow span {
	position: relative;
	padding: 0.2rem 0.6rem;
	border-radius: 6px;
	background: var(--aed-night-soft);
}

.aed-flow--hosted .aed-flow__arrow {
	color: var(--wp--preset--color--amber-light);
}

.aed-flow--own .aed-flow__arrow {
	color: var(--aed-signal);
}

.aed-flow__store {
	position: relative;
	justify-items: start;
}

.aed-flow__store > .aed-icon {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0.5rem;
	border-radius: 12px;
}

.aed-flow__store strong {
	font-size: var(--wp--preset--font-size--large);
	color: #fff;
}

.aed-flow__store span {
	font-size: var(--wp--preset--font-size--small);
	color: var(--aed-on-night-muted);
}

.aed-flow__store--vendor {
	border-color: color-mix(in srgb, var(--wp--preset--color--amber-light) 45%, transparent);
}

.aed-flow__store--vendor > .aed-icon {
	color: var(--aed-night);
	background: var(--wp--preset--color--amber-light);
}

.aed-flow__store--own {
	border-color: color-mix(in srgb, var(--aed-signal) 55%, transparent);
	background: color-mix(in srgb, var(--aed-signal) 10%, transparent);
}

.aed-flow__store--own > .aed-icon {
	color: var(--aed-night);
	background: var(--aed-signal);
}

.aed-flow__lock {
	position: absolute;
	top: 1rem;
	right: 1rem;
	color: var(--aed-signal);
}

.aed-flow__lock .aed-icon {
	width: 1.6rem;
	height: 1.6rem;
}

.aed-flow__note {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	background: color-mix(in srgb, #fff 5%, transparent);
	font-size: var(--wp--preset--font-size--small);
	color: var(--aed-on-night);
}

.aed-flow__note .aed-icon {
	flex: none;
	margin-top: 0.1rem;
	color: var(--wp--preset--color--amber-light);
}

.aed-flow--own .aed-flow__note .aed-icon {
	color: var(--aed-signal);
}

@keyframes aed-flow-y {
	to {
		background-position: 0 12px;
	}
}

.aed-table-wrap {
	width: 100%;
	margin-top: 1.5rem;
	overflow-x: auto;
	border: 1px solid var(--aed-night-line);
	border-radius: var(--aed-radius-lg);
}

.aed-table {
	width: 100%;
	min-width: 40rem;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}

.aed-table th,
.aed-table td {
	padding: 1rem 1.15rem;
	border-bottom: 1px solid var(--aed-night-line);
	text-align: left;
	vertical-align: top;
}

.aed-table tbody tr:last-child > * {
	border-bottom: 0;
}

.aed-table thead th {
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--aed-on-night-muted);
}

.aed-table thead th:last-child {
	color: var(--aed-signal);
}

.aed-table tbody th {
	width: 34%;
	font-weight: 700;
	color: #fff;
}

.aed-table td {
	color: var(--aed-on-night-muted);
}

.aed-table td:last-child {
	color: #fff;
	background: color-mix(in srgb, var(--aed-signal) 7%, transparent);
}

.aed-table td .aed-icon {
	width: 1rem;
	height: 1rem;
	margin-right: 0.4rem;
	color: var(--aed-signal);
	stroke-width: 2.6;
	vertical-align: -0.15em;
}

/* ---------- Who sees what ---------- */

.aed-access__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}

.aed-access__intro .aed-sec__head {
	margin-bottom: 1.5rem;
}

.aed-access__why {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	max-width: 34rem;
	padding: 1rem 1.15rem;
	border-radius: 12px;
	background: var(--aed-paper);
	border: 1px solid var(--aed-line);
}

.aed-access__why .aed-icon {
	flex: none;
	color: var(--aed-accent);
}

.aed-roles {
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border: 1px solid var(--aed-line);
	border-radius: 24px;
	background: var(--aed-paper);
	box-shadow: var(--aed-shadow);
}

.aed-roles__tabs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.aed-roles__tab {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 3.25rem;
	padding: 0 0.9rem;
	border: 1.5px solid var(--aed-line);
	border-radius: 12px;
	background: var(--aed-paper);
	color: var(--aed-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.aed-roles__tab .aed-icon {
	color: var(--aed-accent);
}

.aed-roles__tab:hover {
	border-color: var(--aed-ink);
}

.aed-roles__tab.is-active {
	border-color: var(--aed-accent);
	background: var(--aed-tint);
}

.aed-roles__panel {
	display: grid;
	gap: 1rem;
	padding: 1.25rem;
	border-radius: 16px;
	background: var(--aed-sand);
}

.aed-roles.is-tabbed .aed-roles__panel.is-active {
	animation: aed-rise 0.4s var(--aed-ease) both;
}

.aed-roles:not(.is-tabbed) .aed-roles__panel + .aed-roles__panel {
	margin-top: 0.75rem;
}

.aed-roles__who {
	display: grid;
	color: var(--wp--preset--color--muted);
}

.aed-roles__who strong {
	font-size: var(--wp--preset--font-size--large);
	color: var(--aed-ink);
}

.aed-roles__list {
	display: grid;
	gap: 0.5rem;
}

.aed-roles__list li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.75rem 0.9rem;
	border-radius: 10px;
	background: var(--aed-paper);
	font-weight: 600;
}

.aed-roles__list .is-on .aed-icon {
	padding: 0.15rem;
	border-radius: 50%;
	color: #fff;
	background: var(--aed-accent);
	stroke-width: 2.6;
	width: 1.15rem;
	height: 1.15rem;
}

.aed-roles__list .is-off {
	color: var(--wp--preset--color--muted);
	background: transparent;
	border: 1.5px dashed var(--aed-line-strong);
}

.aed-roles__list .is-off span {
	text-decoration: line-through;
	text-decoration-color: color-mix(in srgb, var(--aed-ink) 35%, transparent);
}

.aed-roles__list em {
	margin-left: auto;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ---------- Getting started ---------- */

.aed-steps {
	position: relative;
	display: grid;
	gap: 1rem;
	counter-reset: none;
}

.aed-step {
	position: relative;
	display: grid;
	gap: 0.75rem;
	align-content: start;
	padding: clamp(1.4rem, 2.5vw, 1.9rem);
	border: 1px solid var(--aed-line);
	border-radius: var(--aed-radius-lg);
	background: var(--aed-paper);
}

.aed-step__num {
	position: absolute;
	top: 1.1rem;
	right: 1.3rem;
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	color: var(--aed-sand-deep);
	letter-spacing: -0.04em;
}

.aed-step h3 {
	font-size: var(--wp--preset--font-size--large);
}

.aed-step p {
	color: var(--wp--preset--color--muted);
}

.aed-why {
	display: grid;
	gap: 1rem;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.aed-why__col {
	display: grid;
	gap: 0.9rem;
	align-content: start;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--aed-radius-lg);
}

.aed-why__col ul {
	display: grid;
	gap: 0.6rem;
}

.aed-why__col li {
	display: flex;
	gap: 0.6rem;
}

.aed-why__col li::before {
	flex: none;
	font-weight: 800;
}

.aed-why__label {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.aed-why__col h3 {
	font-size: var(--wp--preset--font-size--large);
}

.aed-why__col--trial {
	background: var(--aed-sand);
	color: var(--wp--preset--color--muted);
}

.aed-why__col--trial h3 {
	color: var(--aed-ink);
}

.aed-why__col--trial li::before {
	content: "\2715";
	color: var(--aed-red);
}

.aed-why__col--call {
	background: var(--aed-night);
	color: var(--aed-on-night);
}

.aed-why__col--call .aed-why__label {
	color: var(--aed-signal);
}

.aed-why__col--call h3 {
	color: #fff;
}

.aed-why__col--call li::before {
	content: "\2713";
	color: var(--aed-signal);
}

.aed-why__col--call .aed-btn {
	justify-self: start;
	margin-top: 0.5rem;
}

/* ---------- Trust ---------- */

.aed-trust__grid {
	display: grid;
	gap: 1rem;
}

.aed-operator {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.aed-operator .aed-slot {
	max-width: 9rem;
	border-radius: 50%;
	overflow: hidden;
}

.aed-operator__body {
	display: grid;
	gap: 0.75rem;
}

.aed-operator__name {
	display: grid;
}

.aed-operator__name strong {
	font-size: var(--wp--preset--font-size--large);
}

.aed-operator__name span,
.aed-operator__body p {
	color: var(--wp--preset--color--muted);
}

.aed-operator__promise {
	font-weight: 600;
	color: var(--aed-ink) !important;
}

.aed-nda {
	display: grid;
	gap: 0.9rem;
	align-content: start;
}

.aed-nda h3,
.aed-verify h3 {
	font-size: var(--wp--preset--font-size--large);
}

.aed-nda p {
	color: var(--wp--preset--color--muted);
}

.aed-verify {
	background: var(--aed-night);
	color: var(--aed-on-night);
	border-color: var(--aed-night);
}

.aed-verify h3 {
	margin-bottom: 1.1rem !important;
	color: #fff;
}

.aed-verify__list {
	display: grid;
	gap: 1rem;
}

.aed-check {
	display: flex;
	gap: 0.8rem;
	align-items: flex-start;
}

.aed-check span {
	display: grid;
	gap: 0.1rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--aed-on-night-muted);
}

.aed-check strong {
	font-size: var(--wp--preset--font-size--medium);
	color: #fff;
}

.aed-verify .aed-icon-badge {
	color: var(--aed-night);
	background: var(--aed-signal);
}

/* ---------- FAQ ---------- */

.aed-faq__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

.aed-faq__head .aed-sec__head {
	margin-bottom: 1.5rem;
}

.aed-faq__ask {
	display: grid;
	gap: 0.6rem;
	justify-items: start;
	padding: 1.5rem;
	border-radius: var(--aed-radius-lg);
	background: var(--aed-tint);
}

.aed-faq__ask-title {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 800;
}

.aed-faq__list {
	display: grid;
	gap: 0.75rem;
}

.aed-faq__item {
	border: 1px solid var(--aed-line);
	border-radius: var(--aed-radius);
	background: var(--aed-paper);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aed-faq__item[open] {
	border-color: color-mix(in srgb, var(--aed-accent) 40%, var(--aed-line));
	box-shadow: var(--aed-shadow);
}

.aed-faq__item summary {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1.1rem 1.25rem;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.aed-faq__item summary::-webkit-details-marker {
	display: none;
}

.aed-faq__item summary::after {
	content: "+";
	margin-left: auto;
	flex: none;
	display: grid;
	place-items: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--aed-sand);
	font-size: 1.25rem;
	font-weight: 600;
	transition: transform 0.25s var(--aed-ease), background-color 0.2s ease;
}

.aed-faq__item[open] summary::after {
	transform: rotate(45deg);
	background: var(--aed-tint-2);
}

.aed-faq__icon {
	color: var(--aed-accent);
}

.aed-faq__item p {
	padding: 0 1.25rem 1.25rem 3.3rem;
	color: var(--wp--preset--color--muted);
}

/* ---------- Final section: the form's home ---------- */

.aed-final {
	background:
		radial-gradient(900px 500px at 10% 0%, color-mix(in srgb, var(--aed-signal) 12%, transparent), transparent 60%),
		var(--aed-night);
}

.aed-final__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

.aed-final__intro {
	display: grid;
	gap: 1.25rem;
}

.aed-final__intro .aed-sec__title {
	color: #fff;
}

.aed-final .aed-next-list li > span:last-child {
	color: var(--aed-on-night);
}

.aed-final .aed-icon-badge {
	color: var(--aed-night);
	background: var(--aed-signal);
}

.aed-final .aed-talk {
	border-color: var(--aed-night-line);
	background: var(--aed-night-soft);
}

.aed-final .aed-talk__title {
	color: #fff;
}

.aed-final .aed-talk__text {
	color: var(--aed-on-night-muted);
}

.aed-final__card {
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border-radius: var(--aed-radius-lg);
	background: #fff;
	color: var(--aed-ink);
	box-shadow: var(--aed-shadow-lg);
}

/* ---------- Form modal ---------- */

.aed-modal {
	width: min(54rem, calc(100vw - 1.5rem));
	max-width: none;
	max-height: calc(100dvh - 1.5rem);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: #fff;
	color: var(--aed-ink);
	box-shadow: var(--aed-shadow-lg);
	overflow: auto;
	overscroll-behavior: contain;
}

.aed-modal::backdrop {
	background: color-mix(in srgb, var(--aed-night) 72%, transparent);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.aed-modal[open] {
	animation: aed-modal-in 0.3s var(--aed-ease) both;
}

@keyframes aed-modal-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.98);
	}
}

.aed-modal__panel {
	position: relative;
	padding: clamp(1.25rem, 4vw, 2.25rem);
}

.aed-modal__close {
	position: absolute;
	top: 0.9rem;
	right: 0.9rem;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 50%;
	background: var(--aed-sand);
	color: var(--aed-ink);
	cursor: pointer;
}

.aed-modal__close:hover {
	background: var(--aed-line);
}

.aed-modal__head {
	display: grid;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	padding-right: 3rem;
}

.aed-modal__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--aed-accent);
}

.aed-modal__title {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2rem);
	line-height: 1.15;
}

.aed-modal__text {
	margin: 0;
	color: var(--wp--preset--color--muted);
}

/* In the modal and the final section the form is a column; the question field moves up in "question" mode. */
.aed-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.aed-form > * {
	margin: 0 !important;
}

.aed-form-wrap[data-aed-mode="question"] .aed-field--message {
	order: -1;
}

.aed-form-wrap[data-aed-mode="question"] .aed-form__errors {
	order: -2;
}

.aed-field--message textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 6rem;
	padding: 0.75rem 0.9rem;
	border: 1.5px solid var(--aed-line-strong);
	border-radius: 10px;
	background: #fff;
	color: var(--aed-ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	resize: vertical;
}

.aed-field--message textarea:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--aed-accent) 45%, transparent);
	border-color: var(--aed-accent);
}

.aed-field__opt {
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.aed-form__promise {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--aed-accent);
}

.aed-form__promise svg {
	flex: 0 0 auto;
	width: 1.1rem;
	height: 1.1rem;
}

/* The two optional toggles share a row; an opened one takes the full width. */
.aed-form__extras {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0.6rem;
	align-items: start;
}

.aed-more[open] {
	grid-column: 1 / -1;
}

/* "Ask a question": the question comes first and the fleet picks step aside, so the modal stays short. */
.aed-form-wrap[data-aed-mode="question"] .aed-form__extras {
	order: -1;
}

.aed-form-wrap[data-aed-mode="question"] [data-aed-more-fleet] {
	display: none;
}

.aed-more {
	border: 1px solid var(--aed-line);
	border-radius: 10px;
	background: var(--wp--preset--color--surface);
}

.aed-more > summary {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0.4rem 0.9rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	color: var(--aed-ink);
	cursor: pointer;
	list-style: none;
	border-radius: 10px;
}

.aed-more > summary::-webkit-details-marker {
	display: none;
}

.aed-more > summary:hover {
	color: var(--aed-accent);
}

.aed-more__plus {
	position: relative;
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--aed-accent);
}

.aed-more__plus::before,
.aed-more__plus::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	width: 0.6rem;
	height: 2px;
	background: #fff;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.aed-more__plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.aed-more[open] .aed-more__plus::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.aed-more__ask,
.aed-form-wrap[data-aed-mode="question"] .aed-more__add {
	display: none;
}

.aed-form-wrap[data-aed-mode="question"] .aed-more__ask {
	display: inline;
}

.aed-more .aed-field__opt {
	font-weight: 500;
}

.aed-more__body {
	display: grid;
	gap: 1rem;
	padding: 0.25rem 0.9rem 0.9rem;
}

.aed-form__context {
	padding: 0.75rem 1rem;
	border-radius: 10px;
	background: var(--aed-tint);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--aed-accent);
}

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

.aed-footer {
	margin-top: 0 !important;
	border-top: 1px solid var(--aed-line);
}

.aed-footer .aed-wordmark b {
	color: var(--aed-accent);
}

.aed-footer__tm {
	max-width: 60rem;
	margin-inline: auto !important;
	opacity: 0.85;
}

/* ---------- Larger screens ---------- */

@media (min-width: 600px) {
	.aed-evidence,
	.aed-problems__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.aed-steps {
		grid-template-columns: repeat(2, 1fr);
	}

	.aed-fc__stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.aed-roles__tabs {
		grid-template-columns: repeat(4, 1fr);
	}

	.aed-roles__tab {
		flex-direction: column;
		justify-content: center;
		gap: 0.3rem;
		min-height: 4.5rem;
		text-align: center;
	}
}

@media (min-width: 900px) {
	.aed-hero__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	}

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

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

	.aed-score {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}

	.aed-score__intro {
		position: sticky;
		top: calc(var(--aed-header-h) + 2rem);
	}

	.aed-explorer__tabs {
		justify-content: center;
		flex-wrap: wrap;
		overflow: visible;
	}

	.aed-explorer__panel {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	}

	.aed-fc {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}

	.aed-fc__out {
		position: sticky;
		top: calc(var(--aed-header-h) + 2rem);
	}

	.aed-flow__diagram {
		grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
	}

	.aed-flow__arrow {
		min-height: 2rem;
	}

	.aed-flow__arrow::before {
		top: 50%;
		bottom: auto;
		left: 0;
		right: 0;
		width: auto;
		height: 2px;
		background: repeating-linear-gradient(90deg, currentColor 0 6px, transparent 6px 12px);
		animation-name: aed-flow-x;
	}

	.aed-compare:not(.is-tabbed) .aed-compare__panels {
		grid-template-columns: 1fr 1fr;
	}

	.aed-compare:not(.is-tabbed) .aed-flow__diagram {
		grid-template-columns: 1fr;
	}

	.aed-compare.is-tabbed .aed-compare__panels {
		max-width: 64rem;
		margin-inline: auto;
	}

	.aed-table-wrap {
		max-width: 64rem;
	}

	.aed-access__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}

	.aed-steps {
		grid-template-columns: repeat(4, 1fr);
	}

	.aed-steps::before {
		content: "";
		position: absolute;
		top: 3.2rem;
		left: 8%;
		right: 8%;
		height: 2px;
		background: repeating-linear-gradient(90deg, var(--aed-line-strong) 0 8px, transparent 8px 16px);
		z-index: 0;
	}

	.aed-step {
		z-index: 1;
	}

	.aed-why {
		grid-template-columns: 1fr 1.15fr;
	}

	.aed-trust__grid {
		grid-template-columns: 1.1fr 1fr 1.1fr;
	}

	.aed-faq__grid {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	}

	.aed-faq__head {
		position: sticky;
		top: calc(var(--aed-header-h) + 2rem);
	}

	.aed-final__grid {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	}

	.aed-final__intro {
		position: sticky;
		top: calc(var(--aed-header-h) + 2rem);
	}
}

@keyframes aed-flow-x {
	to {
		background-position: 12px 0;
	}
}

@media (max-width: 599px) {
	.aed-fc__row {
		grid-template-columns: minmax(0, 1fr) 6.5rem;
	}

	.aed-fc__remove {
		grid-column: 2;
		grid-row: 3;
		justify-self: end;
	}

	.aed-board {
		transform: none;
	}

	.aed-board__kpis {
		gap: 0.4rem;
		padding: 0.75rem;
	}

	.aed-kpi strong {
		font-size: 1.3rem;
	}

	.aed-hero__cta .aed-btn {
		width: 100%;
	}
}


/* ---------- Form layout: follows the form's own width (final card or modal), not the viewport ---------- */
.aed-form__row--main {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0.75rem;
}

.aed-form__row--main .aed-field--email {
	grid-column: 1 / -1;
}

@container aedform (max-width: 29.99rem) {
	.aed-more .aed-field__opt {
		display: none;
	}
}

@container aedform (min-width: 30rem) {
	.aed-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

@container aedform (min-width: 40rem) {
	.aed-form__row--main {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
	}

	.aed-form__row--main .aed-field--email {
		grid-column: auto;
	}

	.aed-form__submit {
		display: flex;
		align-items: center;
		gap: 1.25rem;
	}

	.aed-form__submit .wp-element-button {
		flex: 0 0 auto;
		width: auto;
		padding-inline: 2rem;
	}

	.aed-form__submit .aed-form__privacy {
		margin: 0;
	}
}

.aed-fc__src {
	margin-top: 1.25rem !important;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
	text-align: center;
}

/* ---------- Motion (only without a reduced-motion preference) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.aed-hero__copy > * {
		animation: aed-rise 0.8s var(--aed-ease) both;
	}

	.aed-hero__copy > :nth-child(2) { animation-delay: 0.06s; }
	.aed-hero__copy > :nth-child(3) { animation-delay: 0.12s; }
	.aed-hero__copy > :nth-child(4) { animation-delay: 0.18s; }
	.aed-hero__copy > :nth-child(5) { animation-delay: 0.24s; }

	.aed-board {
		animation: aed-board-in 1s 0.15s var(--aed-ease) both;
	}

	@supports (interpolate-size: allow-keywords) {
		.aed-faq__item {
			interpolate-size: allow-keywords;
		}

		.aed-faq__item::details-content {
			block-size: 0;
			overflow-y: clip;
			transition: block-size 0.35s var(--aed-ease), content-visibility 0.35s allow-discrete;
		}

		.aed-faq__item[open]::details-content {
			block-size: auto;
		}
	}

	/* Scroll reveals. landing.js adds .aed-anim and marks targets with .aed-rv, then .is-in on view. */
	.aed-anim .aed-rv {
		opacity: 0;
		translate: 0 18px;
		transition:
			opacity 0.7s var(--aed-ease) var(--aed-d, 0s),
			translate 0.7s var(--aed-ease) var(--aed-d, 0s);
	}

	.aed-anim .aed-rv.is-in {
		opacity: 1;
		translate: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.aed-board {
		transform: none;
	}
}

@keyframes aed-rise {
	from {
		transform: translateY(16px);
	}
}

@keyframes aed-board-in {
	from {
		opacity: 0;
		transform: perspective(1600px) rotateY(-12deg) rotateX(4deg) translateY(24px);
	}
}

/* Components set display, so the hidden attribute needs help (tabs, results, optional bits). */
[data-aed-panel][hidden],
[data-aed-tablist][hidden],
[data-aed-score-result][hidden],
[data-aed-score-submit][hidden],
[data-aed-fc-money][hidden],
[data-aed-fc-add][hidden],
[data-aed-form-context][hidden],
.aed-board__toast[hidden] {
	display: none !important;
}

/* ---------- Compact modal: fits a 125%-scaled laptop screen without scrolling ---------- */
.aed-modal .aed-modal__panel {
	padding: clamp(1rem, 3vw, 1.75rem) clamp(1rem, 4vw, 2rem);
}

.aed-modal .aed-modal__head {
	gap: 0.3rem;
	margin-bottom: 0.9rem;
}

.aed-modal .aed-modal__title {
	font-size: clamp(1.3rem, 3vw, 1.7rem);
}

.aed-modal .aed-modal__text {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
}

.aed-modal .aed-form {
	gap: 0.8rem;
}

.aed-modal .aed-field {
	gap: 0.25rem;
}

.aed-modal .aed-form input[type="email"],
.aed-modal .aed-form input[type="text"],
.aed-modal .aed-form select {
	min-height: 2.875rem;
	padding: 0.5rem 0.8rem;
	font-size: 1.0625rem;
}

.aed-modal .aed-field--message textarea {
	min-height: 4.5rem;
}

.aed-modal .aed-form__submit .wp-element-button {
	min-height: 3rem;
	padding-block: 0.6rem;
}

.aed-modal .aed-form__privacy {
	font-size: 0.8125rem;
	line-height: 1.4;
}

.aed-form-wrap[data-aed-mode="question"] .aed-form__promise {
	display: none;
}

.aed-modal .aed-field--message textarea {
	min-height: 4rem;
}

@media (max-width: 599px) {
	.aed-modal {
		width: calc(100vw - 1rem);
		max-height: calc(100dvh - 1rem);
		border-radius: 16px;
	}

	.aed-modal .aed-modal__brand {
		display: none;
	}

	.aed-modal .aed-modal__close {
		top: 0.6rem;
		right: 0.6rem;
	}

	.aed-modal .aed-form {
		gap: 0.7rem;
	}
}

.aed-modal .aed-form__context {
	padding: 0.5rem 0.75rem;
	font-size: 0.8125rem;
	line-height: 1.4;
}

.aed-modal .aed-form__promise {
	font-size: 0.875rem;
}
