:root {
  --ux-accent: var(--green, var(--primary, #45f882));
  --ux-accent-rgb: 69, 248, 130;
  --ux-ease: cubic-bezier(.22, 1, .36, 1);
}

.whis-scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1200;
  height: 3px;
  pointer-events: none;
  transform: scaleX(var(--ux-scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, #1ee978 0%, #45f882 52%, #93ffb9 100%);
  box-shadow: 0 0 18px rgba(var(--ux-accent-rgb), .7);
  will-change: transform;
}

.whis-back-to-top {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 15px 0 13px;
  border: 1px solid rgba(var(--ux-accent-rgb), .34);
  border-radius: 999px;
  background: rgba(8, 13, 18, .88);
  color: #f5fff8;
  font: 700 12px/1 Inter, system-ui, sans-serif;
  letter-spacing: .02em;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .025) inset;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.94);
  transition: opacity .26s ease, visibility .26s ease, transform .42s var(--ux-ease), border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.whis-back-to-top svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whis-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whis-back-to-top:hover {
  color: #07110b;
  border-color: var(--ux-accent);
  background: var(--ux-accent);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .42), 0 0 32px rgba(var(--ux-accent-rgb), .26);
  transform: translateY(-3px) scale(1.02);
}

.whis-back-to-top:focus-visible {
  outline: 3px solid rgba(var(--ux-accent-rgb), .26);
  outline-offset: 4px;
}

.whis-ux-ready [data-ux-reveal] {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 22px, 0) scale(.988);
  transition:
    opacity .66s var(--ux-ease) var(--ux-delay, 0ms),
    filter .66s var(--ux-ease) var(--ux-delay, 0ms),
    transform .72s var(--ux-ease) var(--ux-delay, 0ms);
  will-change: opacity, filter, transform;
}

.whis-ux-ready [data-ux-reveal].is-visible {
  opacity: 1;
  filter: none;
  transform: none;
  will-change: auto;
}

.ux-spotlight {
  --ux-pointer-x: 50%;
  --ux-pointer-y: 50%;
  position: relative;
  isolation: isolate;
}

.ux-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--ux-pointer-x) var(--ux-pointer-y), rgba(var(--ux-accent-rgb), .115), transparent 48%);
  transition: opacity .32s ease;
}

.ux-spotlight:hover::after,
.ux-spotlight:focus-within::after {
  opacity: 1;
}

.ux-spotlight > * {
  position: relative;
  z-index: 1;
}

.ux-counting {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .whis-back-to-top {
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
  }

  .whis-back-to-top span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .whis-scroll-progress {
    height: 2px;
  }
}

@media (hover: none), (pointer: coarse) {
  .ux-spotlight::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .whis-ux-ready [data-ux-reveal],
  .whis-ux-ready [data-ux-reveal].is-visible {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  .whis-back-to-top,
  .whis-scroll-progress,
  .ux-spotlight::after {
    transition: none !important;
  }
}
