/* Onboarding screens + Hub layout. Minimal-but-warm spine; next phase enriches.
   All color via vars; all spacing warm and generous. */

/* Shared onboarding rhythm */
.ob { gap: 20px; }
.ob__center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.ob__title { font-family: var(--font-serif); font-size: 1.9rem; line-height: 1.18; color: var(--deep-purple); font-weight: 700; }
.ob__sub { font-size: 1rem; line-height: 1.5; color: var(--warm-ink); opacity: .8; max-width: 30ch; }
.ob__foot { display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* Splash */
.splash { align-items: center; justify-content: center; text-align: center; gap: 28px; }
.splash__tag { font-family: var(--font-serif); font-size: 1.4rem; color: var(--deep-purple); }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; text-align: start; width: 100%; }
.field__label { font-size: .82rem; font-weight: 600; color: var(--deep-purple); }
.field__input {
  width: 100%;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1.5px solid rgba(74, 63, 99, .14);
  transition: border-color var(--dur-fast) var(--ease-warm), box-shadow var(--dur-fast) var(--ease-warm);
}
.field__input:focus { outline: none; border-color: var(--soft-purple); box-shadow: var(--glow-purple); }
.field__input[aria-invalid="true"] { border-color: var(--coral); }

/* OTP cells */
.otp { display: flex; gap: 10px; justify-content: center; direction: ltr; }
.otp__cell {
  width: 48px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1.5px solid rgba(74, 63, 99, .14);
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--deep-purple);
}
.otp__cell:focus { outline: none; border-color: var(--soft-purple); box-shadow: var(--glow-purple); }
.otp__cell--filled { border-color: var(--soft-purple); }

/* Safety rows */
.safety-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; }
.safety-row__glyph { width: 28px; height: 28px; color: var(--soft-purple); flex: none; }
.safety-row__title { font-weight: 700; color: var(--deep-purple); }
.safety-row__body { font-size: .86rem; color: var(--warm-ink); opacity: .78; }

/* Hub */
.hub { gap: 18px; }
.hub__present {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 196, 122, .16);
  color: var(--deep-purple);
  font-weight: 600;
}
.hub__present-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--coral); box-shadow: var(--glow-coral); }
.hub__doors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hub__doors > .door-card:first-child { grid-column: 1 / -1; }
.hub__cta { margin-top: 4px; }

/* World placeholders */
.world-ph { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 32px 24px; }
.world-ph__title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--deep-purple); }
