/* Three primary actions: smoked blue glass, an illuminated edge and a light core. */
.button.button-future {
  --cta-surface: linear-gradient(112deg, #193553 0%, #10243c 52%, #0d1c31 100%);
  --cta-edge: linear-gradient(120deg, #bfe6ffb3 0%, #6fa7df5c 30%, #5784bc33 64%, #a2d4ff8c 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-width: 0;
  max-width: 100%;
  min-height: 58px;
  padding: 9px 10px 9px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cta-surface) padding-box, var(--cta-edge) border-box;
  color: #e8f4ff;
  box-shadow: inset 0 1px 0 #e2f4ff12, inset 0 -1px 0 #01060e66,
    0 8px 24px #00000026, 0 0 20px #579dec0a;
  font: 500 13px/1.45 var(--display);
  letter-spacing: .12px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: box-shadow .35s var(--ease), translate .35s var(--ease),
    color .25s ease, opacity .85s var(--ease), transform .95s var(--ease);
}

/* Fine top reflection and a single sheen on interaction. */
.button-future::before,
.button-future::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.button-future::before {
  top: 0;
  left: 17%;
  right: 17%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d9f4ffd9, transparent);
  opacity: .6;
  transition: opacity .3s ease;
}

.button-future::after {
  top: -70%;
  bottom: -70%;
  left: -55%;
  width: 42%;
  background: linear-gradient(100deg, transparent 10%, #c7eaff1f 50%, transparent 90%);
  transform: skewX(-22deg);
  opacity: 0;
  transition: left .65s var(--ease), opacity .25s ease;
}

.button-future .cta-label {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.button-future .cta-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid #e8f6ff8c;
  border-radius: 50%;
  background: linear-gradient(140deg, #eef9ff, #b8dfff 72%, #9fcaf0);
  color: #153655;
  box-shadow: inset 0 1px 0 #ffffffbf, 0 0 18px #96caff1a;
  transition: box-shadow .35s ease, scale .35s var(--ease);
}

.button-future .cta-arrow {
  position: absolute;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .42s var(--ease), opacity .3s ease;
}

.button-future .cta-arrow-next {
  transform: translate(-22px, 22px);
  opacity: 0;
}

.hero-actions .button-future { min-width: min(250px, 100%); }
.closing .button-future { min-width: min(292px, 100%); }
.lead-submit.button-future { width: 100%; min-height: 60px; }

.button.button-future:focus-visible {
  outline: 2px solid #c4e6ff;
  outline-offset: 5px;
  box-shadow: inset 0 1px 0 #e2f4ff26, 0 0 0 5px #88baff12, 0 0 32px #68adff24;
}

.button-future:focus-visible::before { opacity: 1; }
.button-future:focus-visible .cta-icon { box-shadow: 0 0 22px #b0dcff45; }

@media (hover: hover) and (pointer: fine) {
  .button.button-future:not(:disabled):hover {
    color: #ffffff;
    translate: 0 -2px;
    box-shadow: inset 0 1px 0 #e2f4ff26, inset 0 -1px 0 #01060e66,
      0 12px 30px #00000033, 0 0 30px #74b4ff1f;
  }
  .button-future:not(:disabled):hover::before { opacity: 1; }
  .button-future:not(:disabled):hover::after { left: 115%; opacity: 1; }
  .button-future:not(:disabled):hover .cta-icon {
    scale: 1.04;
    box-shadow: inset 0 1px 0 #ffffffbf, 0 0 22px #b0dcff45;
  }
  .button-future:not(:disabled):hover .cta-arrow-main {
    transform: translate(22px, -22px);
    opacity: 0;
  }
  .button-future:not(:disabled):hover .cta-arrow-next {
    transform: translate(0, 0);
    opacity: 1;
  }
}

.button.button-future:not(:disabled):active {
  translate: 0 1px;
  box-shadow: inset 0 2px 12px #02091280, 0 0 22px #86c7ff26;
}

.button-future:not(:disabled):active .cta-icon { scale: .94; }

/* The form's existing pending state also drives the visual loading indicator. */
.button.button-future:disabled {
  opacity: .72;
  cursor: wait;
  translate: none;
}
.button-future:disabled .cta-arrow { opacity: 0; }
.button-future:disabled .cta-icon::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid #15365538;
  border-top-color: #153655;
  border-right-color: #153655;
  border-radius: 50%;
  animation: cta-sending .85s linear infinite;
}
@keyframes cta-sending { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .button.button-future { gap: 20px; padding-left: 22px; font-size: 12px; }
  .closing .button-future { min-width: min(288px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  .button.button-future,
  .button-future::before,
  .button-future::after,
  .button-future .cta-icon,
  .button-future .cta-icon::after,
  .button-future .cta-arrow { animation: none !important; transition: none !important; }
  .button.button-future:is(:hover, :active) { translate: none; }
  .button-future::after { display: none; }
  .button-future .cta-icon { scale: 1 !important; }
  .button-future .cta-arrow-main { transform: none !important; }
  .button-future:not(:disabled):hover .cta-arrow-main { opacity: 1; }
  .button-future .cta-arrow-next { display: none; }
}

@media (forced-colors: active) {
  .button.button-future { border-color: ButtonText; background: ButtonFace; color: ButtonText; }
  .button-future::before,
  .button-future::after { display: none; }
  .button-future .cta-icon { border-color: ButtonText; background: ButtonFace; color: ButtonText; }
  .button-future:disabled .cta-icon::after { border-color: GrayText; border-top-color: ButtonText; }
}

@media print {
  .button.button-future { background: white; color: #14283f; border-color: #14283f; box-shadow: none; }
  .button-future::before,
  .button-future::after { display: none; }
}
