.web-video-feature {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 132px) 48px;
  border-top: 1px solid rgba(79, 224, 255, .14);
  border-bottom: 1px solid rgba(79, 224, 255, .14);
  background:
    radial-gradient(circle at 14% 18%, rgba(15, 155, 255, .13), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(91, 55, 255, .12), transparent 34%),
    #050b17;
}

.web-video-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(79, 224, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 224, 255, .09) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.web-video-inner {
  position: relative;
  z-index: 1;
  width: min(1548px, 100%);
  margin: 0 auto;
}

.web-video-header {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(42px, 7vw, 116px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 72px);
}

.web-video-header h2 {
  margin: 22px 0 0;
  color: #f6f9ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(46px, 5vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}

.web-video-header h2 em {
  display: inline-block;
  color: #21d8ff;
  font-style: normal;
}

.web-video-copy > p {
  max-width: 660px;
  margin: 0;
  color: #a9bad0;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.7;
}

.web-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.web-video-actions .button {
  min-height: 58px;
}

.web-video-frame {
  margin: 0;
  border: 1px solid rgba(70, 220, 255, .32);
  background: rgba(2, 8, 18, .9);
  box-shadow: 0 38px 110px rgba(0, 0, 0, .42), 0 0 70px rgba(0, 173, 255, .08);
}

.web-video-viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1280 / 740;
  background: #020713;
}

.web-video-poster,
.web-video-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-video-poster {
  z-index: 1;
  transition: opacity .45s ease;
}

.web-video-media {
  z-index: 2;
  opacity: 0;
  transition: opacity .45s ease;
}

.web-video-frame.is-ready .web-video-media {
  opacity: 1;
}

.web-video-frame.is-ready .web-video-poster {
  opacity: 0;
}

.web-video-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 68px;
  padding: 14px 20px 14px 24px;
  border-top: 1px solid rgba(70, 220, 255, .18);
  color: #8fa8c3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.web-video-frame figcaption > span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.web-video-frame figcaption i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #21d8ff;
  box-shadow: 0 0 16px #21d8ff;
}

@media (max-width: 900px) {
  .web-video-feature {
    padding-inline: 26px;
  }

  .web-video-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .web-video-feature {
    padding: 68px 16px;
  }

  .web-video-header h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .web-video-actions,
  .web-video-actions .button {
    width: 100%;
  }

  .web-video-actions .button {
    justify-content: center;
  }

  .web-video-frame figcaption {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .web-video-frame figcaption > span {
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-video-poster,
  .web-video-media {
    transition: none;
  }
}
