/* ═══════════════════════════════════════════════════════════════
   Pepper Onboarding — App Store Premium Aesthetics
   Cinematic glassmorphism, responsive flow, accessibility modes,
   and fluid micro-motions. Inspired by Apple, Oura, and Calm.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Base Overlay Wrapper ─── */
.onb-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #060913; /* Premium dark obsidian */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Respect device safe-area insets so the top header controls (Voice,
     Standard, Skip) clear the iOS notch / status bar on the first frame. */
  padding: calc(24px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));
  overflow: hidden;
  color: #F1F5F9;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  user-select: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.onb-overlay.onb-exiting {
  opacity: 0;
  pointer-events: none;
}

/* ─── Ambient Glow Mesh Background ─── */
.onb-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.onb-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  mix-blend-mode: screen;
}

.orb-sand {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ECC992 0%, rgba(236, 201, 146, 0) 70%);
  top: -10%;
  right: -5%;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-emerald {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #34D399 0%, rgba(52, 211, 153, 0) 70%);
  bottom: -15%;
  left: -10%;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.orb-slate {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #38BDF8 0%, rgba(56, 189, 248, 0) 70%);
  top: 35%;
  left: 25%;
  animation: floatOrb 25s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.15); }
}

/* ─── Top Header bar with controls ─── */
.onb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.onb-header-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.onb-ctrl-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #94A3B8;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.onb-ctrl-btn svg {
  stroke: #94A3B8;
  transition: stroke 0.3s ease;
}

.onb-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #F1F5F9;
  transform: translateY(-1px);
}

.onb-ctrl-btn:hover svg {
  stroke: #F1F5F9;
}

.onb-ctrl-btn.active {
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.3);
  color: #F472B6;
}

.onb-ctrl-btn.active svg {
  stroke: #F472B6;
}

.onb-skip-float {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.onb-skip-float:hover {
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.03);
}

/* ─── Viewport Containment ─── */
.onb-viewport {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  min-height: 480px;
}

/* ─── Screen Slider Transitions ─── */
.onb-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.onb-screen.onb-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.onb-screen.onb-exit-up {
  opacity: 0;
  transform: translateY(-24px) scale(0.97);
}

.onb-screen.onb-exit-down {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
}

/* ─── Typography ─── */
.onb-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #F8FAFC;
  margin: 24px 0 8px;
}

.onb-logo-title {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif !important;
  font-size: clamp(40px, 11vw, 52px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
  text-transform: lowercase !important;
  margin: 16px 0 4px !important;
  color: #F8FAFC;
}

.onb-subhead-accent {
  color: #ECC992; /* Warm Champagne Golden */
  font-size: clamp(16px, 4.5vw, 19px);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}

.onb-body-desc {
  font-size: clamp(15px, 3.8vw, 16.5px);
  color: #94A3B8;
  line-height: 1.55;
  font-weight: 300;
  max-width: 440px;
  margin: 0 auto;
}

/* ─── Pepper Avatar Animations ─── */
.pepper-avatar-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 8px;
}

.pepper-avatar-container.large {
  width: 140px;
  height: 140px;
}

.pepper-avatar-container.medium {
  width: 110px;
  height: 110px;
}

.pepper-avatar-container.small {
  width: 80px;
  height: 80px;
}

.pepper-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(236, 201, 146, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 3;
  animation: breatheAvatar 5s ease-in-out infinite;
}

.pepper-avatar-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 201, 146, 0.15) 0%, rgba(52, 211, 153, 0.05) 50%, transparent 100%);
  z-index: 1;
  animation: pulseGlow 4s ease-in-out infinite;
}

.pepper-avatar-halo {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px dashed rgba(236, 201, 146, 0.15);
  z-index: 2;
  animation: rotateHalo 30s linear infinite;
}

@keyframes breatheAvatar {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.02); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

