.trusted-by {
	overflow: hidden;
	padding: 30px 0;
	background: #101010;
	border-top: 1px solid #202020;
	border-bottom: 1px solid #202020;
	color: #f5f5f5;
}

.trusted-by .container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

.trusted-by__title {
	margin: 0 0 22px;
	color: #777;
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-align: center;
	text-transform: uppercase;
}

.trusted-by__viewport {
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.trusted-by__track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: trusted-by-scroll var(--trusted-by-duration, 32s) linear infinite;
}

.trusted-by__group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: clamp(48px, 8vw, 112px);
	padding-right: clamp(48px, 8vw, 112px);
}

.trusted-by__item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 100px;
	height: 64px;
}

.trusted-by__logo {
	display: block;
	width: auto;
	max-width: 180px;
	height: auto;
	max-height: 48px;
	object-fit: contain;
	opacity: 0.68;
	filter: grayscale(1);
	transition: opacity 180ms ease, filter 180ms ease;
}

.trusted-by__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
}

.trusted-by__item:hover .trusted-by__logo,
.trusted-by__item:focus-within .trusted-by__logo {
	opacity: 1;
	filter: grayscale(0);
}

.trusted-by__link:focus-visible {
	outline: 2px solid #a855f7;
	outline-offset: 6px;
}

.trusted-by__viewport:hover .trusted-by__track,
.trusted-by__viewport:focus-within .trusted-by__track {
	animation-play-state: paused;
}

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

@media (max-width: 768px) {
	.trusted-by { padding: 24px 0; }
	.trusted-by__title { margin-bottom: 16px; }
	.trusted-by__group { gap: 48px; padding-right: 48px; }
	.trusted-by__item { min-width: 88px; height: 56px; }
	.trusted-by__logo { max-width: 150px; max-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
	.trusted-by__viewport {
		overflow-x: auto;
		mask-image: none;
	}
	.trusted-by__track {
		width: max-content;
		animation: none;
		transform: none;
	}
	.trusted-by__group { gap: 24px 40px; padding-right: 0; }
	.trusted-by__group[aria-hidden="true"] { display: none; }
	.trusted-by__item { min-width: 72px; }
}
