.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--blue {
  background: var(--c-blue);
  color: var(--c-white);
}

.btn--blue:hover {
  background: var(--c-blue-dark);
  color: var(--c-white);
}

.btn--teal {
  background: var(--c-teal);
  color: var(--c-white);
}

.btn--teal:hover {
  background: var(--c-teal-dark);
  color: var(--c-white);
}

.btn--outline,
.btn--white {
  background:
    linear-gradient(var(--c-teal), var(--c-teal)) no-repeat right center / 0% 100%,
    var(--c-white);
  border-color: var(--c-teal);
  color: var(--c-text);
  transition:
    background-size 0.5s var(--ease-out),
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.btn--outline:hover,
.btn--white:hover,
.btn--outline:focus-visible,
.btn--white:focus-visible {
  background-position: left center, 0 0;
  background-size: 100% 100%, auto;
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(28, 176, 176, 0.25);
}

.btn--arrow::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.btn--wide {
  justify-content: space-between;
  width: calc(276.1 * var(--u));
  height: calc(58.4 * var(--u));
  min-height: 0;
  padding: 0 calc(28.6 * var(--u)) 0 calc(31.1 * var(--u));
  border-radius: 2px;
  font-size: calc(15.7 * var(--u));
  box-shadow: 0 1px 3px rgba(37, 60, 69, 0.18);
}

.btn--arrow:hover::after,
.btn--wide:hover::after,
.btn--arrow:focus-visible::after,
.btn--wide:focus-visible::after {
  animation: btn-icon-nudge 0.9s var(--ease-in-out) infinite;
}

@keyframes btn-icon-nudge {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 5px 0;
  }
}

.btn--wide::after {
  content: "";
  width: calc(10.5 * var(--u));
  height: calc(10.5 * var(--u));
  margin-right: calc(3 * var(--u));
  border-top: calc(2.6 * var(--u)) solid currentColor;
  border-right: calc(2.6 * var(--u)) solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .btn--wide {
    width: 100%;
    max-width: 320px;
    height: 52px;
    padding: 0 24px;
    font-size: 15px;
  }

  .btn--wide::after {
    width: 9px;
    height: 9px;
    margin-right: 3px;
    border-width: 2px 2px 0 0;
  }
}
