.zpw-lead-form {
	--zpw-form-accent: #c7124a;
	--zpw-form-accent-dark: #9f0e3a;
	--zpw-form-border: #b8c5c5;
	--zpw-form-text: #1c2a2d;
	--zpw-form-muted: #526064;
	max-width: 760px;
	color: var(--zpw-form-text);
}

.zpw-lead-form,
.zpw-lead-form * {
	box-sizing: border-box;
}

.zpw-lead-form__form {
	display: grid;
	gap: 1.25rem;
}

.zpw-lead-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.zpw-lead-form__field {
	display: grid;
	gap: 0.45rem;
}

.zpw-lead-form label {
	font-weight: 700;
	line-height: 1.4;
}

.zpw-lead-form input[type="text"],
.zpw-lead-form input[type="email"],
.zpw-lead-form input[type="tel"],
.zpw-lead-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--zpw-form-border);
	border-radius: 10px;
	background: #fff;
	color: var(--zpw-form-text);
	font: inherit;
}

.zpw-lead-form textarea {
	min-height: 150px;
	resize: vertical;
}

.zpw-lead-form input:focus-visible,
.zpw-lead-form textarea:focus-visible,
.zpw-lead-form button:focus-visible,
.zpw-lead-form a:focus-visible {
	outline: 3px solid #69d5b5;
	outline-offset: 3px;
}

.zpw-lead-form__hint,
.zpw-lead-form__required-hint {
	color: var(--zpw-form-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.zpw-lead-form__required-hint {
	margin: 0;
}

.zpw-lead-form__consent {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	align-items: start;
	gap: 0.75rem;
}

.zpw-lead-form__consent input {
	width: 20px;
	height: 20px;
	margin: 0.15rem 0 0;
	accent-color: var(--zpw-form-accent);
}

.zpw-lead-form__consent label {
	font-weight: 400;
}

.zpw-lead-form__submit {
	justify-self: start;
	min-height: 48px;
	padding: 0.8rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: var(--zpw-form-accent);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.zpw-lead-form__submit:hover {
	background: var(--zpw-form-accent-dark);
}

.zpw-lead-form__notice {
	margin: 0 0 1.25rem;
	padding: 1rem;
	border: 2px solid;
	border-radius: 10px;
	font-weight: 700;
	line-height: 1.5;
}

.zpw-lead-form__notice--success {
	border-color: #18864b;
	background: #ecfdf3;
	color: #14532d;
}

.zpw-lead-form__notice--error {
	border-color: #b42318;
	background: #fff1f0;
	color: #7a271a;
}

.zpw-lead-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 640px) {
	.zpw-lead-form__grid {
		grid-template-columns: 1fr;
	}

	.zpw-lead-form__submit {
		width: 100%;
	}
}

