/* WEB-PG-028 v1.1 refinements */
.hero h1 {
  font: 600 clamp(2.35rem, 3vw, 3rem) / 1.09 Comfortaa, Inter, sans-serif;
  letter-spacing: -0.032em;
  max-width: 820px;
}

.pattern-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1ecfb;
  color: var(--purple);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.final-cta {
  scroll-margin-top: 120px;
}

.logos-section {
  overflow: hidden;
  background: #fff;
}

.logo-intro {
  max-width: 960px;
  text-align: center;
}

.logo-intro h2 {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.logo-intro p {
  max-width: 880px;
  margin: 22px auto 0;
  color: var(--muted);
  font: 500 18px/1.72 Inter, sans-serif;
}

.logo-marquee {
  display: grid;
  gap: 14px;
  margin-top: 52px;
}

.logo-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: logo-scroll 68s linear infinite;
}

.logo-row.reverse .logo-track {
  animation-direction: reverse;
  animation-duration: 74s;
}

.logo-row:hover .logo-track,
.logo-row:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-set {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 7px;
  list-style: none;
}

.logo-item {
  display: grid;
  flex: 0 0 184px;
  place-items: center;
  min-width: 184px;
  height: 72px;
  padding: 4px 14px;
}

.logo-item img {
  width: 150px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: opacity .2s ease;
}

.logo-item span {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.logo-item:hover img {
  opacity: .95;
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-row {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-track {
    display: block;
    width: 100%;
    animation: none;
  }

  .logo-set {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

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

  .logo-item {
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.09;
  }

  .case-nav a {
    white-space: nowrap;
  }

  .logo-intro {
    text-align: left;
  }

  .logo-intro p {
    font-size: 16px;
  }

  .logo-marquee {
    margin-top: 36px;
  }

  .logo-item {
    flex-basis: 150px;
    min-width: 150px;
  }

}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .logo-set {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
