.sr-offer {
	width: min(500px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	overflow: visible;
	color: #071b42;
	background: transparent;
	border: 0;
	font-family: Avenir, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sr-offer::backdrop {
	background: rgba(4, 17, 39, 0.58);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.sr-offer[open] {
	animation: sr-offer-enter 190ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.sr-offer__panel {
	position: relative;
	overflow: auto;
	max-height: calc(100dvh - 32px);
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 26px 80px rgba(1, 18, 51, 0.28), 0 8px 22px rgba(1, 18, 51, 0.12);
}

.sr-offer__close {
	position: absolute;
	top: 26px;
	right: 26px;
	z-index: 2;
	display: grid;
	width: 36px;
	height: 36px;
	padding: 0;
	place-items: center;
	font: inherit;
	font-size: 24px;
	font-weight: 300;
	line-height: 1;
	color: #52647e;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(7, 27, 66, 0.14);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 3px 12px rgba(7, 27, 66, 0.08);
	transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.sr-offer__close:hover {
	color: #071b42;
	background: #fff;
	transform: scale(1.04);
}

.sr-offer__visual {
	height: 176px;
	margin: 16px 16px 0;
	overflow: hidden;
	background: #e9f2ff;
	border-radius: 14px;
}

.sr-offer__visual picture,
.sr-offer__visual img {
	display: block;
	width: 100%;
	height: 100%;
}

.sr-offer__visual img {
	object-fit: cover;
	object-position: center 52%;
}

.sr-offer__content {
	padding: 24px 28px 28px;
}

.sr-offer__content h2 {
	margin: 0;
	font-size: clamp(25px, 4vw, 29px);
	font-weight: 760;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #071b42;
}

.sr-offer__content > p {
	margin: 10px 0 20px;
	font-size: 14px;
	line-height: 1.45;
	color: #617087;
}

.sr-offer__field {
	display: block;
}

.sr-offer__field input {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 15px;
	font: inherit;
	font-size: 16px;
	color: #071b42;
	background: #fff;
	border: 1px solid #cbd4e0;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(7, 27, 66, 0.04);
	outline: 0;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.sr-offer__field input::placeholder {
	color: #7a8698;
	opacity: 1;
}

.sr-offer__field input:focus {
	border-color: #0b5fd7;
	box-shadow: 0 0 0 3px rgba(11, 95, 215, 0.14);
}

.sr-offer__consent {
	display: grid;
	margin: 13px 0 16px;
	grid-template-columns: 18px 1fr;
	gap: 8px;
	font-size: 11.5px;
	line-height: 1.4;
	color: #647287;
	cursor: pointer;
}

.sr-offer__consent input {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: #0b5fd7;
}

.sr-offer__consent a {
	font-weight: 700;
	color: #0b5fd7;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sr-offer__submit {
	display: block;
	width: 100%;
	min-height: 50px;
	padding: 12px 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	color: #fff;
	background: #0b5fd7;
	border: 1px solid #0b5fd7;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(11, 95, 215, 0.18);
	transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.sr-offer__submit:hover {
	background: #084fae;
	border-color: #084fae;
	box-shadow: 0 10px 24px rgba(11, 95, 215, 0.23);
	transform: translateY(-1px);
}

.sr-offer__submit:disabled {
	cursor: wait;
	opacity: 0.68;
	transform: none;
}

.sr-offer__status {
	min-height: 18px;
	margin: 8px 0 0 !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
	color: #a53434 !important;
}

.sr-offer__result {
	margin-top: 4px;
}

.sr-offer__result[hidden] {
	display: none;
}

.sr-offer__result-label,
.sr-offer__result-note {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	color: #5e6f87;
}

.sr-offer__code {
	display: flex;
	min-height: 56px;
	padding: 7px 8px 7px 15px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #f3f7ff;
	border: 1px dashed #74a9f1;
	border-radius: 10px;
}

.sr-offer__code strong {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 16px;
	letter-spacing: 0.05em;
	color: #0b5fd7;
}

.sr-offer__code button {
	min-height: 40px;
	padding: 8px 14px;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	color: #fff;
	white-space: nowrap;
	background: #0b5fd7;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}

.sr-offer__result-note {
	margin-top: 10px;
	font-weight: 500;
	line-height: 1.45;
}

.sr-offer__result-message {
	margin: -2px 0 0 !important;
	font-size: 12px !important;
	line-height: 1.45 !important;
	color: #3f526c !important;
}

.sr-offer__trap {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.sr-offer :focus-visible {
	outline: 3px solid rgba(11, 95, 215, 0.3);
	outline-offset: 3px;
}

.sr-email-capture {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: #fff;
	background: #0b5fd7;
	font-family: Avenir, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sr-email-capture::after {
	position: absolute;
	right: clamp(-190px, -10vw, -90px);
	top: 50%;
	z-index: -1;
	width: clamp(260px, 31vw, 520px);
	aspect-ratio: 1;
	content: "";
	border: clamp(48px, 6vw, 86px) solid rgba(255, 255, 255, 0.07);
	border-radius: 50%;
	transform: translateY(-50%);
}

.sr-email-capture__inner {
	box-sizing: border-box;
	display: grid;
	width: min(1240px, calc(100% - 48px));
	min-height: 260px;
	margin: 0 auto;
	padding: clamp(44px, 5vw, 68px) 0;
	grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
	align-items: center;
	gap: clamp(48px, 7vw, 96px);
}

.sr-email-capture__copy h2 {
	max-width: 570px;
	margin: 0 0 14px;
	font-size: clamp(32px, 3.7vw, 52px);
	font-weight: 780;
	line-height: 1.02;
	letter-spacing: -0.035em;
	color: #fff;
	text-wrap: balance;
}

.sr-email-capture__copy p {
	max-width: 61ch;
	margin: 0;
	font-size: clamp(15px, 1.25vw, 17px);
	line-height: 1.55;
	color: #deebff;
}

.sr-email-capture__action {
	position: relative;
	min-width: 0;
}

.sr-email-capture__control {
	display: grid;
	min-height: 62px;
	padding: 5px;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: stretch;
	gap: 6px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 14px 32px rgba(0, 22, 66, 0.2);
}

.sr-email-capture__control label {
	display: block;
	min-width: 0;
}

.sr-email-capture__control input {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 0 16px;
	font: inherit;
	font-size: 16px;
	color: #071b42;
	background: transparent;
	border: 0;
	border-radius: 10px;
	outline: 0;
}

.sr-email-capture__control input::placeholder {
	color: #687890;
	opacity: 1;
}

.sr-email-capture__control:focus-within {
	box-shadow: 0 14px 32px rgba(0, 22, 66, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.26);
}

.sr-email-capture__control button {
	display: inline-flex;
	min-width: 150px;
	padding: 0 19px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	color: #fff;
	white-space: nowrap;
	background: #071b42;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 160ms ease;
}

.sr-email-capture__control button svg {
	transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sr-email-capture__control button:hover {
	background: #0e2b5d;
	box-shadow: 0 7px 16px rgba(1, 18, 51, 0.2);
	transform: translateY(-1px);
}

.sr-email-capture__control button:hover svg {
	transform: translateX(3px);
}

.sr-email-capture__control button:disabled {
	cursor: wait;
	opacity: 0.68;
	box-shadow: none;
	transform: none;
}

.sr-email-capture__consent {
	display: grid;
	margin: 13px 2px 0;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	gap: 9px;
	font-size: 12px;
	line-height: 1.45;
	color: #e2edff;
	cursor: pointer;
}

.sr-email-capture__consent input {
	width: 17px;
	height: 17px;
	margin: 1px 0 0;
	accent-color: #071b42;
}

.sr-email-capture__consent a {
	font-weight: 750;
	color: #fff;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.sr-email-capture__status {
	min-height: 18px;
	margin: 8px 2px 0;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.4;
	color: #fff1f1;
}

.sr-email-capture__result[hidden] {
	display: none;
}

.sr-email-capture__result > p {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.45;
	color: #e3eeff;
}

.sr-email-capture__result > p:first-child {
	font-size: 16px;
	color: #fff;
}

.sr-email-capture__code {
	display: flex;
	min-height: 62px;
	padding: 6px 7px 6px 18px;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 14px 32px rgba(0, 22, 66, 0.2);
}

.sr-email-capture__code strong {
	min-width: 0;
	overflow-wrap: anywhere;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: clamp(15px, 1.7vw, 18px);
	letter-spacing: 0.04em;
	color: #0b5fd7;
}

.sr-email-capture__code button {
	min-height: 48px;
	padding: 9px 17px;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	color: #fff;
	white-space: nowrap;
	background: #071b42;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}

.sr-email-capture__result .sr-email-capture__result-message {
	margin-bottom: 0;
	font-weight: 500;
}

.sr-email-capture :focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

@keyframes sr-offer-enter {
	from { opacity: 0; transform: translateY(10px) scale(0.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
	.sr-email-capture__inner {
		width: min(100% - 48px, 680px);
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.sr-email-capture__copy h2 {
		max-width: 630px;
	}

	.sr-email-capture__copy p {
		max-width: 65ch;
	}
}

@media (max-width: 640px) {
	.sr-offer {
		width: calc(100vw - 24px);
		max-height: calc(100dvh - 24px);
	}

	.sr-offer__panel {
		max-height: calc(100dvh - 24px);
		border-radius: 18px;
	}

	.sr-offer__visual {
		height: 162px;
		margin: 12px 12px 0;
		border-radius: 13px;
	}

	.sr-offer__content {
		padding: 22px 24px 24px;
	}

	.sr-offer__content h2 {
		font-size: clamp(25px, 7.5vw, 28px);
	}

	.sr-offer__content > p {
		margin: 9px 0 18px;
	}

	.sr-offer__close {
		top: 20px;
		right: 20px;
	}

	.sr-email-capture__inner {
		width: min(100% - 36px, 560px);
		min-height: 0;
		padding: 42px 0 46px;
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.sr-email-capture__copy h2 {
		margin-bottom: 11px;
		font-size: clamp(31px, 9vw, 42px);
	}

	.sr-email-capture__copy p {
		font-size: 15px;
	}

	.sr-email-capture__control {
		padding: 5px;
		grid-template-columns: minmax(0, 1fr);
		gap: 5px;
	}

	.sr-email-capture__control input {
		height: 50px;
	}

	.sr-email-capture__control button {
		min-height: 50px;
	}

	.sr-email-capture__consent {
		margin-top: 14px;
		font-size: 11.5px;
	}

	.sr-email-capture__code {
		padding-left: 14px;
	}
}

@media (max-height: 650px) {
	.sr-offer__visual {
		display: none;
	}

	.sr-offer__content {
		padding-top: 48px;
	}

	.sr-offer__close {
		top: 12px;
		right: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sr-offer[open] { animation: none; }
	.sr-offer *, .sr-offer *::before, .sr-offer *::after,
	.sr-email-capture *, .sr-email-capture *::before, .sr-email-capture *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
