:root {
  --navy: #0d1f2b; --teal: #165a79; --lime: #ccff8b; --bg: #f4f7f9; --card: #ffffff; --text: #16222b; --muted: #55646f; --line: #d7e0e6; --err: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0a161e; --card: #12232e; --text: #eaf1f5; --muted: #a9bac5; --line: #264150; --teal: #6cc0e5; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 17px; line-height: 1.55; }
header.top { background: var(--navy); color: #fff; padding: 14px 16px; }
header.top div { max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header.top a { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .2px; }
header.top span { color: var(--lime); font-size: 14px; }
main { max-width: 720px; margin: 0 auto; padding: 20px 16px 48px; }
h1, h2 { font-family: Merriweather, Georgia, serif; line-height: 1.25; margin: 0 0 12px; color: var(--text); }
h1 { font-size: 1.75rem; } h2 { font-size: 1.3rem; margin-top: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; margin-bottom: 16px; }
.card h2:first-child { margin-top: 0; }
.lead { font-size: 1.1rem; }
.hint, .count { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.count { margin: 8px 0 10px; }
.eyebrow { color: var(--teal); font-weight: 700; font-size: .9rem; margin: 0 0 6px; }
.points { padding-left: 20px; margin: 16px 0 22px; } .points li { margin-bottom: 6px; }
.prog { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.prog span { display: block; height: 100%; background: var(--teal); border-radius: 999px; transition: width .25s; }
.opts { display: grid; gap: 10px; margin-top: 8px; }
.opt { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; }
.opt:hover { border-color: var(--teal); }
.opt:has(input:checked) { border-color: var(--teal); background: rgba(22, 90, 121, .09); }
.opt:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 2px; }
.opt input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--teal); flex: none; }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }
.nav.single { justify-content: flex-start; }
.btn { font: inherit; font-weight: 700; border-radius: 999px; padding: 14px 26px; border: 2px solid transparent; cursor: pointer; text-decoration: none; display: inline-block; min-height: 48px; }
.btn.primary { background: var(--lime); color: var(--navy); }
.btn.primary:hover { filter: brightness(.95); }
.btn.primary:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
textarea, input[type=text], input[type=email], input[type=tel], input:not([type]) { width: 100%; font: inherit; color: var(--text); background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 12px; }
textarea:focus, input:focus { outline: 3px solid var(--lime); border-color: var(--teal); }
.funcs, .checks, .chips { list-style: none; padding: 0; margin: 0; }
.funcs li { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.funcs li:first-child { border-top: 0; }
.checks li { padding: 6px 0 6px 30px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; }
.cta { background: var(--navy); border-color: var(--navy); color: #fff; }
.cta h2, .cta p { color: #fff; }
.cta label { display: block; margin: 12px 0; font-weight: 600; }
.cta input:not([type=checkbox]) { margin-top: 6px; border-color: #36566a; background: #12232e; color: #fff; }
.cta .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.cta .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--lime); }
.cta a { color: var(--lime); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.err { background: #fde9e7; color: var(--err); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
footer { max-width: 720px; margin: 0 auto; padding: 0 16px 32px; color: var(--muted); font-size: .85rem; }
footer a { color: var(--teal); }
@media (min-width: 600px) { h1 { font-size: 2.1rem; } .card { padding: 32px; } }
@media (prefers-reduced-motion: reduce) { .prog span { transition: none; } }
