/* Home-page videos sit together before the product platforms. */
.home-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  margin-top: 22px;
}

.home-intro-actions .home-intro-next {
  margin-top: 0;
}

.home-videos {
  margin-bottom: 56px;
  padding: 32px;
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 30px 10px 30px 10px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(0, 51, 102, 0.06);
  scroll-margin-top: 24px;
}

.home-videos-heading {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.home-videos-heading .page-intro-eyebrow {
  margin-bottom: 10px;
}

.home-videos-heading h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-videos-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.65;
}

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

.home-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 16px;
  background: var(--card);
}

.home-video-copy {
  padding: 22px 22px 20px;
}

.home-video-label {
  color: #a63855;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-video-copy h3 {
  margin: 8px 0 10px;
  color: var(--primary);
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.home-video-copy p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.65;
}

.home-video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--primary);
}

.home-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-video-external {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 22px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.home-video-external:hover {
  background: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-intro-actions .btn:focus-visible,
.home-video-external:focus-visible,
.home-video-embed iframe:focus-visible {
  outline: 3px solid #a63855;
  outline-offset: 3px;
}

.home-video-external:focus-visible,
.home-video-embed iframe:focus-visible {
  outline-offset: -3px;
}

@media (max-width: 900px) {
  .home-videos {
    padding: 24px;
  }

  .home-videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .home-videos {
    margin-bottom: 36px;
    padding: 20px 14px;
  }

  .home-video-copy {
    padding: 18px;
  }

  .home-video-external {
    padding-left: 18px;
    padding-right: 18px;
  }
}
