:root {
  --bg: #fbfaf7;
  --fg: #1c1b19;
  --muted: #6b6760;
  --line: #e4e0d8;
  --field-line: #c9c4ba;
  --card: #ffffff;
  --accent: #1f3a5f;
  --accent-fg: #ffffff;
  --error: #a3261d;
  --ok: #1d6b3a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --fg: #ecebe8;
    --muted: #a19d95;
    --line: #2b2a28;
    --field-line: #4a4844;
    --card: #1a1a19;
    --accent: #8fb3e0;
    --accent-fg: #0d1a2b;
    --error: #ff8a80;
    --ok: #7bd69b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--sans);
}
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
header.site {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
header.site .name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--fg); text-decoration: none; }
header.site nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
header.site nav a:hover { color: var(--fg); }
.hero { padding: 72px 0 40px; }
.hero h1 { font-family: var(--serif); font-size: clamp(38px, 7vw, 56px); line-height: 1.08; margin: 0 0 20px; font-weight: 600; letter-spacing: -0.01em; }
.hero p { font-size: 19px; color: var(--muted); margin: 0; max-width: 560px; }
section { padding: 32px 0; }
h2 { font-family: var(--serif); font-size: 28px; margin: 0 0 12px; font-weight: 600; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
form .field { margin-bottom: 18px; }
label.lbl { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
input[type=text], input[type=email], input[type=tel] {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--fg);
  background: var(--bg); border: 1px solid var(--field-line); border-radius: 10px;
}
input:focus-visible, button:focus-visible, .consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.consent label { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.consent label strong { color: var(--fg); }
button {
  font: inherit; font-weight: 600; padding: 12px 22px; border: 0; border-radius: 10px;
  background: var(--accent); color: var(--accent-fg); cursor: pointer;
}
button[disabled] { opacity: .6; cursor: progress; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
.status { margin-top: 16px; font-size: 15px; min-height: 1.4em; }
.status.error { color: var(--error); }
.status.ok { color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 48px; font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); margin-right: 18px; }
.legal h1 { font-family: var(--serif); font-size: 40px; margin: 56px 0 8px; }
.legal .dates { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal h3 { font-size: 17px; margin: 20px 0 6px; }
.legal li { margin-bottom: 6px; }
