.hp-trial-glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hp-trial-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 24%, #b5a0ff24 42%, #a7e6ff2e 54%, transparent 72%);
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hp-trial-glow::after {
    animation: hp-trial-light 2.1s 150ms cubic-bezier(.22, .61, .36, 1) both;
  }
}

@keyframes hp-trial-light {
  0% { opacity: 0; transform: translateX(-80%); }
  30%, 64% { opacity: 1; }
  100% { opacity: 0; transform: translateX(80%); }
}

.hp-trial-highlight {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #8f78c66b;
  border-radius: 10px;
  color: #f1eaff;
  background: radial-gradient(ellipse at 5% 0%, #393053 0, transparent 72%), #1c1b2a;
}

.hp-trial-highlight > strong {
  display: block;
  font-size: 1.35em;
  line-height: 1.35;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.hp-trial-highlight > p {
  margin: 4px 0 0;
  color: #c4bbd7;
  font-size: .94em;
  line-height: 1.5;
}

.hero > .trial-note {
  color: #c5bdd7;
  font-size: .875rem;
  font-weight: 550;
}

.hp-trial-cta {
  position: relative;
  border: 1px solid #8065c2;
  border-radius: 15px;
  background: linear-gradient(145deg, #34274f, #251d39);
  color: #f7f4ff;
}

.hp-trial-cta:is(a, button):not(:disabled):hover {
  border-color: #a38adf;
  background: linear-gradient(145deg, #41315f, #2e2345);
}

.hp-button.hp-trial-cta {
  color: #f7f4ff !important;
}

.hp-trial-cta:focus-visible {
  outline: 2px solid #e6dcff;
  outline-offset: 4px;
}

.hp-trial-cta:not(:disabled)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 0 0 1px #d3c1ffbb,
    0 0 11px 1px #ba9dff75,
    0 0 24px 3px #956aff45,
    inset 0 0 8px #c2a5ff28;
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hp-trial-cta:not(:disabled):not(.hp-trial-cta-awaiting)::after {
    animation: hp-trial-halo-pulse 3.8s ease-in-out;
  }
}

@keyframes hp-trial-halo-pulse {
  0%, 100% { opacity: 0; }
  25% { opacity: 1; }
  48% { opacity: .12; }
  72% { opacity: .68; }
}
