@charset "UTF-8";
.vt_demo {
  width: 100%;
  /* Outer frame — purple-to-aqua vertical gradient, matches Figma node 15463:14442 */
}
.vt_demo__frame {
  background: radial-gradient(110% 70% at 82% 46%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(180deg, #131032 0%, #20bfa7 100%);
  border-radius: 32px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.vt_demo {
  /* White demo card — matches Figma node 15571:3662 */
}
.vt_demo__card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 469px;
}
.vt_demo__main {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0 8px;
}
.vt_demo__top {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.vt_demo__placeholder {
  margin: 0;
  color: #a1a1aa;
  font-size: 16px;
  line-height: 24px;
}
.vt_demo__columns {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.vt_demo__columns[hidden] {
  display: none;
}
.vt_demo {
  /* Fixed titles row above the shared scroller */
}
.vt_demo__col-labels {
  display: flex;
  gap: 32px;
}
.vt_demo__col-labels .vt_demo__col-label {
  flex: 1 1 0;
  min-width: 0;
}
.vt_demo__col-label {
  text-transform: uppercase;
  font-family: "Plus Jakarta Sans";
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: #72727a;
}
.vt_demo {
  /* Single scroller shared by transcript + result; thin branded scrollbar
     (dark thumb on a light gray rail). */
}
.vt_demo__scroll {
  overflow-y: auto;
  max-height: 220px;
  padding-right: 8px;
  font-family: "Plus Jakarta Sans";
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  scrollbar-width: thin;
  scrollbar-color: #1a1a22 #e7e7ea;
}
.vt_demo__scroll::-webkit-scrollbar {
  width: 4px;
}
.vt_demo__scroll::-webkit-scrollbar-track {
  background: #e7e7ea;
  border-radius: 8px;
}
.vt_demo__scroll::-webkit-scrollbar-thumb {
  background: #1a1a22;
  border-radius: 8px;
}
.vt_demo__scroll {
  /* Defeat the global `body * { color:#131032 }` and inherit the column
     colour/weight onto each line. */
}
.vt_demo__scroll * {
  color: inherit;
  font: inherit;
}
.vt_demo__cols {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.vt_demo__col {
  flex: 1 1 0;
  min-width: 0;
}
.vt_demo__col--source {
  color: #75738b;
  font-weight: 500;
}
.vt_demo__col--target {
  color: #1a1a22;
  font-weight: 600;
}
.vt_demo__line {
  margin-bottom: 8px;
}
.vt_demo__line--interim {
  opacity: 0.7;
}
.vt_demo {
  /* Control button */
}
.vt_demo__control {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
}
.vt_demo__talk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  border-radius: 48px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  background: #14141a;
  color: #f7f7f8;
  transition: background 0.15s ease, opacity 0.15s ease;
  /* Defeat the global `body * { color:#131032 }` rule which paints every
     descendant directly; force children to inherit the button colour. */
}
.vt_demo__talk * {
  color: inherit;
  font-weight: inherit;
}
.vt_demo__talk:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.vt_demo__talk-text {
  padding-bottom: 1px;
}
.vt_demo__talk-idle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vt_demo__talk-active {
  display: none;
  align-items: center;
  gap: 6px;
}
.vt_demo__talk {
  /* Active = Listening pill: white, bordered */
}
.vt_demo__talk.is-active {
  background: #ffffff;
  color: #1a1a22;
  border: 1px solid #e7e7ea;
  padding: 6px 12px 6px 7px;
  gap: 6px;
}
.vt_demo__talk.is-active .vt_demo__talk-idle {
  display: none;
}
.vt_demo__talk.is-active .vt_demo__talk-active {
  display: inline-flex;
}
.vt_demo__stop {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eb3a41;
  position: relative;
  flex: 0 0 auto;
}
.vt_demo__stop::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #ffffff;
}
.vt_demo__wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 18px;
  margin-left: 2px;
}
.vt_demo__wave i {
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: #1a1a22;
  animation: vt_wave 0.9s ease-in-out infinite;
}
.vt_demo__wave i:nth-child(2) {
  animation-delay: 0.12s;
}
.vt_demo__wave i:nth-child(3) {
  animation-delay: 0.24s;
}
.vt_demo__wave i:nth-child(4) {
  animation-delay: 0.36s;
}
.vt_demo__wave i:nth-child(5) {
  animation-delay: 0.48s;
}
.vt_demo {
  /* Language selectors */
}
.vt_demo__langs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f7f7f8;
  border: 1px solid #e7e7ea;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}
.vt_demo__lang {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vt_demo__lang-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #72727a;
}
.vt_demo__select {
  position: relative;
}
.vt_demo__select-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #1a1a22;
  cursor: pointer;
  text-align: left;
}
.vt_demo__select-btn * {
  color: inherit;
  font-weight: inherit;
}
.vt_demo__select-btn [data-vt-select-value] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vt_demo__select-arrow {
  flex: 0 0 auto;
  transition: transform 0.15s ease;
}
.vt_demo__select.is-open .vt_demo__select-arrow {
  transform: rotate(180deg);
}
.vt_demo__select-list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #ffffff;
  border: 1px solid #e7e7ea;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(16, 16, 31, 0.14);
  max-height: 240px;
  overflow-y: auto;
}
.vt_demo__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #1a1a22;
  cursor: pointer;
  /* Defeat the global `body * { color:#131032 }` rule on the label span. */
}
.vt_demo__option * {
  color: inherit;
  font-weight: inherit;
}
.vt_demo__option:hover {
  background: #f1f1f5;
}
.vt_demo__option-text {
  flex: 1 1 auto;
  min-width: 0;
}
.vt_demo__option-check {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  opacity: 0;
}
.vt_demo__option.is-selected {
  font-weight: 600;
  background: #f7f7f8;
}
.vt_demo__option.is-selected .vt_demo__option-check {
  opacity: 1;
}
.vt_demo__swap {
  flex: 0 0 auto;
  /* Align with the select-box centre rather than the full column (which
     includes the label above), so it sits level with English/Spanish. */
  align-self: flex-end;
  margin-bottom: 12px;
  width: 20px;
  height: 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: rotate(90deg);
}
.vt_demo {
  /* Error message — shown inside the transcript box, in place of the
     placeholder / live columns. */
}
.vt_demo__top-error {
  margin: 0;
  color: #d23b3b;
  font-size: 16px;
  line-height: 24px;
}
.vt_demo__top-error[hidden] {
  display: none;
}
.vt_demo {
  /* Compliance badges (hero frame) — teal gradient pills, matches Figma node 15522:5010 */
}
.vt_demo__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.vt_demo__badge {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  border-radius: 48px;
  background: linear-gradient(169deg, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0.4) 104%), radial-gradient(70% 130% at 30% 12%, rgba(255, 255, 255, 0.2) 0%, rgba(153, 153, 153, 0.1) 100%), #1a8a79;
  /* Text style set once here (Figma Label/M: 12px / 600 / 16px); the
     label/status spans inherit it via `font: inherit` below. */
  color: #f7f7f8;
  font-family: "Plus Jakarta Sans";
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  /* Defeat the global `body * { color:#131032 }` rule and make every child
     inherit the badge's font (size/weight/line-height), per design. */
}
.vt_demo__badge * {
  color: inherit;
  font: inherit;
}
.vt_demo__badge-text {
  display: flex;
  flex-direction: column;
}
.vt_demo__badge img {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 44px;
  max-height: 32px;
}

