/**
 * Unified Experience Phase B — Public Website & Customer Experience polish.
 * Presentation only. Consumes DSI tokens. Does not invent authorities.
 */

/* —— Skip / focus —— */
.dxp-skip-link:focus,
.skip-link:focus {
	position: fixed;
	left: 1rem;
	top: 1rem;
	z-index: 100000;
	padding: 0.75rem 1rem;
	background: var(--dxp-color-surface, #111827);
	color: var(--dxp-color-text, #fff);
	border-radius: 0.5rem;
	outline: 2px solid var(--dxp-color-accent, #ffc437);
	outline-offset: 2px;
}

.dxp-main :focus-visible,
.dxp-site-header :focus-visible,
.dxp-cap :focus-visible {
	outline: 2px solid var(--dxp-color-accent, #ffc437);
	outline-offset: 3px;
}

/* —— Header account + nav —— */
.dxp-site-header .dxp-header-account {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: inherit;
	text-decoration: none;
	font-weight: 650;
	font-size: 0.92rem;
	white-space: nowrap;
}
.dxp-site-header .dxp-header-account:hover {
	border-color: rgba(255, 196, 55, 0.65);
	background: rgba(255, 196, 55, 0.08);
}
/* Mobile toggle chrome — desktop must hide (root cause: prior rule had no media query). */
.dxp-site-header .mobile-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.25);
	color: inherit;
	flex: 0 0 auto;
}
.dxp-site-header .mobile-toggle svg {
	width: 1.35rem;
	height: 1.35rem;
	display: block;
}
@media (max-width: 1020px) {
	.dxp-site-header .mobile-toggle {
		display: inline-flex;
	}
}
@media (min-width: 1021px) {
	.dxp-site-header .mobile-toggle {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		overflow: hidden !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
}

/* —— Home hero: one composition —— */
/* Season/countdown strip moved into hero (HLC 1.1) — hide legacy support row. */
.dxp-home-hero-support {
	display: none !important;
}
.dxp-hero-cinematic .dxp-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}
.dxp-hero-cinematic .dxp-btn-hero.dxp-btn-gold {
	display: none;
}
@media (max-width: 781px) {
	.dxp-hero-cinematic[data-mobile-bg] {
		--dxp-hero-bg: var(--dxp-hero-bg-mobile, var(--dxp-hero-bg));
	}
}

/* —— Product card empty media —— */
.dxp-product-card-noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 10rem;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 196, 55, 0.12), transparent 45%),
		linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.25));
	color: transparent;
	font-size: 0;
}
.dxp-product-card-noimage::after {
	content: "";
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	border: 2px solid rgba(255, 196, 55, 0.35);
	box-shadow: 0 0 24px rgba(255, 36, 56, 0.25);
}

/* —— Page shells (forecast / safety / show builder) —— */
.dxp-page-hero {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
	background:
		radial-gradient(ellipse at 20% 0%, rgba(255, 36, 56, 0.18), transparent 50%),
		radial-gradient(ellipse at 80% 10%, rgba(255, 196, 55, 0.1), transparent 45%);
}
.dxp-page-hero .dxp-page-title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	line-height: 1.1;
	margin: 0.35rem 0 0.75rem;
	letter-spacing: -0.02em;
}
.dxp-page-hero .dxp-lede {
	max-width: 42rem;
	color: var(--dxp-color-text-muted, #c4cad4);
}
.dxp-forecast .dxp-section .dxp-container,
.dxp-safety .dxp-prose,
.dxp-show-builder .dxp-section .dxp-container {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 1.25rem;
	padding: clamp(1rem, 3vw, 1.75rem);
}
.dxp-safety-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.dxp-safety .dxp-prose {
	line-height: 1.65;
}
@media print {
	.dxp-site-header,
	.site-footer,
	.mobile-sticky-cta,
	.rocket-top,
	.dxp-safety-links {
		display: none !important;
	}
	.dxp-safety .dxp-prose {
		background: #fff;
		color: #111;
		border: 0;
	}
}

/* —— CAP presentation —— */
.dxp-cap-section-head h2 {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	margin: 0.25rem 0 0.5rem;
}
.dxp-cap-empty {
	padding: 1.25rem 1.35rem;
	border-radius: 1rem;
	border: 1px dashed rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.2);
	color: var(--dxp-color-text-muted, #c4cad4);
}
.dxp-cap-stat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1.25rem 0;
	padding: 0;
	list-style: none;
}
.dxp-cap-stat-grid li {
	padding: 1rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.dxp-cap-stat-grid span {
	display: block;
	font-size: 0.85rem;
	color: var(--dxp-color-text-muted, #b6bcc8);
}
.dxp-cap-stat-grid strong {
	font-size: 1.6rem;
}
.dxp-cap-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1rem;
}
.dxp-cap-card {
	padding: 1.15rem 1.25rem;
	border-radius: 1.1rem;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.09);
}
.dxp-cap-auth .dxp-cap-auth-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}
.dxp-cap-auth-side {
	display: grid;
	gap: 1rem;
}
.dxp-cap-auth label {
	display: grid;
	gap: 0.35rem;
	margin: 0.65rem 0;
}
.dxp-cap-auth input {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.55rem 0.75rem;
	border-radius: 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(0, 0, 0, 0.25);
	color: inherit;
}
@media (max-width: 900px) {
	.dxp-cap-stat-grid {
		grid-template-columns: 1fr;
	}
	.dxp-cap-auth .dxp-cap-auth-grid {
		grid-template-columns: 1fr;
	}
}

/* —— Search suggest polish —— */
.dxp-sx-suggest,
[data-dxp-search-suggest] {
	border-radius: 0.85rem;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* —— Footer hygiene —— */
.site-footer .socials a[href="#"],
.site-footer .socials a[href=""] {
	display: none;
}
.mobile-sticky-cta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
}
.mobile-sticky-cta a {
	text-align: center;
	font-weight: 650;
}

/* —— Lazy media —— */
.dxp-main img[loading="lazy"] {
	content-visibility: auto;
}

@media (prefers-reduced-motion: reduce) {
	.dxp-hero-fx,
	.footer-burst,
	.dxp-hero-cinematic * {
		animation: none !important;
		transition: none !important;
	}
}
