.ecsp[hidden] {
	display: none !important;
}

.ecsp {
	--ecsp-purple: #5047a6;
	--ecsp-purple-dark: #342c7c;
	--ecsp-ink: #151827;
	--ecsp-muted: #667085;
	--ecsp-line: #e5e7ef;
	--ecsp-surface: #ffffff;
	--ecsp-cookie-offset: 0px;
	position: fixed;
	inset: 0;
	z-index: 2147482500;
	font-family: inherit;
}

.ecsp * {
	box-sizing: border-box;
}

.ecsp__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 18, 31, 0.58);
	backdrop-filter: blur(3px);
}

.ecsp__panel {
	position: absolute;
	left: 50%;
	top: calc(50% - (var(--ecsp-cookie-offset) / 2));
	width: min(920px, calc(100vw - 40px));
	max-height: min(720px, calc(100vh - 40px - var(--ecsp-cookie-offset)));
	display: grid;
	grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.62);
	border-radius: 26px;
	background: var(--ecsp-surface);
	box-shadow: 0 28px 90px rgba(21, 24, 39, 0.28);
	transform: translate(-50%, -50%) scale(0.97);
	opacity: 0;
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.ecsp.is-visible .ecsp__panel {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
}

.ecsp button.ecsp__close {
	appearance: none;
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	width: 42px;
	height: 42px;
	min-width: 42px;
	min-height: 42px;
	max-width: 42px;
	max-height: 42px;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ecsp-purple), var(--ecsp-purple-dark));
	color: #ffffff;
	box-shadow: 0 12px 28px rgba(52, 44, 124, 0.28);
	cursor: pointer;
	line-height: 1;
}

.ecsp button.ecsp__close:hover,
.ecsp button.ecsp__close:focus-visible {
	background: var(--ecsp-purple-dark);
	color: #ffffff;
	transform: translateY(-1px);
}

.ecsp button.ecsp__close:focus-visible {
	outline: 3px solid rgba(80, 71, 166, 0.22);
	outline-offset: 3px;
}

.ecsp button.ecsp__close svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.ecsp__visual {
	position: relative;
	min-height: 520px;
	background: linear-gradient(160deg, #342c7c, #5047a6 56%, #f4d36a);
}

.ecsp__visual img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.ecsp__content {
	min-width: 0;
	padding: clamp(28px, 4vw, 52px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: var(--ecsp-ink);
}

.ecsp__eyebrow {
	width: fit-content;
	margin: 0 0 14px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #f3f1ff;
	color: var(--ecsp-purple-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ecsp h2 {
	margin: 0;
	color: var(--ecsp-ink);
	font-size: clamp(30px, 4.2vw, 48px);
	line-height: 1.02;
	letter-spacing: 0;
	overflow-wrap: break-word;
}

.ecsp__content p {
	margin: 18px 0 0;
	color: var(--ecsp-muted);
	font-size: 17px;
	line-height: 1.55;
}

.ecsp__benefits {
	display: grid;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.ecsp__benefits li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #293044;
	font-size: 15px;
	font-weight: 700;
}

.ecsp__benefits svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	border-radius: 999px;
	background: #ebfff2;
	color: #119447;
	fill: currentColor;
	padding: 4px;
}

.ecsp__actions {
	display: flex;
	gap: 12px;
	margin-top: 30px;
}

.ecsp__button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ecsp__button:hover {
	transform: translateY(-1px);
}

.ecsp__button--primary {
	background: var(--ecsp-purple);
	color: #ffffff !important;
	box-shadow: 0 14px 30px rgba(80, 71, 166, 0.28);
}

.ecsp__button--primary:hover {
	background: var(--ecsp-purple-dark);
}

.ecsp__button--ghost {
	border: 1px solid #d8daf0;
	background: #ffffff;
	color: var(--ecsp-purple-dark) !important;
}

body.ecsp-lock {
	overflow: hidden;
}

@media (max-width: 760px) {
	.ecsp__backdrop {
		background: rgba(16, 18, 31, 0.42);
	}

	.ecsp__panel {
		left: 12px;
		right: auto;
		top: auto;
		bottom: calc(14px + var(--ecsp-cookie-offset));
		width: calc(100vw - 24px);
		max-width: calc(100vw - 24px);
		max-height: calc(100vh - 28px - var(--ecsp-cookie-offset));
		grid-template-columns: 1fr;
		border-radius: 22px;
		transform: translateY(20px);
	}

	.ecsp.is-visible .ecsp__panel {
		transform: translateY(0);
	}

	.ecsp__visual {
		min-height: 176px;
		max-height: 176px;
	}

	.ecsp__visual img {
		object-position: center 52%;
	}

	.ecsp__content {
		padding: 18px;
	}

	.ecsp__eyebrow {
		margin-bottom: 8px;
		padding: 6px 10px;
		font-size: 11px;
	}

	.ecsp h2 {
		font-size: 25px;
		line-height: 1.04;
	}

	.ecsp__content p {
		margin-top: 12px;
		font-size: 14px;
		line-height: 1.38;
	}

	.ecsp__benefits {
		margin-top: 12px;
		gap: 5px;
	}

	.ecsp__benefits li {
		font-size: 13px;
	}

	.ecsp__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 8px;
		margin-top: 14px;
	}

	.ecsp__button {
		min-height: 44px;
		min-width: 0;
		width: 100%;
		padding: 10px 12px;
		font-size: 13px;
		white-space: normal;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ecsp__panel,
	.ecsp__button {
		transition: none;
	}
}
