.ait-popup-root {
	--ait-popup-green: #00483D;
	--ait-popup-mint: #48C6A3;
	--ait-popup-black: #1A1A1A;
	--ait-popup-white: #FFFFFF;
	--ait-popup-purple: #9F9FFF;
	--ait-popup-radius: 28px;
	--ait-popup-image-radius: 20px;
	--ait-popup-button-radius: 999px;
	--ait-popup-accent: var(--ait-popup-mint);
	--ait-popup-duration: 250ms;
	--ait-popup-close-bg: #FFFFFF;
	--ait-popup-close-color: #1A1A1A;
	--ait-popup-close-opacity: 0.72;
	--ait-popup-shadow-strength: 0.45;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	box-sizing: border-box;
	font-family: inherit;
}

.ait-popup-root *,
.ait-popup-root *::before,
.ait-popup-root *::after {
	box-sizing: border-box;
}

.ait-popup-root.ait-popup-is-visible,
.ait-popup-root.ait-popup-is-closing {
	display: flex;
}

/* Lock page scroll while a centered popup is open. */
html.ait-popup-scroll-lock,
html.ait-popup-scroll-lock body {
	overflow: hidden;
}

.ait-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(26, 26, 26, 0.58);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
}

/* The shell is a non-scrolling flex column: if the viewport gets too short the
   image area shrinks (the image is cropped from its center) and only the text
   content scrolls internally. This prevents the white shell background from
   ever showing around the image. */
.ait-popup-shell {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(92vw, 560px);
	max-height: min(86vh, 760px);
	max-height: min(86dvh, 760px);
	overflow: hidden;
	background: var(--ait-popup-white);
	color: var(--ait-popup-black);
	border-radius: var(--ait-popup-radius);
	box-shadow: 0 calc(24px * var(--ait-popup-shadow-strength)) calc(70px * var(--ait-popup-shadow-strength)) rgba(0, 72, 61, calc(0.30 * var(--ait-popup-shadow-strength)));
	border: 1px solid rgba(72, 198, 163, 0.22);
	outline: none;
}

.ait-popup-is-clickable .ait-popup-shell {
	cursor: pointer;
}

.ait-popup-is-clickable .ait-popup-shell a,
.ait-popup-is-clickable .ait-popup-shell button,
.ait-popup-is-clickable .ait-popup-shell label {
	cursor: pointer;
}

.ait-popup-is-clickable .ait-popup-shell input,
.ait-popup-is-clickable .ait-popup-shell select,
.ait-popup-is-clickable .ait-popup-shell textarea {
	cursor: text;
}

.ait-popup-position-center {
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.ait-popup-position-bottom_right,
.ait-popup-position-bottom_left {
	align-items: flex-end;
	padding: 24px;
	pointer-events: none;
}

.ait-popup-position-bottom_right {
	justify-content: flex-end;
}

.ait-popup-position-bottom_left {
	justify-content: flex-start;
}

.ait-popup-position-bottom_right .ait-popup-overlay,
.ait-popup-position-bottom_left .ait-popup-overlay {
	pointer-events: auto;
}

.ait-popup-position-bottom_right .ait-popup-shell,
.ait-popup-position-bottom_left .ait-popup-shell {
	width: min(92vw, 440px);
	pointer-events: auto;
}

.ait-popup-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 999px;
	background: color-mix(in srgb, var(--ait-popup-close-bg) calc(var(--ait-popup-close-opacity) * 100%), transparent);
	color: var(--ait-popup-close-color);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	cursor: pointer;
	line-height: 1;
	opacity: 0.92;
	isolation: isolate;
	transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.ait-popup-close::before,
.ait-popup-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	width: 16px;
	height: 2.4px;
	border-radius: 999px;
	background: currentColor !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
	pointer-events: none;
	transform-origin: center;
}

.ait-popup-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.ait-popup-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.ait-popup-close svg {
	display: block;
	width: 20px;
	height: 20px;
	opacity: 0;
	pointer-events: none;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
}

.ait-popup-close path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.ait-popup-close:hover,
.ait-popup-close:focus-visible {
	background: color-mix(in srgb, var(--ait-popup-close-bg) 86%, transparent);
	color: var(--ait-popup-close-color);
	transform: scale(1.06);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
	opacity: 1;
}

