.cl-quickscan {
	--cl-blue: #004b7d;
	--cl-blue-soft: #e8f2f7;
	--cl-green: #0f9b8e;
	--cl-green-dark: #025959;
	--cl-warm: #d8a773;
	--cl-warm-soft: #fbf2e8;
	--cl-ink: #343837;
	--cl-muted: #767b7a;
	--cl-line: #dfe7e6;
	--cl-surface: #ffffff;
	color: var(--cl-ink);
	font-family: inherit;
}

.cl-quickscan * {
	box-sizing: border-box;
}

.cl-quickscan__shell {
	max-width: 760px;
	margin: 0 auto;
}

.cl-quickscan__header {
	position: relative;
	overflow: hidden;
	padding: 30px 34px;
	background: linear-gradient(135deg, var(--cl-blue), var(--cl-green-dark));
	border-radius: 10px 10px 0 0;
	color: #fff;
}

.cl-quickscan__header::after {
	content: "";
	position: absolute;
	right: -44px;
	bottom: -54px;
	width: 180px;
	height: 180px;
	border: 18px solid rgba(248, 204, 157, 0.25);
	border-radius: 999px;
}

.cl-quickscan__eyebrow,
.cl-quickscan__tag {
	margin: 0 0 8px;
	color: var(--cl-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.2;
	text-transform: uppercase;
}

.cl-quickscan__header .cl-quickscan__eyebrow {
	color: #f8cc9d;
}

.cl-quickscan__tag--warm {
	color: var(--cl-warm);
}

.cl-quickscan__header h2,
.cl-quickscan__page h3 {
	margin: 0 0 8px;
	color: inherit;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.2;
}

.cl-quickscan__header h2 {
	position: relative;
	z-index: 1;
	color: #fff;
	font-size: 30px;
}

.cl-quickscan__header p {
	position: relative;
	z-index: 1;
	max-width: 560px;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.88);
	font-size: 16px;
	line-height: 1.6;
}

.cl-quickscan__card {
	padding: 28px 34px 32px;
	background: var(--cl-surface);
	border: 1px solid var(--cl-line);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 18px 40px rgba(0, 75, 125, 0.1);
}

.cl-quickscan__progress {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
	margin-bottom: 28px;
}

.cl-quickscan__progress span {
	height: 5px;
	background: #e7eceb;
	border-radius: 999px;
	transition: background-color 0.25s ease;
}

.cl-quickscan__progress span.is-active {
	background: var(--cl-green);
}

.cl-quickscan__page {
	display: none;
	animation: clQuickscanFade 0.25s ease;
}

.cl-quickscan__page.is-active {
	display: block;
}

@keyframes clQuickscanFade {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cl-quickscan__page h3 {
	color: var(--cl-blue);
	font-size: 24px;
}

.cl-quickscan__page p {
	margin: 0 0 16px;
	color: var(--cl-muted);
	font-size: 16px;
	line-height: 1.6;
}

.cl-quickscan__choices {
	display: grid;
	gap: 9px;
}

.cl-quickscan__choice,
.cl-quickscan__policy {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	padding: 13px 15px;
	background: #fff;
	border: 1px solid var(--cl-line);
	border-radius: 8px;
	color: var(--cl-ink);
	cursor: pointer;
	font: inherit;
	line-height: 1.45;
	text-align: left;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.cl-quickscan__choice:hover,
.cl-quickscan__policy:hover {
	border-color: var(--cl-green);
	background: #f8fcfb;
	transform: translateY(-1px);
}

.cl-quickscan__choice.is-selected {
	border-color: var(--cl-green);
	background: rgba(15, 155, 142, 0.06);
}

.cl-quickscan__choice-box,
.cl-quickscan__choice-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border: 2px solid #b9c7c5;
}

.cl-quickscan__choice-box {
	border-radius: 5px;
}

.cl-quickscan__choice-dot {
	border-radius: 999px;
}

.cl-quickscan__choice.is-selected .cl-quickscan__choice-box,
.cl-quickscan__choice.is-selected .cl-quickscan__choice-dot {
	background: var(--cl-green);
	border-color: var(--cl-green);
}

.cl-quickscan__choice-box::after {
	content: "";
	width: 10px;
	height: 6px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	opacity: 0;
	transform: rotate(-45deg) translate(1px, -1px);
}

.cl-quickscan__choice-dot::after {
	content: "";
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 999px;
	opacity: 0;
}

.cl-quickscan__choice.is-selected .cl-quickscan__choice-box::after,
.cl-quickscan__choice.is-selected .cl-quickscan__choice-dot::after {
	opacity: 1;
}

.cl-quickscan__policy-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.cl-quickscan__policy {
	display: block;
	padding: 18px 16px;
	text-align: center;
}

.cl-quickscan__policy strong {
	display: block;
	margin-bottom: 4px;
	color: var(--cl-blue);
	font-size: 17px;
}

.cl-quickscan__policy span {
	color: var(--cl-muted);
	font-size: 13px;
}

.cl-quickscan__policy.is-selected {
	border-color: var(--cl-warm);
	background: var(--cl-warm-soft);
}

.cl-quickscan__form {
	display: grid;
	gap: 12px;
}

.cl-quickscan__form label {
	display: grid;
	gap: 6px;
	margin: 0;
	color: var(--cl-green-dark);
	font-size: 15px;
	font-weight: 600;
}

.cl-quickscan__form input[type="text"],
.cl-quickscan__form input[type="email"] {
	width: 100%;
	min-height: 46px;
	padding: 11px 13px;
	background: #fff;
	border: 1px solid var(--cl-line);
	border-radius: 8px;
	color: var(--cl-ink);
	font: inherit;
	outline: none;
}

.cl-quickscan__form input:focus {
	border-color: var(--cl-green);
	box-shadow: 0 0 0 3px rgba(15, 155, 142, 0.13);
}

.cl-quickscan__consent {
	display: flex !important;
	align-items: flex-start;
	gap: 10px !important;
	color: var(--cl-muted) !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.5;
}

.cl-quickscan__consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--cl-green);
}

