/*
 * Design System - AELITA
 * components/ai-moto-podbor.css - AI motorcycle picker page.
 *
 * Compact editorial hero, one progress control, borderless questionnaire
 * sections and light result cards. Sharp corners, one red accent, MyriadSetPro
 * and the existing design-system tokens. Stitch radius, gradients and
 * decorative glows are intentionally not implemented.
 *
 * Loaded only on page-ai-moto-podbor.php (inc/ai-moto-podbor/assets.php).
 */

.a-ai-moto-shell {
	background-color: var(--bg);
	padding-block: 0 var(--space-8);
}

.a-ai-moto {
	padding-block: 0 var(--space-2);
}

/* -------------------------------------------------------------------- */
/* Shared type                                                          */
/* -------------------------------------------------------------------- */
.a-ai-moto__eyebrow {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin: 0 0 var(--space-3);
	color: var(--c-red-600);
	font-family: var(--font-body);
	font-size: var(--fs-caption);
	font-weight: var(--fw-bold);
	letter-spacing: 0.12em;
	line-height: var(--lh-heading);
	text-transform: uppercase;
}

.a-ai-moto__eyebrow-mark {
	display: block;
	width: 18px;
	height: 2px;
	flex: 0 0 auto;
	background-color: var(--c-red-600);
}

.a-ai-moto__title,
.a-ai-moto__results-title,
.a-ai-moto__results-help h3,
.a-ai-moto__aside-title,
.a-ai-moto__state-title,
.a-ai-moto-card__title {
	text-transform: none;
}

/* -------------------------------------------------------------------- */
/* Hero                                                                 */
/* -------------------------------------------------------------------- */
.a-ai-moto__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
	grid-template-rows: 320px;
	align-items: stretch;
	margin-bottom: var(--space-6);
	background-color: var(--bg);
}

.a-ai-moto__hero-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: var(--space-5) var(--space-6) var(--space-5) 0;
}

.a-ai-moto__title {
	max-width: none;
	margin: 0;
	font-family: var(--font-display-strong);
	font-size: clamp(38px, 4.2vw, 56px);
	font-weight: var(--fw-bold);
	letter-spacing: -0.03em;
	line-height: 1;
	text-wrap: balance;
}

.a-ai-moto__lead {
	max-width: 46ch;
	margin: var(--space-4) 0 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: var(--fw-regular);
	line-height: 1.55;
}

.a-ai-moto__hero-media {
	min-width: 0;
	min-height: 300px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: var(--bg-muted);
	overflow: hidden;
}

.a-ai-moto__banner-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	border-radius: 0;
}

/* -------------------------------------------------------------------- */
/* Survey shell + progress                                              */
/* -------------------------------------------------------------------- */
.a-ai-moto__survey {
	margin: 0 auto;
}

.a-ai-moto__survey-progress {
	display: none;
	margin-bottom: var(--space-5);
}

.a-ai-moto__progress-text {
	margin: 0 0 var(--space-2);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-heading);
}

.a-ai-moto__progress-wrap {
	display: flex;
	align-items: center;
}

.a-ai-moto__progress {
	display: flex;
	flex: 1 1 auto;
	gap: 3px;
}

.a-ai-moto__progress-segment {
	display: block;
	height: 3px;
	flex: 1 1 0;
	background-color: var(--border);
	transition: background-color var(--dur-dropdown) var(--ease-out);
}

.a-ai-moto__progress-segment.is-done,
.a-ai-moto__progress-segment.is-current {
	background-color: var(--c-red-600);
}

/* Desktop step rail: one control, no boxes. */
.a-ai-moto__stepper {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	margin-bottom: var(--space-6);
	border-bottom: var(--border-w) solid var(--border);
}

.a-ai-moto__step-tab {
	position: relative;
	display: flex;
	min-width: 0;
	align-items: baseline;
	gap: var(--space-2);
	margin: 0;
	padding: 0 var(--space-3) var(--space-3) 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	color: var(--text-secondary);
	font-family: var(--font-body);
	text-align: start;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
}