@keyframes vt_wave {
  0%, 100% {
    height: 6px;
  }
  50% {
    height: 16px;
  }
}
@media (max-width: 991px) {
  .vt_demo__card {
    min-height: 0;
  }
  .vt_demo__main {
    padding: 24px 0 8px;
  }
  .vt_demo__cols, .vt_demo__col-labels {
    gap: 16px;
  }
  .vt_demo__scroll {
    max-height: 160px;
  }
  .vt_demo__badge span {
    font-size: 11px;
  }
}
/* Tablet only — VT API hero demo card sizing (Figma 15648:8312).
   Bounded band so mobile (<=767) and desktop (>1281) are untouched. */
@media screen and (min-width: 768px) and (max-width: 1281px) {
  .vt_api_hero .vt_demo {
    max-width: 684px;
    margin: 0 auto;
  }
  .vt_api_hero .vt_demo__card {
    min-height: 350px;
  }
}
/* Mobile — the 991 rule collapses the card to min-height:0, leaving the
   transcript/translation area with no height. Reserve space so the demo
   doesn't break on phones. */
/* Mobile translation demo — Figma 15658:8210:
   full-bleed gradient, no box on the language selector, smaller type/padding. */
@media (max-width: 767px) {
  /* Full-width gradient: break out of the 12px container gutters, square it off */
  .vt_api_hero .vt_demo__frame {
    margin: 0 -16px;
    border-radius: 0;
    padding: 16px;
    gap: 16px;
  }
  .vt_demo__card {
    min-height: 350px;
    padding: 0 16px;
    gap: 8px;
  }
  .vt_demo__main {
    padding: 16px 0 8px;
  }
  .vt_demo__placeholder {
    font-size: 14px;
    line-height: 20px;
  }
  .vt_demo__scroll {
    min-height: 140px;
  }
  .vt_demo {
    /* Compact language row, no box — just "English  ⇄  Spanish" */
  }
  .vt_demo__langs {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }
  .vt_demo__lang {
    flex: 1 1 0;
  }
  .vt_demo__lang-label {
    display: none;
  }
  .vt_demo {
    /* Plain language text — no box (border/bg unset, no padding) */
  }
  .vt_demo__select-btn {
    background: unset;
    border: unset;
    padding: 0;
  }
  .vt_demo__select-arrow {
    display: none;
  }
  .vt_demo__swap {
    align-self: center;
    margin-bottom: 0;
    transform: none;
  }
  .vt_demo__badges {
    gap: 8px;
  }
  .vt_demo__badge {
    flex: 1 1 45%;
  }
}