@keyframes rotateHalo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─── Pepper Signal — abstract metabolic orb (replaces baby mascot) ─── */
.pepper-signal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* Sophisticated cream / blush / copper / plum field. No candy pink. */
  --signal-core-1: #f7e5d4;     /* warm cream */
  --signal-core-2: #e9b9a7;     /* soft blush */
  --signal-core-3: #b88488;     /* dusty rose / copper */
  --signal-core-4: #5a4a6b;     /* muted plum */
  --signal-accent: #2f6b6f;     /* deep teal — metabolic precision */
  --signal-ring: rgba(247, 229, 212, 0.32);
}
.pepper-signal.large  { width: 148px; height: 148px; }
.pepper-signal.medium { width: 112px; height: 112px; }
.pepper-signal.small  { width: 84px;  height: 84px;  }
.pepper-signal.xs     { width: 44px;  height: 44px;  }
.pepper-signal svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.pepper-signal .ps-core {
  transform-origin: center;
  animation: pepperSignalBreathe 5.6s ease-in-out infinite;
}
.pepper-signal .ps-shimmer {
  transform-origin: center;
  animation: pepperSignalShimmer 7s ease-in-out infinite;
  mix-blend-mode: screen;
  opacity: 0.85;
}
.pepper-signal .ps-ring {
  transform-origin: center;
  animation: pepperSignalRotate 42s linear infinite;
  opacity: 0.55;
}
.pepper-signal .ps-ring-inner {
  transform-origin: center;
  animation: pepperSignalRotate 26s linear infinite reverse;
  opacity: 0.4;
}
.pepper-signal .ps-pixel {
  animation: pepperSignalPixel 4.2s ease-in-out infinite;
}
.pepper-signal .ps-pixel:nth-child(2n) { animation-delay: 0.6s; }
.pepper-signal .ps-pixel:nth-child(3n) { animation-delay: 1.4s; }
.pepper-signal .ps-pixel:nth-child(5n) { animation-delay: 2.2s; }

