html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.site-shell {
  width: 100%;
  min-width: 0;
}

@media (max-width: 720px) {
  .metrics-grid {
    grid-template-columns: 1fr !important;
  }

  .metric-card {
    min-width: 0;
    padding: 28px 24px 32px !important;
  }

  .metric-value {
    font-size: clamp(48px, 16vw, 68px) !important;
    white-space: nowrap;
  }

  .company-logo-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px 28px !important;
  }

  .company-logo-grid img {
    justify-self: start;
    max-width: 100% !important;
  }

  .product-case-study {
    margin: 64px -24px 0 !important;
    padding: 32px 24px 36px !important;
    gap: 28px !important;
    align-items: stretch !important;
  }

  .product-case-study__copy {
    min-width: 0 !important;
    flex-basis: 100% !important;
    gap: 14px !important;
  }

  .product-case-study__headline {
    max-width: 18ch;
    font-size: clamp(22px, 6.4vw, 26px) !important;
    line-height: 1.12 !important;
    text-wrap: balance;
  }

  .product-case-study__links {
    width: 100%;
    align-self: stretch !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
  }

  .product-case-study__link {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 14px 12px 12px 0 !important;
    border-bottom: 0 !important;
    font-size: 11px !important;
  }

  .product-case-study__link + .product-case-study__link {
    padding-left: 12px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
  }
}

@media (max-width: 900px) {
  .benefit-stats,
  .benefit-groups {
    grid-template-columns: 1fr !important;
  }

  .benefit-stat,
  .benefit-group {
    min-width: 0;
    padding: 28px 24px 32px !important;
  }

  .benefit-stat__value {
    font-size: clamp(48px, 7vw, 68px) !important;
  }

  .benefit-stat__note {
    max-width: 46ch;
  }
}

@media (max-width: 720px) {
  .benefit-stat__value {
    font-size: clamp(44px, 12vw, 60px) !important;
  }

  .benefit-stat__note {
    max-width: 34ch;
  }
}

@media (max-width: 360px) {
  .product-case-study__links {
    grid-template-columns: 1fr;
  }

  .product-case-study__link + .product-case-study__link {
    padding-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
  }
}

/* After-hours photo strip: swipeable on touch so the run of photos stays
   reachable even when the marquee animation is paused or reduced-motion
   turns it off entirely. */
.after-hours-strip {
  overflow-x: auto !important;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.after-hours-strip::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .after-hours-track {
    animation: none !important;
  }
}

/* Word-based metric value: the numeric clamp is tuned for short figures like
   "$35M" and overflows once the value is a phrase. */
@media (max-width: 720px) {
  .metric-value {
    font-size: clamp(34px, 12vw, 52px) !important;
  }

  .metric-value--text,
  .metric-value--range {
    white-space: normal !important;
  }
}

/* The Suisse rightwards arrow has a long shaft at display sizes; scale it back
   and set the gaps with margins so they don't inherit the display tracking. */
.metric-arrow {
  display: inline-block;
  width: 0.5em;
  margin: 0 0.17em;
  vertical-align: 0.19em;
  color: currentColor;
}

.metric-arrow svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Five investor marks wrap two-up on phones. Centre the whole set so the lone
   last mark reads as deliberate rather than pushed right under two left-packed
   rows, and give the stacked 776 lockup more height: it is near-square, so at
   the shared 44px cap it carries about a third the visual mass of the wide
   wordmarks beside it. */
@media (max-width: 720px) {
  .investor-logos {
    justify-content: center;
  }

  .investor-logos > span:last-child {
    width: auto !important;
    height: 64px !important;
  }
}
