.andes-match,
.andes-match * {
	box-sizing: border-box;
}

.andes-match {
	--andes-blue: #2B59FF;
	--andes-blue-dark: #2146ca;
	--andes-ink: #14213d;
	--andes-muted: #627089;
	--andes-line: #dbe3ef;
	--andes-surface: #ffffff;
	--andes-soft: #f6f8fc;
	--andes-success: #0f8f67;
	color: var(--andes-ink);
	font-family: inherit;
	margin-top: 0;
	max-width: 100%;
	overflow-x: hidden;
	width: 100%;
}

.andes-match .andes-match-option,
.andes-match .andes-match-option:hover,
.andes-match .andes-match-option:focus,
.andes-match .andes-match-option:active,
.andes-match .andes-match-option.is-selected,
.andes-match .andes-match-option.selected,
.andes-match .andes-match-option[aria-pressed="true"],
.andes-match .andes-match-primary,
.andes-match .andes-match-secondary,
.andes-match .andes-match-segment,
.andes-match .andes-match-result-actions a {
	text-shadow: none !important;
}

.andes-match-shell {
	margin: 0 auto;
	max-width: 720px;
	overflow-x: hidden;
	padding: 24px 16px 48px;
	width: 100%;
}

.andes-match-card {
	animation: andesMatchFadeIn 180ms ease-out;
	background: var(--andes-surface);
	border: 1px solid var(--andes-line);
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(20, 33, 61, 0.10);
	max-width: 100%;
	overflow-x: hidden;
	padding: 24px;
	width: 100%;
}

.andes-match-progress-wrap {
	margin: 0 0 14px;
}

.andes-match-progress-meta {
	align-items: center;
	color: var(--andes-muted);
	display: flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: space-between;
	margin: 0 0 8px;
}

.andes-match-progress {
	background: #e9edf5;
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
	width: 100%;
}

.andes-match-progress-fill {
	background: var(--andes-blue);
	border-radius: inherit;
	display: block;
	height: 100%;
	transition: width 220ms ease;
}

.andes-match h2,
.andes-match h3,
.andes-match p {
	margin-top: 0;
}

.andes-match h2 {
	color: var(--andes-ink);
	font-size: clamp(26px, 4vw, 38px);
	letter-spacing: 0;
	line-height: 1.08;
	margin-bottom: 12px;
}

.andes-match-question h2,
.andes-match-lead-form h2,
.andes-match-result h2 {
	font-size: clamp(24px, 3vw, 32px);
}

.andes-match h3 {
	font-size: 21px;
	line-height: 1.2;
	margin-bottom: 10px;
}

.andes-match-subtitle {
	color: var(--andes-muted);
	font-size: 17px;
	line-height: 1.55;
	margin-bottom: 22px;
}

