:root.rfp-modal-open,
:root.rfp-modal-open body {
	overflow: hidden !important;
}

.rfp-dialog,
.rfp-dialog * {
	box-sizing: border-box;
}

.rfp-dialog {
	width: min(1120px, calc(100vw - 40px));
	max-width: none;
	max-height: min(780px, calc(100dvh - 40px));
	margin: auto;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 26px;
	background: #fff;
	color: #00002d;
	box-shadow:
		0 34px 90px rgba(0, 0, 45, 0.34),
		0 8px 24px rgba(0, 0, 45, 0.18);
	font-family: Inter, Montserrat, Arial, Helvetica, sans-serif;
	opacity: 0;
	transform: translateY(16px) scale(0.985);
}

.rfp-dialog[open] {
	display: block;
	animation: rfp-dialog-in 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rfp-dialog::backdrop {
	background: rgba(0, 0, 45, 0.68);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	animation: rfp-backdrop-in 240ms ease-out both;
}

.rfp-shell {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	min-height: 640px;
	max-height: min(780px, calc(100dvh - 40px));
	overflow: hidden;
	background: #fff;
}

.rfp-content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-width: 0;
	padding: clamp(38px, 4.2vw, 54px);
	overflow-y: auto;
	background:
		radial-gradient(circle at 0 0, rgba(41, 35, 92, 0.07), transparent 38%),
		#fff;
}

.rfp-form-view,
.rfp-success-view {
	width: 100%;
}

.rfp-dialog [hidden] {
	display: none !important;
}

.rfp-logo {
	display: block;
	width: 142px;
	height: auto;
	margin: 0 0 22px;
	object-fit: contain;
	object-position: left center;
}

.rfp-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: #29235c;
	font-size: 0.73rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	line-height: 1.2;
}

.rfp-eyebrow::before {
	display: block;
	width: 18px;
	height: 3px;
	border-radius: 999px;
	background: #e7302a;
	content: "";
}

.rfp-dialog h2 {
	max-width: 510px;
	margin: 0;
	color: #00002d;
	font-size: clamp(2rem, 3.4vw, 3rem);
	font-weight: 850;
	letter-spacing: -0.045em;
	line-height: 1.02;
	text-wrap: balance;
}

.rfp-dialog h2 span {
	color: #e7302a;
	white-space: nowrap;
}

.rfp-description {
	max-width: 540px;
	margin: 16px 0 0;
	color: rgba(0, 0, 45, 0.76);
	font-size: 1rem;
	line-height: 1.56;
}

.rfp-form {
	margin: 22px 0 0;
}

.rfp-field-label {
	display: block;
	margin: 0 0 7px;
	color: #00002d;
	font-size: 0.83rem;
	font-weight: 800;
}

.rfp-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	height: 56px;
	border: 1.5px solid rgba(41, 35, 92, 0.55);
	border-radius: 13px;
	background: #fff;
	transition:
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.rfp-input-wrap:focus-within {
	border-color: #29235c;
	box-shadow: 0 0 0 4px rgba(41, 35, 92, 0.1);
}

.rfp-input-wrap svg {
	flex: 0 0 auto;
	margin: 0 13px 0 16px;
	fill: none;
	stroke: #29235c;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.rfp-input-wrap input {
	width: 100%;
	height: 100%;
	margin: 0 !important;
	padding: 0 16px 0 0 !important;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #00002d !important;
	font: inherit !important;
	font-size: 16px !important;
}

.rfp-input-wrap input::placeholder {
	color: rgba(41, 35, 92, 0.74);
	opacity: 1;
}

.rfp-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.rfp-consent {
	display: grid;
	grid-template-columns: 19px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	margin: 14px 0 0;
	color: rgba(0, 0, 45, 0.7);
	font-size: 0.72rem;
	line-height: 1.42;
	cursor: pointer;
}

.rfp-consent input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.rfp-checkbox {
	position: relative;
	display: block;
	width: 19px;
	height: 19px;
	margin-top: 1px;
	border: 1.5px solid rgba(41, 35, 92, 0.62);
	border-radius: 5px;
	background: #fff;
	transition:
		background 150ms ease,
		border-color 150ms ease,
		box-shadow 150ms ease;
}

