:root {
	--hera-lead-navy: #123358;
	--hera-lead-blue: #295f8e;
	--hera-lead-sky: #6fc5ef;
	--hera-lead-sand: #d8a58f;
	--hera-lead-ink: #18324a;
	--hera-lead-muted: #667789;
	--hera-lead-surface: #fffdf9;
	--hera-lead-border: #d9e1e8;
}

body.hera-lead-modal-open {
	overflow: hidden;
}

.hera-lead-modal[hidden],
.hera-lead-modal [hidden] {
	display: none !important;
}

.hera-lead-modal {
	display: grid;
	inset: 0;
	place-items: center;
	position: fixed;
	z-index: 100000;
}

.hera-lead-modal__backdrop {
	background: rgba(5, 23, 41, 0.76);
	backdrop-filter: blur(6px);
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 180ms ease;
}

.hera-lead-modal__dialog {
	background: var(--hera-lead-surface);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 20px;
	box-shadow: 0 28px 80px rgba(0, 16, 34, 0.35);
	display: grid;
	grid-template-columns: minmax(280px, 0.8fr) minmax(440px, 1.2fr);
	max-height: min(760px, calc(100dvh - 40px));
	max-width: 1040px;
	opacity: 0;
	overflow: hidden;
	position: relative;
	transform: translateY(18px) scale(0.985);
	transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
	width: calc(100% - 40px);
}

.hera-lead-modal.is-open .hera-lead-modal__backdrop,
.hera-lead-modal.is-open .hera-lead-modal__dialog {
	opacity: 1;
}

.hera-lead-modal.is-open .hera-lead-modal__dialog {
	transform: none;
}

.hera-lead-modal__dialog:focus {
	outline: none;
}

.hera-lead-modal__close {
	align-items: center;
	background: rgba(255, 255, 255, 0.94);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 4px 18px rgba(15, 38, 58, 0.14);
	color: var(--hera-lead-navy);
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	position: absolute;
	right: 14px;
	top: 14px;
	transition: background 160ms ease, color 160ms ease;
	width: 44px;
	z-index: 3;
}

.hera-lead-modal__close:hover {
	background: var(--hera-lead-navy);
	color: #fff;
}

.hera-lead-modal__close svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
	width: 20px;
}

.hera-lead-modal__visual {
	background: var(--hera-lead-navy);
	min-height: 100%;
	overflow: hidden;
	position: relative;
}