.a-ai-moto__step-tab::after {
	position: absolute;
	right: var(--space-3);
	bottom: calc(var(--border-w) * -1);
	left: 0;
	height: 1px;
	background-color: transparent;
	content: "";
	transition: background-color var(--dur-dropdown) var(--ease-out);
}

.a-ai-moto__step-tab-num {
	display: inline-block;
	flex: 0 0 auto;
	color: inherit;
	font-family: var(--font-body);
	font-size: var(--fs-caption);
	font-weight: var(--fw-bold);
	line-height: 1.2;
}

.a-ai-moto__step-tab-copy {
	display: block;
	min-width: 0;
}

.a-ai-moto__step-tab-copy strong {
	display: block;
	font-size: var(--fs-small);
	font-weight: var(--fw-semibold);
	line-height: 1.3;
}

.a-ai-moto__step-tab.is-active {
	color: var(--text-primary);
}

.a-ai-moto__step-tab.is-active .a-ai-moto__step-tab-num,
.a-ai-moto__step-tab.is-done .a-ai-moto__step-tab-num {
	color: var(--c-red-600);
}

.a-ai-moto__step-tab.is-active::after,
.a-ai-moto__step-tab.is-done::after {
	background-color: var(--c-red-600);
}

.a-ai-moto__step-tab.is-active::after {
	height: 3px;
}

.a-ai-moto__step-tab.is-active .a-ai-moto__step-tab-copy strong {
	color: var(--c-red-600);
	font-weight: var(--fw-bold);
}

.a-ai-moto__step-tab.is-done {
	color: var(--text-primary);
}

.a-ai-moto__step-tab:disabled {
	color: var(--text-secondary);
	opacity: 0.55;
	cursor: not-allowed;
}

.a-ai-moto__step-tab:focus-visible {
	outline: 2px solid var(--focus-ring);
	outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
	.a-ai-moto__step-tab:not(:disabled):hover {
		color: var(--text-primary);
	}
}

/* -------------------------------------------------------------------- */
/* Questionnaire body + aside                                           */
/* -------------------------------------------------------------------- */
.a-ai-moto__survey-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.a-ai-moto__form {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.a-ai-moto__honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.a-ai-moto-step {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.a-ai-moto-step[hidden] {
	display: none;
}

.a-ai-moto-step__legend {
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--text-primary);
	font-family: var(--font-display);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: var(--fw-semibold);
	letter-spacing: -0.01em;
	line-height: 1.14;
	text-wrap: balance;
}

.a-ai-moto-step__legend:focus {
	outline: none;
}

.a-ai-moto-step__legend:focus-visible {
	outline: 2px solid var(--focus-ring);
	outline-offset: 4px;
}

.a-ai-moto-step__hint {
	max-width: 60ch;
	margin: var(--space-2) 0 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	line-height: var(--lh-body);
}

.a-ai-moto-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-3);
	margin-top: var(--space-5);
}

.a-ai-moto-option {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	-webkit-user-select: none;
}

.a-ai-moto-option__input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}

.a-ai-moto-option__body {
	display: flex;
	width: 100%;
	min-height: 72px;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	padding: 18px var(--space-4);
	border: var(--border-w) solid var(--border);
	border-radius: 0;
	background-color: var(--bg);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: var(--fw-semibold);
	line-height: 1.35;
	transition: border-color var(--dur-dropdown) var(--ease-out), background-color var(--dur-dropdown) var(--ease-out);
}

.a-ai-moto-option__label {
	min-width: 0;
	overflow-wrap: anywhere;
}

.a-ai-moto-option__mark {
	position: relative;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border: var(--border-w) solid var(--c-ink-300);
	border-radius: 0;
	background-color: var(--bg);
}