.rfp-consent input:checked + .rfp-checkbox {
	border-color: #29235c;
	background: #29235c;
}

.rfp-consent input:checked + .rfp-checkbox::after {
	position: absolute;
	top: 2px;
	left: 5px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	transform: rotate(45deg);
}

.rfp-consent input:focus-visible + .rfp-checkbox {
	box-shadow: 0 0 0 4px rgba(41, 35, 92, 0.15);
}

.rfp-consent a,
.rfp-terms a {
	color: #29235c;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.rfp-error {
	min-height: 18px;
	margin: 7px 0 5px;
	color: #00002d;
	font-size: 0.76rem;
	font-weight: 650;
	line-height: 1.35;
}

.rfp-error:not(:empty) {
	padding-left: 8px;
	border-left: 3px solid #e7302a;
}

.rfp-submit {
	display: inline-flex;
	width: 100%;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	gap: 11px;
	margin: 0;
	padding: 13px 20px;
	border: 0;
	border-radius: 13px;
	background: #e7302a;
	box-shadow: 0 12px 26px rgba(231, 48, 42, 0.24);
	color: #00002d;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: 0.015em;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition:
		transform 160ms ease,
		box-shadow 160ms ease,
		filter 160ms ease;
}

.rfp-submit:hover {
	box-shadow: 0 16px 32px rgba(231, 48, 42, 0.32);
	filter: saturate(1.08);
	transform: translateY(-2px);
}

.rfp-submit:active {
	transform: translateY(0);
}

.rfp-submit:focus-visible,
.rfp-later:focus-visible,
.rfp-close:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #29235c;
}

.rfp-submit:disabled {
	cursor: wait;
	filter: grayscale(0.2);
	opacity: 0.72;
	transform: none;
}

.rfp-submit svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.rfp-later {
	display: block;
	margin: 12px auto 0;
	padding: 3px 8px;
	border: 0;
	background: transparent;
	color: rgba(0, 0, 45, 0.74);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	cursor: pointer;
}

.rfp-terms {
	margin: 17px 0 0;
	color: rgba(0, 0, 45, 0.68);
	font-size: 0.67rem;
	line-height: 1.45;
	text-align: center;
}

.rfp-close {
	position: absolute;
	z-index: 10;
	top: 14px;
	right: 14px;
	display: grid;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(0, 0, 45, 0.62);
	box-shadow: 0 5px 18px rgba(0, 0, 45, 0.2);
	color: #fff;
	cursor: pointer;
	transition:
		background 150ms ease,
		transform 150ms ease;
}

.rfp-close:hover {
	background: #00002d;
	transform: rotate(4deg);
}

.rfp-close span,
.rfp-close span::after {
	position: absolute;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	content: "";
	transform: rotate(45deg);
}

.rfp-close span::after {
	transform: rotate(90deg);
}

.rfp-visual {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: #00002d;
}

.rfp-visual::after {
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(to bottom, transparent, rgba(0, 0, 45, 0.74));
	content: "";
	pointer-events: none;
}

.rfp-visual > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transform: scale(1.006);
}

.rfp-visual-caption {
	position: absolute;
	z-index: 2;
	right: 20px;
	bottom: 22px;
	left: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #fff;
	font-size: 0.64rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-shadow: 0 1px 7px rgba(0, 0, 45, 0.7);
}

.rfp-visual-caption i {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #e7302a;
}

.rfp-success-view {
	align-self: safe center;
	max-width: 520px;
	margin-inline: auto;
	text-align: center;
}

.rfp-success-view .rfp-eyebrow {
	justify-content: center;
	margin-top: 18px;
}

.rfp-success-view h2 {
	margin-inline: auto;
	font-size: clamp(1.9rem, 3.2vw, 2.5rem);
}

.rfp-success-message {
	max-width: 460px;
	margin: 18px auto 28px;
	color: rgba(0, 0, 45, 0.74);
	font-size: 1rem;
	line-height: 1.55;
}

.rfp-success-view .rfp-submit {
	max-width: 360px;
	margin-inline: auto;
}

.rfp-success-icon {
	display: grid;
	width: 62px;
	height: 62px;
	margin: 0 auto;
	place-items: center;
	border-radius: 50%;
	background: #29235c;
	box-shadow: 0 10px 28px rgba(41, 35, 92, 0.2);
	color: #fff;
	font-size: 1.8rem;
	font-weight: 900;
}

