.glass-cta {
  position: relative; display: grid; padding: 0; overflow: hidden;
  appearance: none; background: transparent; border: 0; border-radius: 100px;
  color: white; font-weight: 700; text-decoration: none;
  font-size: clamp(15px, 1.35vw, 22px); line-height: 1.15;
}
.glass-cta span {
  position: relative; z-index: 1; display: grid; place-items: center;
  min-height: 50px; padding: 0 clamp(18px, 2.2vw, 36px);
  border: 1.5px solid currentColor; border-radius: inherit; mix-blend-mode: difference;
}
.glass-cta:disabled { opacity: 1; -webkit-text-fill-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .glass-cta::before, .glass-cta::after {
    content: ""; position: absolute; pointer-events: none;
  }
  .glass-cta::before {
    inset: 0; border-radius: inherit; opacity: 0;
    background: linear-gradient(165deg, #ffffff38, #ffffff0d 52%, #27313e24);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    box-shadow: inset 0 1px 2px #ffffffbd, inset 0 -1px 3px #20242b40;
    transition: opacity .22s ease;
  }
  .glass-cta::after {
    inset: -30% auto -30% 0; width: 55%; transform: translateX(-150%) skewX(-24deg);
    background: linear-gradient(90deg, transparent, #ffffff26 28%, #ffffffd9 49%, #ffffff47 56%, transparent);
    mask-image: linear-gradient(180deg, #000 18%, #0005 40%, #0004 60%, #000 82%);
  }
  .glass-cta:hover::before { opacity: 1; }
  @media (prefers-reduced-motion: no-preference) {
    .glass-cta:hover::after { animation: glass-reflection .8s ease-in-out both; }
  }
}
@keyframes glass-reflection {
  from { transform: translateX(-150%) skewX(-24deg); }
  to { transform: translateX(240%) skewX(-24deg); }
}
@media (forced-colors: active) {
  .glass-cta { color: ButtonText; }
  .glass-cta span { mix-blend-mode: normal; }
  .glass-cta::before, .glass-cta::after { display: none; }
}
.glass-cta:focus-visible { outline: 3px solid #276fdb; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
  .glass-cta::before { transition: none; }
}
