/* V6 product videos: preserve the complete 16:9 application frame. */
.home-promo {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: visible;
  isolation: isolate;
  border: 1px solid color-mix(in srgb, var(--landing-line) 72%, #8ea0ff);
  border-radius: 24px;
  background: #070a12;
  box-shadow: 0 28px 72px rgba(15, 23, 42, .24);
}

.home-video-section {
  background: var(--landing-panel-soft);
}

.home-video-layout {
  display: grid;
  gap: clamp(24px, 3vw, 38px);
}

.home-video-head {
  margin-bottom: 0;
}

.home-video-head h2 {
  max-width: 760px;
}

.home-promo--standalone {
  width: min(100%, 1180px);
  justify-self: center;
}

.home-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: inherit;
  pointer-events: none;
}

.home-promo video,
.home-promo iframe {
  display: block;
  border: 0;
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 100%;
  max-height: none !important;
  aspect-ratio: 16 / 9;
  border-radius: inherit;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  scale: none !important;
  clip-path: none !important;
  zoom: 1 !important;
  background: #070a12;
}

.home-promo-sound {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(9, 12, 22, .82);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .26);
  color: #fff;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-promo-sound:hover,
.home-promo-sound:focus-visible {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(20, 24, 39, .94);
}

.home-promo-sound:focus-visible {
  outline: 3px solid rgba(142, 160, 255, .55);
  outline-offset: 2px;
}

.home-promo-sound[hidden] {
  display: none;
}

.home-promo-sound__icon {
  width: 18px;
  font-size: 15px;
  text-align: center;
}

/* Product videos use the same complete-frame rule as the homepage promo. */
.target-video-frame {
  overflow: visible;
}

.target-video-frame video,
.target-video-frame iframe {
  display: block;
  border: 0;
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 100%;
  max-height: none !important;
  aspect-ratio: 16 / 9;
  border-radius: inherit;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  scale: none !important;
  clip-path: none !important;
  zoom: 1 !important;
}

.feature-video-showcase {
  overflow: visible;
}

.feature-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-video-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--landing-line);
  border-radius: 22px;
  background: var(--landing-panel);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.feature-video-card__copy {
  min-height: 126px;
}

.feature-video-card__copy > span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--landing-brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-video-card h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.08;
}

.feature-video-card p {
  margin: 0;
  color: var(--landing-muted);
  line-height: 1.55;
}

.feature-video-card video,
.feature-video-card iframe {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 100%;
  max-height: none !important;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(142, 160, 255, .24);
  border-radius: 15px;
  background: #070a12;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  scale: none !important;
  clip-path: none !important;
  zoom: 1 !important;
}

.feature-video-card > a {
  width: fit-content;
  color: var(--landing-brand);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.feature-video-card > a:hover,
.feature-video-card > a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .home-promo {
    width: 100%;
    max-width: 860px;
    justify-self: center;
  }

  .feature-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-video-card__copy {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .home-promo {
    border-radius: 16px;
  }

  .home-promo-sound {
    top: 8px;
    right: 8px;
    min-height: 36px;
    padding: 0 10px;
  }

  .home-promo-sound [data-sound-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .feature-video-card {
    gap: 13px;
    padding: 14px;
    border-radius: 17px;
  }

}
