:root {
  --bg: #faf7f2;
  --fg: #2a2320;
  --muted: #756b64;
  --card: #ffffff;
  --border: #e7dfd6;
  --accent: #8a4b2a;
  --accent-fg: #ffffff;
  --err: #b4342a;
  --ok: #1f7a3a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.hero h1 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.hero .lead {
  color: var(--muted);
  margin: 0 0 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
label > span em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

input, textarea {
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  transition: border-color .15s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
}

textarea { resize: vertical; }

.row { display: flex; gap: 12px; }
.row .grow { flex: 1 1 120px; }
.row .grow2 { flex: 2 1 200px; }

.consent { margin-top: 4px; }
.chk { flex-direction: row; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); }
.chk input { margin-top: 2px; }

.cf-turnstile { margin: 4px 0 0; }

button[type="submit"] {
  font: inherit;
  background: var(--accent);
  color: var(--accent-fg);
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
button[type="submit"]:hover { opacity: 0.92; }
button[type="submit"]:disabled { opacity: 0.5; cursor: progress; }

.result { margin: 0; font-size: 14px; min-height: 20px; }
.result.err { color: var(--err); }
.result.ok  { color: var(--ok); }

.foot {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 480px) {
  .row { flex-direction: column; }
  .hero h1 { font-size: 24px; }
}
