:root {
  color-scheme: light;
  --forest: #29372d;
  --paper: #f7f1e5;
  --cream: #fffaf0;
  --ink: #26322a;
  --wine: #783f45;
  --ochre: #79582f;
  --sage: #dce4d8;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--forest);
  font-size: 17px;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.sheet {
  width: min(100%, 720px); min-height: min(78vh, 760px); padding: clamp(24px, 7vw, 72px);
  background: var(--cream); border: 1px solid #d9d1c2; box-shadow: 0 24px 80px #1118;
  display: flex; flex-direction: column; justify-content: center;
}
.eyebrow { color: var(--ochre); letter-spacing: .16em; font-size: .78rem; font-weight: 700; }
h1 { color: var(--forest); font: 500 clamp(2rem, 7vw, 3.2rem)/1.12 Georgia, "Times New Roman", serif; margin: 1.2rem 0; }
.message { line-height: 1.65; max-width: 62ch; }
.content { margin-top: 1.8rem; }
form { display: grid; gap: 1.15rem; }
label { display: grid; gap: .5rem; font-weight: 600; }
input:not([type=checkbox]) { min-height: 52px; width: 100%; padding: 12px 14px; border: 1px solid #797b70; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; }
input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--forest); }
.inline { display: flex; align-items: center; gap: .65rem; }
button, .button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px;
  border: 1px solid var(--forest); border-radius: 4px; background: var(--forest); color: var(--cream);
  font: inherit; text-decoration: none; cursor: pointer;
}
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: .2em; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.content > a { display: inline-block; margin: 8px 14px 8px 0; }
footer { border-top: 1px solid #d9d1c2; margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; color: #515349; font-size: .82rem; }
@media (max-width: 430px) { body { padding: 0; } .sheet { min-height: 100vh; padding: 28px 22px; border: 0; } footer { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; } }
