.delyriaz-contact {
	--dc-accent: #2563eb;
	--dc-radius: 10px;
	--dc-gap: 18px;
	--dc-max-width: 900px;
	width: 100%;
	max-width: var(--dc-max-width);
	margin-inline: auto;
	color: inherit;
}

.delyriaz-contact *,
.delyriaz-contact *::before,
.delyriaz-contact *::after {
	box-sizing: border-box;
}

.dc-form {
	display: grid;
	gap: var(--dc-gap);
	width: 100%;
}

.dc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--dc-gap);
}

.dc-field {
	display: grid;
	gap: 0.42rem;
}

.dc-field label {
	font-size: 0.94rem;
	font-weight: 650;
}

.dc-field input,
.dc-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 0.75rem 0.9rem;
	border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	border-radius: var(--dc-radius);
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1.45;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.dc-field input:focus,
.dc-field textarea:focus {
	border-color: var(--dc-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--dc-accent) 20%, transparent);
	outline: none;
}

.dc-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.dc-submit {
	min-height: 46px;
	padding: 0.72rem 1.3rem;
	border: 1px solid var(--dc-accent);
	border-radius: var(--dc-radius);
	background: var(--dc-accent);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	transition: filter 0.16s ease, transform 0.16s ease;
}

.dc-submit:hover {
	filter: brightness(0.92);
	transform: translateY(-1px);
}

.dc-submit:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--dc-accent) 30%, transparent);
	outline-offset: 3px;
}

.dc-submit:disabled {
	cursor: wait;
	opacity: 0.7;
}

.dc-response {
	font-weight: 600;
}

.dc-response.is-success {
	color: #15803d;
}

.dc-response.is-error {
	color: #b91c1c;
}

.dc-field-privacy label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-weight: 500;
	cursor: pointer;
}

.dc-field-privacy input {
	width: 18px;
	min-width: 18px;
	height: 18px;
	min-height: 18px;
	margin-top: 0.15rem;
	accent-color: var(--dc-accent);
}

.dc-trap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

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

@media (prefers-reduced-motion: reduce) {
	.dc-field input,
	.dc-field textarea,
	.dc-submit {
		transition: none;
	}
}
