.welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 20000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  overflow-y: auto;
}

.welcome-screen.visible {
  display: flex;
}

.welcome-content {
  max-width: 600px;
  width: 100%;
  animation: welcomeFadeIn 0.8s cubic-bezier(0.2, 1, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-back-btn {
  position: absolute;
  top: -2rem;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--snow);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000;
  transition: all 0.3s ease;
}

.welcome-back-btn:hover {
  background: #eeeeee;
}

@keyframes welcomeFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.welcome-logo {
  margin-bottom: 4rem; /* Increased from 2.5rem */
}

.welcome-logo img {
  height: 48px;
}

.welcome-title {
  font-family: "Instrument Serif", serif;
  font-size: 4.5rem; /* Slightly larger */
  line-height: 0.85;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.welcome-subtitle {
  margin-bottom: 4rem;
}

.welcome-title .italic {
  font-style: italic;
  display: block;
  margin-top: 0.5rem;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  max-width: 420px;
  margin: 3rem auto 0;
}

.onboarding-steps.intro-mode {
  text-align: left;
  gap: 1.5rem;
  margin-top: 0;
}

.step-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
}

.ob-step {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ob-step-num {
  width: 32px;
  height: 32px;
  background: var(--snow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #000;
  flex-shrink: 0;
}

.ob-step-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .onboarding-steps {
    margin-top: 2rem;
    gap: 1.2rem;
  }
  .ob-step-text {
    font-size: 1rem;
  }
}

.welcome-lang-grid {
  width: 100%;
  text-align: center;
}

.pick-voice-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sub);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.welcome-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

@media (max-width: 768px) {
