/* Company home page refinements — scoped to .company-page.
 * Keeps decorative hero elements readable without covering product cards.
 */
.company-page .company-visual {
  min-height: 510px;
  isolation: isolate;
}
.company-page .company-visual .orb {
  z-index: 0;
  pointer-events: none;
}
.company-page .company-visual .floating-card {
  z-index: 2;
}
.company-page .company-visual .floating-card.two {
  bottom: 86px;
}
.company-page .company-visual .trust-pill {
  left: 0;
  bottom: 16px;
  z-index: 3;
  max-width: calc(100% - 24px);
  padding: 9px 13px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

/* Keyboard users should get the same visual hierarchy as pointer users. */
.company-page .floating-card:focus-visible,
.company-page .app-card:focus-visible,
.company-page .hero-actions .button:focus-visible,
.company-page .contact-panel .button:focus-visible {
  outline: 3px solid #675A94;
  outline-offset: 5px;
}

/* The hero CTA describes the app collection, so it scrolls to the app list. */
.company-page #apps {
  scroll-margin-top: 88px;
}

/* Keep long contact text inside the panel on narrow screens. */
.company-page .contact-panel .button {
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .company-page .company-visual {
    width: min(100%, 680px);
    min-height: 460px;
    margin-inline: auto;
  }
  .company-page .company-visual .floating-card.one {
    left: 4%;
    top: 54px;
  }
  .company-page .company-visual .floating-card.two {
    right: 4%;
    bottom: 96px;
  }
  .company-page .company-visual .trust-pill {
    left: 4%;
    bottom: 22px;
  }
}

@media (max-width: 720px) {
  .company-page .company-hero-grid {
    gap: 30px;
  }
  .company-page .company-visual {
    min-height: 430px;
  }
  .company-page .company-visual .orb {
    width: 270px;
    height: 270px;
    right: 0;
    top: 42px;
  }
  .company-page .company-visual .floating-card {
    width: min(240px, 74vw);
  }
  .company-page .company-visual .floating-card.one {
    left: 0;
    top: 48px;
  }
  .company-page .company-visual .floating-card.two {
    right: 0;
    bottom: 96px;
  }
  .company-page .company-visual .trust-pill {
    left: 0;
    bottom: 18px;
    max-width: min(230px, 76vw);
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .company-page .company-visual {
    min-height: 410px;
  }
  .company-page .company-visual .orb {
    width: 244px;
    height: 244px;
    top: 38px;
  }
  .company-page .company-visual .floating-card {
    width: min(224px, 72vw);
    padding: 13px;
    gap: 12px;
    border-radius: 22px;
  }
  .company-page .company-visual .floating-card img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }
  .company-page .company-visual .floating-card strong {
    font-size: 17px;
  }
  .company-page .company-visual .floating-card span {
    font-size: 12px;
    line-height: 1.35;
  }
  .company-page .company-visual .floating-card.one {
    top: 42px;
  }
  .company-page .company-visual .floating-card.two {
    bottom: 92px;
  }
  .company-page .company-visual .trust-pill {
    bottom: 18px;
    max-width: 210px;
    padding: 8px 11px;
    font-size: 11.5px;
  }
  .company-page .app-card-body {
    padding: 24px 20px;
  }
  .company-page .app-card-top {
    gap: 14px;
  }
  .company-page .app-card-icon {
    width: 68px;
    height: 68px;
    border-radius: 19px;
  }
  .company-page .app-card h3 {
    font-size: 25px;
  }
}
