:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18362c;
  background: #f6f4ef;
}

* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 760px; margin: 0 auto; padding: 32px 24px 48px; }
header { margin-bottom: 28px; }
h1, h2 { line-height: 1.25; }
h1 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.4rem); }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
.eyebrow { margin: 0 0 8px; color: #73502d; font-weight: 700; letter-spacing: .03em; }
.intro { max-width: 60ch; color: #43564e; }
form { display: grid; gap: 24px; }
section, fieldset { border: 1px solid #b9c4bc; border-radius: 12px; padding: 20px; background: #fffdf9; }
fieldset { margin: 0; }
legend { padding: 0 6px; font-weight: 700; }
dl { display: grid; gap: 12px; margin: 0; }
dt { color: #54655d; font-size: .9rem; }
dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.release-text { display: grid; gap: 14px; max-width: 68ch; }
.release-text p { margin: 0; line-height: 1.55; }
label { display: grid; gap: 8px; font-weight: 600; }
input, button { width: 100%; font: inherit; }
input[type="text"] { min-height: 44px; padding: 10px 12px; border: 1px solid #6c7a72; border-radius: 8px; }
.check { grid-template-columns: auto 1fr; align-items: start; margin-top: 14px; font-weight: 500; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; }
button { min-height: 44px; border: 0; border-radius: 8px; padding: 10px 16px; color: #fff; background: #245c47; font-weight: 700; cursor: pointer; }
button:disabled { background: #88948d; cursor: not-allowed; }
button:focus-visible, input:focus-visible { outline: 3px solid #9b4b72; outline-offset: 3px; }
.message { padding: 12px; border-left: 4px solid; white-space: pre-line; line-height: 1.45; }
.error { color: #7e1e1e; border-color: #9a2626; background: #fff4f4; }
.success { color: #155a35; border-color: #217047; background: #f1fbf4; }

@media (max-width: 720px) {
  main { padding: 22px 16px 36px; }
  section, fieldset { padding: 16px; }
}
