.mfq-shell {
	--mfq-ink: #142c3a;
	--mfq-muted: #60727d;
	--mfq-line: #dce5ea;
	--mfq-soft: #f4f8fa;
	--mfq-accent: #e94b2c;
	--mfq-accent-dark: #c7381e;
	--mfq-navy: #12384c;
	--mfq-navy-light: #1b5a74;
	max-width: 1120px;
	margin: 0 auto 48px;
	color: var(--mfq-ink);
	font-family: inherit;
}

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

.mfq-intro {
	position: relative;
	overflow: hidden;
	padding: clamp(30px, 5vw, 58px);
	border-radius: 22px;
	background:
		radial-gradient(circle at 92% 15%, rgba(255, 255, 255, .16), transparent 28%),
		linear-gradient(135deg, var(--mfq-navy), var(--mfq-navy-light));
	color: #fff;
	box-shadow: 0 18px 45px rgba(18, 56, 76, .18);
}

.mfq-intro::after {
	content: "";
	position: absolute;
	right: -55px;
	bottom: -85px;
	width: 250px;
	height: 250px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
}

.mfq-eyebrow {
	position: relative;
	z-index: 1;
	margin: 0 0 10px;
	color: rgba(255, 255, 255, .78);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.mfq-intro h2 {
	position: relative;
	z-index: 1;
	margin: 0 0 12px !important;
	color: #fff !important;
	font-size: clamp(32px, 5vw, 50px) !important;
	line-height: 1.08 !important;
	letter-spacing: -.025em;
}

.mfq-lead {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0;
	color: rgba(255, 255, 255, .9);
	font-size: clamp(16px, 2vw, 19px);
	line-height: 1.65;
}

.mfq-trust {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 24px;
}

.mfq-trust span {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.mfq-trust span::before {
	content: "✓";
	margin-right: 7px;
	color: #bfe9d1;
	font-weight: 900;
}

.mfq-status {
	margin: 22px 0 0;
	padding: 15px 18px;
	border: 1px solid;
	border-radius: 12px;
	font-weight: 700;
	line-height: 1.5;
}

.mfq-status--success {
	border-color: #a8d5bb;
	background: #edf8f1;
	color: #17633a;
}

.mfq-status--error {
	border-color: #efb5aa;
	background: #fff2ef;
	color: #96301f;
}

.mfq-form {
	position: relative;
	margin-top: 22px;
}

.mfq-card {
	display: block;
	min-width: 0;
	margin: 0 0 18px;
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--mfq-line);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(20, 44, 58, .07);
}

.mfq-card > legend,
.mfq-details > summary {
	width: 100%;
	margin: 0 0 22px;
	padding: 0;
	color: var(--mfq-ink);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
}

.mfq-card > legend small,
.mfq-details > summary small {
	margin-left: 7px;
	color: var(--mfq-muted);
	font-size: 13px;
	font-weight: 600;
}

.mfq-step {
	display: inline-grid;
	width: 30px;
	height: 30px;
	margin-right: 8px;
	place-items: center;
	border-radius: 9px;
	background: #eaf2f5;
	color: var(--mfq-navy);
	font-size: 14px;
	font-weight: 900;
	vertical-align: middle;
}

.mfq-helper {
	margin: -10px 0 17px;
	color: var(--mfq-muted);
	font-size: 14px;
	line-height: 1.5;
}

.mfq-grid {
	display: grid;
	gap: 18px;
}

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

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

.mfq-span-2 {
	grid-column: span 2;
}

.mfq-field {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
	color: var(--mfq-ink);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.4;
}

.mfq-field > span {
	display: block;
}

.mfq-field > span b {
	color: var(--mfq-accent);
}

.mfq-field > span small {
	color: var(--mfq-muted);
	font-size: 12px;
	font-weight: 500;
}

.mfq-shell .mfq-field input,
.mfq-shell .mfq-field select,
.mfq-shell .mfq-field textarea {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid #c8d4da;
	border-radius: 9px;
	outline: 0;
	background: #fff;
	color: #17313f;
	font: inherit;
	font-weight: 500;
	line-height: 1.35;
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.mfq-shell .mfq-field textarea {
	min-height: 120px;
	resize: vertical;
}

.mfq-shell .mfq-field input::placeholder,
.mfq-shell .mfq-field textarea::placeholder {
	color: #8a989f;
	opacity: 1;
}

.mfq-shell .mfq-field input:focus,
.mfq-shell .mfq-field select:focus,
.mfq-shell .mfq-field textarea:focus {
	border-color: var(--mfq-navy-light);
	box-shadow: 0 0 0 3px rgba(27, 90, 116, .14);
	background: #fbfdfe;
}

.mfq-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mfq-pill {
	position: relative;
	cursor: pointer;
}

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

.mfq-pill span {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	padding: 9px 15px;
	border: 1px solid #cbd7dc;
	border-radius: 999px;
	background: #fff;
	color: #294653;
	font-size: 14px;
	font-weight: 750;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.mfq-pill span::before {
	content: "+";
	display: inline-grid;
	width: 19px;
	height: 19px;
	margin-right: 7px;
	place-items: center;
	border-radius: 50%;
	background: #edf3f5;
	color: var(--mfq-navy);
	font-weight: 900;
	line-height: 1;
}

.mfq-pill:hover span {
	border-color: #8fa9b4;
	background: #f7fafb;
}

.mfq-pill input:focus-visible + span {
	box-shadow: 0 0 0 3px rgba(27, 90, 116, .16);
}

.mfq-pill input:checked + span {
	border-color: var(--mfq-navy);
	background: var(--mfq-navy);
	color: #fff;
}

.mfq-pill input:checked + span::before {
	content: "✓";
	background: rgba(255, 255, 255, .2);
	color: #fff;
}

.mfq-details {
	padding: 0;
}

.mfq-details > summary {
	display: flex;
	align-items: center;
	margin: 0;
	padding: clamp(20px, 3vw, 28px);
	cursor: pointer;
	list-style: none;
}

.mfq-details > summary::-webkit-details-marker {
	display: none;
}

.mfq-details > summary::after {
	content: "+";
	display: inline-grid;
	width: 32px;
	height: 32px;
	margin-left: auto;
	flex: 0 0 32px;
	place-items: center;
	border-radius: 9px;
	background: #eef4f6;
	color: var(--mfq-navy);
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
}

.mfq-details[open] > summary {
	border-bottom: 1px solid var(--mfq-line);
}

.mfq-details[open] > summary::after {
	content: "−";
}

.mfq-details-body {
	padding: clamp(20px, 3vw, 30px);
}

.mfq-subfield {
	min-width: 0;
	margin: 24px 0;
	padding: 22px 0 0;
	border: 0;
	border-top: 1px solid var(--mfq-line);
}

.mfq-subfield > legend {
	padding: 0 10px 0 0;
	color: var(--mfq-ink);
	font-size: 15px;
	font-weight: 800;
}

.mfq-subfield > legend small {
	color: var(--mfq-muted);
	font-size: 12px;
	font-weight: 500;
}

.mfq-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px 16px;
	margin-top: 12px;
}

.mfq-options label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: #294653;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}

.mfq-options input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	flex: 0 0 18px;
	accent-color: var(--mfq-navy);
}

.mfq-submit {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 6px 2px 0;
}

.mfq-submit button {
	min-height: 52px;
	margin: 0;
	padding: 13px 25px;
	border: 0;
	border-radius: 10px;
	background: var(--mfq-accent);
	box-shadow: 0 8px 20px rgba(233, 75, 44, .22);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 850;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.mfq-submit button:hover,
.mfq-submit button:focus-visible {
	background: var(--mfq-accent-dark);
	box-shadow: 0 10px 24px rgba(199, 56, 30, .25);
	transform: translateY(-1px);
}

.mfq-submit button:focus-visible {
	outline: 3px solid rgba(233, 75, 44, .25);
	outline-offset: 2px;
}

.mfq-submit p {
	max-width: 470px;
	margin: 0;
	color: var(--mfq-muted);
	font-size: 13px;
	line-height: 1.5;
}

.mfq-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 850px) {
	.mfq-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mfq-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.mfq-shell {
		margin-bottom: 30px;
	}

	.mfq-intro {
		border-radius: 16px;
	}

	.mfq-grid--2,
	.mfq-grid--3,
	.mfq-options {
		grid-template-columns: 1fr;
	}

	.mfq-span-2 {
		grid-column: auto;
	}

	.mfq-card > legend,
	.mfq-details > summary {
		font-size: 18px;
	}

	.mfq-card > legend small,
	.mfq-details > summary small {
		display: block;
		margin: 7px 0 0 41px;
	}

	.mfq-details > summary {
		align-items: flex-start;
	}

	.mfq-submit {
		align-items: stretch;
		flex-direction: column;
	}

	.mfq-submit button {
		width: 100%;
	}
}

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


/* Expand the retired one-third quote column into a usable full-width form. */
body.page-id-205 .fusion-builder-row-1 > .fusion-builder-row > .fusion-builder-column-1,
body.page-id-205 .fusion-builder-row-1 > .fusion-builder-row > .fusion-builder-column-3 {
	display: none !important;
}

body.page-id-205 .fusion-builder-row-1 > .fusion-builder-row > .fusion-builder-column-2 {
	width: 100% !important;
	max-width: 1120px !important;
	flex: 1 1 100% !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.page-id-205 .fusion-builder-row-1 > .fusion-builder-row > .fusion-builder-column-2 > .fusion-column-wrapper {
	width: 100%;
}


/* Keep fieldset legends inside their white cards. */
fieldset.mfq-card > legend {
    float: left;
    box-sizing: border-box;
}

fieldset.mfq-card > legend + * {
    clear: both;
}