@keyframes pepperSignalBreathe {
  0%, 100% { transform: scale(1);     filter: brightness(1); }
  50%      { transform: scale(1.025); filter: brightness(1.08); }
}
@keyframes pepperSignalShimmer {
  0%, 100% { transform: translate(0,0)   scale(1);    opacity: 0.55; }
  50%      { transform: translate(2px,-1px) scale(1.04); opacity: 0.9; }
}
@keyframes pepperSignalRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pepperSignalPixel {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* Sex-theme tint that won't read as gender-coded candy pink/blue.
   Female tilts blush warmer; male tilts toward muted teal. */
.pepper-theme-female .pepper-signal {
  --signal-core-2: #ecb6a5;
  --signal-core-3: #b07882;
  --signal-ring:    rgba(236, 182, 165, 0.4);
}
.pepper-theme-male .pepper-signal {
  --signal-core-2: #b8c7c8;
  --signal-core-3: #5e7e80;
  --signal-accent: #1f5557;
  --signal-ring:    rgba(184, 199, 200, 0.4);
}

.onb-overlay.onb-accessible .pepper-signal .ps-shimmer,
.onb-overlay.onb-accessible .pepper-signal .ps-ring,
.onb-overlay.onb-accessible .pepper-signal .ps-ring-inner {
  animation: none;
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .pepper-signal .ps-core,
  .pepper-signal .ps-shimmer,
  .pepper-signal .ps-ring,
  .pepper-signal .ps-ring-inner,
  .pepper-signal .ps-pixel {
    animation: none !important;
  }
}

/* ─── Pepper Signal — speaking state (narration playback) ───────────
   Driven by JS: while ElevenLabs narration plays, the intro orb gets
   `.is-speaking` and `--pepper-speaking-level` (0..1) updated each frame
   from a Web Audio analyser. CSS keeps the motion tasteful even if the
   analyser isn't available (level stays 0; the keyframe animations alone
   carry the effect). */
.pepper-signal {
  --pepper-speaking-level: 0;
  transition: filter 600ms ease, transform 600ms ease;
}

/* ─── Pepper Signal — idle aura (pre-speaking, intro screen) ─────────
   Shown immediately on the welcome slide before narration begins so
   Pepper feels alive, not static — especially on browsers where
   autoplay is blocked and the user is reading the CTA. Softer than
   `.is-speaking`: smaller halo, lower opacity, slower breath. The
   `.is-speaking` rules override this once narration starts. */
.pepper-signal.is-idle {
  filter: drop-shadow(0 0 12px rgba(247, 229, 212, 0.20));
  animation: pepperSignalFloat 9s ease-in-out infinite;
}
.pepper-signal.is-idle::after {
  opacity: 0.35;
  transform: scale(1);
  animation: pepperSignalIdleHalo 7s ease-in-out infinite;
}
.pepper-signal.is-idle::before {
  opacity: 0.22;
  transform: scale(1.02);
  animation: pepperSignalIdleAura 9s ease-in-out infinite;
}
.pepper-signal.is-speaking.is-idle::after,
.pepper-signal.is-speaking.is-idle::before { animation: none; }
.pepper-signal.is-speaking.is-idle {
  /* Speaking takes precedence — drop the gentle float so the speaking
     animation can run cleanly. */
  animation: pepperSignalFloat 6.5s ease-in-out infinite;
}

@keyframes pepperSignalIdleHalo {
  0%, 100% { opacity: 0.28; transform: scale(1); }
  50%      { opacity: 0.42; transform: scale(1.04); }
}
@keyframes pepperSignalIdleAura {
  0%, 100% { opacity: 0.16; transform: scale(1); }
  50%      { opacity: 0.28; transform: scale(1.08); }
}

.onb-overlay.onb-accessible .pepper-signal.is-idle,
.onb-overlay.onb-accessible .pepper-signal.is-idle::after,
.onb-overlay.onb-accessible .pepper-signal.is-idle::before {
  animation: none !important;
}
.onb-overlay.onb-accessible .pepper-signal.is-idle {
  filter: drop-shadow(0 0 6px rgba(247, 229, 212, 0.18));
}
.onb-overlay.onb-accessible .pepper-signal.is-idle::after { opacity: 0.22; }
.onb-overlay.onb-accessible .pepper-signal.is-idle::before { opacity: 0.14; }

@media (prefers-reduced-motion: reduce) {
  .pepper-signal.is-idle,
  .pepper-signal.is-idle::after,
  .pepper-signal.is-idle::before {
    animation: none !important;
    transform: none !important;
  }
  .pepper-signal.is-idle { filter: drop-shadow(0 0 5px rgba(247, 229, 212, 0.18)); }
  .pepper-signal.is-idle::after { opacity: 0.28; }
  .pepper-signal.is-idle::before { opacity: 0.16; }
}
.pepper-signal.is-speaking {
  /* Soft halo + a touch of saturation while speaking. The dissolve
     filter on .ps-body does the heavy lifting visually; we keep the
     outer aura gentle so the whole thing reads as sophisticated, not
     bombastic. */
  filter:
    drop-shadow(0 0 calc(14px + 22px * var(--pepper-speaking-level))
                       rgba(247, 229, 212, calc(0.20 + 0.30 * var(--pepper-speaking-level))))
    saturate(calc(1 + 0.15 * var(--pepper-speaking-level)));
  animation: pepperSignalFloat 6.5s ease-in-out infinite;
}
.pepper-signal.is-speaking .ps-core {
  /* Very slight breathing scale on the core — the dissolve does most
     of the speaking expression. Keep it subtle so the orb doesn't
     bounce. */
  animation: pepperSignalBreathe 3.6s ease-in-out infinite;
  transform: scale(calc(1 + 0.035 * var(--pepper-speaking-level)));
  transform-origin: 50px 50px;
  transform-box: view-box;
  transition: transform 140ms ease-out;
}
.pepper-signal.is-speaking .ps-shimmer {
  animation: pepperSignalShimmer 4.2s ease-in-out infinite;
  opacity: calc(0.85 + 0.15 * var(--pepper-speaking-level));
}
.pepper-signal.is-speaking .ps-ring {
  animation: pepperSignalRotate 24s linear infinite;
  opacity: calc(0.55 + 0.35 * var(--pepper-speaking-level));
}
.pepper-signal.is-speaking .ps-ring-inner {
  animation: pepperSignalRotate 16s linear infinite reverse;
  opacity: calc(0.4 + 0.4 * var(--pepper-speaking-level));
}
/* Reactive halo — a soft inner ring that expands with speech. Sits
   behind the SVG via a pseudo-element so we don't touch the markup. */
.pepper-signal::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%,
              rgba(247, 229, 212, 0.22) 0%,
              rgba(184, 132, 136, 0.12) 45%,
              rgba(47, 107, 111, 0) 72%);
  transform: scale(0.92);
  transition: opacity 500ms ease, transform 500ms ease;
  will-change: transform, opacity;
}
.pepper-signal.is-speaking::after {
  opacity: calc(0.6 + 0.4 * var(--pepper-speaking-level));
  transform: scale(calc(1.04 + 0.16 * var(--pepper-speaking-level)));
  animation: pepperSignalHalo 3.4s ease-in-out infinite;
}

