/**
 * Variant CSS: hero--split-form-capture
 *
 * Lead-capture hero: pitch on the left (kicker + big H1 + line + a trust line),
 * an elevated form card on the right (name / email / phone visual placeholders +
 * submit + note). Fills the SaaS / lead-gen category (no embedded-form hero
 * existed). Fields are placeholders. Text stays --ink (polarity-aware); kicker,
 * em and the submit button take --accent. Columns stack on mobile. Part of the
 * `hero` role.
 */

body.aibt-universal .universal-hero--split-form-capture {
	padding-block: calc(clamp(3.5rem, 8vw, 6.5rem) * var(--density, 1));
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__grid {
	align-items: center;
}

/* Pitch column. */
body.aibt-universal .universal-hero--split-form-capture .universal-hero__kicker {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-widest) !important;
	text-transform: uppercase !important;
	color: var(--accent) !important;
	margin: 0 0 var(--space-sm) 0 !important;
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__headline {
	font-family: var(--font-display) !important;
	color: var(--ink) !important;
	margin: 0 0 var(--space-md) 0 !important;
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__headline em {
	color: var(--accent) !important;
	font-style: italic;
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__deck {
	font-family: var(--font-body) !important;
	font-size: var(--text-lg) !important;
	line-height: var(--leading-relaxed) !important;
	color: var(--ink) !important;
	opacity: 0.78;
	max-width: 46ch;
	margin: 0 0 var(--space-md) 0 !important;
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__trust {
	font-family: var(--font-body) !important;
	font-size: var(--text-sm) !important;
	color: var(--ink) !important;
	opacity: 0.7;
	margin: 0 !important;
}

/* Form card. */
body.aibt-universal .universal-hero--split-form-capture .universal-hero__formcard {
	padding: clamp(1.5rem, 3vw, 2.3rem) !important;
	border-radius: var(--decor-radius, 18px);
	background: color-mix(in srgb, var(--ink) 4%, var(--bg-main, #ffffff));
	border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
	box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.45);
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__form-title {
	font-family: var(--font-display) !important;
	font-size: clamp(1.25rem, 2.4vw, 1.55rem) !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: var(--ink) !important;
	margin: 0 0 var(--space-md) 0 !important;
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__form {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-bottom: var(--space-md);
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__field {
	display: block;
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__input {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--font-body) !important;
	font-size: var(--text-base) !important;
	color: var(--ink);
	padding: 0.72rem 1rem;
	border-radius: var(--decor-radius, 10px);
	background: color-mix(in srgb, var(--ink) 5%, var(--bg-main, #ffffff));
	border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
	transition: border-color var(--duration-fast, 0.18s) var(--ease-default, ease);
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__input::placeholder {
	color: color-mix(in srgb, var(--ink) 50%, transparent);
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__input:focus {
	outline: none;
	border-color: var(--accent);
}

/* Visible keyboard focus ring on each field (border-color alone is too easy to
   miss for non-pointer navigation). */
body.aibt-universal .universal-hero--split-form-capture .universal-hero__input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-color: var(--accent);
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__formcard .wp-block-buttons {
	width: 100%;
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__cta {
	width: 100%;
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__cta .wp-block-button__link {
	display: block;
	width: 100%;
	text-align: center;
	background: var(--cta-bg-primary, var(--accent)) !important;
	color: var(--cta-text-primary, #ffffff) !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	padding: 0.85rem 1.5rem !important;
	border-radius: var(--decor-radius, 10px) !important;
	border: none !important;
	transition: background var(--duration-fast, 0.18s) var(--ease-default, ease),
		transform var(--duration-fast, 0.18s) var(--ease-default, ease);
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__cta .wp-block-button__link:hover {
	background: var(--accent-hover, var(--accent)) !important;
	transform: translateY(-1px);
}

/* Keyboard focus ring on the submit button (a11y). */
body.aibt-universal .universal-hero--split-form-capture .universal-hero__cta .wp-block-button__link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

body.aibt-universal .universal-hero--split-form-capture .universal-hero__form-note {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	color: var(--ink) !important;
	opacity: 0.6;
	text-align: center;
	margin: var(--space-md) 0 0 0 !important;
}

/* Stack on mobile. */
@media (max-width: 781px) {
	body.aibt-universal .universal-hero--split-form-capture .universal-hero__pitch,
	body.aibt-universal .universal-hero--split-form-capture .universal-hero__formcol {
		flex-basis: 100% !important;
		width: 100% !important;
	}
}

@media (max-width: 640px) {
	/* Cap uppercase kicker letter-spacing on the smallest screens (A5). */
	body.aibt-universal .universal-hero--split-form-capture .universal-hero__kicker {
		letter-spacing: 0 !important;
	}
}