.andes-match-kicker {
	color: var(--andes-blue);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.andes-match-options {
	display: grid;
	gap: 10px;
	margin-top: 18px;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.andes-match-option,
.andes-match-primary,
.andes-match-secondary,
.andes-match-segment {
	align-items: center;
	appearance: none;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 800;
	justify-content: center;
	min-height: 48px;
	max-width: 100%;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
	width: 100%;
}

.andes-match-option {
	background: #fff;
	border: 1px solid var(--andes-line);
	color: var(--andes-ink);
	justify-content: flex-start;
	line-height: 1.25;
	overflow-wrap: anywhere;
	padding: 15px 16px;
	white-space: normal;
	width: 100%;
}

.andes-match-option:hover,
.andes-match-option:focus {
	background: #f4f7ff !important;
	border-color: var(--andes-blue) !important;
	box-shadow: none;
	color: var(--andes-ink) !important;
	outline: none;
	-webkit-text-fill-color: var(--andes-ink);
}

.andes-match-option:focus,
.andes-match-option:focus-visible {
	outline: 3px solid rgba(43, 89, 255, 0.25);
	outline-offset: 1px;
}

.andes-match-option:active {
	background: #eef3ff !important;
	border-color: var(--andes-blue) !important;
	box-shadow: none;
	color: var(--andes-ink) !important;
	outline: 3px solid rgba(43, 89, 255, 0.25);
	outline-offset: 1px;
	-webkit-text-fill-color: var(--andes-ink);
}

.andes-match-option.is-selected,
.andes-match-option.is-selected:hover,
.andes-match-option.is-selected:focus,
.andes-match-option.is-selected:active,
.andes-match-option.selected,
.andes-match-option.selected:hover,
.andes-match-option.selected:focus,
.andes-match-option.selected:active,
.andes-match-option[aria-pressed="true"],
.andes-match-option[aria-pressed="true"]:hover,
.andes-match-option[aria-pressed="true"]:focus,
.andes-match-option[aria-pressed="true"]:active {
	background: var(--andes-blue) !important;
	border-color: var(--andes-blue) !important;
	box-shadow: none;
	color: #fff !important;
	outline: 3px solid rgba(43, 89, 255, 0.25);
	outline-offset: 1px;
	-webkit-text-fill-color: #fff;
}

.andes-match-primary {
	background: var(--andes-blue);
	border: 1px solid var(--andes-blue);
	color: #fff;
	padding: 13px 18px;
}

.andes-match a.andes-match-primary,
.andes-match a.andes-match-primary:visited,
.andes-match button.andes-match-primary {
	background: var(--andes-blue) !important;
	border-color: var(--andes-blue) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.andes-match-primary:hover,
.andes-match-primary:focus,
.andes-match-primary:active {
	background: var(--andes-blue-dark) !important;
	border-color: var(--andes-blue-dark) !important;
	color: #fff !important;
	outline: none;
	transform: translateY(-1px);
	-webkit-text-fill-color: #fff;
}

.andes-match-primary:disabled {
	cursor: wait;
	opacity: 0.68;
	transform: none;
}

.andes-match .andes-match-secondary,
.andes-match a.andes-match-secondary,
.andes-match a.andes-match-secondary:visited,
.andes-match button.andes-match-secondary {
	background: #fff !important;
	border: 1px solid var(--andes-line) !important;
	box-shadow: none;
	color: var(--andes-ink) !important;
	padding: 13px 18px;
	text-shadow: none !important;
	-webkit-text-fill-color: var(--andes-ink);
}

.andes-match .andes-match-secondary:hover,
.andes-match .andes-match-secondary:focus,
.andes-match a.andes-match-secondary:hover,
.andes-match a.andes-match-secondary:focus,
.andes-match button.andes-match-secondary:hover,
.andes-match button.andes-match-secondary:focus {
	background: #f4f7ff !important;
	border-color: var(--andes-blue) !important;
	box-shadow: none;
	color: var(--andes-ink) !important;
	outline: 3px solid rgba(43, 89, 255, 0.25);
	outline-offset: 1px;
	text-shadow: none !important;
	transform: none;
	-webkit-text-fill-color: var(--andes-ink);
}

.andes-match .andes-match-secondary:active,
.andes-match a.andes-match-secondary:active,
.andes-match button.andes-match-secondary:active {
	background: #eef3ff !important;
	border-color: var(--andes-blue) !important;
	box-shadow: none;
	color: var(--andes-ink) !important;
	outline: 3px solid rgba(43, 89, 255, 0.25);
	outline-offset: 1px;
	text-shadow: none !important;
	transform: none;
	-webkit-text-fill-color: var(--andes-ink);
}

.andes-match button[data-action="back"],
.andes-match .andes-match-secondary {
	background: #ffffff !important;
	border: 1px solid #dbe3ef !important;
	box-shadow: none !important;
	color: #14213d !important;
	text-shadow: none !important;
	-webkit-text-fill-color: #14213d !important;
}

.andes-match button[data-action="back"]:hover,
.andes-match button[data-action="back"]:focus,
.andes-match .andes-match-secondary:hover,
.andes-match .andes-match-secondary:focus {
	background: #f4f7ff !important;
	border-color: #2B59FF !important;
	box-shadow: none !important;
	color: #14213d !important;
	text-shadow: none !important;
	-webkit-text-fill-color: #14213d !important;
}

.andes-match button[data-action="back"]:focus,
.andes-match .andes-match-secondary:focus {
	outline: 3px solid rgba(43, 89, 255, 0.25) !important;
	outline-offset: 1px;
}

.andes-match button[data-action="back"]:active,
.andes-match .andes-match-secondary:active {
	background: #eef3ff !important;
	border-color: #2B59FF !important;
	box-shadow: none !important;
	color: #14213d !important;
	text-shadow: none !important;
	-webkit-text-fill-color: #14213d !important;
}

.andes-match-actions {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-top: 22px;
}

.andes-match-actions .andes-match-primary,
.andes-match-actions .andes-match-secondary {
	flex: 1 1 0;
}

.andes-match-field {
	display: block;
	margin-bottom: 14px;
}

.andes-match-field span,
.andes-match-contact-method > span {
	color: var(--andes-ink);
	display: block;
	font-size: 14px;
	font-weight: 800;
	margin-bottom: 7px;
}

.andes-match-field input,
.andes-match-field select {
	background: #fff;
	border: 1px solid var(--andes-line);
	border-radius: 8px;
	color: var(--andes-ink);
	font: inherit;
	font-size: 16px;
	min-height: 50px;
	max-width: 100%;
	padding: 12px 14px;
	width: 100%;
}

.andes-match-field select {
	appearance: auto;
}

.andes-match-field input:focus,
.andes-match-field select:focus {
	border-color: var(--andes-blue);
	box-shadow: 0 0 0 3px rgba(43, 89, 255, 0.12);
	outline: none;
}

.andes-match-grid {
	display: grid;
	gap: 0;
	min-width: 0;
	width: 100%;
}

.andes-match-segments {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 14px;
	min-width: 0;
	width: 100%;
}

.andes-match-segment {
	background: var(--andes-soft);
	border: 1px solid var(--andes-line);
	color: var(--andes-ink);
	min-height: 44px;
	padding: 10px;
}

.andes-match-segment:hover,
.andes-match-segment:focus,
.andes-match-segment.is-selected {
	background: rgba(43, 89, 255, 0.08);
	border-color: var(--andes-blue);
	color: var(--andes-blue);
	outline: none;
}

.andes-match-small,
.andes-match-disclaimer {
	color: var(--andes-muted);
	font-size: 13px;
	line-height: 1.5;
}

.andes-match-consent {
	align-items: flex-start;
	border: 1px solid var(--andes-line);
	border-radius: 8px;
	display: flex;
	gap: 10px;
	margin: 16px 0 12px;
	padding: 12px;
}

.andes-match-consent input {
	flex: 0 0 auto;
	height: 18px;
	margin-top: 2px;
	width: 18px;
}

.andes-match-consent span {
	color: var(--andes-muted);
	font-size: 13px;
	line-height: 1.45;
}

.andes-match-honeypot {
	height: 0;
	left: -9999px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 0;
}

.andes-match-error {
	background: #fff8e6;
	border: 1px solid #f1d28a;
	border-radius: 8px;
	color: #5a4100;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 14px;
	padding: 12px;
}

.andes-match-primary-card {
	background: var(--andes-soft);
	border: 1px solid var(--andes-line);
	border-radius: 8px;
	padding: 18px;
}

.andes-match-primary-card > span {
	color: var(--andes-success);
	display: block;
	font-size: 13px;
	font-weight: 900;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.andes-match-primary-card h3 {
	color: var(--andes-ink);
	font-size: clamp(24px, 3vw, 30px);
}

.andes-match-result-block {
	border-top: 1px solid var(--andes-line);
	margin-top: 14px;
	padding-top: 14px;
}

.andes-match-result-block strong {
	display: block;
	margin-bottom: 5px;
}

.andes-match-result-block p,
.andes-match-compare-card p {
	color: var(--andes-muted);
	line-height: 1.5;
	margin-bottom: 0;
}

.andes-match-compare {
	margin-top: 22px;
}

.andes-match-compare-grid {
	display: grid;
	gap: 10px;
	min-width: 0;
	width: 100%;
}

.andes-match-compare-card {
	border: 1px solid var(--andes-line);
	border-radius: 8px;
	padding: 14px;
}

.andes-match-result-actions {
	display: grid;
	gap: 10px;
	margin: 22px 0 14px;
	width: 100%;
}

.andes-match-noscript {
	background: #fff7d8;
	border: 1px solid #f0d06a;
	border-radius: 8px;
	color: #5b4700;
	padding: 14px;
}

@media (min-width: 640px) {
	.andes-match-shell {
		padding: 24px;
	}

	.andes-match-card {
		padding: 34px;
	}

	.andes-match-grid {
		gap: 12px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.andes-match-segments {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.andes-match-result-actions,
	.andes-match-compare-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.andes-match {
		margin-top: 0;
		overflow-x: hidden;
		width: 100%;
	}

	.andes-match-shell {
		margin: 0 auto;
		max-width: 100%;
		padding: 24px 12px 112px;
		width: 100%;
	}

	.andes-match-card {
		border-radius: 8px;
		padding: 18px 14px;
		width: 100%;
	}

	.andes-match h2 {
		font-size: 30px;
		line-height: 1.12;
		margin-bottom: 10px;
	}

	.andes-match-question h2,
	.andes-match-lead-form h2 {
		font-size: 30px;
		line-height: 1.14;
	}

	.andes-match-result h2 {
		font-size: 34px;
		line-height: 1.1;
	}

	.andes-match h3 {
		font-size: 20px;
	}

	.andes-match-subtitle {
		font-size: 17px;
		line-height: 1.45;
		margin-bottom: 18px;
	}

	.andes-match-options {
		gap: 9px;
		margin-top: 14px;
	}

	.andes-match-option {
		font-size: 18px;
		line-height: 1.22;
		min-height: 48px;
		padding: 13px 14px;
	}

	.andes-match-primary,
	.andes-match-secondary,
	.andes-match-segment {
		font-size: 17px;
		line-height: 1.2;
	}

	.andes-match-actions {
		gap: 8px;
		margin-top: 18px;
	}

	.andes-match-result-block p {
		font-size: 17px;
		line-height: 1.45;
	}

	.andes-match-primary-card {
		padding: 16px;
	}

	.andes-match-primary-card h3 {
		font-size: 26px;
	}

	.andes-match-compare {
		margin-top: 18px;
	}

	.andes-match-compare h3 {
		font-size: 20px;
		margin-bottom: 8px;
	}

	.andes-match-compare-grid {
		gap: 8px;
	}

	.andes-match-compare-card {
		padding: 10px 12px;
	}

	.andes-match-compare-card strong {
		display: block;
		font-size: 16px;
		line-height: 1.2;
		margin-bottom: 4px;
	}

	.andes-match-compare-card p {
		display: -webkit-box;
		font-size: 15px;
		line-height: 1.35;
		margin-bottom: 0;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}

	.andes-match-result-actions {
		margin: 18px 0 12px;
	}

	.andes-match-disclaimer {
		font-size: 12px;
		line-height: 1.45;
	}
}

@keyframes andesMatchFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
