:root {
  --bg: #f6f4ef;
  --card: #ffffff;
  --ink: #1e1c19;
  --muted: #6b6560;
  --line: #e2ddd4;
  --accent: #b23a2e;
  --accent-ink: #ffffff;
  --success: #2f6f4f;
  --error: #a12b23;
  --radius: 14px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.intro {
  margin-bottom: 1.75rem;
}

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
}

.intro p {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

.card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  margin-bottom: 1.1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.req {
  color: var(--accent);
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

input:focus,
textarea:focus {
  border-color: transparent;
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 0.45rem;
  background: #faf8f4;
}

.hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.g-recaptcha {
  margin-top: 0.2rem;
}

.submit {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 700;
  color: var(--accent-ink);
  cursor: pointer;
  background: var(--accent);
  border: 0;
  border-radius: 9px;
}

.submit:hover:not(:disabled) {
  filter: brightness(0.94);
}

.submit:disabled {
  cursor: progress;
  opacity: 0.6;
}

.status {
  min-height: 1.4rem;
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
}

.status[data-state="success"] {
  color: var(--success);
}

.status[data-state="error"] {
  color: var(--error);
}

.status[data-state="pending"] {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
