* {
  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;
}

.integrations {
  padding: 4rem 1rem;
}

.integrations__inner {
  max-width: 64rem;
  margin: 0 auto;
}

.integrations__text {
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
}

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

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

.integrations__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background: #fafafa;
  padding: 1rem;
  transition:
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.card:hover {
  background-color: #ffffff;
  box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.22);
}

.card__icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.card__glyph {
  width: 1rem;
  height: 1rem;
}

.card__name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #171717;
}

.card__desc {
  margin: 0.125rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #737373;
}

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

  .integrations__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .integrations__heading {
    font-size: 2.25rem;
  }

  .integrations__grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 3rem;
  }
}

/*
 * Logos 12 — "stagger reveal + hover shadow lift" animation identity.
 * Same canonical keyframe as `Logos12.tailwind.css`. Hovering a card only
 * ever raises `box-shadow`/`background-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-logos12-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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