:root { color-scheme: light dark; --fg: #1b1b1b; --bg: #fff; --muted: #555; --line: #c9c9c9; --accent: #1f5f4a; --err: #a40000; }
@media (prefers-color-scheme: dark) { :root { --fg: #f1f1f1; --bg: #161616; --muted: #b5b5b5; --line: #444; --accent: #6fd1ad; --err: #ff8a8a; } }
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fg); background: var(--bg); }
main { max-width: 34rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
h1 { font-size: 1.6rem; margin: 0.5rem 0; }
h2 { font-size: 1.1rem; margin-top: 2rem; }
.lead { color: var(--muted); margin-top: 0; }
label { display: block; margin: 1rem 0 0.25rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
input, select { width: 100%; padding: 0.7rem; font: inherit; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 6px; }
input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.25rem; padding: 0.9rem; border: 1px solid var(--line); border-radius: 6px; }
.consent input { width: 1.4rem; height: 1.4rem; margin: 0.15rem 0 0; flex: none; }
.consent label { margin: 0; font-weight: 400; }
button { margin-top: 1.25rem; width: 100%; padding: 0.9rem; font: inherit; font-weight: 700; color: #fff; background: var(--accent); border: 0; border-radius: 6px; cursor: pointer; }
@media (prefers-color-scheme: dark) { button { color: #0b0b0b; } }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.error { color: var(--err); font-weight: 600; }
.done { padding: 1rem; border: 1px solid var(--accent); border-radius: 6px; }
.privacy { margin-top: 2.5rem; color: var(--muted); font-size: 0.92rem; }
.privacy ul { padding-left: 1.1rem; }
.privacy li { margin-bottom: 0.5rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
