:root {
  --maxw: 880px;
  --radius: 12px;
  --space: 14px;
  --space-lg: 22px;
  --shadow: 0 10px 28px rgba(0,0,0,0.08);
  --border: 1px solid #e5e7eb;
  --muted: #6b7280;
  --accent: #1f2937;
  --accent-2: #334155;
  --bg: #f8fafc;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans';
  line-height: 1.5;
  color: #111827;
  background: var(--bg);
}
.header { background: #ffffffcc; backdrop-filter: saturate(140%) blur(6px); border-bottom: var(--border); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 18px var(--space); }
.title { margin: 8px 0 10px 0; }
.subtitle { color: var(--muted); margin-top: 0; }
.progress { width: 100%; height: 10px; background: #eef2ff; border-radius: 99px; overflow: hidden; border: var(--border); }
.progress > div { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 220ms ease; }
.card { background: white; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--space-lg); margin: var(--space-lg) auto; }
.step { display: none; }
.step.active { display: block; }
fieldset { border: none; margin: 0; padding: 0; }
legend { font-weight: 700; margin-bottom: 6px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(12, 1fr); }
.col-12 { grid-column: span 12; } .col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-3 { grid-column: span 3; }
@media (max-width: 780px) { .col-6, .col-4, .col-3 { grid-column: span 12; } }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { color: var(--muted); font-size: 0.92rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 11px 12px; border: var(--border); border-radius: 10px; outline: none; background: white;
}
textarea { min-height: 84px; }
.opt { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: var(--border); border-radius: 10px; margin: 6px 8px 6px 0; background: #fff; }
.opt input { margin: 0; }
.row { margin-top: 10px; }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--space-lg); }
button { appearance: none; border: none; border-radius: 10px; padding: 10px 14px; font-weight: 700; cursor: pointer; }
.btn { background: var(--accent); color: white; }
.btn.secondary { background: #e5e7eb; color: #111827; }
.summary { background: #f8fafc; border: var(--border); border-radius: 12px; padding: 12px; font-size: 0.95rem; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-weight: 700; border: var(--border); background: white; margin-right: 8px; margin-bottom: 6px; }
.pill.red { border-color: #ef4444; color: #991b1b; } .pill.yellow { border-color: #f59e0b; color: #92400e; } .pill.green { border-color: #10b981; color: #065f46; }
.footer-note { color: var(--muted); font-size: 0.9rem; }
.hp { position: absolute; left: -9999px; opacity: 0; width: 0; height: 0; overflow: hidden; }
