/* ==========================================================================
   Trusted by  —  Figma "Component 456 / Trusted by - Animate" (713:202772)
   1920 x 805 at y 1579, transparent above the bar so the Product section
   shows through. The bar itself sits at y 617 inside the frame.

   Default -> Animate:
     panel   width 6.74% (123px, centred) -> 100%
     bar     opacity 0 -> 1
     label   translateY 40 -> 0
     logos   translateY 40 -> 0
   ========================================================================== */

/* The bar lands at y 2196, exactly where the Human section starts. Human is
   opaque Mono/Dark, so Trusted-by has to stack above it or it is painted over
   and disappears. */
.trusted {
  top: calc(1579 * var(--s));
  height: calc(805 * var(--s));
  pointer-events: none;
  z-index: 6;
}

.trusted__bar {
  position: absolute;
  top: calc(617 * var(--s));
  left: 50%;
  transform: translateX(-50%);
  width: calc(1827.216 * var(--s));
  height: calc(140 * var(--s));
  pointer-events: auto;
  opacity: 0;
  transition: opacity var(--rv-dur) var(--rv-ease);
}
.trusted.is-in .trusted__bar { opacity: 1; }

/* The tinted plate + brackets grow outward from the centre. */
.trusted__panel {
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(123 * var(--s));
  background: rgba(26, 36, 50, 0.2);
  --brk-color: var(--c-accent-yellow);
  transition: width calc(var(--rv-dur) * 1.15) var(--rv-ease);
}
.trusted.is-in .trusted__panel { width: calc(1827.216 * var(--s)); }

.trusted__row {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(1556 * var(--s));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trusted__label {
  width: calc(139 * var(--s));
  height: calc(38 * var(--s));
  flex: none;
}
.trusted__label span {
  font-weight: 300;
  font-size: calc(32 * var(--s));
  line-height: 1.2;
  letter-spacing: calc(-1.28 * var(--s));
  color: var(--c-mono-light);
  white-space: nowrap;
}

.trusted__rule {
  flex: none;
  width: calc(480 * var(--s));
  height: 1px;
  background: var(--c-mono-light);
  opacity: 0.5;
}

.trusted__logos {
  width: calc(675.656 * var(--s));
  height: calc(36 * var(--s));
  flex: none;
}
.trusted__logos ul {
  display: flex;
  align-items: center;
  gap: calc(64 * var(--s));
}
.trusted__logos img {
  height: calc(36 * var(--s));
  width: auto;
}

@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .trusted__rule { display: none; }
}

@media (max-width: 1023px), (max-width: 1200px) and (orientation: portrait) {
  .trusted { height: auto; padding: 0 20px; }
  .trusted__bar {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
  }
  .trusted__panel {
    position: relative;
    left: auto;
    transform: none;
    inset: auto;
    width: 100%;
    padding: 28px 20px;
  }
  .trusted.is-in .trusted__panel { width: 100%; }
  .trusted__row {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    flex-direction: column;
    gap: 24px;
  }
  .trusted__label { width: auto; height: auto; }
  .trusted__label span { font-size: 24px; }
  .trusted__logos { width: 100%; height: auto; overflow-x: auto; }
  .trusted__logos ul { gap: 32px; justify-content: flex-start; }
  .trusted__logos img { height: 28px; }
}

/* The marquee copy and its track exist for the phone layout only; above the
   breakpoint the track is transparent to layout and the copy is not drawn,
   so the row is the single list it has always been. */
.trusted__track { display: contents; }
/* .trusted__logos ul is (0,1,1), so the copy has to be hidden at the same
   weight or it draws on the desktop row too. */
.trusted__logos .trusted__clone { display: none; }
