/* The Group button gesture on the vitrine's calls to action. */
.av-public-action {
  transform-origin: center;
  transition: transform .16s ease, box-shadow .18s ease, background-color .18s ease;
}

.nav-ctas .login-link {
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #171922;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .nav-ctas .login-link { display: inline-flex; }
}

.nav-ctas .login-link:is(:hover, :focus-visible, :active) {
  color: #fff;
  text-shadow: none;
}

.av-public-action:focus-visible {
  outline: 2px solid #8e5d04;
  outline-offset: 3px;
}

.av-public-action:focus-visible,
.av-public-action:is(:active, .is-touching) {
  box-shadow: 0 0 0 3px #f4bb3450, 0 0 22px #ffc92d70;
}

@media (hover: hover) and (pointer: fine) {
  .av-public-action:hover {
    box-shadow: 0 8px 22px #a82c232b, 0 0 0 3px #f4bb3450, 0 0 25px #ffc92d55;
  }
}

.av-public-arrow {
  display: inline-block;
  flex: 0 0 auto;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .av-public-action:focus-visible { transform: translateY(-3px); }
  .av-public-action:is(:focus-visible, :active, .is-touching) .av-public-arrow {
    animation: av-public-arrow .8s ease-in-out infinite alternate;
  }
  @media (hover: hover) and (pointer: fine) {
    .av-public-action:hover { transform: translateY(-3px); }
    .av-public-action:hover .av-public-arrow {
      animation: av-public-arrow .8s ease-in-out infinite alternate;
    }
  }
  .av-public-action:is(:active, .is-touching) {
    transform: translateY(1px) scale(1.035, .94);
    transition-duration: .07s;
  }
  @keyframes av-public-arrow {
    from { transform: translate(0, 0); }
    to { transform: translate(var(--av-arrow-x, 4px), var(--av-arrow-y, 0)) scaleX(1.1); }
  }
}

.av-public-arrow-down {
  --av-arrow-x: 0;
  --av-arrow-y: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .av-public-action, .av-public-action:is(:hover, :focus-visible, :active, .is-touching) {
    transition: none;
    transform: none;
  }
}