.hera-lead-modal__visual::after {
	background: linear-gradient(180deg, rgba(12, 37, 61, 0.02) 35%, rgba(7, 29, 50, 0.88) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.hera-lead-modal__visual img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.hera-lead-modal__visual-copy {
	bottom: 40px;
	color: #fff;
	left: 32px;
	position: absolute;
	right: 32px;
	z-index: 1;
}

.hera-lead-modal__visual-copy span {
	color: #bde9ff;
	display: block;
	font-family: "SVN-Aptima", sans-serif;
	font-size: 13px;
	letter-spacing: 0.2em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.hera-lead-modal__visual-copy strong {
	font-family: "SVN-Butler", Georgia, serif;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 400;
	line-height: 1.12;
}

.hera-lead-modal__content {
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
	min-height: 0;
	overscroll-behavior: contain;
	overflow-y: auto;
	padding: 34px 42px 38px;
	scrollbar-gutter: stable;
	touch-action: pan-y;
}

.hera-lead-modal__progress {
	align-items: center;
	display: flex;
	gap: 12px;
	margin: 0 54px 24px 0;
}

.hera-lead-modal__progress span {
	align-items: center;
	color: var(--hera-lead-muted);
	display: flex;
	font: 600 12px/1.2 "SVN-Aptima", sans-serif;
	gap: 7px;
	white-space: nowrap;
}

.hera-lead-modal__progress span.is-active {
	color: var(--hera-lead-navy);
}

.hera-lead-modal__progress b {
	align-items: center;
	background: #e4e9ed;
	border-radius: 50%;
	display: flex;
	height: 25px;
	justify-content: center;
	width: 25px;
}

.hera-lead-modal__progress .is-active b {
	background: var(--hera-lead-navy);
	color: #fff;
}

.hera-lead-modal__progress i {
	background: var(--hera-lead-border);
	flex: 1;
	height: 1px;
}

.hera-lead-modal__eyebrow {
	color: var(--hera-lead-blue);
	font: 700 12px/1.3 "SVN-Aptima", sans-serif;
	letter-spacing: 0.14em;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.hera-lead-modal h2 {
	color: var(--hera-lead-navy);
	font-family: "SVN-Butler", Georgia, serif;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 400;
	line-height: 1.12;
	margin: 0;
}

.hera-lead-modal__intro {
	color: var(--hera-lead-muted);
	font: 400 14px/1.55 "SVN-Aptima", sans-serif;
	margin: 10px 0 22px;
}

.hera-lead-modal__intro strong {
	color: var(--hera-lead-blue);
}

.hera-lead-form,
.hera-lead-form__field {
	display: grid;
}

.hera-lead-form {
	gap: 15px;
}

.hera-lead-form__row {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr 1fr;
}

.hera-lead-form__field {
	border: 0;
	gap: 6px;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.hera-lead-form label,
.hera-lead-form legend {
	color: var(--hera-lead-ink);
	font: 600 13px/1.3 "SVN-Aptima", sans-serif;
}

.hera-lead-form label > span[aria-hidden="true"],
.hera-lead-form legend > span {
	color: #b33a2d;
}

.hera-lead-form label em {
	color: var(--hera-lead-muted);
	font-size: 11px;
	font-weight: 400;
}

.hera-lead-form input[type="text"],
.hera-lead-form input[type="tel"],
.hera-lead-form input[type="email"] {
	background: #fff;
	border: 1px solid var(--hera-lead-border);
	border-radius: 9px;
	box-sizing: border-box;
	color: var(--hera-lead-ink);
	font: 400 16px/1.4 "SVN-Aptima", sans-serif;
	height: 46px;
	padding: 0 13px;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.hera-lead-form input::placeholder {
	color: #9aa7b2;
}

.hera-lead-form input[aria-invalid="true"] {
	border-color: #b33a2d;
}

.hera-lead-form__field small {
	color: var(--hera-lead-muted);
	font: 400 11px/1.35 "SVN-Aptima", sans-serif;
}

.hera-lead-form__products > small {
	margin-top: -3px;
}

.hera-lead-form__choices {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, 1fr);
}

.hera-lead-form__choices label {
	cursor: pointer;
	position: relative;
}

.hera-lead-form__choices input {
	opacity: 0;
	position: absolute;
	width: 1px;
}

.hera-lead-form__choices span {
	align-items: center;
	background: #fff;
	border: 1px solid var(--hera-lead-border);
	border-radius: 9px;
	color: var(--hera-lead-ink);
	display: flex;
	font-size: 12px;
	font-weight: 500;
	justify-content: center;
	min-height: 44px;
	padding: 5px 8px;
	text-align: center;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.hera-lead-form__choices input:checked + span {
	background: var(--hera-lead-navy);
	border-color: var(--hera-lead-navy);
	color: #fff;
}

.hera-lead-form__choices input:focus-visible + span,
.hera-lead-modal button:focus-visible,
.hera-lead-form input:focus-visible,
.hera-footer-lead-card button:focus-visible {
	outline: 2px solid var(--hera-lead-sky);
	outline-offset: 2px;
}

.hera-lead-form__consent {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	font-size: 12px !important;
	font-weight: 400 !important;
	gap: 9px;
	line-height: 1.45 !important;
}

.hera-lead-form__consent input {
	accent-color: var(--hera-lead-navy);
	flex: 0 0 auto;
	height: 18px;
	margin: 0;
	width: 18px;
}

.hera-lead-form__consent a {
	color: var(--hera-lead-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hera-lead-form__error {
	color: #a33125;
	font: 500 12px/1.3 "SVN-Aptima", sans-serif;
	min-height: 0;
}

.hera-lead-form__error:not(:empty) {
	margin-top: -1px;
}

.hera-lead-form__error-summary {
	background: #fff0ed;
	border-left: 3px solid #b33a2d;
	border-radius: 5px;
	color: #83271e;
	font: 600 13px/1.4 "SVN-Aptima", sans-serif;
	padding: 9px 11px;
}

.hera-lead-form__primary,
.hera-lead-form__secondary {
	align-items: center;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font: 700 13px/1 "SVN-Aptima", sans-serif;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.hera-lead-form__primary {
	background: var(--hera-lead-navy);
	border: 1px solid var(--hera-lead-navy);
	color: #fff;
	gap: 10px;
	width: 100%;
}

.hera-lead-form__primary:hover {
	background: var(--hera-lead-blue);
	border-color: var(--hera-lead-blue);
}

.hera-lead-form__primary:disabled {
	cursor: wait;
	opacity: 0.55;
}

.hera-lead-form__secondary {
	background: transparent;
	border: 1px solid var(--hera-lead-border);
	color: var(--hera-lead-navy);
}

.hera-lead-review {
	background: #fff;
	border: 1px solid var(--hera-lead-border);
	border-radius: 12px;
	display: grid;
	grid-template-columns: minmax(130px, 0.45fr) 1fr;
	margin: 22px 0;
	overflow: hidden;
}

.hera-lead-review dt,
.hera-lead-review dd {
	border-bottom: 1px solid #edf0f2;
	box-sizing: border-box;
	font: 400 13px/1.45 "SVN-Aptima", sans-serif;
	margin: 0;
	padding: 11px 14px;
}

.hera-lead-review dt {
	color: var(--hera-lead-muted);
	font-weight: 600;
}

.hera-lead-review dd {
	color: var(--hera-lead-ink);
	font-weight: 600;
}

.hera-lead-review dt:nth-last-of-type(1),
.hera-lead-review dd:last-child {
	border-bottom: 0;
}

.hera-lead-review__actions {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

.hera-lead-form__submit-status {
	color: var(--hera-lead-muted);
	font: 500 13px/1.45 "SVN-Aptima", sans-serif;
	margin: 12px 0 0;
	min-height: 19px;
	text-align: center;
}

.hera-lead-form__submit-status[data-state="error"] {
	color: #a33125;
}

.hera-lead-success {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 450px;
	text-align: center;
}

.hera-lead-success__icon {
	align-items: center;
	background: #dff4ea;
	border-radius: 50%;
	color: #247454;
	display: flex;
	height: 76px;
	justify-content: center;
	margin-bottom: 20px;
	width: 76px;
}

.hera-lead-success__icon svg {
	fill: none;
	height: 36px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 36px;
}

.hera-lead-success > p:not(.hera-lead-modal__eyebrow) {
	color: var(--hera-lead-muted);
	font: 400 15px/1.55 "SVN-Aptima", sans-serif;
	margin: 14px auto 24px;
	max-width: 380px;
}

.hera-lead-success .hera-lead-form__primary {
	max-width: 230px;
}

.hera-footer-lead-card {
	border: 1px solid rgba(111, 197, 239, 0.48);
	border-radius: 14px;
	box-sizing: border-box;
	color: #fff;
	font-family: "SVN-Aptima", sans-serif;
	padding: 24px;
}

.hera-footer-lead-card__eyebrow {
	color: #9eddfa;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.hera-footer-lead-card h2 {
	color: #fff;
	font-family: "SVN-Butler", Georgia, serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 9px;
}

.hera-footer-lead-card > p:not(.hera-footer-lead-card__eyebrow) {
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	line-height: 1.45;
	margin: 0 0 16px;
}

.hera-footer-lead-card button {
	background: #fff;
	border: 0;
	border-radius: 999px;
	color: var(--hera-lead-navy);
	cursor: pointer;
	font: 700 12px/1 "SVN-Aptima", sans-serif;
	min-height: 44px;
	padding: 0 18px;
	width: 100%;
}

@media (max-width: 767px) {
	.hera-lead-modal {
		align-items: end;
	}

	.hera-lead-modal__dialog {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(0, 1fr);
		height: calc(100vh - 12px);
		height: calc(100dvh - 12px);
		max-height: calc(100vh - 12px);
		max-height: calc(100dvh - 12px);
		width: 100%;
	}

	.hera-lead-modal__visual {
		min-height: 132px;
	}

	.hera-lead-modal__visual img {
		inset: 0;
		position: absolute;
	}

	.hera-lead-modal__visual-copy {
		bottom: 18px;
		left: 20px;
	}

	.hera-lead-modal__visual-copy span {
		font-size: 10px;
		margin-bottom: 4px;
	}

	.hera-lead-modal__visual-copy strong {
		font-size: 23px;
	}

	.hera-lead-modal__content {
		padding: 22px 20px max(24px, env(safe-area-inset-bottom));
	}

	.hera-lead-modal__progress {
		margin-bottom: 18px;
		margin-right: 48px;
	}

	.hera-lead-modal h2 {
		font-size: 29px;
	}

	.hera-lead-modal__intro {
		margin-bottom: 17px;
	}

	.hera-lead-form__row,
	.hera-lead-form__choices {
		grid-template-columns: 1fr;
	}

	.hera-lead-form__choices {
		gap: 7px;
	}

	.hera-lead-form__choices span {
		justify-content: flex-start;
		padding-inline: 14px;
	}

	.hera-lead-review {
		grid-template-columns: 1fr;
	}

	.hera-lead-review dt {
		border-bottom: 0;
		padding-bottom: 2px;
	}

	.hera-lead-review dd {
		padding-top: 2px;
	}

	.hera-lead-review__actions {
		grid-template-columns: 1fr;
	}

	.hera-lead-success {
		min-height: 420px;
	}
}

@media (max-height: 620px) and (max-width: 900px) {
	.hera-lead-modal__visual {
		display: none;
	}

	.hera-lead-modal__dialog {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 639px) {
	.hera-footer-lead-card {
		max-width: 24rem;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hera-lead-modal__backdrop,
	.hera-lead-modal__dialog,
	.hera-lead-modal__close,
	.hera-lead-form input,
	.hera-lead-form__choices span,
	.hera-lead-form__primary,
	.hera-lead-form__secondary {
		transition: none;
	}
}
