:root {
  --blue: #29b6f6;
  --blue-dark: #0288d1;
  --bg: #0b1220;
  --card: #111c30;
  --field: #16233a;
  --border: #1e3252;
  --text: #e6edf6;
  --muted: #7b8aa3;
  --green: #34d399;
  --red: #f87171;
  --amber: #fbbf24;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #14223c 0%, var(--bg) 60%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
}

.wrap {
  max-width: 540px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.brand { text-align: center; margin-bottom: 24px; }
.brand-logo { height: 40px; width: auto; }

.steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--blue); transform: scale(1.3); }
.dot.done { background: var(--blue-dark); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.screen.center { text-align: center; }

h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.25; }
h2 { font-size: 19px; font-weight: 700; margin-top: 14px; }
.sub { color: var(--muted); margin-top: 10px; margin-bottom: 22px; font-size: 14.5px; }
.sub strong { color: var(--text); }

.lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted);
  margin: 16px 0 6px;
}

.inp {
  width: 100%;
  padding: 12px 14px;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.15s;
}
.inp:focus { border-color: var(--blue); }
.inp::placeholder { color: #44557a; }
select.inp { cursor: pointer; }

textarea.inp { resize: vertical; min-height: 76px; font-family: inherit; line-height: 1.5; }

.btn {
  width: 100%;
  margin-top: 22px;
  padding: 13px;
  background: var(--blue-dark);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.btn:hover { background: #0277bd; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.ghost {
  margin-top: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn.ghost:hover { background: var(--field); color: var(--text); }

.foot { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.link {
  background: none; border: none; color: var(--blue);
  cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0;
}
.dotsep { margin: 0 8px; color: var(--border); }

.note { margin-top: 16px; font-size: 12px; color: #59678a; line-height: 1.5; }
.hint { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.protip { font-size: 13px; color: var(--amber); margin-bottom: 8px; }

.err {
  margin-top: 12px;
  background: #2a1115;
  border: 1px solid #5b1d22;
  color: var(--red);
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
}

.howto {
  margin-top: 14px;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
}
.howto b { color: var(--text); }
.howto ol { margin: 8px 0 0 18px; }
.howto li { margin: 5px 0; }
.howto a { color: var(--blue); }

.choice { margin-top: 8px; }
.choice-card {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
  color: var(--text);
}
.choice-card:hover { border-color: var(--blue); transform: translateY(-1px); }
.choice-title { display: block; font-weight: 700; font-size: 15px; }
.choice-desc { display: block; color: var(--muted); margin-top: 3px; font-size: 14px; }
.choice-meta { display: block; color: #4a5a7d; margin-top: 8px; font-size: 12px; }
.or { text-align: center; color: var(--border); margin: 12px 0; font-size: 13px; }

.field-group { margin-bottom: 16px; }
.field-group .lbl { margin-top: 0; }
.field-group .fhint { font-size: 12px; color: #59678a; margin-top: 5px; }

.review { margin: 6px 0 4px; }
.review-item {
  border: 1px solid var(--border);
  background: var(--field);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.review-item .rk {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.6px; color: var(--blue);
}
.review-item .rv { margin-top: 5px; font-size: 14px; white-space: pre-wrap; color: var(--text); }

.spinner {
  width: 34px; height: 34px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  margin: 10px auto;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.check {
  width: 56px; height: 56px; margin: 0 auto 8px;
  background: rgba(52,211,153,0.12);
  border: 2px solid var(--green);
  color: var(--green);
  border-radius: 50%;
  font-size: 28px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.inline-ic { height: 16px; width: 16px; vertical-align: text-bottom; border-radius: 4px; }
