:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #dbe2ea;
  --primary: #0f62fe;
  --primary-dark: #0b4fd1;
  --secondary: #eef2f7;
  --success: #e8f8ef;
  --warning: #fff7e6;
  --danger: #fdecec;
  --radius: 18px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 16px 48px;
}
.hero {
  margin-bottom: 22px;
}
.eyebrow {
  display: inline-block;
  background: #eaf1ff;
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  margin-bottom: 8px;
}
h1 {
  margin: 0 0 10px;
  font-size: 36px;
}
.lead {
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 720px;
}
.hero-points {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-points div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 30px rgba(15, 25, 40, 0.05);
}
.progress-wrap { margin-bottom: 24px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.progress-bar {
  height: 10px;
  background: #edf1f6;
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 17%;
  background: linear-gradient(90deg, var(--primary), #5aa0ff);
  transition: width .25s ease;
}
.step { display: none; }
.step.active { display: block; }
h2 { margin-top: 0; margin-bottom: 16px; }
.field {
  display: block;
  margin-bottom: 16px;
}
.field > span, .field > legend {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  background: white;
}
fieldset.field {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
fieldset.field label {
  display: block;
  margin-bottom: 8px;
}
.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
}
.nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
}
.btn.primary {
  background: var(--primary);
  color: white;
}
.btn.primary:hover { background: var(--primary-dark); }
.btn.secondary {
  background: var(--secondary);
  color: var(--text);
}
.result-box {
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: #f9fbfd;
}
.message {
  margin-top: 18px;
  border-radius: 12px;
  padding: 14px;
}
.message.success { background: var(--success); }
.message.error { background: var(--danger); }
.message.hidden { display: none; }
.small {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .card { padding: 16px; }
}
