:root {
  --inbyted-cta-start: #ffb15c;
  --inbyted-cta-mid: #f68512;
  --inbyted-cta-end: #e96600;
  --inbyted-cta-text: #262e37;
  --inbyted-cta-dark: #262e37;
  --inbyted-cta-hover: #ff9d3f;
}

.i26-button--primary,
.btn.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 15px 21px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  color: var(--inbyted-cta-text);
  background: linear-gradient(112deg, var(--inbyted-cta-start) 0%, var(--inbyted-cta-mid) 54%, var(--inbyted-cta-end) 100%);
  box-shadow:
    0 9px 18px rgba(246, 133, 18, .23),
    inset 0 1px 0 rgba(255, 255, 255, .58),
    inset 0 -2px 0 rgba(167, 59, 0, .28);
  font-family: "Inter", var(--font-default), sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
  text-transform: none;
  transform: translateY(0);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.i26-button--primary::after,
.btn.btn-primary::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 7px rgba(255, 255, 255, .72);
}

.i26-button--primary::before,
.btn.btn-primary::before {
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -28%;
  width: 22%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
  opacity: 0;
  pointer-events: none;
  transform: skewX(-20deg) translateX(-240%);
}

@media (hover: hover) and (pointer: fine) {
  .i26-button--primary:hover,
  .btn.btn-primary:hover {
    color: var(--inbyted-cta-text);
    background: var(--inbyted-cta-hover);
    border-color: var(--inbyted-cta-hover);
    filter: saturate(1.06) brightness(1.04);
    box-shadow:
      0 15px 30px rgba(246, 133, 18, .40),
      inset 0 1px 0 rgba(255, 255, 255, .66),
      inset 0 -2px 0 rgba(167, 59, 0, .30);
    transform: translateY(-3px);
  }

  .i26-button--primary:hover::before,
  .btn.btn-primary:hover::before {
    animation: inbyted-cta-reflection 560ms ease-out 1;
  }
}

.i26-button--primary:active,
.btn.btn-primary:active {
  box-shadow:
    0 4px 9px rgba(246, 133, 18, .20),
    inset 0 2px 4px rgba(167, 59, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .36);
  transform: translateY(-1px) scale(.985);
}

.i26-button--primary:focus-visible,
.btn.btn-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow:
    0 0 0 5px var(--inbyted-cta-dark),
    0 9px 18px rgba(246, 133, 18, .23),
    inset 0 1px 0 rgba(255, 255, 255, .58),
    inset 0 -2px 0 rgba(167, 59, 0, .28);
}

.i26-button--primary:disabled,
.i26-button--primary[aria-disabled="true"],
.btn.btn-primary:disabled,
.btn.btn-primary[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
}

@keyframes inbyted-cta-reflection {
  from {
    opacity: 0;
    transform: skewX(-20deg) translateX(-240%);
  }

  18% {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: skewX(-20deg) translateX(720%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .i26-button--primary,
  .btn.btn-primary {
    transition: none;
  }

  .i26-button--primary:hover,
  .btn.btn-primary:hover,
  .i26-button--primary:active,
  .btn.btn-primary:active {
    transform: none;
  }

  .i26-button--primary:hover::before,
  .btn.btn-primary:hover::before {
    animation: none;
  }
}
