:root {
  --bg: #0a1220;
  --panel: #111c2e;
  --line: #22324a;
  --text: #e6edf6;
  --muted: #9fb0c6;
  --accent: #5fc4e8;
  --accent-ink: #06202c;
  --ok: #7fd6a4;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fb;
    --panel: #ffffff;
    --line: #d9e1ec;
    --text: #0e1a2b;
    --muted: #4d5f77;
    --accent: #1b6fa6;
    --accent-ink: #ffffff;
    --ok: #1d7a4a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.top { padding: 28px 0 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font-weight: 700; font-size: 20px; letter-spacing: 0.2px; }

main { padding-bottom: 40px; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 36px 0 16px; }
h2 { font-size: 24px; margin: 48px 0 12px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 10px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; }
.stat .num { display: block; font-size: 30px; font-weight: 750; color: var(--accent); line-height: 1.15; }
.stat .label { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

form { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-top: 16px; }
.field { margin-bottom: 14px; }
label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
button {
  font: inherit;
  font-weight: 650;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 8px;
  padding: 11px 22px;
  cursor: pointer;
}
button:hover { filter: brightness(1.08); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; margin: 36px 0 0; }
.done { font-size: 22px; color: var(--ok); font-weight: 650; margin-top: 40px; }

footer { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
footer .links a { margin-right: 14px; }

.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
