/* Current Promo — popup-only styles.
 * Designed to be theme-proof: scoped under .cp-popup / .cp-promo with high
 * specificity, absolute px font sizes (immune to html { font-size: ... } resets),
 * and !important on critical typography. */

/* ---------- Reset (scoped to the popup) ---------- */
.cp-popup, .cp-popup * {
	box-sizing: border-box;
}
.cp-popup {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	-webkit-font-smoothing: antialiased;
}
.cp-popup p,
.cp-popup h1,
.cp-popup h2,
.cp-popup h3,
.cp-popup h4,
.cp-popup div,
.cp-popup span,
.cp-popup a,
.cp-popup button {
	margin: 0;
	padding: 0;
	font-family: inherit !important;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
	border: 0 !important;
	background-image: none !important;
	text-decoration: none !important;
}
/* Nuke any decorative pseudo-elements the host theme attaches to elements
   inside the popup (e.g. heading underlines via ::before / ::after). */
.cp-popup *::before,
.cp-popup *::after {
	content: none !important;
	display: none !important;
	background: none !important;
	border: 0 !important;
	width: 0 !important;
	height: 0 !important;
}

/* ---------- Promo block ---------- */
.cp-popup .cp-promo {
	--cp-primary: #ff6b1a;
	--cp-bg: #1a1a1a;
	--cp-text: #ffffff;
	display: block;
	width: 100%;
	color: var(--cp-text) !important;
}

.cp-popup .cp-promo__hero {
	text-align: center;
	padding: 32px 16px 24px;
}
.cp-popup .cp-promo__eyebrow {
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	color: var(--cp-eyebrow, #ffffff) !important;
	margin: 0 0 8px !important;
	line-height: 1.2 !important;
}
.cp-popup .cp-promo__headline,
.cp-popup h2.cp-promo__headline,
.cp-popup .cp-promo .cp-promo__headline {
	font-size: 32px !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: inherit !important;
	line-height: 1.15 !important;
	border: 0 !important;
	outline: 0 !important;
	text-decoration: none !important;
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
}
.cp-popup .cp-promo__headline::before,
.cp-popup .cp-promo__headline::after,
.cp-popup h2.cp-promo__headline::before,
.cp-popup h2.cp-promo__headline::after {
	content: none !important;
	display: none !important;
	background: none !important;
	background-image: none !important;
	border: 0 !important;
	width: 0 !important;
	height: 0 !important;
}
.cp-popup .cp-promo__subheadline {
	font-size: 15px !important;
	font-weight: 400 !important;
	color: inherit !important;
	max-width: 38rem;
	margin: 0 auto !important;
	opacity: 0.9;
	line-height: 1.45 !important;
}

/* ---------- Cards ---------- */
.cp-popup .cp-promo__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	max-width: 1100px;
	margin: 24px auto;
	padding: 0 16px;
	align-items: stretch;
}
@media (min-width: 740px) {
	.cp-popup .cp-promo.cp-cards-2 .cp-promo__cards { grid-template-columns: 1fr auto 1fr; }
	.cp-popup .cp-promo.cp-cards-3 .cp-promo__cards { grid-template-columns: 1fr auto 1fr auto 1fr; }
}

.cp-popup .cp-promo__or {
	align-self: center;
	background: var(--cp-primary);
	color: #fff !important;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-transform: lowercase !important;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1 !important;
}
@media (max-width: 739px) {
	.cp-popup .cp-promo__or { display: none; }
}

.cp-popup .cp-promo__card {
	background: var(--cp-bg);
	color: var(--cp-text) !important;
	border-radius: 12px;
	padding: 24px 20px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.cp-popup .cp-promo__icon {
	width: 36px; height: 36px; margin-bottom: 8px;
	color: var(--cp-text); opacity: 0.95;
}
.cp-popup .cp-promo__icon svg { width: 100%; height: 100%; }

.cp-popup .cp-promo__title {
	font-size: 48px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: -0.01em !important;
}
.cp-popup .cp-promo__subtitle {
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.15em !important;
	text-transform: uppercase !important;
	opacity: 0.85;
	margin-top: 4px !important;
	line-height: 1.2 !important;
}
.cp-popup .cp-promo__tagline {
	color: var(--cp-primary) !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	font-size: 15px !important;
	line-height: 1.2 !important;
	margin-top: 12px !important;
	margin-bottom: 16px !important;
}
.cp-popup .cp-promo__body {
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	margin: 8px 0 16px !important;
	opacity: 0.9;
	max-width: 22rem;
}

.cp-popup .cp-promo__cta {
	display: inline-block;
	margin-top: auto;
	background: var(--cp-primary);
	color: var(--cp-cta-text, #fff) !important;
	text-decoration: none !important;
	padding: 10px 22px !important;
	border-radius: 999px;
	font-weight: 700 !important;
	font-size: 15px !important;
	letter-spacing: 0.02em !important;
	line-height: 1.3 !important;
	width: 100%;
	max-width: 22rem;
	border: 0 !important;
	cursor: pointer;
	transition: filter 150ms ease, transform 150ms ease;
}
.cp-popup .cp-promo__cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cp-popup .cp-promo__cta:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.cp-popup .cp-promo__footnote {
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	opacity: 0.7;
	text-align: center;
	max-width: 60rem;
	margin: 8px auto 0 !important;
	padding: 0 16px 24px;
	white-space: pre-line;
}

/* ---------- Popup chrome ---------- */
.cp-popup {
	position: fixed; inset: 0;
	z-index: 99999;
	display: none;
	align-items: center; justify-content: center;
}
.cp-popup.is-open { display: flex; }
.cp-popup__backdrop {
	position: absolute; inset: 0;
	background: rgba(0,0,0,0.55);
	backdrop-filter: blur(2px);
}
.cp-popup__panel {
	position: relative;
	background: #2a2a2a;
	color: #fff;
	border-radius: 14px;
	width: min(960px, 92vw);
	max-height: 92vh;
	overflow: auto;
	box-shadow: 0 30px 80px rgba(0,0,0,0.45);
	transform: translateY(20px);
	opacity: 0;
	transition: transform 240ms ease, opacity 240ms ease;
}
.cp-popup.is-open .cp-popup__panel { transform: translateY(0); opacity: 1; }
.cp-popup__close {
	position: absolute; top: 8px; right: 10px;
	background: transparent !important;
	border: 0 !important;
	color: #fff !important;
	font-size: 28px !important;
	line-height: 1 !important;
	cursor: pointer;
	padding: 4px 8px !important;
	z-index: 2;
	font-weight: 400 !important;
}
.cp-popup__close:hover { opacity: 0.8; }
