/* October 16: homepage video framing and the independent LucidBots partner badge.
   Preserve the approved background video, all other pages, and mobile swipes. */
@media (max-width:800px) {
  .home-page .hero-video { object-position:78% center; }
}

/* The approved Lucid Bots CERTIFIED PARTNER badge is distinct from the
   marketing logo in the video. Keep it directly after the "SAFER • SMARTER •
   MORE EFFICIENT" line in normal flow: no absolute overlay or clipping. */
.home-page .hero-content > .partner-mark {
  position: static;
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  box-sizing: border-box;
  gap: 10px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 10px;
}
.home-page .hero-content > .partner-mark img {
  flex: 0 0 auto;
  width: 120px;
  height: 57px;
  object-fit: contain;
}
.home-page .hero-content > .partner-mark > span {
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: .12em;
}
@media (max-width: 600px) {
  .home-page .hero-content > .partner-mark {
    gap: 9px;
    padding: 7px 9px;
  }
  .home-page .hero-content > .partner-mark img {
    width: 108px;
    height: 51px;
  }
  .home-page .hero-content > .partner-mark > span {
    font-size: 8px;
  }
}

/* Short desktop windows (including zoomed desktops) need room for the full
   headline, tagline and partner mark. Let the hero grow only when the window
   is too short; otherwise retain the approved one-screen layout. */
@media (min-width: 1101px) and (max-height: 710px) {
  .home-page .hero {
    height: auto;
    min-height: 100svh;
    padding-top: calc(var(--header) + 32px);
    padding-bottom: 28px;
    align-items: flex-start;
  }
}