.ait-popup-close:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.72);
	outline-offset: 2px;
}

.ait-popup-close:active {
	transform: scale(0.96);
}

.ait-popup-close-style-transparent .ait-popup-close {
	background: rgba(0, 0, 0, 0.16);
	border-color: rgba(255, 255, 255, 0.16);
	color: #FFFFFF !important;
	box-shadow: none;
}

.ait-popup-close-style-transparent .ait-popup-close:hover,
.ait-popup-close-style-transparent .ait-popup-close:focus-visible {
	background: rgba(0, 0, 0, 0.28);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.ait-popup-close-style-solid .ait-popup-close {
	background: var(--ait-popup-close-bg);
	color: var(--ait-popup-close-color);
}

.ait-popup-close-shape-circle .ait-popup-close {
	border-radius: 999px;
}

.ait-popup-close-shape-rounded .ait-popup-close {
	border-radius: 14px;
}

.ait-popup-close-shape-soft-square .ait-popup-close {
	border-radius: 8px;
}

.ait-popup-media {
	flex: 0 1 auto;
	min-height: 0;
	overflow: hidden;
	padding: 0;
	border-radius: var(--ait-popup-radius) var(--ait-popup-radius) 0 0;
}

.ait-popup-image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 100%;
	aspect-ratio: var(--ait-popup-image-ratio, auto);
	overflow: hidden;
	border-radius: var(--ait-popup-radius) var(--ait-popup-radius) var(--ait-popup-image-radius) var(--ait-popup-image-radius);
}

.ait-popup-image img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.ait-popup-media-ratio-free .ait-popup-image {
	height: auto;
	aspect-ratio: auto;
}

.ait-popup-media-ratio-free .ait-popup-image img {
	height: auto;
	max-height: min(48vh, 420px);
	object-fit: cover;
}

.ait-popup-image-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ait-popup-content {
	flex: 0 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 24px;
}

.ait-popup-title {
	margin: 0 0 10px;
	color: var(--ait-popup-green);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0;
}

.ait-popup-description {
	color: rgba(26, 26, 26, 0.78);
	font-size: 16px;
	line-height: 1.58;
}

.ait-popup-description p {
	margin: 0 0 12px;
}

.ait-popup-description p:last-child {
	margin-bottom: 0;
}

.ait-popup-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.ait-popup-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 22px;
	border-radius: var(--ait-popup-button-radius);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ait-popup-button:hover {
	transform: translateY(-1px);
}

.ait-popup-button:focus-visible {
	outline: 2px solid var(--ait-popup-purple);
	outline-offset: 2px;
}

.ait-popup-button:active {
	transform: translateY(0) scale(0.98);
}

.ait-popup-button-primary {
	border: 1px solid var(--ait-popup-accent);
	background: var(--ait-popup-green);
	color: var(--ait-popup-white);
	box-shadow: 0 10px 24px rgba(0, 72, 61, 0.24);
}

.ait-popup-button-primary:hover,
.ait-popup-button-primary:focus-visible {
	background: var(--ait-popup-accent);
	color: var(--ait-popup-black);
	box-shadow: 0 12px 28px rgba(72, 198, 163, 0.32);
}

.ait-popup-button-secondary {
	border: 1px solid rgba(0, 72, 61, 0.14);
	background: rgba(72, 198, 163, 0.12);
	color: var(--ait-popup-green);
}

.ait-popup-button-secondary:hover,
.ait-popup-button-secondary:focus-visible {
	background: rgba(72, 198, 163, 0.22);
	border-color: rgba(0, 72, 61, 0.24);
}

.ait-popup-layout-image_background_overlay .ait-popup-shell {
	width: min(92vw, 680px);
	background: #111;
	color: var(--ait-popup-white);
	overflow: hidden;
}

.ait-popup-layout-image_background_overlay .ait-popup-media {
	position: relative;
	border-radius: var(--ait-popup-radius);
}

.ait-popup-layout-image_background_overlay .ait-popup-image {
	position: relative;
	height: auto;
	min-height: min(60vh, 520px);
	max-height: min(78vh, 640px);
	border-radius: var(--ait-popup-radius);
	background: var(--ait-popup-black);
}