.a-ai-moto-option__mark::after {
	position: absolute;
	top: 2px;
	left: 5px;
	width: 5px;
	height: 9px;
	border-right: 2px solid var(--text-on-brand);
	border-bottom: 2px solid var(--text-on-brand);
	content: "";
	opacity: 0;
	transform: rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
	.a-ai-moto-option:hover .a-ai-moto-option__body {
		border-color: var(--c-ink-300);
		background-color: var(--bg-muted);
	}
}

.a-ai-moto-option__input:checked + .a-ai-moto-option__body {
	border-color: var(--c-red-600);
	background-color: var(--bg-muted);
}

.a-ai-moto-option__input:checked + .a-ai-moto-option__body .a-ai-moto-option__mark {
	border-color: var(--c-red-600);
	background-color: var(--c-red-600);
}

.a-ai-moto-option__input:checked + .a-ai-moto-option__body .a-ai-moto-option__mark::after {
	opacity: 1;
}

.a-ai-moto-option__input:focus-visible + .a-ai-moto-option__body {
	outline: 2px solid var(--focus-ring);
	outline-offset: 2px;
}

.a-ai-moto-option__input:active + .a-ai-moto-option__body {
	background-color: var(--bg-muted);
}

.a-ai-moto__form-error {
	margin: var(--space-4) 0 0;
	padding: 0 0 0 var(--space-3);
	border: 0;
	border-inline-start: 2px solid var(--c-red-600);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-body);
}

.a-ai-moto__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--space-3);
	margin-top: var(--space-6);
	padding-top: 0;
	border-top: 0;
}

.a-ai-moto__nav .a-button:first-child {
	margin-inline-end: auto;
}

.a-ai-moto__back[hidden],
.a-ai-moto__next[hidden],
.a-ai-moto__submit[hidden] {
	display: none;
}

.a-ai-moto__submit {
	min-width: 240px;
}

.a-ai-moto .a-button,
.a-ai-moto .a-button:hover,
.a-ai-moto .a-button:focus,
.a-ai-moto .a-button:focus-visible,
.a-ai-moto .a-button:active {
	text-decoration: none;
}

.a-ai-moto .a-button,
.a-ai-moto__aside-link,
.a-ai-moto-card__title a {
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.a-ai-moto .a-button {
	user-select: none;
	-webkit-user-select: none;
}

.a-ai-moto .a-button:focus-visible,
.a-ai-moto-card__details:focus-visible,
.a-ai-moto-card__title a:focus-visible,
.a-ai-moto__aside-link:focus-visible {
	box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--focus-ring);
}

/* -------------------------------------------------------------------- */
/* Answer summary (desktop)                                             */
/* -------------------------------------------------------------------- */
.a-ai-moto__aside {
	align-self: start;
	padding: var(--space-5);
	border: 0;
	border-radius: 0;
	background-color: var(--bg-muted);
}

.a-ai-moto__aside-title {
	margin: 0;
	color: var(--text-primary);
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-heading);
}

.a-ai-moto__summary {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	margin: var(--space-5) 0 0;
	padding: 0;
	list-style: none;
}

.a-ai-moto__summary-item {
	display: block;
	padding: 0;
	border: 0;
}

.a-ai-moto__summary-label {
	display: block;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: var(--fw-semibold);
	letter-spacing: 0.08em;
	line-height: var(--lh-heading);
	text-transform: uppercase;
}

.a-ai-moto__summary-value {
	display: block;
	margin-top: var(--space-1);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	font-weight: var(--fw-semibold);
	line-height: 1.45;
}

.a-ai-moto__summary-value.is-empty {
	color: var(--text-secondary);
	font-weight: var(--fw-regular);
}

.a-ai-moto__aside-note {
	margin: var(--space-5) 0 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-caption);
	line-height: 1.55;
}

.a-ai-moto__aside-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	margin-top: var(--space-4);
	color: var(--c-red-600);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	line-height: var(--lh-heading);
	text-decoration: none;
}

