@font-face {
  font-family: "Ajaia Shared CTA Poppins";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/local/partner-pages/fonts/Poppins.woff2") format("woff2-variations"),
       url("/static/local/partner-pages/fonts/Poppins.woff2") format("woff2");
}

.ajaia-shared-cta,
.ajaia-shared-cta * {
  box-sizing: border-box;
}

.ajaia-shared-cta {
  --ascta-navy: #0a2a86;
  --ascta-ink: #001d6b;
  --ascta-sky: #97c2f8;
  --ascta-sky-soft: #e1eeff;
  background: linear-gradient(180deg, #eef4ff 0%, #e1eeff 100%);
  color: #fff;
  display: block;
  font-family: "Ajaia Shared CTA Poppins", sans-serif;
  padding-block: clamp(72px, 11vh, 140px);
  position: relative;
  scroll-margin-top: 72px;
  width: 100%;
}

.ascta-wrap {
  margin-inline: auto;
  max-width: 1280px;
  padding-inline: clamp(22px, 6vw, 120px);
  width: 100%;
}

.ascta-card {
  background: var(--ascta-navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) clamp(28px, 6vw, 72px);
  position: relative;
  text-align: center;
}

.ascta-canvas {
  display: block;
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.ascta-card > :not(.ascta-canvas):not(.ascta-square) {
  position: relative;
  z-index: 2;
}

.ascta-square {
  background: var(--ascta-sky);
  height: 16px;
  position: absolute;
  width: 16px;
  z-index: 2;
}

.ascta-square--top {
  left: 18px;
  top: 18px;
}

.ascta-square--bottom {
  bottom: 18px;
  opacity: 0.5;
  right: 18px;
}

.ascta-title {
  color: #fff;
  font-family: "Ajaia Shared CTA Poppins", sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 auto;
  max-width: 18ch;
  text-wrap: balance;
}

.ascta-title span {
  color: #ffffe6;
}

.ascta-copy {
  color: var(--ascta-sky-soft);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  margin: 22px auto 0;
  max-width: 48ch;
}

.ascta-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.ascta-button {
  align-items: center;
  background: var(--ascta-sky);
  border: 0;
  color: var(--ascta-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 10px;
  isolation: isolate;
  line-height: 1;
  min-height: 44px;
  overflow: hidden;
  padding: 14px 22px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.ascta-button::before {
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  content: "";
  height: 100%;
  left: -60%;
  position: absolute;
  top: 0;
  transform: skewX(-18deg);
  transition: left 600ms cubic-bezier(0.32, 0.72, 0, 1);
  width: 54px;
  z-index: -1;
}

.ascta-button-arrow {
  transition: transform 200ms ease;
}

.ascta-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .ascta-button:hover::before {
    left: 130%;
  }

  .ascta-button:hover .ascta-button-arrow {
    transform: translateX(4px);
  }
}

@media (max-width: 620px) {
  .ajaia-shared-cta {
    padding-block: 56px;
  }

  .ascta-wrap {
    padding-inline: 16px;
  }

  .ascta-card {
    padding: 64px 22px;
  }

  .ascta-title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .ascta-actions {
    margin-top: 28px;
  }

  .ascta-button {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ascta-button::before,
  .ascta-button-arrow {
    transition: none;
  }
}
