:root {
  --bg: #faf7f2;
  --ink: #1f1d1a;
  --muted: #6b665f;
  --accent: #8a5a44;
  --accent-ink: #fff;
  --border: #d9d2c5;
  --error: #b3261e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

header {
  text-align: center;
  margin-bottom: 32px;
}

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

h1 {
  font-size: 40px;
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.meta {
  color: var(--muted);
  margin: 0;
}

.details {
  text-align: center;
  margin-bottom: 32px;
  color: var(--muted);
}

form {
  display: grid;
  gap: 20px;
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

input[type="text"],
textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  width: 100%;
}

input[type="text"]:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

legend {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  padding: 0;
}

.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
}

button {
  font: inherit;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.15s;
}

button:hover {
  opacity: 0.9;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#status {
  margin: 0;
  font-size: 14px;
  min-height: 20px;
  color: var(--muted);
}

#status.success {
  color: var(--accent);
  font-weight: 500;
}

#status.error {
  color: var(--error);
}