.a-ai-moto__aside-link:hover {
	color: var(--c-red-700);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* -------------------------------------------------------------------- */
/* Loading                                                              */
/* -------------------------------------------------------------------- */
.a-ai-moto__loading,
.a-ai-moto__results,
.a-ai-moto__empty,
.a-ai-moto__error {
	scroll-margin-top: calc(var(--space-8) + var(--space-1));
}

.a-ai-moto__loading {
	margin-top: var(--space-6);
	padding: var(--space-7) var(--space-5);
	background-color: var(--bg-muted);
	text-align: center;
}

.a-ai-moto__loading[hidden] {
	display: none;
}

.a-ai-moto__loading .a-ai-moto__eyebrow {
	justify-content: center;
	margin-bottom: 0;
}

.a-ai-moto__spinner {
	display: block;
	width: 30px;
	height: 30px;
	margin: var(--space-5) auto 0;
	border: 2px solid var(--border);
	border-top-color: var(--c-red-600);
	border-radius: 50%;
	animation: a-ai-moto-spin 800ms linear infinite;
}

@keyframes a-ai-moto-spin {
	to {
		transform: rotate(360deg);
	}
}

.a-ai-moto__loading-title {
	margin: var(--space-4) 0 0;
	color: var(--text-primary);
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-heading);
}

.a-ai-moto__loading-hint {
	max-width: 60ch;
	margin: var(--space-2) auto 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	line-height: var(--lh-body);
}

.a-ai-moto__skeleton {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-4);
	max-width: 980px;
	margin: var(--space-6) auto 0;
}

.a-ai-moto-skeleton-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: 0;
	border: 0;
	background-color: transparent;
}

.a-ai-moto-skeleton-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	background-color: var(--bg);
}

.a-ai-moto-skeleton-card__line {
	display: block;
	width: 100%;
	height: 12px;
	background-color: var(--bg);
}

.a-ai-moto-skeleton-card__line--short {
	width: 56%;
}

.a-ai-moto-skeleton-card__block {
	display: block;
	width: 100%;
	height: 64px;
	background-color: var(--bg);
}

/* -------------------------------------------------------------------- */
/* Results hero                                                         */
/* -------------------------------------------------------------------- */
.a-ai-moto__results {
	margin-top: var(--space-6);
}

.a-ai-moto__results[hidden],
.a-ai-moto__empty[hidden],
.a-ai-moto__error[hidden] {
	display: none;
}

.a-ai-moto__results-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--space-6);
	padding: var(--space-6);
	background-color: var(--bg-muted);
}

.a-ai-moto__results-copy {
	min-width: 0;
}

.a-ai-moto__results-title {
	max-width: 24ch;
	margin: 0;
	color: var(--text-primary);
	font-family: var(--font-display-strong);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: var(--fw-bold);
	letter-spacing: -0.02em;
	line-height: 1.08;
	text-wrap: balance;
}

.a-ai-moto__results-number {
	color: var(--c-red-600);
}

.a-ai-moto__criteria {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: var(--space-4);
}

.a-ai-moto__criterion {
	padding: 6px var(--space-3);
	border: 0;
	background-color: var(--bg);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: var(--fs-caption);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-heading);
}

.a-ai-moto__change {
	flex: 0 0 auto;
	margin-top: 0;
}

.a-ai-moto__grid {
	display: grid;
	/* Fixed column scheme: incomplete rows keep card width and start at the
	   inline edge instead of centring the remaining cards. */
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-4);
	align-items: stretch;
	justify-content: start;
	margin-top: var(--space-5);
}

/* -------------------------------------------------------------------- */
/* Cards                                                                */
/* -------------------------------------------------------------------- */
.a-ai-moto-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	border: var(--border-w) solid var(--border);
	border-radius: 0;
	background-color: var(--bg);
}

.a-ai-moto-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--bg-muted);
}

.a-ai-moto-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-modal) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.a-ai-moto-card:hover .a-ai-moto-card__image {
		transform: scale(1.02);
	}

	.a-ai-moto-card:hover {
		border-color: var(--c-ink-300);
	}
}

