/* "Trusted by leading brands" — shared by every draft (light paper theme). Component tokens are set here once. */
.brandwall {
  --bw-ink: #161514; --bw-ink-2: rgb(22 21 20 / .68); --bw-line: rgb(22 21 20 / .1);
  --bw-card: #f8f6f1; --bw-shadow: rgb(22 21 20 / .06);
  --bw-ease: cubic-bezier(.22, 1, .36, 1);
  padding: 48px 0 32px;
}
.bw-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 16px; margin-bottom: 16px; }
.bw-title { margin: 0; font-size: 17px; line-height: 24px; font-weight: 500; color: var(--bw-ink); letter-spacing: 0; }
.bw-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; color: var(--bw-ink-2); text-decoration: none; transition: color .16s var(--bw-ease); white-space: nowrap; }
.bw-more:hover { color: var(--bw-ink); }
.bw-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s var(--bw-ease); }
.bw-more:hover svg { transform: translateX(2px); }
/* the card: a shallow tray with a lit top edge, as on AutoBoost */
.bw-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 28px 1px;
  background: var(--bw-card);
  box-shadow: inset 0 0 0 1px var(--bw-line), inset 0 1px 0 rgb(255 255 255 / .9), 0 1px 2px var(--bw-shadow), 0 24px 48px -24px rgb(22 21 20 / .12);
}
.bw-marquee { display: grid; gap: 24px; overflow: hidden; }
/* soft fade at both ends: two card-coloured veils over the moving rows (no CSS mask, which bands in Chrome) */
.bw-card::before, .bw-card::after { content: ""; position: absolute; top: 1px; bottom: 1px; z-index: 1; width: 12%; pointer-events: none; }
.bw-card::before { left: 1px; background: linear-gradient(to right, var(--bw-card) 8%, rgb(248 246 241 / 0)); }
.bw-card::after { right: 1px; background: linear-gradient(to left, var(--bw-card) 8%, rgb(248 246 241 / 0)); }
.bw-track { display: flex; width: max-content; animation: bw-scroll 60s linear infinite; }
.bw-track.is-reverse { animation-direction: reverse; animation-duration: 68s; }
.bw-card:hover .bw-track { animation-play-state: paused; }
@keyframes bw-scroll { to { transform: translateX(-50%); } }
.bw-group { display: flex; align-items: center; gap: 72px; margin: 0; padding: 0 36px; list-style: none; }
.bw-item { display: grid; place-items: center; height: 44px; flex: 0 0 auto; }
.bw-logo { display: block; flex: 0 0 auto; opacity: .62; transition: opacity .16s var(--bw-ease); }
.bw-logo { filter: brightness(0); }
.bw-logo.is-gray { filter: grayscale(1) contrast(1.15); opacity: .7; }
.bw-logo.is-inverse { filter: grayscale(1) invert(1) contrast(1.4); }
.bw-item:hover .bw-logo { opacity: .9; }
@media (max-width: 719px) {
  .brandwall { padding: 40px 0 24px; }
  .bw-card { border-radius: 20px; padding: 20px 1px; }
  .bw-marquee { gap: 16px; }
  .bw-group { gap: 48px; padding: 0 24px; }
  .bw-logo { transform: scale(.86); }
}
@media (prefers-reduced-motion: reduce) {
  .bw-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .bw-track .bw-group + .bw-group { display: none; }
  .bw-group { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  .bw-card::before, .bw-card::after { display: none; }
}
