.site-preloader {
  --preloader-progress: 0;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  min-width: 280px;
  min-height: 100dvh;
  place-items: center;
  color: #f7f9ff;
  background:
    linear-gradient(rgba(112, 151, 226, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 151, 226, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 44%, rgba(55, 111, 230, 0.12), transparent 34%),
    #030711;
  background-position: center;
  background-size: 48px 48px, 48px 48px, auto, auto;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 480ms ease,
    visibility 480ms step-end;
  animation: preloader-failsafe 1ms steps(1, end) 18s forwards;
}

html.is-preloading,
html.is-preloading body {
  overflow: hidden;
  overscroll-behavior: none;
}

.site-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader__shell {
  display: flex;
  width: min(360px, calc(100vw - 48px));
  flex-direction: column;
  align-items: center;
}

.site-preloader__orbit {
  display: block;
  width: auto;
  height: auto;
}

.site-preloader__core {
  display: block;
}

.site-preloader__mark {
  display: block;
  color: #f7f9ff;
  font-family: "Satoshi", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 54px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-indent: -0.08em;
  text-shadow: 0 0 32px rgba(73, 133, 255, 0.24);
  animation: preloader-mark-breathe 2.2s ease-in-out infinite;
}

.site-preloader__brand {
  margin-top: 17px;
  color: rgba(238, 243, 255, 0.78);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

.site-preloader__status {
  min-height: 18px;
  margin-top: 20px;
  color: rgba(202, 213, 236, 0.42);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  transition: color 220ms ease;
}

.site-preloader.is-slow .site-preloader__status {
  color: rgba(151, 190, 255, 0.72);
}

.site-preloader__progress {
  width: 100%;
  margin-top: 24px;
}

.site-preloader__progress-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: rgba(209, 220, 241, 0.38);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-preloader__percent {
  color: rgba(231, 238, 252, 0.66);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.site-preloader__track {
  position: relative;
  height: 1px;
  margin-top: 10px;
  overflow: hidden;
  background: rgba(132, 162, 222, 0.13);
}

.site-preloader__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--preloader-progress) * 1%);
  background: linear-gradient(90deg, #4a82ec, #8dc7ff);
  box-shadow: 0 0 12px rgba(78, 139, 255, 0.52);
  transition: width 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes preloader-mark-breathe {
  0%,
  100% {
    opacity: 0.74;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes preloader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (max-width: 520px) {
  .site-preloader__shell {
    width: min(310px, calc(100vw - 40px));
  }

  .site-preloader__mark {
    font-size: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader__mark {
    animation: none;
  }

  .site-preloader,
  .site-preloader__bar {
    transition-duration: 120ms;
  }
}