.ait-popup-layout-image_background_overlay .ait-popup-image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 72, 61, 0.68));
	pointer-events: none;
}

.ait-popup-overlay-content {
	position: absolute;
	inset: 22px;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	pointer-events: none;
}

.ait-popup-overlay-vertical-center .ait-popup-overlay-content {
	align-items: center;
}

.ait-popup-overlay-align-left .ait-popup-overlay-content {
	justify-content: flex-start;
}

.ait-popup-overlay-card {
	display: grid;
	gap: 10px;
	width: min(100%, 440px);
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.74);
	color: var(--ait-popup-black);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	pointer-events: auto;
}

.ait-popup-overlay-style-dark_glass .ait-popup-overlay-card {
	border-color: rgba(72, 198, 163, 0.28);
	background: rgba(9, 26, 23, 0.72);
	color: var(--ait-popup-white);
}

.ait-popup-overlay-card .ait-popup-title {
	margin: 0;
	color: inherit;
	font-size: clamp(24px, 3.2vw, 36px);
}

.ait-popup-overlay-card .ait-popup-description {
	color: rgba(26, 26, 26, 0.72);
	font-size: 14px;
	line-height: 1.5;
}

.ait-popup-overlay-style-dark_glass .ait-popup-overlay-card .ait-popup-description {
	color: rgba(255, 255, 255, 0.72);
}

.ait-popup-overlay-card .ait-popup-actions {
	margin-top: 6px;
}

.ait-popup-email-capture {
	display: grid;
	gap: 16px;
	margin-top: 20px;
	padding: 18px;
	border: 1px solid rgba(72, 198, 163, 0.22);
	border-radius: 18px;
	background: linear-gradient(145deg, rgba(0, 72, 61, 0.96), rgba(26, 26, 26, 0.98));
	color: var(--ait-popup-white);
	box-shadow: 0 16px 38px rgba(0, 72, 61, 0.18);
}

.ait-popup-content > .ait-popup-email-capture:first-child {
	margin-top: 0;
}

/* When an email capture shares the popup with a top image, the image becomes a
   fixed-height banner (cropped to cover) instead of taking its full aspect ratio.
   This keeps the combined height small enough that the popup never needs to scroll. */
.ait-popup-has-email-capture.ait-popup-layout-image_top .ait-popup-media {
	flex: 0 0 auto;
}

.ait-popup-has-email-capture.ait-popup-layout-image_top .ait-popup-image {
	height: clamp(160px, 28vh, 240px);
	aspect-ratio: auto;
	border-radius: var(--ait-popup-radius) var(--ait-popup-radius) 0 0;
}

.ait-popup-has-email-capture.ait-popup-layout-image_top .ait-popup-image img {
	height: 100%;
	max-height: none;
	object-fit: cover;
}

.ait-popup-email-capture--compact {
	gap: 10px;
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 16px;
}

/* Compact (campaign + email) is a secondary block under the campaign copy, so it
   must stay small and glanceable — no oversized heading, no redundant label. */
.ait-popup-email-capture--compact .ait-popup-email-capture__content {
	gap: 5px;
}

.ait-popup-email-capture--compact .ait-popup-email-capture__content h2 {
	font-size: 18px;
	line-height: 1.2;
}

.ait-popup-email-capture--compact .ait-popup-email-capture__description {
	font-size: 13px;
	line-height: 1.45;
}

.ait-popup-email-capture--compact .ait-popup-email-capture__label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.ait-popup-email-capture--compact .ait-popup-email-capture__input {
	min-height: 44px;
}

.ait-popup-email-capture--compact .ait-popup-email-capture__button {
	min-height: 44px;
	min-width: 130px;
}

.ait-popup-email-capture--compact .ait-popup-email-capture__fineprint {
	font-size: 11px;
	line-height: 1.4;
}

.ait-popup-email-only {
	margin-top: 0;
	padding: 22px;
	border-radius: 22px;
	background:
		radial-gradient(circle at 20% 0%, rgba(72, 198, 163, 0.18), transparent 34%),
		linear-gradient(145deg, rgba(0, 72, 61, 0.98), rgba(18, 22, 22, 0.98));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 72, 61, 0.22);
}

