/**
 * Variant CSS: features--tabbed-showcase-static
 * Layer 2 — Path B features role (2026-06-06).
 * Static tab bar (feature titles) above a single active-feature detail panel:
 * big icon + title + expanded description. First tab flagged .is-active.
 * No JS — purely a visual "tabbed showcase" still.
 * Every selector scoped to .universal-features--tabbed-showcase-static (no leak).
 */

body.aibt-universal .universal-features--tabbed-showcase-static {
	background: var(--background);
	color: var(--text-primary);
	border-bottom: 1px solid var(--divider-primary);
}

body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__intro {
	margin-bottom: var(--space-xl);
}

body.aibt-universal .universal-features--tabbed-showcase-static .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 0 var(--space-sm) 0 !important;
}

body.aibt-universal .universal-features--tabbed-showcase-static h2.universal-features__headline,
body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__headline {
	font-family: var(--font-display) !important;
	color: var(--text-primary) !important;
	margin: 0 !important;
	max-width: 18ch;
}

/* Tab bar — row of pseudo-tabs; first one is the active treatment. */
body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__tabs {
	gap: var(--space-xs) var(--space-sm) !important;
	margin-bottom: calc(var(--space-md) * -1);
	position: relative;
	z-index: 1;
	border-bottom: 1px solid var(--divider-primary);
	padding-bottom: 0;
}

body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__tab {
	font-family: var(--font-body) !important;
	font-size: var(--text-sm) !important;
	font-weight: 600 !important;
	color: var(--text-secondary) !important;
	margin: 0 !important;
	padding: var(--space-sm) var(--space-md) !important;
	border: 1px solid transparent !important;
	border-bottom: none !important;
	border-top-left-radius: var(--decor-radius, 0);
	border-top-right-radius: var(--decor-radius, 0);
	cursor: default;
	transition: color var(--duration-fast) var(--ease-default),
		background-color var(--duration-fast) var(--ease-default);
}

/* Active tab "lifts" out of the panel: same surface, sits on the seam. */
body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__tab.is-active {
	color: var(--text-primary) !important;
	background: var(--background-card, var(--background-alt)) !important;
	border-color: var(--divider-primary) !important;
	position: relative;
}

body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__tab.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--accent);
}

/* Detail panel — bordered card holding the active feature. */
body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel {
	background: var(--background-card, var(--background-alt)) !important;
	border: 1px solid var(--divider-primary) !important;
	border-radius: var(--decor-radius, 0) !important;
	padding: var(--space-xl) !important;
}

body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel-row {
	gap: var(--space-lg) !important;
	align-items: center !important;
}

/* Big accent icon chip. */
body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel-iconcol {
	flex-grow: 0 !important;
}

body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel-icon {
	font-size: 2.2rem !important;
	line-height: 1 !important;
	width: 5rem;
	height: 5rem;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: var(--accent-fade, rgba(0, 0, 0, 0.04)) !important;
	border-radius: var(--decor-radius, 0) !important;
	margin: 0 !important;
}

body.aibt-universal .universal-features--tabbed-showcase-static h3.universal-features__panel-title,
body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel-title {
	font-family: var(--font-display) !important;
	font-weight: 600 !important;
	font-size: clamp(1.35rem, 2.6vw, 1.9rem) !important;
	line-height: 1.2 !important;
	letter-spacing: -0.015em !important;
	color: var(--text-primary) !important;
	margin: 0 0 var(--space-xs) 0 !important;
}

body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel-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: 56ch;
}

@media (max-width: 781px) {
	body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel {
		padding: var(--space-lg) !important;
	}
	/* Stack icon above the body; let the panel column flow vertically. */
	body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel-row {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: var(--space-md) !important;
	}
	body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel-iconcol,
	body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel-body {
		flex-basis: 100% !important;
		width: 100% !important;
	}
	body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__panel-icon {
		width: 4rem;
		height: 4rem;
		font-size: 1.9rem !important;
	}
	body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__tab {
		padding: var(--space-xs) var(--space-sm) !important;
	}
}

/* Drop wide kicker tracking on narrow phones (house ≤640 standard, A5). */
@media (max-width: 640px) {
	body.aibt-universal .universal-features--tabbed-showcase-static .universal-features__kicker {
		letter-spacing: 0 !important;
	}
}
