:root {
	--cspf-navy: #143c72;
	--cspf-blue: #358ae2;
	--cspf-ink: #16171d;
	--cspf-slate: #5b6573;
	--cspf-mist: #edf4fb;
	--cspf-white: #ffffff;
}

body.cspf-modal-open {
	overflow: hidden;
}

.cspf-actions {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cspf-trigger,
.cspf-video-trigger,
.cspf-modal,
.cspf-modal * {
	box-sizing: border-box;
}

button.cspf-trigger {
	align-items: center;
	appearance: none;
	background: var(--cspf-navy);
	border: 2px solid var(--cspf-navy);
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(20, 60, 114, 0.16);
	color: var(--cspf-white);
	cursor: pointer;
	display: inline-flex;
	font: 600 16px/1.2 "Work Sans", "Roboto", Arial, sans-serif;
	gap: 14px;
	justify-content: center;
	letter-spacing: 0;
	min-height: 52px;
	padding: 13px 24px;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

button.cspf-trigger:hover {
	background: #0e315f;
	border-color: #0e315f;
	box-shadow: 0 10px 24px rgba(20, 60, 114, 0.24);
	color: var(--cspf-white);
	transform: translateY(-1px);
}

button.cspf-trigger:focus-visible,
button.cspf-video-trigger:focus-visible,
.cspf-modal button:focus-visible,
.cspf-modal a:focus-visible {
	outline: 3px solid rgba(53, 138, 226, 0.48);
	outline-offset: 3px;
}

.cspf-trigger__arrow {
	font-size: 20px;
	line-height: 1;
	transition: transform 160ms ease;
}

button.cspf-trigger:hover .cspf-trigger__arrow {
	transform: translateX(3px);
}

button.cspf-video-trigger {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 2px solid var(--cspf-white);
	border-radius: 999px;
	box-shadow: none;
	color: var(--cspf-white);
	cursor: pointer;
	display: inline-flex;
	font: 600 16px/1.2 "Work Sans", "Roboto", Arial, sans-serif;
	gap: 9px;
	justify-content: center;
	letter-spacing: 0;
	min-height: 52px;
	padding: 13px 22px;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

button.cspf-video-trigger:hover {
	background: var(--cspf-white);
	box-shadow: 0 10px 24px rgba(3, 18, 38, 0.18);
	color: var(--cspf-navy);
	transform: translateY(-1px);
}

.cspf-video-trigger svg {
	fill: currentColor;
	height: 20px;
	width: 20px;
}

.cspf-modal[hidden],
.cspf-screen[hidden],
.cspf-modal [hidden] {
	display: none !important;
}

.cspf-modal {
	align-items: center;
	display: flex;
	font-family: "Work Sans", "Roboto", Arial, sans-serif;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 999999;
}

.cspf-modal__backdrop {
	background: rgba(8, 25, 46, 0.74);
	backdrop-filter: blur(5px);
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 180ms ease;
}

.cspf-modal__dialog {
	background: var(--cspf-white);
	border: 1px solid rgba(20, 60, 114, 0.12);
	border-radius: 24px;
	box-shadow: 0 30px 80px rgba(3, 18, 38, 0.32);
	color: var(--cspf-ink);
	display: flex;
	flex-direction: column;
	max-height: min(780px, calc(100vh - 48px));
	max-height: min(780px, calc(100dvh - 48px));
	opacity: 0;
	overflow: hidden;
	position: relative;
	transform: translateY(18px) scale(0.985);
	transition: opacity 180ms ease, transform 180ms ease;
	width: min(700px, 100%);
	z-index: 1;
}

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

.cspf-modal.is-open .cspf-modal__dialog {
	transform: translateY(0) scale(1);
}

.cspf-modal__close {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: var(--cspf-navy);
	cursor: pointer;
	display: flex;
	height: 42px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 18px;
	top: 18px;
	transition: background-color 150ms ease;
	width: 42px;
	z-index: 2;
}

.cspf-modal__close:hover {
	background: var(--cspf-mist);
}

.cspf-modal__close svg {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
	width: 22px;
}

.cspf-modal__header {
	background: var(--cspf-white);
	border-bottom: 1px solid #e8edf3;
	padding: 34px 76px 23px 42px;
}

.cspf-eyebrow {
	align-items: center;
	color: var(--cspf-blue);
	display: flex;
	font-size: 12px;
	font-weight: 700;
	gap: 8px;
	letter-spacing: 0.1em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.cspf-eyebrow__mark {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
	width: 22px;
}

.cspf-modal__header h2,
.cspf-screen h3,
.cspf-result h3 {
	color: var(--cspf-ink);
	font-family: "Roboto Slab", Georgia, serif;
	font-style: normal;
	letter-spacing: -0.025em;
	text-transform: none;
}

.cspf-modal__header h2 {
	font-size: clamp(27px, 4vw, 36px);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 8px;
	padding: 0;
}

.cspf-modal__header > p {
	color: var(--cspf-slate);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

.cspf-route {
	align-items: center;
	display: flex;
	gap: 16px;
	margin-top: 22px;
}

.cspf-route__line {
	display: flex;
	justify-content: space-between;
	position: relative;
	width: 132px;
}

.cspf-route__line::before,
.cspf-route__wake {
	content: "";
	height: 2px;
	left: 5px;
	position: absolute;
	top: 5px;
}

.cspf-route__line::before {
	background: #d9e1ea;
	right: 5px;
}

.cspf-route__wake {
	background: var(--cspf-blue);
	max-width: calc(100% - 10px);
	transition: width 220ms ease;
	width: 0;
	z-index: 1;
}

.cspf-route__point {
	background: var(--cspf-white);
	border: 2px solid #c7d2df;
	border-radius: 50%;
	height: 12px;
	position: relative;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
	width: 12px;
	z-index: 2;
}

.cspf-route__point.is-current,
.cspf-route__point.is-complete {
	background: var(--cspf-blue);
	border-color: var(--cspf-blue);
}

.cspf-route__point.is-current {
	box-shadow: 0 0 0 4px rgba(53, 138, 226, 0.14);
	transform: scale(1.08);
}

.cspf-route__label {
	color: var(--cspf-slate);
	font-size: 12px;
	font-weight: 650;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.cspf-modal__body {
	overflow-y: auto;
	padding: 34px 42px 26px;
	-webkit-overflow-scrolling: touch;
}

.cspf-screen {
	animation: cspf-screen-in 180ms ease both;
}

@keyframes cspf-screen-in {
	from {
		opacity: 0;
		transform: translateX(8px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.cspf-screen__kicker {
	color: var(--cspf-blue);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.cspf-screen h3 {
	font-size: clamp(22px, 3vw, 29px);
	font-weight: 550;
	line-height: 1.28;
	margin: 0 0 24px;
	outline: 0;
	padding: 0;
}

.cspf-choices {
	display: grid;
	gap: 12px;
}

button.cspf-choice {
	align-items: center;
	appearance: none;
	background: var(--cspf-white);
	border: 1px solid #dce4ec;
	border-radius: 15px;
	box-shadow: none;
	color: var(--cspf-ink);
	cursor: pointer;
	display: flex;
	font: inherit;
	gap: 18px;
	justify-content: space-between;
	min-height: 84px;
	padding: 17px 19px;
	text-align: left;
	text-transform: none;
	transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
	width: 100%;
}

button.cspf-choice:hover {
	background: #f8fbfe;
	border-color: var(--cspf-blue);
	box-shadow: 0 8px 22px rgba(20, 60, 114, 0.08);
	color: var(--cspf-ink);
	transform: translateY(-1px);
}

.cspf-choice > span:first-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cspf-choice strong {
	color: var(--cspf-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.cspf-choice small {
	color: var(--cspf-slate);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
}

.cspf-choice__arrow {
	align-items: center;
	background: var(--cspf-mist);
	border-radius: 50%;
	color: var(--cspf-navy);
	display: flex;
	flex: 0 0 auto;
	font-size: 18px;
	height: 34px;
	justify-content: center;
	transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
	width: 34px;
}

.cspf-choice:hover .cspf-choice__arrow {
	background: var(--cspf-navy);
	color: var(--cspf-white);
	transform: translateX(2px);
}

.cspf-result__flag {
	background: var(--cspf-mist);
	border-radius: 999px;
	color: var(--cspf-navy);
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-bottom: 16px;
	padding: 7px 12px;
	text-transform: uppercase;
}

.cspf-result__lead {
	color: var(--cspf-slate);
	font-size: 14px;
	margin: 0 0 2px;
}

.cspf-result h3 {
	color: var(--cspf-navy);
	font-size: clamp(34px, 6vw, 48px);
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 14px;
}

.cspf-result__summary {
	color: var(--cspf-ink);
	font-size: 16px;
	line-height: 1.58;
	margin: 0 0 20px;
}

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

.cspf-result__features li {
	align-items: flex-start;
	color: var(--cspf-slate);
	display: flex;
	font-size: 14px;
	gap: 10px;
	line-height: 1.45;
	margin: 0;
	padding: 0;
}

.cspf-result__features li::before {
	align-items: center;
	background: var(--cspf-mist);
	border-radius: 50%;
	color: var(--cspf-navy);
	content: "\2713";
	display: inline-flex;
	flex: 0 0 22px;
	font-size: 12px;
	font-weight: 800;
	height: 22px;
	justify-content: center;
	margin-top: -1px;
}

.cspf-result__cta {
	align-items: center;
	background: var(--cspf-navy);
	border: 2px solid var(--cspf-navy);
	border-radius: 999px;
	color: var(--cspf-white);
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	min-height: 52px;
	padding: 13px 24px;
	text-decoration: none;
	transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.cspf-result__cta:hover {
	background: #0e315f;
	border-color: #0e315f;
	color: var(--cspf-white);
	text-decoration: none;
	transform: translateY(-1px);
}

.cspf-result__note {
	color: var(--cspf-slate);
	font-size: 12px;
	line-height: 1.45;
	margin: 12px 0 0;
}

.cspf-modal__footer {
	align-items: center;
	background: #fbfcfe;
	border-top: 1px solid #e8edf3;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-height: 64px;
	padding: 12px 42px;
}

.cspf-video-modal__dialog {
	width: min(900px, 100%);
}

.cspf-video-modal__header {
	padding-bottom: 28px;
}

.cspf-video-modal__header h2:focus {
	outline: 0;
}

.cspf-video-modal__body {
	background: var(--cspf-white);
	padding: 0 42px 42px;
}

.cspf-video-frame {
	aspect-ratio: 16 / 9;
	background: #08192e;
	border-radius: 15px;
	box-shadow: 0 14px 34px rgba(3, 18, 38, 0.18);
	overflow: hidden;
	position: relative;
	width: 100%;
}

.cspf-video-frame::before {
	color: rgba(255, 255, 255, 0.72);
	content: "Loading video\2026";
	font-size: 13px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.cspf-video-frame iframe {
	border: 0;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
	z-index: 1;
}

button.cspf-text-button {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 7px;
	box-shadow: none;
	color: var(--cspf-navy);
	cursor: pointer;
	font: 650 14px/1.3 "Work Sans", "Roboto", Arial, sans-serif;
	margin: 0;
	padding: 8px 4px;
	text-decoration: none;
	text-transform: none;
}

button.cspf-text-button:hover {
	background: transparent;
	color: var(--cspf-blue);
}

[data-cspf-restart] {
	margin-left: auto !important;
}

@media (max-width: 600px) {
	.cspf-modal {
		align-items: flex-end;
		padding: 12px 0 0;
	}

	.cspf-modal__dialog {
		border-bottom: 0;
		border-radius: 22px 22px 0 0;
		max-height: calc(100vh - 12px);
		max-height: calc(100dvh - 12px);
		transform: translateY(24px);
		width: 100%;
	}

	.cspf-modal__header {
		padding: 27px 58px 19px 24px;
	}

	.cspf-modal__header h2 {
		font-size: 27px;
	}

	.cspf-modal__close {
		right: 12px;
		top: 13px;
	}

	.cspf-route {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		margin-top: 17px;
	}

	.cspf-route__line {
		width: 112px;
	}

	.cspf-modal__body {
		padding: 25px 24px 21px;
	}

	.cspf-video-modal__body {
		padding: 0 24px 28px;
	}

	.cspf-screen h3 {
		font-size: 22px;
		margin-bottom: 19px;
	}

	button.cspf-choice {
		min-height: 78px;
		padding: 14px 15px;
	}

	.cspf-result__cta {
		width: 100%;
	}

	.cspf-modal__footer {
		min-height: 58px;
		padding: 9px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cspf-modal *,
	.cspf-modal *::before,
	.cspf-modal *::after,
	.cspf-trigger,
	.cspf-video-trigger,
	.cspf-trigger *,
	.cspf-video-trigger * {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