/* Outer aura — a larger, softer second ring that breathes a touch
   further out so the responsive aura around Pepper reads from across
   the screen without becoming heavy. Stays behind the inner halo. */
.pepper-signal::before {
  content: "";
  position: absolute;
  inset: -32%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%,
              rgba(247, 229, 212, 0.16) 0%,
              rgba(184, 132, 136, 0.08) 38%,
              rgba(47, 107, 111, 0) 70%);
  transform: scale(0.85);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: transform, opacity;
}
.pepper-signal.is-speaking::before {
  opacity: calc(0.35 + 0.45 * var(--pepper-speaking-level));
  transform: scale(calc(1.08 + 0.28 * var(--pepper-speaking-level)));
  animation: pepperSignalAura 5.2s ease-in-out infinite;
}

.pepper-theme-female .pepper-signal::after {
  background: radial-gradient(circle at 50% 50%,
              rgba(236, 182, 165, 0.26) 0%,
              rgba(176, 120, 130, 0.14) 45%,
              rgba(47, 107, 111, 0) 72%);
}
.pepper-theme-female .pepper-signal::before {
  background: radial-gradient(circle at 50% 50%,
              rgba(236, 182, 165, 0.18) 0%,
              rgba(176, 120, 130, 0.09) 38%,
              rgba(47, 107, 111, 0) 70%);
}
.pepper-theme-male .pepper-signal::after {
  background: radial-gradient(circle at 50% 50%,
              rgba(184, 199, 200, 0.24) 0%,
              rgba(94, 126, 128, 0.13) 45%,
              rgba(31, 85, 87, 0) 72%);
}
.pepper-theme-male .pepper-signal::before {
  background: radial-gradient(circle at 50% 50%,
              rgba(184, 199, 200, 0.16) 0%,
              rgba(94, 126, 128, 0.08) 38%,
              rgba(31, 85, 87, 0) 70%);
}

@keyframes pepperSignalFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -3px; }
}
@keyframes pepperSignalHalo {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 229, 212, 0); }
  50%      { box-shadow: 0 0 22px 3px rgba(247, 229, 212, 0.14); }
}
@keyframes pepperSignalAura {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 229, 212, 0); }
  50%      { box-shadow: 0 0 40px 6px rgba(247, 229, 212, 0.08); }
}

/* Honor accessibility / reduced-motion: keep the speaking state visually
   distinct (slightly elevated glow), but cut all kinetic motion. */
.onb-overlay.onb-accessible .pepper-signal.is-speaking,
.onb-overlay.onb-accessible .pepper-signal.is-speaking .ps-core,
.onb-overlay.onb-accessible .pepper-signal.is-speaking .ps-shimmer,
.onb-overlay.onb-accessible .pepper-signal.is-speaking .ps-ring,
.onb-overlay.onb-accessible .pepper-signal.is-speaking .ps-ring-inner,
.onb-overlay.onb-accessible .pepper-signal.is-speaking::after,
.onb-overlay.onb-accessible .pepper-signal.is-speaking::before {
  animation: none !important;
}
.onb-overlay.onb-accessible .pepper-signal.is-speaking {
  filter: drop-shadow(0 0 8px rgba(247, 229, 212, 0.25));
  transform: none;
}
.onb-overlay.onb-accessible .pepper-signal.is-speaking::before {
  opacity: 0.25;
  transform: scale(1) !important;
}

@media (prefers-reduced-motion: reduce) {
  .pepper-signal.is-speaking,
  .pepper-signal.is-speaking .ps-core,
  .pepper-signal.is-speaking .ps-shimmer,
  .pepper-signal.is-speaking .ps-ring,
  .pepper-signal.is-speaking .ps-ring-inner,
  .pepper-signal.is-speaking::after,
  .pepper-signal.is-speaking::before {
    animation: none !important;
    transform: none !important;
  }
  .pepper-signal.is-speaking {
    filter: drop-shadow(0 0 6px rgba(247, 229, 212, 0.22));
  }
  .pepper-signal.is-speaking::after {
    opacity: 0.4;
    transform: scale(1) !important;
  }
  .pepper-signal.is-speaking::before {
    opacity: 0.22;
    transform: scale(1) !important;
  }
}