.a-ai-moto-card__rank {
	position: absolute;
	top: var(--space-3);
	left: var(--space-3);
	padding: 5px var(--space-2);
	background-color: var(--c-ink-900);
	color: var(--text-on-brand);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: var(--fw-bold);
	letter-spacing: 0.06em;
	line-height: var(--lh-heading);
	text-transform: uppercase;
}

.a-ai-moto-card--top .a-ai-moto-card__rank {
	background-color: var(--c-red-600);
}

.a-ai-moto-card__placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: var(--c-ink-300);
}

.a-ai-moto-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-5);
}

.a-ai-moto-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-2);
	margin: 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-caption);
	line-height: var(--lh-heading);
}

.a-ai-moto-card__brand {
	color: var(--c-red-600);
	font-weight: var(--fw-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.a-ai-moto-card__category {
	color: var(--text-secondary);
}

.a-ai-moto-card__category::before {
	margin-inline-end: var(--space-2);
	color: var(--c-ink-300);
	content: "·";
}

.a-ai-moto-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: var(--fw-semibold);
	line-height: 1.22;
	text-wrap: balance;
}

.a-ai-moto-card__title a {
	color: var(--text-primary);
	text-decoration: none;
}

.a-ai-moto-card__title a:hover {
	color: var(--link-hover);
}

.a-ai-moto-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--space-2);
}

.a-ai-moto-card__price-current {
	color: var(--text-primary);
	font-family: var(--font-display-strong);
	font-size: 26px;
	font-weight: var(--fw-bold);
	line-height: var(--lh-heading);
}

.a-ai-moto-card__price-old {
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	text-decoration: line-through;
}

.a-ai-moto-card__status {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	margin: 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-body);
}

.a-ai-moto-card__status-dot {
	width: 7px;
	height: 7px;
	flex: 0 0 auto;
	background-color: var(--c-ink-300);
}

.a-ai-moto-card__status--in_stock {
	color: var(--status-success);
}

.a-ai-moto-card__status--in_stock .a-ai-moto-card__status-dot {
	background-color: var(--status-success);
}

.a-ai-moto-card__status--on_order .a-ai-moto-card__status-dot,
.a-ai-moto-card__status--in_transit .a-ai-moto-card__status-dot {
	background-color: var(--c-red-600);
}

.a-ai-moto-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.a-ai-moto-card__spec {
	padding: 0;
	border: 0;
	background-color: transparent;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-caption);
	line-height: var(--lh-heading);
}

.a-ai-moto-card__spec + .a-ai-moto-card__spec::before {
	margin-inline-end: var(--space-2);
	color: var(--c-ink-300);
	content: "·";
}

.a-ai-moto-card__reason {
	padding: var(--space-4);
	border: 0;
	background-color: var(--bg-muted);
}

.a-ai-moto-card__reason-title {
	margin: 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: var(--fw-bold);
	letter-spacing: 0.07em;
	line-height: var(--lh-heading);
	text-transform: uppercase;
}

.a-ai-moto-card__reason-text {
	margin: var(--space-2) 0 0;
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.55;
}

.a-ai-moto-card__details {
	width: 100%;
	justify-content: center;
	margin-top: auto;
}

/* -------------------------------------------------------------------- */
/* Results help strip                                                   */
/* -------------------------------------------------------------------- */
.a-ai-moto__results-help {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: var(--space-5);
	align-items: center;
	margin-top: var(--space-6);
	padding: var(--space-6);
	background-color: var(--bg-muted);
}

.a-ai-moto__results-help h3 {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-heading);
}

.a-ai-moto__results-help p:not(.a-ai-moto__eyebrow) {
	max-width: 58ch;
	margin: var(--space-2) 0 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	line-height: var(--lh-body);
}

.a-ai-moto__results-help-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: var(--space-2);
}