.ait-popup-type-email-only .ait-popup-shell {
	background: #101615;
	color: var(--ait-popup-white);
	border-color: rgba(72, 198, 163, 0.22);
}

.ait-popup-type-email-only .ait-popup-content {
	padding: 18px;
}

.ait-popup-email-capture__content {
	display: grid;
	gap: 10px;
}

.ait-popup-email-capture__content h2 {
	margin: 0;
	color: var(--ait-popup-white);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: 0;
}

.ait-popup-email-capture__description {
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	line-height: 1.55;
}

.ait-popup-email-capture__description p {
	margin: 0 0 10px;
}

.ait-popup-email-capture__description p:last-child {
	margin-bottom: 0;
}

.ait-popup-email-capture__form {
	display: grid;
	gap: 8px;
	margin: 0;
}

.ait-popup-email-capture__label {
	color: rgba(255, 255, 255, 0.68);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.ait-popup-email-capture__row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
}

.ait-popup-email-capture__input {
	width: 100%;
	min-height: 48px;
	padding: 0 15px;
	border: 1px solid rgba(72, 198, 163, 0.22);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--ait-popup-white);
	font: inherit;
	outline: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.ait-popup-email-capture__input::placeholder {
	color: rgba(255, 255, 255, 0.52);
}

.ait-popup-email-capture__input:focus {
	border-color: var(--ait-popup-mint);
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 0 0 3px rgba(72, 198, 163, 0.16);
}

.ait-popup-email-capture__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	min-height: 48px;
	padding: 0 18px;
	border: 1px solid rgba(255, 255, 255, 0.86);
	border-radius: 14px;
	background: var(--ait-popup-white);
	color: var(--ait-popup-green);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 12px 26px rgba(72, 198, 163, 0.22);
	transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.ait-popup-email-capture__button:hover,
.ait-popup-email-capture__button:focus-visible {
	transform: translateY(-1px);
	background: var(--ait-popup-mint);
	border-color: var(--ait-popup-mint);
	box-shadow: 0 14px 30px rgba(72, 198, 163, 0.28);
}

.ait-popup-email-capture__button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.72);
	outline-offset: 2px;
}

.ait-popup-email-capture__button:active {
	transform: translateY(0) scale(0.98);
}

.ait-popup-email-capture__button:disabled {
	cursor: progress;
	opacity: 0.72;
	transform: none;
}

.ait-popup-email-capture__button.is-loading {
	color: transparent;
}

.ait-popup-email-capture__button.is-loading::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(0, 72, 61, 0.24);
	border-top-color: var(--ait-popup-green);
	border-radius: 999px;
	animation: ait-popup-spin 700ms linear infinite;
}

@keyframes ait-popup-spin {
	to { transform: rotate(360deg); }
}

.ait-popup-email-capture.is-subscribed .ait-popup-email-capture__form,
.ait-popup-email-capture.is-subscribed .ait-popup-email-capture__fineprint {
	display: none;
}

.ait-popup-email-capture__fineprint {
	margin: 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 12px;
	line-height: 1.48;
}

