/**
 * Variant CSS: features--zigzag-spotlight-rows
 * Layer 2 — Path B features role (2026-06-06).
 *
 * 2-3 alternating text / spotlight rows. Each feature pairs an editorial text
 * column with a geometric "spotlight" panel (accent-tinted surface holding an
 * inline-SVG glyph, an oversized numeral and a small tag). Rows zig-zag sides via
 * the --reverse modifier. No photos — the visual interest is entirely geometric.
 *
 * All selectors scoped to .universal-features--zigzag-spotlight-rows — no leak.
 */

body.aibt-universal .universal-features--zigzag-spotlight-rows {
	background: var(--background);
	color: var(--text-primary);
	border-bottom: 1px solid var(--divider-primary);
	box-sizing: border-box;
}

body.aibt-universal .universal-features--zigzag-spotlight-rows *,
body.aibt-universal .universal-features--zigzag-spotlight-rows *::before,
body.aibt-universal .universal-features--zigzag-spotlight-rows *::after {
	box-sizing: border-box;
}

/* A8/A9 — centred intro children sit in the alignfull constrained section, so
   they MUST keep horizontal-auto margins (never left-pin). */
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__intro .has-text-align-center {
	margin-inline: auto !important;
}

/* ── Intro ─────────────────────────────────────────────────────── */
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__intro {
	margin-bottom: var(--space-2xl);
	text-align: center;
}

body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__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 auto var(--space-sm) auto !important;
}

body.aibt-universal .universal-features--zigzag-spotlight-rows h2.universal-features__headline,
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__headline {
	font-family: var(--font-display) !important;
	color: var(--text-primary) !important;
	margin: 0 auto !important;
	max-width: 22ch;
}

body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__deck {
	font-family: var(--font-body) !important;
	font-size: var(--text-lg) !important;
	line-height: var(--leading-relaxed) !important;
	color: var(--text-secondary) !important;
	margin: var(--space-md) auto 0 auto !important;
	max-width: 52ch;
}

/* ── Row ───────────────────────────────────────────────────────── */
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__row {
	gap: clamp(2rem, 5vw, 4.5rem) !important;
	align-items: center !important;
	margin: 0 !important;
	padding: clamp(1.75rem, 4vw, 3.25rem) 0 !important;
}

/* Reverse rows render panel-first in markup, so default DOM order already
   alternates; the modifier exists for explicit clarity + future overrides. */
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__row--reverse {
	/* DOM order is panel-left / text-right as authored — no flip needed. */
}

/* ── Text column ───────────────────────────────────────────────── */
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__eyebrow {
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-wider) !important;
	text-transform: uppercase !important;
	color: var(--accent) !important;
	margin: 0 0 var(--space-sm) 0 !important;
}

body.aibt-universal .universal-features--zigzag-spotlight-rows h3.universal-features__row-title,
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__row-title {
	font-family: var(--font-display) !important;
	font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
	font-weight: 600 !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
	color: var(--text-primary) !important;
	margin: 0 0 var(--space-sm) 0 !important;
}

body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__row-desc {
	font-family: var(--font-body) !important;
	font-size: var(--text-base) !important;
	line-height: var(--leading-relaxed) !important;
	color: var(--text-secondary) !important;
	margin: 0 !important;
	max-width: 46ch;
}

/* ── Spotlight panel ───────────────────────────────────────────── */
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__panelcol {
	flex-grow: 0 !important;
}

body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__panel {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: var(--space-sm);
	min-height: clamp(13rem, 22vw, 18rem);
	padding: clamp(1.5rem, 3vw, 2.5rem) !important;
	background: color-mix(in srgb, var(--accent) 8%, var(--background));
	border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
	border-radius: var(--decor-radius, 0) !important;
}

/* Oversized ghost numeral bleeding from the top-right corner — geometric accent. */
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__panel::after {
	content: "";
	position: absolute;
	top: -22%;
	right: -8%;
	width: 9.5rem;
	height: 9.5rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--accent) 16%, transparent);
	pointer-events: none;
}

/* Inline SVG glyph chip. */
body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__glyph {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin: 0 0 auto 0;
	color: var(--accent);
	background: var(--background);
	border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
	border-radius: var(--decor-radius, 0);
}

body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__glyph svg {
	width: 1.6rem;
	height: 1.6rem;
	display: block;
}

body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__panel-num {
	position: relative;
	z-index: 1;
	font-family: var(--font-display) !important;
	font-size: clamp(2.4rem, 5vw, 3.4rem) !important;
	font-weight: 700 !important;
	line-height: 0.9 !important;
	letter-spacing: -0.04em !important;
	color: var(--accent) !important;
	margin: 0 !important;
}

body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__panel-tag {
	position: relative;
	z-index: 1;
	font-family: var(--font-body) !important;
	font-size: var(--text-xs) !important;
	font-weight: 600 !important;
	letter-spacing: var(--tracking-wide) !important;
	text-transform: uppercase !important;
	color: var(--text-primary) !important;
	margin: 0 !important;
}

/* ── Mobile: stack panel above text, full width ────────────────── */
@media (max-width: 781px) {
	body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__row,
	body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__row--reverse {
		flex-direction: column !important;
		gap: var(--space-lg) !important;
		padding: var(--space-lg) 0 !important;
	}
	body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__text,
	body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__panelcol {
		flex-basis: 100% !important;
		width: 100% !important;
	}
	/* Panel always reads first on mobile for visual rhythm. */
	body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__row .universal-features__panelcol {
		order: -1;
	}
	body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__panel {
		min-height: clamp(11rem, 40vw, 14rem);
	}
}

/* Drop wide uppercase tracking on narrow phones (A5 — never strain/wrap). */
@media (max-width: 640px) {
	body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__kicker,
	body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__eyebrow,
	body.aibt-universal .universal-features--zigzag-spotlight-rows .universal-features__panel-tag {
		letter-spacing: 0 !important;
	}
}
