/* Moses STT landing page (moses-ai.com/stt for visitors). Builds on /welcome/welcome.css and the TTS landing
   page's /tts/welcome/landing.css (stream figure, timelines, API cards, FAQ, access box); this adds the
   transcript lane: partial words in grey while someone speaks, the final line in full colour after the pause. */
.heard { margin: 0; font-size: 16.5px; line-height: 1.5; min-height: 3em; color: var(--muted); font-style: italic; }
.heard span { display: inline; }
.heard .final-check { display: inline-block; margin-left: 6px; font-style: normal; color: var(--ok); font-weight: 700; opacity: 0; }
.wave.in { background: color-mix(in srgb, var(--memory) 10%, transparent); }
.wave.in i { background: var(--memory); }
.wave.in .quiet { background: color-mix(in srgb, var(--muted) 40%, transparent); }

@media (prefers-reduced-motion: no-preference) {
  .js .wave.in i { animation: talk 1s ease-in-out infinite alternate; animation-delay: calc(var(--h) * -700ms); }
  .js .wave.in i.quiet { animation: none; transform: scaleY(.1); }
  .js .heard span { opacity: 0; animation: reveal .25s ease-out forwards; animation-delay: calc(400ms + var(--i) * 300ms); }
  .js .heard { animation: finalize .35s ease-out 3.9s forwards; }
  .js .heard .final-check { animation: reveal .3s ease-out 3.95s forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .heard { color: var(--text); font-style: normal; }
  .heard .final-check { opacity: 1; }
}
@keyframes finalize { to { color: var(--text); font-style: normal; } }
