:root {
	--fros-blue: #14689a;
	--fros-blue-dark: #0b4e78;
	--fros-blue-soft: #eaf5fb;
	--fros-ink: #172b3a;
	--fros-muted: #5c6d78;
	--fros-line: #d8e3e9;
	--fros-surface: #ffffff;
	--fros-bg: #f4f8fa;
	--fros-danger: #b42318;
	--fros-danger-soft: #fef3f2;
}

.fros-shell,
.fros-shell * {
	box-sizing: border-box;
}

.fros-shell {
	width: min(100%, 980px);
	margin: 36px auto;
	padding: 44px clamp(22px, 5vw, 64px) 52px;
	border: 1px solid rgba(20, 104, 154, 0.12);
	border-radius: 28px;
	background: var(--fros-surface);
	box-shadow: 0 22px 65px rgba(16, 58, 82, 0.1);
	color: var(--fros-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
}

.fros-shell button,
.fros-shell input {
	font: inherit;
}

.fros-shell [hidden] {
	display: none !important;
}

.fros-header {
	max-width: 760px;
	margin-bottom: 30px;
}

.fros-eyebrow,
.fros-step__number {
	margin: 0 0 12px;
	color: var(--fros-blue);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.fros-header h1,
.fros-success h1 {
	margin: 0;
	color: var(--fros-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(36px, 6vw, 60px);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.04;
}

.fros-header__lead,
.fros-success__lead {
	margin: 18px 0 0;
	color: var(--fros-muted);
	font-size: clamp(16px, 2vw, 19px);
}

.fros-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 30px 0 34px;
}

.fros-meta > div {
	padding: 16px 18px;
	border-left: 3px solid var(--fros-blue);
	background: var(--fros-bg);
}

.fros-meta span,
.fros-meta strong {
	display: block;
}

.fros-meta span {
	margin-bottom: 3px;
	color: var(--fros-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.11em;
}

.fros-meta strong {
	font-size: 15px;
	font-weight: 700;
}

.fros-alert {
	margin-bottom: 24px;
	padding: 16px 18px;
	border: 1px solid #fecdca;
	border-radius: 12px;
	background: var(--fros-danger-soft);
	color: var(--fros-danger);
}

.fros-alert p {
	margin: 3px 0 0;
}

.fros-progress {
	margin-bottom: 36px;
}

.fros-progress__track {
	height: 5px;
	overflow: hidden;
	border-radius: 999px;
	background: #e6eef2;
}

.fros-progress__track span {
	display: block;
	width: 33%;
	height: 100%;
	border-radius: inherit;
	background: var(--fros-blue);
	transition: width 250ms ease;
}

.fros-progress p {
	display: flex;
	justify-content: space-between;
	margin: 8px 0 0;
	color: var(--fros-muted);
	font-size: 12px;
}

.fros-progress strong {
	color: var(--fros-blue);
}

.fros-step {
	scroll-margin-top: 28px;
}

.fros-shell:not(.is-enhanced) .fros-step[hidden] {
	display: block !important;
	margin-top: 48px;
}

.fros-shell:not(.is-enhanced) [data-fros-next],
.fros-shell:not(.is-enhanced) [data-fros-prev],
.fros-shell:not(.is-enhanced) [data-fros-decline-submit],
.fros-shell:not(.is-enhanced) .fros-progress {
	display: none !important;
}

.fros-step__number:focus {
	outline: none;
}

.fros-fieldset {
	min-width: 0;
	margin: 0;
	padding: 26px 0;
	border: 0;
	border-bottom: 1px solid var(--fros-line);
}

.fros-fieldset:first-of-type {
	padding-top: 8px;
}

.fros-fieldset legend {
	display: block;
	width: 100%;
	margin: 0 0 18px;
	padding: 0;
	color: var(--fros-ink);
	font-size: clamp(17px, 2.2vw, 21px);
	font-weight: 650;
	line-height: 1.55;
}

.fros-field-hint {
	margin: -8px 0 18px;
	color: var(--fros-muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	font-style: italic;
}

.fros-card-grid {
	display: grid;
	gap: 10px;
}

.fros-card-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fros-card-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fros-card-grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fros-card-grid--scale {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fros-card-grid--stack {
	grid-template-columns: 1fr;
}

.fros-choice {
	display: flex;
	min-height: 60px;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--fros-line);
	border-radius: 11px;
	background: #fff;
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.fros-choice:hover {
	border-color: #86b8d3;
	transform: translateY(-1px);
}

.fros-choice:has(input:checked) {
	border-color: var(--fros-blue);
	background: var(--fros-blue-soft);
	box-shadow: 0 0 0 1px var(--fros-blue);
}

.fros-choice:has(input:focus-visible) {
	outline: 3px solid rgba(20, 104, 154, 0.22);
	outline-offset: 2px;
}

.fros-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.fros-choice__control {
	position: relative;
	display: grid;
	width: 21px;
	height: 21px;
	flex: 0 0 21px;
	place-items: center;
	border: 2px solid #9aacb6;
	border-radius: 50%;
	background: #fff;
}

.fros-choice input[type="checkbox"] + .fros-choice__control {
	border-radius: 5px;
}

.fros-choice input:checked + .fros-choice__control {
	border-color: var(--fros-blue);
	background: var(--fros-blue);
}

.fros-choice input:checked + .fros-choice__control::after {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	content: "";
}

.fros-choice input[type="checkbox"]:checked + .fros-choice__control::after {
	width: 9px;
	height: 5px;
	border: solid #fff;
	border-width: 0 0 2px 2px;
	border-radius: 0;
	background: transparent;
	transform: rotate(-45deg) translateY(-1px);
}

.fros-choice__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.fros-textarea {
	display: block;
	width: 100%;
	min-height: 132px;
	padding: 15px 16px;
	resize: vertical;
	border: 1px solid var(--fros-line);
	border-radius: 11px;
	background: #fff;
	color: var(--fros-ink);
	font-size: 15px;
	line-height: 1.55;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.fros-textarea:focus {
	border-color: var(--fros-blue);
	box-shadow: 0 0 0 3px rgba(20, 104, 154, 0.16);
	outline: none;
}

.fros-character-note {
	margin: 7px 0 0;
	color: var(--fros-muted);
	font-size: 11px;
	text-align: right;
}

.fros-decline {
	margin-top: 24px;
	padding: 22px;
	border-radius: 12px;
	background: var(--fros-bg);
}

.fros-decline h2 {
	margin: 0 0 4px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 25px;
	font-weight: 500;
}

.fros-decline p {
	margin: 0;
	color: var(--fros-muted);
}

.fros-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 30px;
}

.fros-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 12px 23px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 750;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.fros-button:focus-visible {
	outline: 3px solid rgba(20, 104, 154, 0.28);
	outline-offset: 2px;
}

.fros-button:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.fros-button--primary {
	background: var(--fros-blue);
	color: #fff;
}

.fros-button--primary:hover {
	background: var(--fros-blue-dark);
	color: #fff;
}

.fros-button--secondary {
	border-color: var(--fros-line);
	background: #fff;
	color: var(--fros-ink);
}

.fros-privacy {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 24px;
	padding: 16px 18px;
	border-radius: 10px;
	background: var(--fros-bg);
	color: var(--fros-muted);
	font-size: 13px;
}

.fros-privacy > span {
	display: grid;
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	place-items: center;
	border-radius: 50%;
	background: var(--fros-blue);
	color: #fff;
	font-size: 12px;
}

.fros-privacy p {
	margin: 0;
}

.fros-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.fros-success {
	max-width: 720px;
	margin: 30px auto 20px;
	text-align: center;
}

.fros-success__icon {
	display: grid;
	width: 72px;
	height: 72px;
	margin: 0 auto 26px;
	place-items: center;
	border-radius: 50%;
	background: var(--fros-blue-soft);
	color: var(--fros-blue);
	font-size: 33px;
	font-weight: 700;
}

.fros-success__divider {
	width: 54px;
	height: 3px;
	margin: 34px auto;
	background: var(--fros-blue);
}

.fros-success h2 {
	margin: 0 0 8px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(25px, 4vw, 34px);
	font-weight: 500;
}

.fros-success h2 + p {
	margin: 0;
	color: var(--fros-muted);
}

.fros-socials {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
}

.fros-socials a {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	gap: 9px;
	padding: 10px 15px;
	border: 1px solid var(--fros-line);
	border-radius: 8px;
	background: #fff;
	color: var(--fros-ink);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.fros-socials a:hover,
.fros-socials a:focus-visible {
	border-color: var(--fros-blue);
	color: var(--fros-blue);
}

.fros-socials span {
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border-radius: 50%;
	background: var(--fros-blue);
	color: #fff;
	font-size: 11px;
}

@media (max-width: 860px) {
	.fros-card-grid--four,
	.fros-card-grid--scale {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.fros-shell {
		margin: 0;
		padding: 26px 18px 36px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.fros-meta,
	.fros-card-grid--two,
	.fros-card-grid--three,
	.fros-card-grid--four,
	.fros-card-grid--scale {
		grid-template-columns: 1fr;
	}

	.fros-fieldset {
		padding: 24px 0;
	}

	.fros-choice {
		min-height: 56px;
	}

	.fros-actions {
		flex-direction: column-reverse;
	}

	.fros-button {
		width: 100%;
	}

	.fros-socials {
		align-items: stretch;
		flex-direction: column;
	}

	.fros-socials a {
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fros-shell *,
	.fros-shell *::before,
	.fros-shell *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
