.lp-profile-showcase .lp-capture {
  overflow: visible;
}

body:has(.landing-page-hero) #kontaktprofil-beispiel > .lp-demo-heading {
  margin-bottom: 132px;
}

.lp-dictation-guide {
  position: absolute;
  z-index: 1;
  inset-inline: 14px;
  bottom: calc(100% - 13px);
  display: flex;
  align-items: end;
  justify-content: end;
  pointer-events: none;
}

.lp-dictation-guide__owl {
  --heddy-flight-height: -142px;
  display: block;
  flex: 0 0 auto;
  width: 134px;
  height: auto;
  transform-origin: 50% 94%;
}

.lp-dictation-guide__bubble {
  position: relative;
  margin: 0 -1px 48px 0;
  padding: 11px 14px;
  border: 1px solid #ffffff29;
  border-radius: 15px;
  background: #111114;
  color: #fff;
  box-shadow: inset 0 1px #ffffff12, 0 5px 14px #0005;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.lp-dictation-guide__bubble::after {
  position: absolute;
  top: 50%;
  inset-inline-end: -5px;
  width: 9px;
  height: 9px;
  border: inherit;
  border-width: 1px 1px 0 0;
  background: inherit;
  content: '';
  transform: translateY(-50%) rotate(45deg);
}

.lp-dictation-guide__letter.is-emphasized {
  color: #e63946;
}

:is(.light, html[data-theme="light"]) .lp-dictation-guide__bubble {
  border-color: #d5d7dc;
  background: #fff;
  color: #202126;
  box-shadow: inset 0 1px #fff, 0 5px 14px #1e293b16;
}

:is(.light, html[data-theme="light"]) .lp-dictation-guide__letter.is-emphasized {
  color: #c02a38;
}

.lp-profile-showcase .lp-dictate:not(:disabled):not(.is-listening) {
  --lp-dictate-pulse-base: #e639461a;
  --lp-dictate-pulse-fill: #e639466b;
  --lp-dictate-pulse-ink: #ffc3c7;
  animation: none;
  background-color: var(--lp-dictate-pulse-base);
  background-image: linear-gradient(180deg, #ff9aa31a, transparent 55%);
  box-shadow: inset 0 1px #ff9aa324;
}

:is(.light, html[data-theme="light"]) .lp-profile-showcase .lp-dictate:not(:disabled):not(.is-listening) {
  --lp-dictate-pulse-fill: #e6394642;
  --lp-dictate-pulse-ink: #951e2d;
}

.lp-profile-showcase .lp-dictate:not(:disabled):not(.is-listening):hover {
  --lp-dictate-pulse-base: #e6394633;
}

.lp-profile-showcase .lp-dictate:focus-visible {
  outline: 2px solid #e63946;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .lp-dictation-guide:not(.is-seen) :is(.lp-dictation-guide__owl, .lp-dictation-guide__bubble) {
    opacity: 0;
  }

  .lp-dictation-guide.is-seen .lp-dictation-guide__owl {
    animation: heddy-guide-land 1.4s cubic-bezier(.22, .65, .31, 1) both;
  }

  .lp-dictation-guide.is-seen .lp-dictation-guide__bubble {
    animation: heddy-guide-slide 440ms cubic-bezier(.2, .75, .25, 1) 1.1s both;
  }

  .lp-dictation-guide.is-seen .lp-dictation-guide__letter {
    animation: heddy-guide-type 45ms linear calc(1260ms + var(--letter-index) * 34ms) both;
  }

  .lp-profile-showcase .lp-dictate:not(:disabled):not(.is-listening) {
    animation: heddy-dictation-pulse 3.2s ease-in-out infinite;
  }
}

@keyframes heddy-guide-land {
  0% { opacity: 0; transform: translateY(var(--heddy-flight-height)) rotate(-5deg) scale(.93); }
  19% { opacity: 1; }
  84% { transform: translateY(0) rotate(.6deg) scale(1.012, .983); }
  100% { opacity: 1; transform: none; }
}

@keyframes heddy-guide-slide {
  from { opacity: 0; transform: translateX(-23px); }
  to { opacity: 1; transform: none; }
}

@keyframes heddy-guide-type {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heddy-dictation-pulse {
  0%, 100% {
    background-color: var(--lp-dictate-pulse-base);
    box-shadow: inset 0 1px #ff9aa324;
  }
  50% {
    background-color: var(--lp-dictate-pulse-fill);
    color: var(--lp-dictate-pulse-ink);
    border-color: #e6394699;
    box-shadow: inset 0 1px #ff9aa35c;
  }
}

@media (max-width: 600px) {
  body:has(.landing-page-hero) #kontaktprofil-beispiel > .lp-demo-heading {
    margin-bottom: 112px;
  }

  .lp-dictation-guide {
    inset-inline: 9px;
    bottom: calc(100% - 11px);
  }

  .lp-dictation-guide__owl {
    --heddy-flight-height: -110px;
    width: clamp(91px, 30vw, 109px);
  }

  .lp-dictation-guide__bubble {
    margin-bottom: 35px;
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (min-width: 355px) {
  .lp-dictation-guide__bubble {
    white-space: nowrap;
  }
}
