.service-track,
.service-set {
  display: flex;
  align-items: center;
}

.service-track,
.service-set:first-child {
  width: 100%;
}

.service-set:first-child {
  justify-content: space-between;
  gap: 17px;
}

.service-set[aria-hidden="true"] {
  display: none;
}

@media (width <= 650px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    display: block;
    min-height: auto;
    padding: 34px 20px 32px;
  }

  .hero .eyebrow {
    display: none;
  }

  .hero h1 {
    font-size: clamp(50px, 15.5vw, 64px);
    line-height: 0.86;
    letter-spacing: -0.055em;
  }

  .hero .lede {
    max-width: 36rem;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    gap: 8px;
    margin-top: 28px;
  }

  .hero .primary-button {
    min-height: 56px;
    padding: 18px 20px;
  }

  .hero .text-link {
    width: max-content;
    padding: 13px 0 9px;
  }

  .hero .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    margin-top: 28px;
    padding-top: 0;
    font-size: 9px;
    line-height: 1.35;
  }

  .hero .trust-row span {
    min-width: 0;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero .trust-row span:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .hero .service-bar {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: 68px;
    padding: 0;
    overflow: hidden;
  }

  .hero .service-list {
    width: 100%;
    overflow: hidden;
  }

  .service-track {
    width: max-content;
    animation: service-marquee 28s linear infinite;
    will-change: transform;
  }

  .service-set,
  .service-set:first-child {
    width: max-content;
    min-height: 68px;
    justify-content: flex-start;
    gap: 30px;
    padding: 0 15px;
  }

  .service-set[aria-hidden="true"] {
    display: flex;
  }

  .service-set > span {
    display: block;
    flex: none;
    padding: 0 15px;
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: 0.6px;
  }

  .proofRibbon {
    padding: 0;
  }

  .proofRibbon .shell {
    width: 100%;
    gap: 0;
  }

  .proofRibbon span,
  .proofRibbon a {
    min-width: 0;
    min-height: 72px;
    padding: 18px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    line-height: 1.45;
  }

  .proofRibbon a {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }
}

@keyframes service-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-track {
    animation: none;
  }

  .hero .service-list {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero .service-list::-webkit-scrollbar {
    display: none;
  }

  .service-set[aria-hidden="true"] {
    display: none;
  }
}
