/* =========================================================
 * PM Calculator Funnel — email capture styling
 * Designed to drop into the existing pm-calc-* design language
 * used by the calculator templates.
 * ========================================================= */

.pmcf-funnel {
	padding: 3rem 0;
	background: #f7f6f2;
	border-top: 1px solid #ece9df;
	border-bottom: 1px solid #ece9df;
}

.pmcf-funnel__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.pmcf-funnel__headline {
	font-size: 1.75rem;
	line-height: 1.25;
	margin: 0.5rem 0 0.75rem;
	font-weight: 700;
}

.pmcf-funnel__subline {
	font-size: 1rem;
	line-height: 1.5;
	color: #4a4a4a;
	margin: 0 auto 1.5rem;
	max-width: 560px;
}

.pmcf-funnel__form {
	max-width: 520px;
	margin: 0 auto;
	text-align: left;
}

.pmcf-funnel__label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: #2a2a2a;
}

.pmcf-funnel__row {
	display: flex;
	gap: 0.5rem;
	align-items: stretch;
}

.pmcf-funnel__input {
	flex: 1 1 auto;
	padding: 0.75rem 0.9rem;
	font-size: 1rem;
	border: 1px solid #d4d0c4;
	border-radius: 6px;
	background: #fff;
	min-width: 0;
}

.pmcf-funnel__input:focus {
	outline: none;
	border-color: #2a6c5d;
	box-shadow: 0 0 0 3px rgba(42, 108, 93, 0.15);
}

.pmcf-funnel__btn {
	flex: 0 0 auto;
	white-space: nowrap;
}

.pmcf-funnel__legal {
	font-size: 0.8rem;
	color: #6a6a6a;
	margin-top: 0.75rem;
	line-height: 1.4;
}

.pmcf-funnel__legal a {
	color: inherit;
	text-decoration: underline;
}

.pmcf-funnel__error {
	margin-top: 0.75rem;
	padding: 0.6rem 0.8rem;
	background: #fdecea;
	border: 1px solid #f5c2bd;
	color: #8a1f15;
	border-radius: 6px;
	font-size: 0.9rem;
}

.pmcf-funnel__success {
	padding: 1.5rem;
	background: #e9f5f0;
	border: 1px solid #b9dfd0;
	border-radius: 8px;
	text-align: center;
}

.pmcf-funnel__success-title {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
	color: #1e4f43;
}

.pmcf-funnel__success-text {
	margin: 0;
	color: #2e5f52;
}

@media (max-width: 600px) {
	.pmcf-funnel { padding: 2rem 0; }
	.pmcf-funnel__row { flex-direction: column; }
	.pmcf-funnel__btn { width: 100%; }
	.pmcf-funnel__headline { font-size: 1.5rem; }
}
