.onboarding-wrap {
  padding-top: 36px;
  padding-bottom: 60px;
  display: flex;
  justify-content: center;
}

.wiz-card {
  max-width: 440px;
  width: 100%;
}

.wiz-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.wiz-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.wiz-back:hover { opacity: 0.6; }
.wiz-progress {
  flex: 1;
  display: flex;
  gap: 6px;
}
.wiz-progress-seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--hairline);
  transition: background 0.2s ease;
}
.wiz-progress-seg.done { background: var(--red); }
.wiz-progress-seg.active { background: var(--ink); }

.wiz-step {
  animation: wiz-fade-in 0.22s ease;
}
@keyframes wiz-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .wiz-step { animation: none; }
}

.wiz-step h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: -0.3px;
  line-height: 1.15;
  margin: 10px 0 6px;
  text-wrap: balance;
}
.wiz-step .kicker { margin-bottom: 4px; }
.wiz-hint {
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
/* Steps with no hint paragraph (single-select ones) need the heading's own
   small bottom margin topped up before the option rows start. */
.wiz-step h2 + .opt-list { margin-top: 20px; }

.opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.opt-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper-dim);
  border: 2px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.opt-card:hover { border-color: var(--ink); }
.opt-card .opt-icon { font-size: 20px; line-height: 1; }
.opt-card.selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.opt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper-dim);
  border: 2px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.opt-row:hover { border-color: var(--ink); }
.opt-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ink-soft);
  flex-shrink: 0;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.opt-row.selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.opt-row.selected .opt-check {
  border-color: var(--paper);
  background: var(--paper);
}
.opt-row.selected .opt-check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 10px;
  height: 6px;
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.wiz-continue-btn { width: 100%; text-align: center; margin-top: 22px; }

#onboarding-status, #signup-status { display: block; margin-top: 14px; }
.login-note { margin-top: 22px; }

@media (max-width: 480px) {
  .opt-card { font-size: 13px; }
}
