.ks-form {
	--ks-ink: #0B0F0D;
	--ks-muted: #565C59;
	--ks-brand: #0F5B3A;
	--ks-brand-deep: #07291B;
	--ks-ground: #F4FBF7;
	--ks-line: #DCE5E0;
	--ks-danger: #C0392B;
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-family: Manrope, sans-serif;
}
.ks-form .ks-row { display: flex; gap: 18px; }
.ks-form .ks-row > .ks-field { flex: 1 1 0; min-width: 0; }
.ks-form .ks-field { display: flex; flex-direction: column; gap: 8px; }
.ks-form label { font-size: 14px; font-weight: 700; color: var(--ks-ink); }
.ks-form label span { color: var(--ks-brand); }
.ks-form input[type="text"],
.ks-form input[type="email"],
.ks-form input[type="tel"],
.ks-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 16px;
	color: var(--ks-ink);
	background: var(--ks-ground);
	border: 1px solid var(--ks-line);
	border-radius: 12px;
	padding: 13px 15px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ks-form textarea { resize: vertical; min-height: 130px; }
.ks-form input::placeholder, .ks-form textarea::placeholder { color: #7A817D; }
.ks-form input:focus, .ks-form textarea:focus {
	outline: none;
	border-color: var(--ks-brand);
	box-shadow: 0 0 0 3px rgba(15, 91, 58, .15);
	background: #fff;
}
.ks-form .ks-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ks-form .ks-submit {
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: var(--ks-brand);
	border: 0;
	border-radius: 999px;
	padding: 15px 30px;
	cursor: pointer;
	transition: background .15s ease, transform .1s ease;
}
.ks-form .ks-submit:hover { background: var(--ks-brand-deep); }
.ks-form .ks-submit:active { transform: translateY(1px); }
.ks-form .ks-submit:disabled { opacity: .65; cursor: wait; }
.ks-form .ks-status { margin: 0; font-size: 15px; line-height: 1.5; }
.ks-form .ks-status:empty { display: none; }
.ks-form .ks-status.is-ok { color: var(--ks-brand); background: #E3F4EA; padding: 12px 16px; border-radius: 12px; }
.ks-form .ks-status.is-error { color: var(--ks-danger); background: #FCECEA; padding: 12px 16px; border-radius: 12px; }
@media (max-width: 600px) {
	.ks-form .ks-row { flex-direction: column; }
	.ks-form .ks-submit { width: 100%; }
}

.ks-form .ks-pow { display: flex; align-items: center; gap: 8px; margin: -4px 0 0; font-size: 13px; line-height: 1.4; color: var(--ks-muted); }
.ks-form .ks-pow svg { width: 16px; height: 16px; flex: 0 0 16px; }
.ks-form .ks-pow .ks-pow-tick { opacity: 0; transition: opacity .2s ease; }
.ks-form .ks-pow[data-state="working"] svg { animation: ks-pulse 1s ease-in-out infinite; }
.ks-form .ks-pow[data-state="verified"] { color: var(--ks-brand); }
.ks-form .ks-pow[data-state="verified"] .ks-pow-tick { opacity: 1; }
.ks-form .ks-pow[data-state="error"] { color: var(--ks-danger); }
@keyframes ks-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ks-form .ks-pow[data-state="working"] svg { animation: none; } }
