@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(var(--float-distance, -18px));
  }
}
.video_cards {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background-color: #fff;
  overflow: hidden;
}
.video_cards__bg {
  position: absolute;
  top: 67%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  min-width: 1440px;
  max-width: none;
  height: auto;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  z-index: 0;
}
.video_cards__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.video_cards__header {
  width: 100%;
  max-width: 1002px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.video_cards__title {
  margin: 0;
  color: #1a1a22;
  font-size: 56px;
  line-height: 72px;
  font-weight: 700;
  letter-spacing: 0;
}
.video_cards__subtitle {
  color: #434351;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}
.video_cards__subtitle p {
  margin: 0;
}
.video_cards__video_wrap {
  position: relative;
  width: 100%;
  max-width: 854px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(255, 172, 166, 0.4), 0 4px 64px 0 rgba(255, 172, 166, 0.4);
}
.video_cards__video {
  width: 100%;
  max-width: 854px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
}
.video_cards__video_media {
  position: relative;
  width: 100%;
  aspect-ratio: 854/480;
  border-radius: 20px;
  overflow: hidden;
}
.video_cards__video_trigger {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
}
.video_cards__video_trigger img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.video_cards__video_trigger:focus-visible {
  outline: 3px solid #5544dc;
  outline-offset: -3px;
}
.video_cards__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 0;
  border-radius: 50%;
  background: #ff6357;
  box-shadow: 0 10px 24px rgba(255, 99, 87, 0.32);
  pointer-events: none;
}
.video_cards__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-42%, -50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}
.video_cards__video_element {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  background: #000;
  border-radius: 20px;
}
.video_cards__eyebrow {
  margin: 0;
}
.video_cards__cards {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
}
.video_cards__cards--compact {
  display: none;
}
.video_cards__cards_col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.video_cards__cards_col.is-offset {
  padding-bottom: 12px;
}
.video_cards__card {
  width: 100%;
  border: 4px solid transparent;
  border-radius: 16px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(180deg, #c3bcfd 0%, #f3f0ff 100%) border-box;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 32px rgba(0, 0, 0, 0.1);
  padding: 32px;
  animation: float var(--float-duration, 4.8s) ease-in-out infinite;
  animation-delay: var(--float-delay, -2s);
  animation-fill-mode: both;
}
.video_cards__card_accent {
  margin: 0 0 12px;
  color: #1a1a22;
  opacity: 0.4;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}
.video_cards__card_text {
  margin: 0;
  color: #1a1a22;
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
}
.video_cards__card_highlight {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-width: 1ch;
  white-space: nowrap;
}
.video_cards__card_highlight .video_cards__card_highlight_word {
  grid-area: 1/1;
  transition: opacity 0.55s ease, transform 0.55s ease, color 0.55s ease;
}
.video_cards__card_highlight .video_cards__card_highlight_word--wrong {
  opacity: 1;
  transform: translateY(0);
  color: #e5594f;
  font-weight: 700;
}
.video_cards__card_highlight .video_cards__card_highlight_word--correct {
  opacity: 0;
  transform: translateY(8px);
  color: #614efa;
  font-weight: 700;
}
.video_cards__card_highlight .video_cards__card_highlight_wave {
  position: absolute;
  left: 0;
  right: auto;
  bottom: -4px;
  width: 0;
  max-width: 100%;
  height: 6px;
  opacity: 0;
  transition: width 1.1s ease-out, opacity 0.45s ease-out;
  background-repeat: repeat-x;
  background-size: 16px 6px;
  background-position: 0 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='6' viewBox='0 0 16 6'%3E%3Cpath d='M0 4 Q2 0 4 4 T8 4 T12 4 T16 4' fill='none' stroke='%23e5594f' stroke-width='1.5'/%3E%3C/svg%3E");
  pointer-events: none;
}
.video_cards__card_highlight.is-animating .video_cards__card_highlight_wave {
  opacity: 1;
  width: 100%;
}
.video_cards__card_highlight.is-corrected .video_cards__card_highlight_word--wrong {
  opacity: 0;
  transform: translateY(-8px);
}
.video_cards__card_highlight.is-corrected .video_cards__card_highlight_word--correct {
  opacity: 1;
  transform: translateY(0);
}
.video_cards__card_highlight.is-corrected .video_cards__card_highlight_wave {
  opacity: 0;
  width: 100%;
}
.video_cards__card_highlight--danger {
  color: #e5594f;
}
.video_cards__card_highlight--dark {
  color: #1a1a22;
}
.video_cards__cta {
  width: 100%;
  display: flex;
  justify-content: center;
}
.video_cards__cta_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #23232e;
  border-radius: 10px;
  color: #23232e;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-decoration: none;
}

@media screen and (max-width: 1280px) {
  .video_cards {
    overflow-x: clip;
  }
  .video_cards__bg {
    top: 56%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .video_cards__inner {
    gap: 80px;
  }
  .video_cards__video_wrap {
    max-width: 560px;
    margin-top: -48px;
  }
  .video_cards__cards--desktop {
    display: none;
  }
  .video_cards__cards--compact {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
  }
  .video_cards__cards--compact > .video_cards__cards_col {
    flex: 0 0 327px;
    width: 327px;
    gap: 16px;
  }
  .video_cards__cards--compact > .video_cards__cards_col.is-offset {
    padding-bottom: 0;
  }
  .video_cards__cards--compact .video_cards__card {
    animation: none;
    animation-delay: 0s;
  }
  .video_cards__card {
    padding: 16px;
  }
  .video_cards__card_text {
    font-size: 16px;
    line-height: 24px;
  }
}
@media screen and (max-width: 768px) {
  .video_cards {
    padding: 80px 0;
    overflow-x: clip;
    overflow-y: visible;
  }
  .video_cards__bg {
    top: 56%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .video_cards__header {
    max-width: 327px;
    gap: 12px;
  }
  .video_cards__title {
    font-size: 32px;
    line-height: 40px;
  }
  .video_cards__subtitle {
    font-size: 14px;
    line-height: 20px;
  }
  .video_cards__inner {
    gap: 80px;
  }
  .video_cards__video_wrap {
    max-width: 327px;
    margin-top: -48px;
  }
  .video_cards__cards--compact {
    justify-content: flex-start;
    gap: 12px;
    width: calc(100% + (100vw - 100%) / 2);
    width: calc(100% + (100svw - 100%) / 2);
    max-width: calc(100% + (100vw - 100%) / 2);
    max-width: calc(100% + (100svw - 100%) / 2);
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
    overscroll-behavior-x: contain;
  }
  .video_cards__cards--compact::-webkit-scrollbar {
    display: none;
  }
  .video_cards__cards--compact .video_cards__card {
    animation: none;
    animation-delay: 0s;
  }
  .video_cards__cards--compact > .video_cards__cards_col {
    flex: 0 0 296px;
    width: 296px;
    scroll-snap-align: start;
  }
  .video_cards__card {
    padding: 16px;
    box-shadow: none;
  }
  .video_cards__play {
    width: 40px;
    height: 40px;
    box-shadow: none;
  }
  .video_cards__play::before {
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 9px;
  }
  .video_cards__card_accent {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 20px;
  }
  .video_cards__card_text {
    font-size: 16px;
    line-height: 24px;
  }
  .video_cards__cta {
    max-width: 327px;
  }
  .video_cards__cta_link {
    width: 100%;
  }
}
