:root {
  color-scheme: light;
  --ink: #17362f;
  --muted: #536a64;
  --paper: #fbfaf4;
  --mint: #d9f2e7;
  --forest: #155a49;
  --line: #c8d9d2;
  --warn: #fff4cf;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
header, main, footer { width: min(760px, calc(100% - 32px)); margin-inline: auto; }
header { padding: 40px 0 18px; }
nav { display: flex; flex-wrap: wrap; gap: 16px; }
a { color: var(--forest); text-underline-offset: 3px; }
h1 { margin: 24px 0 8px; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.08; }
h2 { margin-top: 34px; line-height: 1.25; }
.lead { color: var(--muted); font-size: 1.12rem; }
.card, .notice {
  margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px;
  background: white;
}
.notice { background: var(--warn); }
label { display: block; margin-top: 16px; font-weight: 650; }
input {
  width: 100%; margin-top: 6px; padding: 12px; border: 1px solid #789089;
  border-radius: 9px; font: inherit; background: white;
}
input:focus { outline: 3px solid #8ed4bd; outline-offset: 2px; }
button {
  margin-top: 20px; padding: 12px 18px; border: 0; border-radius: 9px;
  color: white; background: var(--forest); font: inherit; font-weight: 700; cursor: pointer;
}
button:focus { outline: 3px solid #8ed4bd; outline-offset: 3px; }
.small, footer { color: var(--muted); font-size: .92rem; }
footer { padding: 42px 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
