/* ============================================================================
 * TitleMind.AI signup wizard
 * Phase 21 — D3 onboarding wizard (2026-05-16).
 * Design tokens inlined from packages/design-tokens/src/css-vars.css.
 * No build step beyond Vite publicDir copy. Vanilla CSS, no preprocessor.
 * ========================================================================= */

:root {
  --tm-color-brand-primary:   #0E7490;
  --tm-color-brand-secondary: #1F2937;
  --tm-color-brand-accent:    #e94560;

  --tm-color-success: #10B981;
  --tm-color-warning: #F59E0B;
  --tm-color-danger:  #B91C1C;

  --tm-color-neutral-50:  #F9FAFB;
  --tm-color-neutral-100: #F3F4F6;
  --tm-color-neutral-200: #E5E7EB;
  --tm-color-neutral-300: #D1D5DB;
  --tm-color-neutral-400: #9CA3AF;
  --tm-color-neutral-500: #6B7280;
  --tm-color-neutral-600: #4B5563;
  --tm-color-neutral-700: #374151;
  --tm-color-neutral-800: #1F2937;
  --tm-color-neutral-900: #111827;

  --tm-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --tm-text-xs:   0.75rem;
  --tm-text-sm:   0.875rem;
  --tm-text-base: 1rem;
  --tm-text-lg:   1.125rem;
  --tm-text-xl:   1.25rem;
  --tm-text-2xl:  1.5rem;
  --tm-text-3xl:  1.875rem;
  --tm-text-4xl:  2.25rem;

  --tm-space-1:  4px;
  --tm-space-2:  8px;
  --tm-space-3:  12px;
  --tm-space-4:  16px;
  --tm-space-6:  24px;
  --tm-space-8:  32px;
  --tm-space-12: 48px;
  --tm-space-16: 64px;

  --tm-radius-sm:   4px;
  --tm-radius-md:   8px;
  --tm-radius-lg:   12px;
  --tm-radius-xl:   16px;
  --tm-radius-full: 9999px;

  --tm-shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --tm-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.10), 0 2px 4px -2px rgba(0,0,0,0.10);
  --tm-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.15), 0 4px 6px -4px rgba(0,0,0,0.10);
  --tm-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.20), 0 8px 10px -6px rgba(0,0,0,0.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--tm-font-body);
  font-size: var(--tm-text-base);
  line-height: 1.55;
  color: var(--tm-color-neutral-800);
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(14,116,144,0.07), transparent 60%),
    radial-gradient(700px 400px at -10% 100%, rgba(233,69,96,0.05), transparent 60%),
    linear-gradient(180deg, #fbfdfe 0%, #ffffff 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--tm-color-brand-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--tm-color-brand-secondary);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--tm-radius-md);
  font-weight: 600;
  z-index: 200;
}
.skip-link:focus { top: 8px; text-decoration: none; }

/* ============ Nav ============ */
.wiz-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--tm-color-neutral-200);
}
.wiz-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--tm-space-6);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.wiz-brand {
  display: flex; align-items: center; gap: var(--tm-space-3);
  font-weight: 600;
  color: var(--tm-color-neutral-900);
  font-size: var(--tm-text-lg);
  letter-spacing: -0.01em;
}
.wiz-brand:hover { text-decoration: none; }
.wiz-brand-mark {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wiz-brand-mark img { width: 40px; height: 40px; display: block; }
.wiz-brand-dot { color: var(--tm-color-brand-primary); }

.wiz-nav-links {
  display: flex; align-items: center; gap: var(--tm-space-6);
  font-size: var(--tm-text-sm);
}
.wiz-nav-links a { color: var(--tm-color-neutral-700); font-weight: 500; }
.wiz-nav-links a:hover { color: var(--tm-color-brand-primary); text-decoration: none; }

/* ============ Layout ============ */
.wiz-main {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--tm-space-12) var(--tm-space-6) var(--tm-space-16);
}