@keyframes rfp-dialog-in {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes rfp-backdrop-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@media (min-width: 761px) and (max-width: 1100px) {
	.rfp-dialog {
		width: calc(100vw - 28px);
	}

	.rfp-shell {
		grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
	}

	.rfp-content {
		padding: 36px;
	}

	.rfp-dialog h2 {
		font-size: clamp(2rem, 4vw, 2.55rem);
	}
}

@media (min-width: 761px) and (max-height: 690px) {
	.rfp-dialog {
		max-height: calc(100dvh - 32px);
	}

	.rfp-shell {
		height: calc(100dvh - 32px);
		min-height: 0;
		max-height: calc(100dvh - 32px);
	}

	.rfp-content {
		padding: 24px clamp(34px, 4vw, 50px);
	}

	.rfp-logo {
		width: 104px;
		margin-bottom: 12px;
	}

	.rfp-eyebrow {
		margin-bottom: 6px;
	}

	.rfp-dialog h2 {
		font-size: clamp(1.9rem, 3.3vw, 2.35rem);
		line-height: 1;
	}

	.rfp-description {
		margin-top: 10px;
		font-size: 0.88rem;
		line-height: 1.4;
	}

	.rfp-form {
		margin-top: 14px;
	}

	.rfp-input-wrap,
	.rfp-submit {
		min-height: 50px;
		height: 50px;
	}

	.rfp-consent {
		margin-top: 10px;
		font-size: 0.68rem;
	}

	.rfp-error {
		min-height: 14px;
		margin: 4px 0;
	}

	.rfp-later {
		margin-top: 7px;
	}

	.rfp-terms {
		margin-top: 8px;
	}

	.rfp-success-view {
		align-self: start;
	}
}

@media (max-width: 760px) {
	.rfp-dialog {
		width: min(94vw, 600px);
		max-height: 82dvh;
		border-radius: 22px 22px 18px 18px;
	}

	.rfp-shell {
		grid-template-columns: 1fr;
		grid-template-rows: 168px minmax(0, 1fr);
		min-height: 0;
		max-height: 82dvh;
	}

	.rfp-visual {
		grid-row: 1;
	}

	.rfp-visual > img {
		object-position: center 54%;
	}

	.rfp-visual-caption {
		bottom: 12px;
		font-size: 0.58rem;
	}

	.rfp-content {
		grid-row: 2;
		align-items: start;
		padding: 26px 24px 24px;
	}

	.rfp-logo {
		width: 112px;
		margin-bottom: 17px;
	}

	.rfp-dialog h2 {
		font-size: clamp(1.72rem, 7.8vw, 2.3rem);
		line-height: 1.04;
	}

	.rfp-description {
		margin-top: 13px;
		font-size: 0.91rem;
		line-height: 1.48;
	}

	.rfp-form {
		margin-top: 18px;
	}

	.rfp-close {
		top: 10px;
		right: 10px;
		background: rgba(0, 0, 45, 0.8);
	}

	.rfp-success-view {
		align-self: start;
	}
}

@media (max-width: 390px), (max-width: 760px) and (max-height: 690px) {
	.rfp-dialog {
		max-height: 88dvh;
	}

	.rfp-shell {
		grid-template-rows: 120px minmax(0, 1fr);
		max-height: 88dvh;
	}

	.rfp-content {
		padding: 21px 19px 20px;
	}

	.rfp-logo {
		display: none;
	}

	.rfp-eyebrow {
		margin-bottom: 7px;
	}

	.rfp-description {
		font-size: 0.84rem;
	}

	.rfp-form {
		margin-top: 14px;
	}

	.rfp-input-wrap,
	.rfp-submit {
		min-height: 52px;
		height: 52px;
	}

	.rfp-consent {
		font-size: 0.68rem;
	}

	.rfp-terms {
		margin-top: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rfp-dialog,
	.rfp-dialog::backdrop,
	.rfp-submit,
	.rfp-close,
	.rfp-input-wrap {
		animation: none !important;
		scroll-behavior: auto !important;
		transition: none !important;
	}

	.rfp-dialog[open] {
		opacity: 1;
		transform: none;
	}
}
