
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #24271f;
  background: #f4f1e7;
}
* { box-sizing: border-box; }
body { margin: 0; }
main {
  width: min(760px, calc(100% - 32px));
  margin: 36px auto;
  padding: 28px;
  background: #fffef9;
  border: 1px solid #d9d4c5;
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(34, 39, 29, 0.13);
}
header { margin-bottom: 24px; }
h1 { margin: 4px 0 10px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
p { line-height: 1.6; }
.eyebrow { color: #812d2d; font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.warning { padding: 12px 14px; border-left: 4px solid #812d2d; background: #f8ece8; }
form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; font-weight: 700; }
input, select, textarea, button {
  font: inherit;
}
input, select, textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #bdb7a7;
  border-radius: 10px;
  color: #24271f;
  background: #fff;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus {
  outline: 3px solid rgba(101, 121, 44, .28);
  outline-offset: 2px;
}
.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500;
}
.check input { width: auto; margin-top: 4px; }
button {
  justify-self: start;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #812d2d;
  font-weight: 800;
  cursor: pointer;
}
button:disabled { cursor: not-allowed; opacity: .55; }
button.secondary { color: #812d2d; background: #f8ece8; border: 1px solid #d9aaa2; }
.hint, #status { margin: 0; color: #60665b; }
#status[data-state="error"] { color: #9a2f2f; }
#status[data-state="success"] { color: #2f6b43; }
#receipt { padding: 14px; border: 1px solid #b7c6a2; border-radius: 12px; background: #f2f7e9; }
#receipt code { display: block; margin-top: 8px; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  main { margin: 0; width: 100%; min-height: 100vh; padding: 20px; border: 0; border-radius: 0; }
}
