/* Tactile, satin-finish calls to action. All effects preserve the hit area. */
.button {
  --button-shadow: #58237826;
  --button-face: linear-gradient(125deg, #80539d 0%, #704292 48%, #60347f 100%);
  background: var(--button-face);
  background-size: 180% 100%;
  border: 1px solid #8758a7;
  border-radius: 14px;
  padding: 13px 19px 13px 23px;
  gap: 15px;
  min-height: 56px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1px;
  box-shadow:
    inset 0 1px 0 #ffffff29,
    0 3px 5px #4b1a6612,
    0 10px 23px var(--button-shadow);
  transition:
    background-position 0.55s,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s,
    border-color 0.3s;
}
.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 12px;
  border-top: 1px solid #ffffff14;
  pointer-events: none;
}
.button::after {
  background: linear-gradient(
    110deg,
    transparent 41%,
    #ffffff12 46%,
    #ffffff40 50%,
    #ffffff12 54%,
    transparent 60%
  );
  z-index: 0;
}
.button > .button-label,
.button > .button-arrow,
.button > svg {
  position: relative;
  z-index: 1;
}
.button:is(:hover, :focus-visible):not(:disabled) {
  background: var(--button-face);
  background-size: 180% 100%;
  background-position: 100% 50%;
  transform: translateY(-4px);
  border-color: #976cba;
  box-shadow:
    inset 0 1px 0 #ffffff30,
    0 7px 12px #4b1a6616,
    0 18px 32px #62357d35;
}
.button-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  background: #ffffff12;
  overflow: hidden;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.button .button-arrow .icon {
  width: 15px;
  height: 15px;
  transform: none;
  stroke-width: 1.8;
}
.button:is(:hover, :focus-visible) .button-arrow {
  background: #ffffff28;
  border-color: #ffffff50;
  transform: rotate(-5deg);
}
.button:is(:hover, :focus-visible) .button-arrow .icon {
  transform: none;
  animation: arrow-swipe 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.button:active:not(:disabled) {
  transform: translateY(1px) scale(0.975);
  box-shadow:
    inset 0 2px 4px #35174418,
    0 3px 9px #62357d24;
  transition-duration: 0.1s;
}
.button:disabled {
  transform: none;
  box-shadow: none;
  cursor: wait;
  opacity: 0.65;
}
.button-light {
  --button-face: linear-gradient(115deg, #fff 0%, #f7effc 55%, #ecddf6 100%);
  color: #4e2967;
  border-color: #fff;
  box-shadow:
    inset 0 1px 0 #fff,
    0 6px 18px #24102e1a;
}
.button-light .button-arrow {
  color: #704292;
  background: #e7d9f1;
  border-color: #d9c3e8;
}
.button-light:is(:hover, :focus-visible) {
  color: #4e2967;
  border-color: #fff;
  box-shadow:
    0 8px 15px #24102e12,
    0 18px 30px #24102e2c;
}
.button-light:is(:hover, :focus-visible) .button-arrow {
  background: #d9c1e9;
  border-color: #b997d1;
}
.button-outline {
  --button-face: linear-gradient(115deg, #ffffff 0%, #f5edf9 100%);
  color: #6a3d86;
  border-color: #cbb0dd;
  box-shadow:
    inset 0 1px 0 #fff,
    0 4px 12px #7042920c;
}
.button-outline .button-arrow {
  border-color: #d8c4e7;
  background: #ecdef5;
}
.button-outline:is(:hover, :focus-visible) {
  color: #58316f;
  border-color: #a87cc3;
  box-shadow:
    0 6px 12px #7042920c,
    0 16px 26px #70429222;
}
.button-outline:is(:hover, :focus-visible) .button-arrow {
  background: #dfc9ee;
  border-color: #bd9ad3;
}
.button-translucent {
  --button-face: linear-gradient(115deg, #ffffff0c, #ffffff04);
  border-color: #ae8ec1;
  color: #f3e7fc;
  box-shadow: none;
}
.button-translucent:is(:hover, :focus-visible) {
  color: #fff;
  border-color: #d4b5e5;
}
.hero-actions > .button {
  min-height: 58px;
  padding: 14px 20px 14px 25px;
  font-size: 12px;
}
.hero-actions .text-button {
  min-height: 48px;
  font-size: 12px;
  gap: 9px;
}
.small-play {
  width: 34px;
  height: 34px;
  background: #f0e5f8;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.text-button:hover .small-play {
  transform: scale(1.1);
  box-shadow: 0 5px 15px #70429215;
}
.nav-cta {
  min-height: 46px;
  padding: 10px 14px 10px 18px;
  border-radius: 50px;
  font-size: 11px;
}
.nav-cta::before {
  border-radius: 50px;
}
.nav-cta .button-arrow {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}
.plan-card .button {
  min-height: 56px;
  font-size: 11px;
  padding: 13px 16px;
  gap: 10px;
}
.cta-actions .button {
  min-height: 56px;
  font-size: 12px;
}
.enrollment-form > .button {
  font-size: 12px;
  min-height: 56px;
}
@keyframes arrow-swipe {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  44% {
    transform: translateX(12px);
    opacity: 0;
  }
  45% {
    transform: translateX(-12px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 599px) {
  .hero-actions {
    gap: 14px 20px;
  }
  .hero-actions > .button {
    padding: 13px 17px;
    font-size: 11px;
    min-height: 56px;
  }
  .hero-actions .text-button {
    font-size: 11px;
  }
  .button-arrow {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-actions .button {
    width: min(100%, 320px);
    justify-content: center;
  }
}
@media (hover: none) {
  .button:hover:not(:active) {
    transform: none;
  }
  .button:active:not(:disabled) {
    transform: scale(0.97);
  }
}
@media (prefers-reduced-motion: reduce) {
  .button,
  .button::after,
  .button .icon,
  .button-arrow {
    animation: none !important;
    transition: none !important;
  }
  .button:is(:hover, :active, :focus-visible),
  .button:is(:hover, :focus-visible) .button-arrow {
    transform: none !important;
  }
}