/* ============ Progress ============ */
.wiz-progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--tm-space-2);
  padding: 0;
  margin: 0 0 var(--tm-space-12);
  counter-reset: step;
}
.wiz-step {
  display: flex; align-items: center; gap: var(--tm-space-2);
  padding: 10px 12px;
  border-radius: var(--tm-radius-md);
  background: var(--tm-color-neutral-100);
  /* neutral-600 (#4B5563) clears WCAG AA 4.5:1 on neutral-100; neutral-500 fell at 4.39:1 */
  color: var(--tm-color-neutral-600);
  font-size: var(--tm-text-sm);
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 120ms ease, color 120ms ease;
}
.wiz-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: var(--tm-radius-full);
  background: var(--tm-color-neutral-200);
  color: var(--tm-color-neutral-700);
  font-size: var(--tm-text-xs);
  font-weight: 700;
  flex-shrink: 0;
}
.wiz-step[aria-current="step"] {
  background: rgba(14,116,144,0.10);
  color: var(--tm-color-brand-primary);
  border-color: rgba(14,116,144,0.30);
}
.wiz-step[aria-current="step"] .wiz-step-num {
  background: var(--tm-color-brand-primary);
  color: #fff;
}
.wiz-step.wiz-step-done {
  color: var(--tm-color-neutral-700);
  background: var(--tm-color-neutral-50);
}
.wiz-step.wiz-step-done .wiz-step-num {
  background: var(--tm-color-success);
  color: #fff;
}

/* ============ Panel slide animation ============ */
.wiz-stage { position: relative; min-height: 400px; }
.wiz-panel {
  animation: slide-in 240ms ease both;
}
@keyframes slide-in {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .wiz-panel { animation: none; }
}

