.standalone {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
  background:
    radial-gradient(60% 70% at 50% 60%, rgb(18 84 79 / 0.55), transparent 70%),
    #0b0b0c;
  color: #fff;
}

.standalone::before {
  --line: rgb(255 255 255 / 0.06);
}

.standalone main {
  display: grid;
  justify-items: center;
  gap: 24px;
  width: min(100%, 900px);
}

.standalone .brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.standalone .brand-row img {
  width: 44px;
}

.standalone-frame {
  position: relative;
  width: min(100%, 860px);
  max-height: 72dvh;
  border-radius: var(--radius-card);
  background: #000;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 60px 120px -30px rgb(0 0 0 / 0.9),
    0 0 90px -10px rgb(18 84 79 / 0.6);
  overflow: hidden;
}

.standalone-frame video {
  width: 100%;
  max-height: 72dvh;
  background: #000;
}

.speaking {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(148 255 191 / 0.35);
  font-weight: 500;
  transition: opacity 0.4s;
}

.speaking[hidden] {
  display: inline-flex;
  opacity: 0;
}

.speaking .wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.speaking .wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--mint);
  transform-origin: bottom;
  animation: talk 0.9s ease-in-out infinite;
}

.speaking .wave i:nth-child(2) {
  animation-delay: 0.12s;
}
.speaking .wave i:nth-child(3) {
  animation-delay: 0.24s;
}
.speaking .wave i:nth-child(4) {
  animation-delay: 0.36s;
}
.speaking .wave i:nth-child(5) {
  animation-delay: 0.48s;
}

@keyframes talk {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}