/* -------------------------------------------------------------------- */
/* Empty / error states                                                 */
/* -------------------------------------------------------------------- */
.a-ai-moto__empty,
.a-ai-moto__error {
	max-width: 720px;
	margin: var(--space-6) auto 0;
	padding: var(--space-7) var(--space-5);
	border: 0;
	border-radius: 0;
	background-color: var(--bg-muted);
	text-align: center;
}

.a-ai-moto__empty .a-ai-moto__eyebrow,
.a-ai-moto__error .a-ai-moto__eyebrow {
	justify-content: center;
	margin-bottom: var(--space-2);
}

.a-ai-moto__empty-icon {
	display: flex;
	justify-content: center;
	margin-top: var(--space-3);
	color: var(--c-ink-300);
}

.a-ai-moto__state-title {
	margin: var(--space-3) 0 0;
	color: var(--text-primary);
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-heading);
}

.a-ai-moto__state-text {
	max-width: var(--measure);
	margin: var(--space-2) auto 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
}

.a-ai-moto__state-note {
	max-width: var(--measure);
	margin: var(--space-2) auto 0;
	color: var(--text-secondary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
	line-height: var(--lh-body);
}

.a-ai-moto__state-note[hidden] {
	display: none;
}

.a-ai-moto__state-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3);
	margin-top: var(--space-5);
}

.a-ai-moto__empty .a-button,
.a-ai-moto__error .a-button {
	margin-top: var(--space-5);
}

.a-ai-moto__state-actions .a-button {
	margin-top: 0;
}

.a-ai-moto__notice {
	margin: var(--space-4) 0 var(--space-5);
	padding: var(--space-3) var(--space-4);
	border: 0;
	background-color: var(--bg-muted);
	color: var(--text-primary);
	font-family: var(--font-body);
	font-size: var(--fs-small);
}

