* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: #ffffff;
  color: #171717;
}

.trusted {
  padding: 4rem 1rem;
}

.trusted__inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

.trusted__text {
  max-width: 20rem;
  flex-shrink: 0;
}

.trusted__heading {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #171717;
}

.trusted__copy {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #737373;
}

.trusted__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e5e5;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #525252;
}

.cell__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .trusted__heading {
    font-size: 1.875rem;
  }

  .trusted__grid {
    width: auto;
  }

  .cell {
    width: 11rem;
  }
}

@media (min-width: 1024px) {
  .trusted__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }
}

/*
 * Logos 03 — "diagonal wave entrance + hover invert" animation identity.
 * Same canonical keyframes as `Logos03.tailwind.css`. Hovering a cell
 * inverts it to a solid dark chip via `background-color`/`color` —
 * properties the entrance animation never touches, so the two effects
 * never fight. Scoped so this never collides with another Resource's own
 * animation layer. Entirely disabled under reduced motion.
 */
@keyframes al-logos03-reveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes al-logos03-text-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .trusted__text {
    animation: al-logos03-text-reveal 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .cell {
    animation: al-logos03-reveal 550ms cubic-bezier(0.16, 1, 0.3, 1) both;
    transition:
      background-color 200ms ease,
      color 200ms ease,
      border-color 200ms ease;
  }

  .cell:hover {
    background-color: #171717;
    border-color: #171717;
    color: #ffffff;
  }
}
