:root { color-scheme: light dark; --fg:#1c2733; --bg:#fbfaf7; --mut:#5d6b79; --line:#c9d2db; --acc:#1b6fb8; --bad:#b3261e; --card:#fff; }
@media (prefers-color-scheme: dark) { :root { --fg:#d7dee6; --bg:#10161d; --mut:#97a6b5; --line:#34414e; --acc:#7fb3e8; --bad:#ff8a80; --card:#16202a; } }
* { box-sizing: border-box; margin: 0; }
body { font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); }
header.site { max-width: 660px; margin: 0 auto; padding: 18px 20px 0; }
.wordmark { font-weight: 700; letter-spacing: -0.02em; font-size: 1.1rem; }
main { max-width: 660px; margin: 0 auto; padding: 16px 20px 56px; }
h1 { font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.2; margin: 18px 0 10px; overflow-wrap: anywhere; hyphens: auto; }
h2 { font-size: 1.3rem; margin: 0 0 8px; }
p { margin: 10px 0; }
.lead { color: var(--mut); margin-bottom: 22px; }
a { color: var(--acc); }
.field { margin: 14px 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.opt { font-weight: 400; color: var(--mut); }
input, select, textarea { width: 100%; font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; min-height: 46px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid var(--acc); outline-offset: 1px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 4px 14px 10px; margin: 20px 0 14px; min-width: 0; }
legend { font-weight: 700; padding: 0 6px; }
.hint { color: var(--mut); font-size: 0.9rem; margin: 4px 0 0; }
.err { color: var(--bad); font-size: 0.92rem; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--bad); }
.check label.row { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 0.95rem; min-height: 44px; }
.check input[type=checkbox] { width: 24px; height: 24px; min-height: 24px; flex: none; margin-top: 2px; padding: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button { font: inherit; font-weight: 700; color: #fff; background: var(--acc); border: 0; border-radius: 10px; min-height: 50px; padding: 0 26px; width: 100%; cursor: pointer; margin-top: 8px; }
@media (prefers-color-scheme: dark) { button { color: #0b1117; } }
button[disabled] { opacity: 0.6; cursor: progress; }
.done { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-top: 24px; }
.legal h2 { margin-top: 26px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
footer { max-width: 660px; margin: 0 auto; padding: 0 20px 40px; color: var(--mut); font-size: 0.88rem; display: flex; gap: 6px 16px; flex-wrap: wrap; }
footer a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
[hidden] { display: none !important; }

a.wordmark { text-decoration: none; color: inherit; }