.cl-quickscan__warning {
	display: none;
	margin: 12px 0 0 !important;
	color: #b34337 !important;
	font-size: 14px !important;
	font-weight: 600;
}

.cl-quickscan__warning.is-visible {
	display: block;
}

.cl-quickscan__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 26px;
}

.cl-quickscan__button {
	min-height: 44px;
	padding: 11px 20px;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cl-quickscan__button:hover {
	transform: translateY(-1px);
}

.cl-quickscan__button--primary {
	background: var(--cl-blue);
	color: #fff;
}

.cl-quickscan__button--primary:hover,
.cl-quickscan__button--primary:focus {
	background: var(--cl-green-dark);
	color: #fff;
}

.cl-quickscan__button--ghost {
	background: transparent;
	border: 1px solid var(--cl-line);
	color: var(--cl-muted);
}

.cl-quickscan__button--ghost:hover,
.cl-quickscan__button--ghost:focus {
	border-color: var(--cl-green);
	color: var(--cl-green-dark);
}

.cl-quickscan__button[disabled] {
	cursor: wait;
	opacity: 0.7;
	transform: none;
}

.cl-quickscan__result-hero {
	padding: 24px;
	background: var(--cl-blue-soft);
	border: 1px solid rgba(0, 75, 125, 0.16);
	border-radius: 10px;
	text-align: center;
}

.cl-quickscan__result-number {
	color: var(--cl-blue);
	font-size: 48px;
	font-weight: 800;
	line-height: 1;
}

.cl-quickscan__bars {
	display: grid;
	gap: 14px;
	margin-top: 22px;
}

.cl-quickscan__bar-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 5px;
	color: var(--cl-ink);
	font-size: 14px;
	font-weight: 600;
}

.cl-quickscan__bar-track {
	height: 9px;
	overflow: hidden;
	background: #e9eeee;
	border-radius: 999px;
}

.cl-quickscan__bar-fill {
	width: 0;
	height: 100%;
	background: var(--cl-green);
	border-radius: inherit;
	transition: width 0.7s ease;
}

.cl-quickscan__summary,
.cl-quickscan__sent {
	margin-top: 22px;
	padding: 18px 20px;
	background: var(--cl-warm-soft);
	border: 1px solid rgba(216, 167, 115, 0.35);
	border-radius: 10px;
}

.cl-quickscan__summary h4,
.cl-quickscan__sent h4 {
	margin: 0 0 8px;
	color: var(--cl-blue);
	font-size: 18px;
}

.cl-quickscan__cta {
	margin-top: 22px;
	padding: 22px;
	background: var(--cl-green-dark);
	border-radius: 10px;
	color: #fff;
	text-align: center;
}

.cl-quickscan__cta h4 {
	margin: 0 0 8px;
	color: #fff;
}

.cl-quickscan__cta p {
	color: rgba(255, 255, 255, 0.82);
}

.cl-quickscan__cta a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 4px;
	padding: 11px 20px;
	background: #fff;
	border-radius: 8px;
	color: var(--cl-green-dark);
	font-weight: 700;
	text-decoration: none;
}

.cl-quickscan__footer {
	margin: 16px 0 0;
	color: var(--cl-muted);
	font-size: 13px;
	text-align: center;
}

.cl-quickscan__footer a {
	color: var(--cl-blue);
}

@media (max-width: 640px) {
	.cl-quickscan__header,
	.cl-quickscan__card {
		padding-left: 20px;
		padding-right: 20px;
	}

	.cl-quickscan__header h2 {
		font-size: 24px;
	}

	.cl-quickscan__policy-grid {
		grid-template-columns: 1fr;
	}

	.cl-quickscan__nav {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.cl-quickscan__nav > * {
		width: 100%;
	}
}
