:root {
	--bg: #efe4cf;
	--panel: rgba(249, 242, 230, 0.95);
	--ink: #21160f;
	--muted: #675344;
	--line: rgba(70, 43, 25, 0.18);
	--accent: #8a3118;
	--accent-strong: #5f190a;
	--accent-soft: #c89c65;
	--ok: #2f6744;
	--warn: #8c6422;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Baskerville, Georgia, "Times New Roman", serif;
	color: var(--ink);
	background:
		radial-gradient(circle at top, rgba(164, 102, 59, 0.22), transparent 34%),
		linear-gradient(180deg, #e7d8bd 0%, var(--bg) 100%);
	min-height: 100vh;
}

.page {
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: 24px;
}

.panel {
	width: min(100%, 720px);
	padding: 36px;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: var(--panel);
	box-shadow:
		0 28px 90px rgba(37, 22, 11, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(12px);
	position: relative;
	overflow: hidden;
}

.panel::before {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(138, 49, 24, 0.08);
	border-radius: 20px;
	pointer-events: none;
}

.eyebrow {
	margin: 0 0 12px;
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
}

h1 {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 0.92;
}

.intro {
	margin: 0 0 24px;
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.55;
	max-width: 44rem;
}

.form {
	display: grid;
	gap: 16px;
}

.field {
	display: grid;
	gap: 8px;
}

.field span {
	font-size: 0.92rem;
	font-weight: 700;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

input,
textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px 16px;
	font: inherit;
	color: var(--ink);
	background: rgba(255, 252, 247, 0.82);
	transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

textarea {
	resize: vertical;
	min-height: 132px;
}

input:focus,
textarea:focus {
	outline: 2px solid rgba(141, 47, 23, 0.18);
	border-color: rgba(141, 47, 23, 0.45);
	box-shadow: 0 0 0 4px rgba(200, 156, 101, 0.12);
	background: rgba(255, 255, 255, 0.92);
}

.submit {
	border: 0;
	border-radius: 999px;
	padding: 15px 20px;
	font: inherit;
	font-weight: 700;
	color: #fff8f1;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
	cursor: pointer;
	margin-top: 4px;
	box-shadow: 0 14px 26px rgba(95, 25, 10, 0.2);
	transition: transform 120ms ease, filter 120ms ease;
}

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

.status {
	margin-top: 20px;
	padding: 14px 16px;
	border-radius: 14px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.status-pending {
	background: rgba(138, 91, 18, 0.08);
	color: var(--warn);
	border: 1px solid rgba(138, 91, 18, 0.18);
}

.status-success {
	background: rgba(31, 107, 70, 0.08);
	color: var(--ok);
	border: 1px solid rgba(31, 107, 70, 0.18);
}

.status-error {
	background: rgba(141, 47, 23, 0.08);
	color: var(--accent-strong);
	border: 1px solid rgba(141, 47, 23, 0.18);
}

code {
	font-family: "Courier New", monospace;
}

@media (max-width: 700px) {
	.panel {
		padding: 24px;
		border-radius: 22px;
	}

	.field-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}
