.amtc {
	--amtc-green: #003820;
	--amtc-green-soft: #194b35;
	--amtc-cream: #faf9f3;
	--amtc-page: #f8f7ef;
	--amtc-border: #e2e5df;
	--amtc-pill: #e4d9b8;
	--amtc-text: #003820;
	--amtc-muted: #6f9183;
	--amtc-track: #d4dbd4;
	--amtc-radius: 38px;

	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	width: 100%;
	max-width: 1180px;
	margin: 30px auto;
	overflow: hidden;
	border-radius: var(--amtc-radius);
	background: #fff;
	box-shadow: 0 28px 45px rgba(0, 0, 0, 0.16);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	color: var(--amtc-text);
}

.amtc *,
.amtc *::before,
.amtc *::after {
	box-sizing: border-box;
}

.amtc__inputs {
	background: #fff;
}

.amtc__results {
	background: var(--amtc-green);
	color: #fff;
}

.amtc__inner {
	padding: 36px 36px 34px;
	height: 100%;
}

.amtc__heading {
	margin: 0 0 30px;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--amtc-text);
}

.amtc__results .amtc__heading {
	color: #fff;
}

.amtc__input-card {
	margin-bottom: 18px;
	padding: 20px 20px 19px;
	border: 1px solid var(--amtc-border);
	border-radius: 25px;
	background: var(--amtc-cream);
}

.amtc__input-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 15px;
}

.amtc__input-top h3 {
	margin: 0 0 7px;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--amtc-text);
}

.amtc__input-top p {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--amtc-muted);
}

.amtc__value-pill {
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--amtc-pill);
	color: var(--amtc-text);
	font-size: 16px;
	line-height: 1;
	font-weight: 800;
	white-space: nowrap;
}

.amtc__range {
	--amtc-progress: 0%;
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 100%;
	height: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	border-radius: 999px;
	background: linear-gradient(
		to right,
		#1b7350 0%,
		#1b7350 var(--amtc-progress),
		var(--amtc-track) var(--amtc-progress),
		var(--amtc-track) 100%
	);
	cursor: pointer;
}

.amtc__range::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 999px;
	background: transparent;
}

.amtc__range::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin-top: -4px;
	border: 0;
	border-radius: 50%;
	background: #126b4a;
	box-shadow: none;
	cursor: pointer;
}

.amtc__range::-moz-range-track {
	height: 8px;
	border: 0;
	border-radius: 999px;
	background: transparent;
}

.amtc__range::-moz-range-progress {
	height: 8px;
	border-radius: 999px;
	background: #1b7350;
}

.amtc__range::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 0;
	border-radius: 50%;
	background: #126b4a;
	cursor: pointer;
}

.amtc__range:focus-visible {
	box-shadow: 0 0 0 3px rgba(18, 107, 74, 0.2);
}

.amtc__disclaimer {
	margin: 22px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--amtc-muted);
}

.amtc__result-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 64px;
	margin-bottom: 12px;
	padding: 0 20px;
	border-radius: 21px;
	background: var(--amtc-green-soft);
}

.amtc__result-row span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	font-weight: 600;
}

.amtc__result-row strong {
	color: #fff;
	font-size: 25px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.amtc__verdict {
	max-width: 510px;
	margin: 26px 0 25px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	line-height: 1.55;
	font-weight: 600;
}

.amtc__cta {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: 53px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--amtc-pill);
	color: var(--amtc-text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 800;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.amtc__cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
	background: #eadfbe;
	color: var(--amtc-text);
}

.amtc__arrow {
	font-size: 22px;
	line-height: 1;
	font-weight: 400;
}

@media (max-width: 900px) {
	.amtc {
		grid-template-columns: 1fr;
		max-width: 700px;
		border-radius: 30px;
	}

	.amtc__inner {
		padding: 30px;
	}
}

@media (max-width: 600px) {
	.amtc {
		margin: 20px auto;
		border-radius: 22px;
	}

	.amtc__inner {
		padding: 24px 18px;
	}

	.amtc__heading {
		margin-bottom: 24px;
		font-size: 19px;
	}

	.amtc__input-card {
		padding: 18px 16px;
		border-radius: 20px;
	}

	.amtc__input-top {
		align-items: flex-start;
	}

	.amtc__input-top h3 {
		font-size: 14px;
	}

	.amtc__input-top p {
		font-size: 12px;
	}

	.amtc__value-pill {
		padding: 8px 11px;
		font-size: 14px;
	}

	.amtc__result-row {
		min-height: 58px;
		padding: 0 16px;
		border-radius: 17px;
	}

	.amtc__result-row span {
		font-size: 13px;
	}

	.amtc__result-row strong {
		font-size: 21px;
	}

	.amtc__verdict {
		font-size: 13px;
	}

	.amtc__cta {
		width: 100%;
		padding: 0 20px;
	}
}