.wiz-panel h1 {
  font-size: clamp(var(--tm-text-2xl), 4vw, var(--tm-text-4xl));
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--tm-space-3);
  color: var(--tm-color-neutral-900);
  font-weight: 700;
}
.wiz-lead {
  font-size: var(--tm-text-lg);
  color: var(--tm-color-neutral-600);
  margin: 0 0 var(--tm-space-8);
  max-width: 640px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--tm-space-2);
  padding: 12px 22px;
  border-radius: var(--tm-radius-md);
  font-weight: 600;
  font-size: var(--tm-text-base);
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 80ms ease, background 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  min-height: 44px;
}
.btn:focus-visible {
  outline: 3px solid rgba(14,116,144,0.40);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--tm-color-brand-primary);
  color: #fff;
  box-shadow: var(--tm-shadow-md);
}
.btn-primary:hover:not(:disabled) {
  background: #0a5d72;
  box-shadow: var(--tm-shadow-lg);
  transform: translateY(-1px);
}
.btn-primary:disabled {
  background: var(--tm-color-neutral-300);
  color: var(--tm-color-neutral-500);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-ghost {
  background: transparent;
  color: var(--tm-color-neutral-700);
  border-color: var(--tm-color-neutral-300);
}
.btn-ghost:hover {
  background: var(--tm-color-neutral-100);
  border-color: var(--tm-color-neutral-400);
}

/* ============ Tier cards ============ */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--tm-space-4);
}
.tier-card {
  position: relative;
  display: flex; flex-direction: column;
  gap: var(--tm-space-3);
  padding: var(--tm-space-6);
  background: #fff;
  border: 2px solid var(--tm-color-neutral-200);
  border-radius: var(--tm-radius-lg);
  box-shadow: var(--tm-shadow-sm);
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.tier-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tm-shadow-lg);
  border-color: var(--tm-color-brand-primary);
}
.tier-card:focus-visible {
  outline: 3px solid rgba(14,116,144,0.40);
  outline-offset: 2px;
}
.tier-card[aria-checked="true"] {
  border-color: var(--tm-color-brand-accent);
  box-shadow: var(--tm-shadow-lg), 0 0 0 3px rgba(233,69,96,0.20);
}
.tier-card.tier-featured {
  border-color: var(--tm-color-brand-primary);
}
.tier-badge {
  position: absolute;
  top: -10px; left: var(--tm-space-4);
  background: var(--tm-color-brand-primary);
  color: #fff;
  font-size: var(--tm-text-xs);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--tm-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tier-name {
  font-size: var(--tm-text-sm);
  font-weight: 700;
  color: var(--tm-color-brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tier-price {
  display: flex; align-items: baseline; gap: var(--tm-space-1);
  color: var(--tm-color-neutral-900);
}
.tier-amount {
  font-size: var(--tm-text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tier-period {
  font-size: var(--tm-text-sm);
  color: var(--tm-color-neutral-500);
  font-weight: 500;
}
.tier-feats {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: var(--tm-space-2);
  color: var(--tm-color-neutral-700);
  font-size: var(--tm-text-sm);
}
.tier-feats li {
  position: relative;
  padding-left: 20px;
}
.tier-feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  border-radius: var(--tm-radius-full);
  background: rgba(14,116,144,0.12);
  background-image: radial-gradient(circle at center, var(--tm-color-brand-primary) 30%, transparent 32%);
}
.tier-pick {
  margin-top: auto;
  padding-top: var(--tm-space-3);
  font-weight: 600;
  font-size: var(--tm-text-sm);
  color: var(--tm-color-brand-primary);
}
.tier-card[aria-checked="true"] .tier-pick::after { content: " (selected)"; color: var(--tm-color-brand-accent); }

/* ============ Forms ============ */
.wiz-form {
  background: #fff;
  border: 1px solid var(--tm-color-neutral-200);
  border-radius: var(--tm-radius-lg);
  padding: var(--tm-space-8);
  box-shadow: var(--tm-shadow-sm);
}
.wiz-field {
  display: flex; flex-direction: column;
  gap: var(--tm-space-2);
  margin-bottom: var(--tm-space-6);
}
.wiz-field > label {
  font-weight: 600;
  font-size: var(--tm-text-sm);
  color: var(--tm-color-neutral-800);
}
.wiz-field .wiz-hint {
  font-size: var(--tm-text-xs);
  color: var(--tm-color-neutral-500);
}
.wiz-field input[type="text"],
.wiz-field input[type="email"],
.wiz-field input[type="number"],
.wiz-field select,
.wiz-field textarea {
  font-family: inherit;
  font-size: var(--tm-text-base);
  padding: 10px 12px;
  border-radius: var(--tm-radius-md);
  border: 1px solid var(--tm-color-neutral-300);
  background: #fff;
  color: var(--tm-color-neutral-900);
  min-height: 44px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.wiz-field input:focus,
.wiz-field select:focus,
.wiz-field textarea:focus {
  outline: none;
  border-color: var(--tm-color-brand-primary);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.15);
}
.wiz-field .wiz-input-error {
  color: var(--tm-color-danger);
  font-size: var(--tm-text-xs);
  margin-top: 4px;
  display: block;
}
/* P2.2: red-outline an invalid field so the user can scan the form for the
   problem. Paired with the inline .wiz-input-error span. */
.wiz-field-invalid input[type="text"],
.wiz-field-invalid input[type="email"],
.wiz-field-invalid input[type="number"],
.wiz-field-invalid select,
.wiz-field-invalid textarea {
  border-color: var(--tm-color-danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.wiz-multi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tm-space-4);
}
@media (max-width: 600px) {
  .wiz-multi-row { grid-template-columns: 1fr; }
}

/* Range / slider */
.wiz-field input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%;
  height: 6px;
  background: var(--tm-color-neutral-200);
  border-radius: var(--tm-radius-full);
  outline: none;
}
.wiz-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  border-radius: var(--tm-radius-full);
  background: var(--tm-color-brand-primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: var(--tm-shadow-md);
}
.wiz-field input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: var(--tm-radius-full);
  background: var(--tm-color-brand-primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: var(--tm-shadow-md);
}

/* Multi-select checkbox group */
.wiz-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--tm-space-2);
}
.wiz-check {
  display: flex; align-items: center; gap: var(--tm-space-2);
  padding: 10px 12px;
  border: 1px solid var(--tm-color-neutral-300);
  border-radius: var(--tm-radius-md);
  background: #fff;
  cursor: pointer;
  font-size: var(--tm-text-sm);
  font-weight: 500;
  color: var(--tm-color-neutral-700);
  transition: border-color 120ms ease, background 120ms ease;
}
.wiz-check:hover { border-color: var(--tm-color-brand-primary); }
.wiz-check input { accent-color: var(--tm-color-brand-primary); margin: 0; }
.wiz-check.is-checked {
  border-color: var(--tm-color-brand-accent);
  background: rgba(233,69,96,0.06);
  color: var(--tm-color-neutral-900);
}

/* ============ Actions row ============ */
.wiz-actions {
  display: flex;
  gap: var(--tm-space-3);
  justify-content: flex-end;
  margin-top: var(--tm-space-6);
}
.wiz-actions-sticky {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 30%);
  padding: var(--tm-space-4) 0;
}