/* ─── Pepper Signal — dissolve-on-speech (AI-like, no spin) ───────────
   When Pepper speaks, the orb body swaps from a clean inner glow to a
   turbulence-based dissolve filter whose displacement & blur strength
   are written from JS each frame from --pepper-speaking-level. The
   effect: the sphere's surface softens and breathes — like it's
   dissolving slightly at the edge and re-forming — then settles back
   to a sharp orb when she stops. No rotation, no EQ bars.            */
.pepper-signal .ps-body {
  filter: url(#ps-glow);
  transition: opacity 320ms ease;
}
.pepper-signal.is-speaking .ps-body {
  filter: url(#ps-dissolve);
}

@media (max-width: 480px) {
  .pepper-signal.large  { width: 116px; height: 116px; }
  .pepper-signal.medium { width: 92px;  height: 92px;  }
  .pepper-signal.small  { width: 72px;  height: 72px;  }
  /* Tighten the outer aura on small screens so it doesn't push past
     adjacent UI; mobile filters/box-shadows are also costlier. */
  .pepper-signal::before { inset: -22%; }
  .pepper-signal.is-speaking::before {
    transform: scale(calc(1.04 + 0.18 * var(--pepper-speaking-level)));
  }
}

/* ─── Guidance-style selector (Screen: Companion) ─── */
.onb-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 440px;
  margin: 18px auto 6px;
}
.onb-guidance-card {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(247, 229, 212, 0.18);
  border-radius: 14px;
  padding: 14px 14px 12px;
  text-align: left;
  color: #F1F5F9;
  font-family: 'Outfit', system-ui, sans-serif;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}
.onb-guidance-card:hover {
  border-color: rgba(247, 229, 212, 0.45);
  background: rgba(255, 255, 255, 0.06);
}
.onb-guidance-card[aria-checked="true"] {
  border-color: #ECC992;
  background: linear-gradient(135deg, rgba(236, 201, 146, 0.12) 0%, rgba(47, 107, 111, 0.10) 100%);
}
.onb-guidance-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #F7E5D4;
  letter-spacing: 0.01em;
}
.onb-guidance-sub {
  display: block;
  font-size: 12px;
  color: rgba(241, 245, 249, 0.62);
  line-height: 1.45;
  font-weight: 300;
}
@media (max-width: 480px) {
  .onb-guidance-grid { grid-template-columns: 1fr; }
}

/* ─── Grid Pills (Screen 2) ─── */
.onb-grid-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 500px;
  margin-top: 24px;
}

.onb-glass-pill {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 400;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pill-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34D399; /* Emerald accent */
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}

/* ─── Sliders (Screen 3) ─── */
.onb-sliders-display {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  margin-top: 24px;
}

.onb-slider-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 12px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.slider-row-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 6px;
  font-weight: 500;
}

.slider-percent-val {
  font-family: monospace;
  color: #ECC992;
}

