.tl-contact-form-wrap {
	--tl-ink: #33241d;
	--tl-muted: #75645a;
	--tl-line: #e2d6c9;
	--tl-paper: #fffaf4;
	--tl-clay: #a94f2a;
	color: var(--tl-ink);
	max-width: 760px;
}

.tl-contact-form {
	background: var(--tl-paper);
	border: 1px solid var(--tl-line);
	border-radius: 18px;
	padding: clamp(1.25rem, 4vw, 2.25rem);
}

.tl-contact-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
}

.tl-contact-field {
	margin: 0;
}

.tl-contact-field--full {
	grid-column: 1 / -1;
}

.tl-contact-field label {
	display: block;
	font-weight: 600;
	margin: 0 0 0.45rem;
}

.tl-contact-field input,
.tl-contact-field select,
.tl-contact-field textarea {
	background: #fff;
	border: 1px solid var(--tl-line);
	border-radius: 10px;
	box-sizing: border-box;
	color: var(--tl-ink);
	font: inherit;
	padding: 0.8rem 0.9rem;
	width: 100%;
}

.tl-contact-field input:focus,
.tl-contact-field select:focus,
.tl-contact-field textarea:focus {
	border-color: var(--tl-clay);
	outline: 3px solid rgb(169 79 42 / 18%);
}

.tl-contact-field textarea {
	min-height: 150px;
	resize: vertical;
}

.tl-contact-privacy {
	color: var(--tl-muted);
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 1.25rem 0;
}

.tl-contact-privacy a {
	color: var(--tl-clay);
}

.tl-contact-submit {
	background: var(--tl-clay);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0.9rem 1.5rem;
}

.tl-contact-submit:hover,
.tl-contact-submit:focus-visible {
	background: #823b20;
}

.tl-contact-notice {
	border-radius: 10px;
	margin: 0 0 1rem;
	padding: 0.9rem 1rem;
}

.tl-contact-notice--success {
	background: #edf5e8;
	color: #294d2d;
}

.tl-contact-notice--error {
	background: #fff0e8;
	color: #7d2d17;
}

.tl-contact-honeypot {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	top: auto;
	width: 1px;
}

@media (max-width: 600px) {
	.tl-contact-fields {
		grid-template-columns: 1fr;
	}
	.tl-contact-field--full {
		grid-column: auto;
	}
}