:root { --accent: #2563eb; --text: #111827; --muted: #6b7280; --border: #e5e7eb; --bg: #f3f4f6; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.45; }
.wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.card { width: 100%; max-width: 640px; background: #fff; border-radius: 16px; padding: 32px 28px; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 24px; font-size: 16px; }
.note { color: var(--muted); font-size: 13px; margin: 12px 0 0; text-align: center; }
.hint { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.start { text-align: center; padding: 16px 0; }

.btn { appearance: none; border: 0; background: var(--accent); color: #fff; font-size: 16px; font-weight: 600; padding: 12px 22px; border-radius: 10px; cursor: pointer; transition: opacity .15s, transform .05s; }
.btn:hover { opacity: .92; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-big { width: 100%; padding: 16px; font-size: 18px; }
.btn-ghost { background: transparent; color: var(--muted); padding-left: 0; }

.progress { margin-bottom: 20px; }
.progress-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.bar { height: 6px; background: var(--border); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); transition: width .3s; }

.options { display: grid; gap: 10px; margin: 16px 0 8px; }
.option { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font-size: 16px; padding: 14px 16px; border: 2px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--accent); }
.option .mark { flex: none; width: 20px; height: 20px; border: 2px solid var(--border); border-radius: 50%; position: relative; }
.option.multi .mark { border-radius: 5px; }
.option.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, #fff); }
.option.selected .mark { border-color: var(--accent); background: var(--accent); }
.option.selected .mark::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.nav { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid var(--border); border-radius: 10px; outline: none; margin-top: 12px; }
.input:focus { border-color: var(--accent); }
textarea.input { resize: vertical; }
.contact .field { display: block; margin-bottom: 12px; }
.contact .field span { display: block; font-size: 14px; font-weight: 600; }
.contact .field .input { margin-top: 6px; }
.contact .btn-big { margin-top: 8px; }
.error { color: #dc2626; font-size: 14px; min-height: 20px; }
.field-error { color: #dc2626; font-size: 13px; font-weight: 400; margin-top: 4px; }
.field-error:empty { display: none; }
.input.invalid { border-color: #dc2626; }
.input.valid { border-color: #16a34a; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.thanks { text-align: center; padding: 24px 0; }
.thanks .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }

@media (max-width: 480px) {
  .card { padding: 24px 18px; border-radius: 12px; }
  h1 { font-size: 23px; }
  h2 { font-size: 19px; }
}