.slider-track-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.slider-track-fill {
  height: 100%;
  border-radius: 2px;
  width: 0;
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-track-fill.energy { background: linear-gradient(90deg, #ECC992, #34D399); }
.slider-track-fill.stress { background: linear-gradient(90deg, #ECC992, #F87171); }
.slider-track-fill.symptom { background: linear-gradient(90deg, #60A5FA, #ECC992); }
.slider-track-fill.sleep { background: linear-gradient(90deg, #818CF8, #38BDF8); }
.slider-track-fill.recovery { background: linear-gradient(90deg, #34D399, #60A5FA); }

/* ─── Bubble Grid (Screen 4) ─── */
.onb-metrics-bubble-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin-top: 24px;
}

.onb-metric-bubble {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

.onb-metric-bubble:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(236, 201, 146, 0.2);
}

.metric-emoji {
  font-size: 20px;
}

.metric-label {
  font-size: 12px;
  color: #CBD5E1;
  font-weight: 500;
}

/* ─── Mockup Summary (Screen 5) ─── */
.onb-report-mockup-wrapper {
  width: 100%;
  max-width: 380px;
  margin-top: 24px;
}

.onb-report-mockup {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
}

.report-mock-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.report-badge {
  font-size: 9px;
  letter-spacing: 0.06em;
  background: rgba(236, 201, 146, 0.12);
  border: 1px solid rgba(236, 201, 146, 0.25);
  color: #ECC992;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 6px;
}

.report-mock-header h4 {
  font-size: 14px;
  color: #F1F5F9;
  margin: 0;
  font-weight: 500;
}

.report-mock-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-summary-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}

.stat-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 10px;
}

.stat-box span {
  font-size: 10px;
  color: #64748B;
  display: block;
}

.stat-box strong {
  font-size: 13px;
  color: #ECC992;
  font-weight: 600;
}

.mock-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94A3B8;
}

.mock-dot-green {
  width: 5px;
  height: 5px;
  background-color: #34D399;
  border-radius: 50%;
}

.mock-chart-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 40px;
  border-top: 1px dashed rgba(255, 255, 255, 0.04);
  padding-top: 10px;
  margin-top: 4px;
}

.chart-bar {
  width: 16%;
  background: linear-gradient(180deg, rgba(236, 201, 146, 0.5) 0%, rgba(52, 211, 153, 0.1) 100%);
  border-radius: 3px;
}

/* ─── Shield & Privacy (Screen 6) ─── */
.privacy-shield-container {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.shield-ambient-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 201, 146, 0.12) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}

.shield-icon {
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(236, 201, 146, 0.15));
}

.onb-privacy-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  width: 100%;
  max-width: 320px;
}

.privacy-badge-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  color: #CBD5E1;
  font-weight: 500;
  text-align: left;
}

/* ─── Chat Bubbles (Screen 7) ─── */
.onb-chat-bubble-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin-top: 24px;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  max-width: 80%;
  line-height: 1.4;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.chat-bubble.left {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 4px;
  color: #F1F5F9;
}

.chat-bubble.right {
  align-self: flex-end;
  background: rgba(236, 201, 146, 0.08);
  border: 1px solid rgba(236, 201, 146, 0.15);
  border-bottom-right-radius: 4px;
  color: #ECC992;
}

/* ─── Action Rows (Screen 8) ─── */
.onb-final-action-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 340px;
  margin-top: 32px;
}

.onb-btn-premium-start {
  background: linear-gradient(135deg, #F472B6 0%, #FFB6C1 100%);
  color: #060913;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 16px;
  padding: 16px 40px;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(244, 114, 182, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

.onb-btn-premium-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(244, 114, 182, 0.4);
}

.onb-btn-premium-start:active {
  transform: translateY(0);
}

.onb-btn-text-replay {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.onb-btn-text-replay:hover {
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.03);
}

/* ─── Footer Controls ─── */
.onb-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.onb-nav-arrow-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #94A3B8;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.onb-nav-arrow-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #F1F5F9;
  transform: scale(1.05);
}

.onb-nav-arrow-btn:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

.onb-dots {
  display: flex;
  gap: 8px;
  position: static;
  transform: none;
  z-index: auto;
}

.onb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.onb-dot:hover {
  background: rgba(255, 255, 255, 0.3);
}

.onb-dot.onb-dot--active {
  background: #F472B6;
  width: 22px;
  border-radius: 4px;
  transform: none;
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.5);
}

/* ─── Accessibility Mode Overrides ─── */
.onb-overlay.onb-accessible {
  font-size: 18px; /* Slightly larger base size */
}

.onb-overlay.onb-accessible .onb-body-desc {
  font-size: 18px;
  font-weight: 400;
  color: #F1F5F9; /* Much higher contrast text */
  max-width: 520px;
}

.onb-overlay.onb-accessible .onb-headline {
  font-size: clamp(38px, 10vw, 52px);
  font-weight: 500;
}

.onb-overlay.onb-accessible .onb-glass-pill {
  font-size: 15px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.onb-overlay.onb-accessible .onb-metric-bubble .metric-label {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

.onb-overlay.onb-accessible .mock-list-item {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
}

.onb-overlay.onb-accessible .onb-slider-row {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.onb-overlay.onb-accessible .onb-ctrl-btn {
  font-size: 15px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.onb-overlay.onb-accessible .onb-ctrl-btn svg {
  stroke: #FFFFFF;
}

.onb-overlay.onb-accessible .onb-ambient {
  display: none; /* Disable distracting mesh graphics for high-contrast accessibility */
}

.onb-overlay.onb-accessible .pepper-avatar-glow {
  display: none;
}

.onb-overlay.onb-accessible .pepper-avatar-halo {
  display: none;
}

/* ─── Reduced Motion Support ─── */
@media (prefers-reduced-motion: reduce) {
  .orb-sand, .orb-emerald, .orb-slate,
  .pepper-avatar, .pepper-avatar-glow, .pepper-avatar-halo,
  .onb-metric-bubble {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  
  .onb-screen {
    animation: none !important;
  }

  .slider-track-fill {
    transition: none !important;
  }
}

/* ─── Mobile Responsiveness ─── */
@media (max-width: 480px) {
  .onb-overlay {
    /* Keep tight side gutters on phones but still clear the notch / home
       indicator so the Voice / Skip controls don't get clipped. */
    padding: calc(16px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  }

  .onb-viewport {
    min-height: auto;
  }

  .onb-screen {
    min-height: 400px;
  }

  .pepper-avatar-container.large {
    width: 100px;
    height: 100px;
  }

  .pepper-avatar-container.medium {
    width: 85px;
    height: 85px;
  }

  .pepper-avatar-container.small {
    width: 65px;
    height: 65px;
  }

  .onb-grid-pills {
    max-height: 180px;
    overflow-y: auto;
    padding-bottom: 8px;
    justify-content: flex-start;
  }

  .onb-glass-pill {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .onb-metrics-bubble-grid {
    grid-template-columns: repeat(2, 1fr);
    max-height: 200px;
    overflow-y: auto;
  }

  .onb-report-mockup-wrapper {
    max-width: 100%;
  }

  .onb-chat-bubble-stack {
    max-width: 100%;
  }

  .onb-headline {
    margin-top: 14px;
  }

  .onb-btn-premium-start {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Sex selection screen — pink/blue branching, premium not juvenile
   ═══════════════════════════════════════════════════════════════ */

.onb-sex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  margin: 22px auto 14px;
}

.onb-sex-card {
  appearance: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F1F5F9;
  border-radius: 18px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-family: inherit;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
  backdrop-filter: blur(14px);
}

.onb-sex-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

.onb-sex-emblem {
  font-size: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 4px;
}

.onb-sex-emblem--female {
  color: #F9A8D4;
  background: radial-gradient(circle, rgba(249, 168, 212, 0.18), rgba(249, 168, 212, 0.02) 70%);
  border-color: rgba(249, 168, 212, 0.35);
}

.onb-sex-emblem--male {
  color: #93C5FD;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.18), rgba(147, 197, 253, 0.02) 70%);
  border-color: rgba(147, 197, 253, 0.35);
}

.onb-sex-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.onb-sex-sub {
  font-size: 11.5px;
  color: rgba(241, 245, 249, 0.62);
  font-weight: 300;
  line-height: 1.45;
  max-width: 180px;
}

.onb-sex-card--female.is-selected {
  border-color: rgba(249, 168, 212, 0.65);
  background: linear-gradient(160deg, rgba(249, 168, 212, 0.12), rgba(249, 168, 212, 0.02));
  box-shadow: 0 10px 32px -12px rgba(249, 168, 212, 0.45);
}

.onb-sex-card--male.is-selected {
  border-color: rgba(147, 197, 253, 0.65);
  background: linear-gradient(160deg, rgba(147, 197, 253, 0.12), rgba(147, 197, 253, 0.02));
  box-shadow: 0 10px 32px -12px rgba(147, 197, 253, 0.45);
}

.onb-sex-skip {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(241, 245, 249, 0.7);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  margin-top: 4px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.onb-sex-skip:hover,
.onb-sex-skip.is-selected {
  border-color: rgba(255, 255, 255, 0.3);
  color: #F1F5F9;
}

.onb-sex-disclaimer {
  font-size: 11px;
  color: rgba(241, 245, 249, 0.5);
  margin-top: 14px;
  max-width: 360px;
  text-align: center;
  font-weight: 300;
  line-height: 1.5;
}

/* Theme-aware tint of Pepper's halo + glow during onboarding */
.pepper-theme-female .onb-overlay .pepper-avatar-glow {
  background: radial-gradient(circle, rgba(249, 168, 212, 0.55) 0%, rgba(249, 168, 212, 0) 65%);
}
.pepper-theme-female .onb-overlay .pepper-avatar-halo {
  box-shadow: 0 0 0 2px rgba(249, 168, 212, 0.45), 0 0 40px rgba(249, 168, 212, 0.35);
}
.pepper-theme-male .onb-overlay .pepper-avatar-glow {
  background: radial-gradient(circle, rgba(147, 197, 253, 0.55) 0%, rgba(147, 197, 253, 0) 65%);
}
.pepper-theme-male .onb-overlay .pepper-avatar-halo {
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.45), 0 0 40px rgba(147, 197, 253, 0.35);
}

@media (max-width: 480px) {
  .onb-sex-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .onb-sex-card {
    padding: 18px 14px 16px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: 14px;
  }
  .onb-sex-emblem {
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    font-size: 24px;
    flex-shrink: 0;
  }
  .onb-sex-sub {
    max-width: 100%;
    font-size: 11px;
  }
}

/* ─── Intro voice control (ElevenLabs) ───
   Sits below the intro body copy on screen 0 only. Mirrors the
   existing .onb-ctrl-btn glass aesthetic, kept small + minimal so it
   never competes with the headline. */
.onb-intro-audio {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.onb-intro-audio-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  padding: 9px 16px 9px 13px;
  border-radius: 22px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s ease,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.onb-intro-audio-btn svg { stroke: currentColor; }

.onb-intro-audio-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #F1F5F9;
  transform: translateY(-1px);
}

.onb-intro-audio-btn:focus-visible {
  outline: 2px solid rgba(244, 114, 182, 0.55);
  outline-offset: 2px;
}

.onb-intro-audio-btn.is-playing {
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.32);
  color: #F472B6;
}

/* When autoplay is blocked, the entire intro slide becomes a tap
   target so the user can start the narrated sequence with one gesture
   anywhere on the screen — not just on the small "Start guided intro"
   pill. The pill remains the obvious affordance; this is the
   forgiveness layer for fat-finger taps on mobile. */
.onb-screen-intro.onb-tap-to-start { cursor: pointer; }
.onb-screen-intro.onb-tap-to-start .onb-headline,
.onb-screen-intro.onb-tap-to-start .onb-subhead-accent,
.onb-screen-intro.onb-tap-to-start .onb-body-desc,
.onb-screen-intro.onb-tap-to-start .pepper-signal { cursor: pointer; }
@media (hover: hover) {
  .onb-screen-intro.onb-tap-to-start:hover .pepper-signal {
    filter: drop-shadow(0 0 18px rgba(247, 229, 212, 0.30));
  }
}

/* Autoplay-blocked fallback CTA. When the browser refuses unmuted
   autoplay (most often mobile Safari), the welcome button promotes
   itself into a clearly tappable "Start guided intro" pill so the
   user has one obvious gesture to begin the narrated sequence. */
.onb-intro-audio-btn.is-cta {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.22), rgba(236, 201, 146, 0.18));
  border-color: rgba(244, 114, 182, 0.45);
  color: #F8FAFC;
  padding: 11px 20px 11px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.015em;
  box-shadow: 0 6px 22px rgba(244, 114, 182, 0.18);
  animation: onb-intro-cta-pulse 2.4s ease-in-out infinite;
}

@keyframes onb-intro-cta-pulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(244, 114, 182, 0.18); }
  50%      { box-shadow: 0 8px 28px rgba(244, 114, 182, 0.34); }
}

@media (prefers-reduced-motion: reduce) {
  .onb-intro-audio-btn.is-cta { animation: none; }
}

.onb-intro-audio-btn.is-loading {
  color: #94A3B8;
  cursor: progress;
}

.onb-intro-audio-btn.is-error {
  opacity: 0.45;
  cursor: not-allowed;
}

.onb-intro-audio-btn:disabled {
  cursor: not-allowed;
}

@keyframes onb-intro-spin {
  to { transform: rotate(360deg); }
}
.onb-intro-spin {
  transform-origin: 12px 12px;
  animation: onb-intro-spin 0.9s linear infinite;
}

/* Three-dot breathing indicator that shows only while audio is being
   fetched / generated. Subtle, low-contrast, calm. */
.onb-intro-audio-dots {
  display: inline-flex;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.onb-intro-audio-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(244, 114, 182, 0.55);
  animation: onb-intro-dot 1.2s ease-in-out infinite;
}
.onb-intro-audio-dots i:nth-child(2) { animation-delay: 0.18s; }
.onb-intro-audio-dots i:nth-child(3) { animation-delay: 0.36s; }
.onb-intro-audio-btn.is-loading + .onb-intro-audio-dots { opacity: 0.9; }

@keyframes onb-intro-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-3px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .onb-intro-spin { animation: none; }
  .onb-intro-audio-dots i { animation: none; opacity: 0.6; }
}