.ait-popup-email-capture__message {
	min-height: 20px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.ait-popup-email-capture__message[data-message-type="success"] {
	color: var(--ait-popup-mint);
}

.ait-popup-email-capture__message[data-message-type="error"] {
	color: #FFFFFF;
}

/* When the email capture is the only content block below the top image (no campaign
   title/text alongside it), let it sit flush against the image and the popup's own
   rounded corners instead of floating as a separate inset card with a visible gap. */
.ait-popup-layout-image_top .ait-popup-media + .ait-popup-content:has(> .ait-popup-email-capture:only-child) {
	padding: 0;
}

.ait-popup-layout-image_top .ait-popup-media:has(+ .ait-popup-content > .ait-popup-email-capture:only-child) .ait-popup-image {
	border-radius: var(--ait-popup-radius) var(--ait-popup-radius) 0 0;
}

.ait-popup-layout-image_top .ait-popup-media + .ait-popup-content:has(> .ait-popup-email-capture:only-child) .ait-popup-email-capture {
	margin: 0;
	border-width: 0;
	border-radius: 0 0 var(--ait-popup-radius) var(--ait-popup-radius);
	box-shadow: none;
}

.ait-popup-layout-image_left .ait-popup-shell {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
	width: min(92vw, 760px);
}

.ait-popup-layout-image_left .ait-popup-media {
	padding: 0;
	border-radius: var(--ait-popup-radius) 0 0 var(--ait-popup-radius);
}

.ait-popup-layout-image_left .ait-popup-image {
	height: 100%;
	min-height: 320px;
	aspect-ratio: auto;
	border-radius: var(--ait-popup-radius) 0 0 var(--ait-popup-radius);
}

.ait-popup-layout-image_left .ait-popup-image img {
	max-height: none;
	object-fit: cover;
}

.ait-popup-layout-image_left .ait-popup-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Image-only layout: no white card behind the image. The image itself scales
   with the viewport (both width and height), keeping its own aspect ratio,
   so no letterboxing or white edges can appear. */
.ait-popup-layout-image_only .ait-popup-shell {
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: min(92vw, 640px);
	background: transparent;
	border: 0;
	box-shadow: none;
	overflow: visible;
}

.ait-popup-layout-image_only .ait-popup-media {
	flex: 0 1 auto;
	min-height: 0;
	overflow: visible;
	padding: 0;
	border-radius: 0;
}

.ait-popup-layout-image_only .ait-popup-image {
	width: auto;
	height: auto;
	max-height: none;
	aspect-ratio: auto;
	background: transparent;
	border-radius: var(--ait-popup-radius);
	overflow: hidden;
	box-shadow: 0 calc(24px * var(--ait-popup-shadow-strength)) calc(70px * var(--ait-popup-shadow-strength)) rgba(0, 72, 61, calc(0.32 * var(--ait-popup-shadow-strength)));
}

.ait-popup-layout-image_only .ait-popup-image img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: min(82vh, 760px);
	max-height: min(82dvh, 760px);
	margin: 0 auto;
	object-fit: contain;
}

.ait-popup-is-opening .ait-popup-overlay {
	animation: ait-popup-overlay-in var(--ait-popup-duration) ease both;
}

.ait-popup-is-closing .ait-popup-overlay {
	animation: ait-popup-overlay-out var(--ait-popup-duration) ease both;
}

.ait-popup-is-opening.ait-popup-enter-none .ait-popup-shell,
.ait-popup-is-closing[data-active-exit-animation="none"] .ait-popup-shell {
	animation: none;
}

.ait-popup-is-opening.ait-popup-enter-fade .ait-popup-shell {
	animation: ait-popup-fade-in var(--ait-popup-duration) ease both;
}

