/* Landing motion and CTA treatment. */
.landing-motion .btn-gradient {
  border: 0;
  color: #fff;
  background: linear-gradient(112deg, var(--color-brand-hover) 0%, var(--color-brand) 56%, var(--color-brand-gradient-start) 100%);
  background-size: 150% 150%;
  background-position: 0% 50%;
  box-shadow: 0 9px 22px rgba(183, 14, 20, .19);
  transition: background-position .38s ease, box-shadow .22s ease, transform .22s ease, filter .22s ease;
}

.landing-motion .btn-gradient:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
  box-shadow: 0 9px 22px rgba(183, 14, 20, .19);
}

.landing-motion .site-header .btn-gradient {
  box-shadow: 0 4px 12px rgba(183, 14, 20, .12);
}

@media (prefers-reduced-motion: no-preference) {
  .landing-motion .btn-gradient:active {
    transform: scale(.985);
  }
}

@media (min-width: 901px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .landing-motion .btn-gradient:hover {
    color: #fff;
    background-position: 100% 50%;
    box-shadow: 0 11px 24px rgba(183, 14, 20, .23);
    transform: translateY(-2px);
  }

  .landing-motion #benefit .feature-card {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }

  .landing-motion #benefit .feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(199, 22, 23, .42);
    box-shadow: 0 12px 28px rgba(20, 20, 24, .09);
  }

  .landing-motion #benefit .feature-icon {
    transition: transform .24s ease;
  }

  .landing-motion #benefit .feature-card:hover .feature-icon {
    transform: scale(1.03);
  }

  .landing-motion #gallery .g-frame img {
    transition: opacity .9s ease, transform .45s ease;
  }

  .landing-motion #gallery .g-frame:hover img {
    transform: scale(1.025);
  }
}

@media (max-width: 900px) {
  .landing-motion .mobile-cta .btn-gradient,
  .landing-motion .mobile-cta .btn-gradient:hover,
  .landing-motion .mobile-cta .btn-gradient:active {
    transform: none;
  }

  .landing-motion .mobile-cta .btn-gradient:active {
    filter: brightness(.94);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-motion .btn-gradient,
  .landing-motion .btn-gradient:hover,
  .landing-motion .btn-gradient:active,
  .landing-motion #benefit .feature-card,
  .landing-motion #benefit .feature-card:hover,
  .landing-motion #benefit .feature-icon,
  .landing-motion #gallery .g-frame img {
    transition: none;
    transform: none;
  }

  .landing-motion .btn-gradient:hover {
    filter: none;
  }
}
