/* Defensive responsive rules after mobile review of the JURIS sites. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero-grid > *,
.statement-grid > *,
.heading > *,
.security-showcase > *,
.security-detail > *,
.policy-callout > *,
.page-hero-grid > *,
.download-grid > *,
.download-product > *,
.video-grid > *,
.privacy-grid > *,
.footer-grid > * {
  min-width: 0;
}

h1,
h2,
h3,
.download-copy,
.panel-stats strong,
.release strong {
  overflow-wrap: anywhere;
}

/* The two primary platform choices form one balanced action group. */
.hero .actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 570px);
}

.hero .actions .button,
.download-product > .actions .button {
  width: 100%;
  text-align: center;
}

.download-product > .actions {
  justify-self: stretch;
}

@media (max-width: 760px) {

  .hero .actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero .actions .button {
    min-height: 54px;
  }

  h1 {
    font-size: clamp(38px, 11.4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .page-hero h1 {
    font-size: clamp(36px, 10.4vw, 48px);
  }

  h2 {
    font-size: clamp(30px, 8.8vw, 43px);
  }

  .lead,
  .page-hero-grid > p {
    font-size: 17px;
  }

  .product-panel {
    padding: 20px;
  }

  .panel-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .download-product {
    min-height: 0;
  }

  .download-product .button {
    min-height: 54px;
  }

  .privacy-grid,
  .legal-document {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand strong {
    font-size: 15px;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .download-product {
    grid-template-columns: 1fr;
  }

  .platform-icon {
    width: 52px;
    height: 52px;
  }
}