/* -------------------------------------------------------------------- */
/* Responsive                                                           */
/* -------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.a-ai-moto__title {
		font-size: clamp(36px, 4.4vw, 48px);
	}

	.a-ai-moto__hero-copy {
		padding-block: var(--space-5);
	}

	.a-ai-moto__survey-body {
		grid-template-columns: minmax(0, 1fr) 270px;
		gap: var(--space-6);
	}
}

@media (max-width: 991px) {
	.a-ai-moto__hero {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		min-height: 0;
	}

	.a-ai-moto__hero-copy {
		min-height: 0;
		padding: var(--space-5) 0 var(--space-5);
	}

	.a-ai-moto__title {
		max-width: 18ch;
	}

	.a-ai-moto__hero-media {
		min-height: 260px;
		height: 260px;
	}

	.a-ai-moto__banner-image {
		object-position: 55% 50%;
	}

	.a-ai-moto__stepper {
		display: none;
	}

	.a-ai-moto__survey-progress {
		display: block;
	}

	.a-ai-moto__survey-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.a-ai-moto__aside {
		display: none;
	}

	.a-ai-moto__results-hero {
		flex-direction: column;
		gap: var(--space-4);
	}

	.a-ai-moto__change {
		align-self: flex-start;
	}

	.a-ai-moto__grid,
	.a-ai-moto__skeleton {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.a-ai-moto__skeleton > :last-child {
		display: none;
	}

	.a-ai-moto__results-help {
		grid-template-columns: minmax(0, 1fr);
	}

	.a-ai-moto__results-help-actions {
		justify-content: flex-start;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.a-ai-moto__hero {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		grid-template-rows: auto;
		min-height: 0;
	}

	.a-ai-moto__hero-copy {
		padding: var(--space-4) var(--space-4) var(--space-4) 0;
	}

	.a-ai-moto__title {
		font-size: clamp(32px, 4.2vw, 38px);
	}

	.a-ai-moto__lead {
		font-size: var(--fs-small);
		line-height: 1.5;
	}

	.a-ai-moto__hero-media {
		height: auto;
		min-height: 0;
	}

	.a-ai-moto__banner-image {
		height: auto;
		object-position: 50% 50%;
	}
}

@media (max-width: 767px) {
	.a-ai-moto-shell {
		padding-block: 0 var(--space-7);
	}

	.a-ai-moto__hero {
		margin-bottom: var(--space-5);
	}

	.a-ai-moto__hero-copy {
		padding: var(--space-4) 0 var(--space-4);
	}

	.a-ai-moto__eyebrow {
		margin-bottom: var(--space-2);
	}

	.a-ai-moto__title {
		max-width: none;
		font-size: clamp(32px, 9vw, 38px);
		line-height: 1.02;
	}

	.a-ai-moto__lead {
		margin-top: var(--space-3);
		font-size: var(--fs-small);
		line-height: 1.5;
	}

	.a-ai-moto__hero-media {
		height: 180px;
		min-height: 180px;
	}

	.a-ai-moto__banner-image {
		object-position: 58% 50%;
	}

	.a-ai-moto__survey-progress {
		margin-bottom: var(--space-4);
	}

	.a-ai-moto__survey-body {
		gap: 0;
	}

	.a-ai-moto-step__legend {
		font-size: clamp(23px, 6.4vw, 27px);
		line-height: 1.16;
	}

	.a-ai-moto-step__hint {
		margin-top: var(--space-1);
		font-size: var(--fs-small);
	}

	.a-ai-moto-options {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-2);
		margin-top: var(--space-4);
	}

	.a-ai-moto-option__body {
		min-height: 58px;
		padding: var(--space-3) var(--space-4);
		font-size: var(--fs-body);
	}

	.a-ai-moto__nav {
		align-items: stretch;
		flex-direction: column-reverse;
		gap: var(--space-2);
		margin-top: var(--space-5);
	}

	.a-ai-moto__nav .a-button {
		width: 100%;
		justify-content: center;
		min-height: 52px;
	}

	.a-ai-moto__nav .a-button:first-child {
		margin-inline-end: 0;
	}

	.a-ai-moto__submit {
		min-width: 0;
	}

	.a-ai-moto__loading {
		padding: var(--space-5) var(--space-4);
	}

	.a-ai-moto__skeleton {
		grid-template-columns: minmax(0, 1fr);
	}

	.a-ai-moto__skeleton > :last-child {
		display: block;
	}

	.a-ai-moto__results-hero {
		padding: var(--space-5) var(--space-4);
	}

	.a-ai-moto__results-title {
		max-width: none;
		font-size: clamp(26px, 7.4vw, 32px);
	}

	.a-ai-moto__change {
		width: 100%;
		justify-content: center;
	}

	.a-ai-moto__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.a-ai-moto-card__body {
		padding: var(--space-4);
	}

	.a-ai-moto-card__title {
		font-size: 20px;
	}

	.a-ai-moto-card__details {
		min-height: 48px;
	}

	.a-ai-moto__results-help {
		padding: var(--space-5) var(--space-4);
	}

	.a-ai-moto__results-help-actions {
		flex-direction: column;
	}

	.a-ai-moto__results-help-actions .a-button {
		width: 100%;
		justify-content: center;
	}

	.a-ai-moto__empty,
	.a-ai-moto__error {
		padding: var(--space-5) var(--space-4);
	}

	.a-ai-moto__state-actions {
		flex-direction: column;
	}

	.a-ai-moto__state-actions .a-button,
	.a-ai-moto__empty .a-button {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 359px) {
	.a-ai-moto__hero-media {
		height: 160px;
		min-height: 160px;
	}

	.a-ai-moto__hero-copy {
		padding-block: var(--space-3);
	}

	.a-ai-moto__results-hero {
		padding: var(--space-4) var(--space-3);
	}
}

@media (prefers-reduced-motion: reduce) {
	.a-ai-moto__progress-segment,
	.a-ai-moto-option__body,
	.a-ai-moto-option__mark::after,
	.a-ai-moto-card__image {
		transition: none;
	}

	.a-ai-moto-card:hover .a-ai-moto-card__image {
		transform: none;
	}

	.a-ai-moto__spinner {
		animation-duration: 1.6s;
	}
}