/* ============ County picker ============ */
.county-controls {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: var(--tm-space-3);
  margin-bottom: var(--tm-space-3);
}
@media (max-width: 600px) {
  .county-controls { grid-template-columns: 1fr; }
}
.county-controls input,
.county-controls select {
  font-family: inherit;
  font-size: var(--tm-text-base);
  padding: 10px 12px;
  border-radius: var(--tm-radius-md);
  border: 1px solid var(--tm-color-neutral-300);
  background: #fff;
  min-height: 44px;
}
.county-controls input:focus,
.county-controls select:focus {
  outline: none;
  border-color: var(--tm-color-brand-primary);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.15);
}
.county-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--tm-space-3);
  font-size: var(--tm-text-sm);
  color: var(--tm-color-neutral-600);
  font-weight: 500;
}
.county-loading-pill {
  background: rgba(14,116,144,0.10);
  color: var(--tm-color-brand-primary);
  padding: 4px 10px;
  border-radius: var(--tm-radius-full);
  font-size: var(--tm-text-xs);
  font-weight: 600;
}
.county-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tm-space-2);
  max-height: 420px;
  overflow-y: auto;
  padding: var(--tm-space-2);
  background: #fff;
  border: 1px solid var(--tm-color-neutral-200);
  border-radius: var(--tm-radius-lg);
}
@media (max-width: 480px) {
  .county-list {
    grid-template-columns: 1fr;
    max-height: 60vh;
  }
}
.county-row {
  display: flex; align-items: center; gap: var(--tm-space-3);
  padding: 12px;
  border: 1px solid var(--tm-color-neutral-200);
  border-radius: var(--tm-radius-md);
  background: #fff;
  cursor: pointer;
  font-size: var(--tm-text-sm);
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
  min-height: 44px;
}
.county-row:hover:not(.is-disabled) { border-color: var(--tm-color-brand-primary); }
.county-row input { accent-color: var(--tm-color-brand-accent); margin: 0; }
.county-row.is-checked {
  border-color: var(--tm-color-brand-accent);
  background: rgba(233,69,96,0.05);
}
@media (prefers-reduced-motion: no-preference) {
  .county-row.is-checked {
    animation: county-pulse 360ms ease;
  }
}
@keyframes county-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); box-shadow: 0 0 0 4px rgba(233,69,96,0.18); }
  100% { transform: scale(1); }
}
.county-row.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--tm-color-neutral-50);
}
.county-info {
  display: flex; flex-direction: column;
  gap: 2px;
  min-width: 0; flex: 1;
}
.county-info-row {
  display: flex; align-items: center; gap: var(--tm-space-2);
}
.county-name {
  font-weight: 600;
  color: var(--tm-color-neutral-900);
}
.county-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--tm-radius-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.county-badge-state {
  background: var(--tm-color-neutral-200);
  color: var(--tm-color-neutral-700);
}
.county-badge-source-publicsearch { background: rgba(14,116,144,0.15); color: var(--tm-color-brand-primary); }
.county-badge-source-tyler         { background: rgba(245,158,11,0.15); color: #92400E; }
.county-badge-source-kofile        { background: rgba(124,58,237,0.15); color: #5B21B6; }
.county-badge-source-kellpro       { background: rgba(16,185,129,0.15); color: #047857; }
.county-badge-source-texasfile     { background: rgba(99,102,241,0.15); color: #4338CA; }
.county-depth {
  font-size: var(--tm-text-xs);
  color: var(--tm-color-neutral-500);
}
.county-empty {
  text-align: center;
  color: var(--tm-color-neutral-500);
  padding: var(--tm-space-8);
  font-size: var(--tm-text-sm);
}

/* ============ Review card ============ */
.review-card {
  background: #fff;
  border: 1px solid var(--tm-color-neutral-200);
  border-radius: var(--tm-radius-lg);
  box-shadow: var(--tm-shadow-sm);
  overflow: hidden;
}
.review-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--tm-space-4);
  padding: var(--tm-space-4) var(--tm-space-6);
  border-bottom: 1px solid var(--tm-color-neutral-100);
}
.review-row:last-child { border-bottom: 0; }
/* `display: flex` overrides browser default `[hidden] { display: none }` —
   re-assert hidden so JS `el.hidden = true` works correctly. */
.review-row[hidden] { display: none !important; }
.review-key {
  font-size: var(--tm-text-sm);
  font-weight: 600;
  color: var(--tm-color-neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.review-val {
  font-size: var(--tm-text-base);
  font-weight: 500;
  color: var(--tm-color-neutral-900);
  text-align: right;
  max-width: 60%;
  word-wrap: break-word;
}
.review-fine {
  font-size: var(--tm-text-xs);
  color: var(--tm-color-neutral-500);
  margin: var(--tm-space-6) 0 0;
  line-height: 1.55;
}

.wiz-error {
  margin: var(--tm-space-4) 0;
  padding: var(--tm-space-3) var(--tm-space-4);
  border-radius: var(--tm-radius-md);
  background: rgba(185,28,28,0.06);
  border: 1px solid rgba(185,28,28,0.30);
  color: var(--tm-color-danger);
  font-size: var(--tm-text-sm);
  font-weight: 500;
}

/* ============ Footer ============ */
.wiz-foot {
  text-align: center;
  padding: var(--tm-space-8) var(--tm-space-6);
  color: var(--tm-color-neutral-500);
  font-size: var(--tm-text-xs);
  border-top: 1px solid var(--tm-color-neutral-200);
  background: #fff;
}
.wiz-foot a { color: var(--tm-color-neutral-600); }
.wiz-foot-sep { margin: 0 var(--tm-space-2); color: var(--tm-color-neutral-300); }

/* ============ Mobile font-size enforcement (no iOS zoom) ============ */
@media (max-width: 600px) {
  .wiz-field input[type="text"],
  .wiz-field input[type="email"],
  .wiz-field input[type="number"],
  .wiz-field select,
  .wiz-field textarea,
  .county-controls input,
  .county-controls select {
    font-size: 16px;
  }

  .wiz-progress {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tm-space-1);
  }
  .wiz-step { padding: 8px; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  .wiz-step-label { font-size: 10px; }

  .wiz-main { padding: var(--tm-space-6) var(--tm-space-4) var(--tm-space-12); }

  .tier-grid { grid-template-columns: 1fr; }

  /* Nav: shrink secondary links and reduce gap so they don't collide with brand on narrow screens */
  .wiz-nav-inner { padding: 0 var(--tm-space-4); }
  .wiz-nav-links { gap: var(--tm-space-3); font-size: var(--tm-text-xs); }
  .wiz-nav-links a { white-space: nowrap; }
}

/* Sub-480px: drop the "Back to home" link entirely to reserve space for "Need help?" */
@media (max-width: 480px) {
  .wiz-nav-links a[href="/"] { display: none; }
}

/* ============ Spinner (success page) ============ */
.wiz-spinner {
  display: inline-block;
  width: 32px; height: 32px;
  border: 3px solid var(--tm-color-neutral-200);
  border-top-color: var(--tm-color-brand-primary);
  border-radius: var(--tm-radius-full);
  animation: wiz-spin 800ms linear infinite;
}
@keyframes wiz-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .wiz-spinner { animation-duration: 2s; }
}
.wiz-success-card {
  max-width: 480px;
  margin: var(--tm-space-16) auto;
  padding: var(--tm-space-12) var(--tm-space-8);
  text-align: center;
  background: #fff;
  border: 1px solid var(--tm-color-neutral-200);
  border-radius: var(--tm-radius-lg);
  box-shadow: var(--tm-shadow-lg);
}
.wiz-success-card h1 {
  font-size: var(--tm-text-2xl);
  margin: var(--tm-space-4) 0 var(--tm-space-2);
  color: var(--tm-color-neutral-900);
}
.wiz-success-card p {
  color: var(--tm-color-neutral-600);
  margin: 0;
}
