/* Фирменный загрузчик: виден с первого кадра, еще до загрузки JavaScript */
html, body { margin: 0; background: #EEF1F4; }
.boot {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #EEF1F4; color: #0C0C0C;
  font-family: "Unbounded Variable", "Unbounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  transition: opacity .45s cubic-bezier(.25,.1,.25,1), visibility .45s;
}
.boot.is-done { opacity: 0; visibility: hidden; }
.boot__mark {
  width: 92px; height: 92px; border-radius: 30px; background: #0C0C0C;
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(12,12,12,.6);
}
.boot__mark svg { width: 52px; height: 52px; }
.boot__mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%);
}
.boot__brand { margin-top: 22px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.boot__sub {
  margin-top: 6px; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: #9AA3AD;
  font-family: "Onest Variable", "Onest", system-ui, sans-serif; font-weight: 600;
}
.boot__steps { margin-top: 40px; width: 200px; display: flex; flex-direction: column; gap: 10px; }
.boot__bar { height: 3px; border-radius: 999px; background: rgba(12,12,12,.08); overflow: hidden; }
.boot__bar i {
  display: block; height: 100%; width: 12%; border-radius: inherit;
  background: linear-gradient(123deg, #18011F 7%, #B600A8 37%, #7621B0 72%, #BE4C00 100%);
  transition: width .5s cubic-bezier(.25,.1,.25,1);
}
.boot__status {
  display: flex; justify-content: space-between; font-size: 11px; color: #646973;
  font-family: "Onest Variable", "Onest", system-ui, sans-serif;
}
.boot__status span:last-child { font-family: "JetBrains Mono", ui-monospace, monospace; color: #9AA3AD; }
.boot__error {
  margin-top: 28px; max-width: 280px; padding: 14px 16px; border-radius: 18px; background: #fff;
  border: 1px solid rgba(180,55,86,.25); color: #B43756; font-size: 13px; line-height: 1.45; text-align: center;
  font-family: "Onest Variable", "Onest", system-ui, sans-serif;
}
.boot__error a { color: #0C0C0C; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .boot__mark::after { animation: boot-sweep 2.2s cubic-bezier(.25,.1,.25,1) infinite; }
}
@keyframes boot-sweep { to { transform: translateX(100%); } }
