:root {
  color: #202b25;
  background: #f7f8f4;
  font: 16px/1.55 Inter, "Segoe UI", sans-serif;
}

body { margin: 0; padding: clamp(16px, 6vw, 52px); }
main {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: clamp(18px, 5vw, 40px);
  border: 1px solid #e1e6de;
  border-radius: 22px;
}

h1 { font-size: clamp(26px, 6vw, 36px); line-height: 1.15; margin: 22px 0; }
a { color: #365a35; text-underline-offset: 3px; }
form { display: grid; gap: 16px; }
[hidden] { display: none; }
label { display: grid; gap: 7px; font-weight: 600; }
input, select, textarea, button { box-sizing: border-box; font: inherit; }
input:not([type="checkbox"]), select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: inherit;
  background: #f7f8f4;
  border: 1px solid #cbd7c8;
  border-radius: 10px;
}

textarea { resize: vertical; }
.consent { grid-template-columns: auto 1fr; align-items: start; font-size: 14px; font-weight: 400; }
.consent input { margin-top: 5px; accent-color: #365a35; }
#message-help { margin: -8px 0 0; color: #50604f; font-size: 13px; }
button {
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  background: #283e2e;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 600;
}

button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 2px solid #365a35; outline-offset: 4px; }
#status:empty { display: none; }
