/* 'Piper connects to the apps you already use': the grid of app chips. */

#apps2 h2 {
  font-size: 56px;
  line-height: 1.04;
}
#apps2 .head--c {
  margin: 0 auto;
  text-align: center;
  max-width: 820px;
}
#apps2 {
  background:
    radial-gradient(50% 60% at 100% 30%, color-mix(in srgb, var(--viz-3) 10%, transparent), transparent 70%),
    var(--paper);
}
.ag {
  margin: 48px auto 0;
  max-width: 1040px;
}
.ag ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ag__t {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink);
  transition:
    opacity 0.4s ease,
    translate 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.2s,
    border-color 0.2s;
  transition-delay: calc(var(--n) * 18ms);
}
.ag__t img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}
.ag__t:hover {
  translate: 0 -2px;
  border-color: color-mix(in srgb, var(--accent) 30%, var(--rule));
  box-shadow: 0 10px 22px -16px rgb(var(--shadow) / 0.5);
  transition-delay: 0s;
}
.ag.wait .ag__t {
  opacity: 0;
  translate: 0 10px;
}
@media (max-width: 680px) {
  .ag {
    margin-top: 32px;
  }
  .ag ul {
    gap: 8px;
  }
  .ag__t {
    font-size: 14px;
    padding: 6px 12px 6px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ag.wait .ag__t {
    opacity: 1;
    translate: 0 0;
  }
}
