/* GAC Finance Calculator */
.gacfc {
	--gacfc-accent: #b91c1c;
	max-width: 560px;
	margin: 0 auto;
	padding: 28px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	font-family: inherit;
	color: #1f2937;
	box-sizing: border-box;
}
.gacfc *,
.gacfc *::before,
.gacfc *::after {
	box-sizing: inherit;
}

.gacfc__title {
	margin: 0 0 20px;
	font-size: 1.35rem;
	font-weight: 700;
	border-bottom: 3px solid var(--gacfc-accent);
	padding-bottom: 10px;
}

.gacfc__field {
	margin-bottom: 18px;
}
.gacfc__field label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-weight: 600;
	font-size: 0.92rem;
	margin-bottom: 6px;
}
.gacfc__val {
	font-weight: 700;
	color: var(--gacfc-accent);
	font-variant-numeric: tabular-nums;
}
.gacfc__sub {
	font-size: 0.82rem;
	color: #6b7280;
	margin-top: 4px;
}

/* Range sliders */
.gacfc input[type="range"] {
	width: 100%;
	height: 6px;
	-webkit-appearance: none;
	appearance: none;
	background: #e5e7eb;
	border-radius: 3px;
	outline: none;
	margin: 4px 0;
}
.gacfc input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--gacfc-accent);
	border: 3px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	cursor: pointer;
}
.gacfc input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--gacfc-accent);
	border: 3px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	cursor: pointer;
}

.gacfc__num {
	width: 100%;
	margin-top: 6px;
	padding: 8px 10px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 0.95rem;
}

/* Results */
.gacfc__results {
	margin: 22px 0 6px;
	border-top: 1px solid #e5e7eb;
	padding-top: 16px;
}
.gacfc__result {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 6px 0;
	font-size: 0.92rem;
	color: #4b5563;
}
.gacfc__result strong {
	font-variant-numeric: tabular-nums;
	color: #1f2937;
}
.gacfc__result--main {
	background: #fef2f2;
	border-left: 4px solid var(--gacfc-accent);
	padding: 12px 14px;
	border-radius: 8px;
	margin-bottom: 8px;
	font-size: 1rem;
}
.gacfc__result--main strong {
	font-size: 1.45rem;
	color: var(--gacfc-accent);
}

/* Lead form */
.gacfc__lead {
	margin-top: 16px;
}
.gacfc__cta {
	display: block;
	width: 100%;
	padding: 13px 18px;
	background: var(--gacfc-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.15s ease;
}
.gacfc__cta:hover {
	filter: brightness(0.9);
}
.gacfc__cta:disabled {
	opacity: 0.6;
	cursor: wait;
}
.gacfc__leadform {
	margin-top: 12px;
	display: grid;
	gap: 10px;
}
.gacfc__leadform input {
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 0.95rem;
	width: 100%;
}
.gacfc__msg {
	margin: 4px 0 0;
	font-size: 0.88rem;
	color: #065f46;
	min-height: 1.2em;
}

/* Disclaimer */
.gacfc__disclaimer {
	margin: 16px 0 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: #9ca3af;
}

/* Compact variant */
.gacfc--compact {
	padding: 18px;
	max-width: 420px;
}
.gacfc--compact .gacfc__title {
	font-size: 1.1rem;
}
.gacfc--compact .gacfc__field {
	margin-bottom: 12px;
}

@media (max-width: 480px) {
	.gacfc {
		padding: 18px;
		border-radius: 10px;
	}
}
