@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('../tokens.css');

body { background: var(--bg-cream); margin: 0; }

.wiz-shell {
  max-width: 720px; margin: 0 auto; padding: 24px var(--pad-x) 48px;
  display: flex; flex-direction: column; min-height: 100vh;
}
.wiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.wiz-logo { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.wiz-step-counter { font-size: 13px; color: var(--text-muted); font-weight: 600; }

.wiz-progress { height: 3px; background: rgba(0,0,0,0.08); border-radius: 999px; overflow: hidden; margin-bottom: 56px; }
.wiz-progress .fill { height: 100%; background: var(--green-progress); transition: width 0.3s; }

.wiz-hero { flex: 1; }
.wiz-lead { font-size: var(--fs-caption-m); font-weight: 600; color: var(--accent-blue); letter-spacing: var(--ls-wide-l); text-transform: uppercase; margin-bottom: 24px; }
.wiz-h1 { font-size: var(--fs-display-l); font-weight: 800; letter-spacing: var(--ls-tight-l); line-height: 1.0; margin: 0 0 16px; }
.wiz-sub { font-size: var(--fs-body-l); color: var(--text-secondary); margin: 0 0 32px; line-height: 1.5; }

.wiz-input {
  width: 100%; background: #fff; border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px; padding: 18px 24px; font-size: 16px; font-family: inherit;
  outline: none;
}
.wiz-input:focus { border-color: var(--black); }
.wiz-input.error { border-color: #E63946; }
.wiz-error-text { color: #E63946; font-size: 13px; margin-top: 8px; padding-left: 24px; }

.wiz-consent {
  display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--text-secondary);
}
.wiz-consent input { width: 18px; height: 18px; accent-color: var(--black); }
.wiz-consent a { color: var(--text-primary); }

.wiz-options { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.wiz-opt {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px; padding: 16px 20px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  transition: border-color 0.15s, transform 0.15s;
}
.wiz-opt:hover { border-color: rgba(0,0,0,0.25); }
.wiz-opt.sel { border: 2px solid var(--black); padding: 15px 19px; }
.wiz-opt .marker {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #999; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.wiz-opt.checkbox .marker { border-radius: 4px; }
.wiz-opt.sel .marker { background: var(--black); border-color: var(--black); }
.wiz-opt.sel .marker::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.wiz-opt.checkbox.sel .marker::after {
  content: "✓"; color: #fff; background: transparent; font-size: 13px; font-weight: 800; width: auto; height: auto;
}

.wiz-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(0,0,0,0.06);
}
.wiz-back { font-size: 14px; color: var(--text-secondary); text-decoration: none; font-weight: 500; cursor: pointer; }
.wiz-back:hover { color: var(--text-primary); }
.btn-pill {
  background: var(--black); color: #fff; border: none;
  border-radius: 999px; padding: 16px 32px; font-size: 16px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: var(--sh-pill); }
.btn-pill:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-pill.large { padding: 22px 48px; font-size: 18px; }

@media (max-width: 720px) {
  .wiz-h1 { font-size: 44px; }
  .wiz-shell { padding: 16px 24px 32px; }
  .wiz-options { gap: 8px; }
}
