/*
 * Shared "Trusted by thousands" marquee section.
 * Used on homepage (.pp-hp) and pricing page (.pp-pricing).
 * Design tokens inherit from the parent page wrapper.
 */

.pp-trust-proof {
  position: relative;
  background: var(--accent-tint);
  padding: var(--section-y) 0 var(--gap-xl);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pp-trust-proof .trust-bg-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 1440px;
  pointer-events: none;
  color: var(--accent);
  opacity: 0.12;
}

.pp-trust-proof .container { position: relative; z-index: 2; }

.pp-trust-proof .trust-proof-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--gap-xl);
}

.pp-trust-proof .trust-proof-header h2 {
  margin: 0 0 var(--gap-sm);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pp-trust-proof .trust-proof-header .lead {
  margin: 0;
  max-width: 52ch;
  font-size: var(--fs-body);
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.pp-trust-proof .trust-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.pp-trust-proof .trust-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: center;
  animation: pp-trust-marquee 38s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .pp-trust-proof .trust-marquee__track { animation: none; }
}

@keyframes pp-trust-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.pp-trust-proof .trust-marquee__set {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
  padding: 0 clamp(20px, 3vw, 40px);
}

.pp-trust-proof .trust-marquee__item {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
  overflow: visible;
}

.pp-trust-proof .trust-marquee__item .trust-marquee__logo {
  display: block;
  height: 40px;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  object-fit: contain;
  flex-shrink: 0;
  color: color-mix(in oklch, var(--fg) 72%, var(--muted));
  opacity: 0.88;
  filter: grayscale(0.15);
  transition: opacity 150ms ease, filter 150ms ease;
}

.pp-trust-proof .trust-marquee__item .trust-marquee__logo:hover {
  opacity: 1;
  filter: grayscale(0);
}