.ait-popup-is-opening.ait-popup-enter-slide-up .ait-popup-shell {
	animation: ait-popup-slide-up-in var(--ait-popup-duration) cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ait-popup-is-opening.ait-popup-enter-zoom-in .ait-popup-shell {
	animation: ait-popup-zoom-in var(--ait-popup-duration) cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ait-popup-is-opening.ait-popup-enter-slide-right .ait-popup-shell {
	animation: ait-popup-slide-right-in var(--ait-popup-duration) cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ait-popup-is-opening.ait-popup-enter-slide-left .ait-popup-shell {
	animation: ait-popup-slide-left-in var(--ait-popup-duration) cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ait-popup-is-closing[data-active-exit-animation="fade-out"] .ait-popup-shell {
	animation: ait-popup-fade-out var(--ait-popup-duration) ease both;
}

.ait-popup-is-closing[data-active-exit-animation="slide-down"] .ait-popup-shell {
	animation: ait-popup-slide-down-out var(--ait-popup-duration) ease both;
}

.ait-popup-is-closing[data-active-exit-animation="zoom-out"] .ait-popup-shell {
	animation: ait-popup-zoom-out var(--ait-popup-duration) ease both;
}

.ait-popup-is-closing[data-active-exit-animation="slide-left"] .ait-popup-shell {
	animation: ait-popup-slide-left-out var(--ait-popup-duration) ease both;
}

.ait-popup-is-closing[data-active-exit-animation="slide-right"] .ait-popup-shell {
	animation: ait-popup-slide-right-out var(--ait-popup-duration) ease both;
}

@keyframes ait-popup-overlay-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes ait-popup-overlay-out {
	from { opacity: 1; }
	to { opacity: 0; }
}

@keyframes ait-popup-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes ait-popup-fade-out {
	from { opacity: 1; }
	to { opacity: 0; }
}

@keyframes ait-popup-slide-up-in {
	from { opacity: 0; transform: translate3d(0, 24px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes ait-popup-slide-down-out {
	from { opacity: 1; transform: translate3d(0, 0, 0); }
	to { opacity: 0; transform: translate3d(0, 24px, 0); }
}

@keyframes ait-popup-zoom-in {
	from { opacity: 0; transform: scale(0.94); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes ait-popup-zoom-out {
	from { opacity: 1; transform: scale(1); }
	to { opacity: 0; transform: scale(0.94); }
}

@keyframes ait-popup-slide-right-in {
	from { opacity: 0; transform: translate3d(-28px, 0, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes ait-popup-slide-left-in {
	from { opacity: 0; transform: translate3d(28px, 0, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes ait-popup-slide-left-out {
	from { opacity: 1; transform: translate3d(0, 0, 0); }
	to { opacity: 0; transform: translate3d(-28px, 0, 0); }
}

@keyframes ait-popup-slide-right-out {
	from { opacity: 1; transform: translate3d(0, 0, 0); }
	to { opacity: 0; transform: translate3d(28px, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.ait-popup-shell,
	.ait-popup-overlay {
		animation-duration: 1ms !important;
	}

	.ait-popup-button,
	.ait-popup-close,
	.ait-popup-email-capture__button {
		transition: none;
	}
}

@media (max-width: 720px) {
	.ait-popup-position-center,
	.ait-popup-position-bottom_right,
	.ait-popup-position-bottom_left {
		align-items: flex-end;
		justify-content: center;
		padding: 14px;
	}

	.ait-popup-shell,
	.ait-popup-position-bottom_right .ait-popup-shell,
	.ait-popup-position-bottom_left .ait-popup-shell,
	.ait-popup-layout-image_left .ait-popup-shell {
		width: min(100%, 520px);
		max-height: 88vh;
		max-height: 88dvh;
	}

	.ait-popup-layout-image_only .ait-popup-shell {
		width: auto;
		max-width: min(100%, 520px);
	}

	.ait-popup-layout-image_only .ait-popup-image img {
		max-height: 74vh;
		max-height: 74dvh;
	}

	.ait-popup-layout-image_left .ait-popup-shell {
		display: flex;
	}

	.ait-popup-layout-image_left .ait-popup-media {
		padding: 0;
		border-radius: var(--ait-popup-radius) var(--ait-popup-radius) 0 0;
	}

	.ait-popup-layout-image_left .ait-popup-image {
		height: auto;
		min-height: 0;
		max-height: 320px;
		aspect-ratio: var(--ait-popup-image-ratio, auto);
		border-radius: var(--ait-popup-radius) var(--ait-popup-radius) var(--ait-popup-image-radius) var(--ait-popup-image-radius);
	}

	.ait-popup-layout-image_background_overlay .ait-popup-image {
		min-height: min(56vh, 480px);
		max-height: min(74vh, 560px);
	}

	.ait-popup-overlay-content {
		inset: 14px;
		align-items: flex-end;
		justify-content: center;
	}

	.ait-popup-overlay-card {
		width: 100%;
		padding: 15px;
		border-radius: 18px;
	}

	.ait-popup-overlay-card .ait-popup-title {
		font-size: 23px;
	}

	.ait-popup-content {
		padding: 20px;
	}

	.ait-popup-title {
		font-size: 24px;
	}

	.ait-popup-actions {
		flex-direction: column;
	}

	.ait-popup-button {
		width: 100%;
	}

	.ait-popup-email-capture__row {
		grid-template-columns: 1fr;
	}

	.ait-popup-email-capture__button {
		width: 100%;
	}

	.ait-popup-email-only {
		padding: 18px;
	}
}
