@font-face {
  font-family: Onest;
  src: url("/fonts/onest-latin-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  unicode-range: U+0000-024F, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: Onest;
  src: url("/fonts/onest-cyrillic-v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  unicode-range: U+0400-052F, U+2116;
}
:root {
  --boot-bg: #faf5ed;
  --boot-text: #48352c;
  --boot-accent: #a86c50;
  --boot-soft: #f3dfd0;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --boot-bg: #241f1c;
    --boot-text: #f6eadd;
    --boot-accent: #efb58e;
    --boot-soft: #49372e;
    color-scheme: dark;
  }
}
:root[data-theme="light"] {
  --boot-bg: #faf5ed;
  --boot-text: #48352c;
  --boot-accent: #a86c50;
  --boot-soft: #f3dfd0;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --boot-bg: #241f1c;
  --boot-text: #f6eadd;
  --boot-accent: #efb58e;
  --boot-soft: #49372e;
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--boot-bg);
}
.boot-screen {
  box-sizing: border-box;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 32px 24px;
  background: var(--boot-bg);
  color: var(--boot-text);
  font-family: Onest, system-ui, sans-serif;
  position: fixed;
  inset: 0;
  z-index: 20;
}
.boot-mark {
  width: 84px;
  height: 84px;
  border-radius: 29px;
  display: grid;
  place-items: center;
  background: var(--boot-soft);
  color: var(--boot-accent);
  margin-bottom: 24px;
  transform: rotate(-6deg);
}
.boot-mark svg {
  width: 45px;
  height: 45px;
}
.boot-screen h1 {
  font:
    650 32px/1.2 Onest,
    system-ui,
    sans-serif;
  letter-spacing: -1.3px;
  margin: 0 0 10px;
}
.boot-screen > p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
}
.boot-progress {
  width: 72px;
  height: 4px;
  background: var(--boot-soft);
  border-radius: 4px;
  margin: 32px 0 20px;
  overflow: hidden;
}
.boot-progress:after {
  content: "";
  display: block;
  width: 30px;
  height: 100%;
  border-radius: 4px;
  background: var(--boot-accent);
  animation: boot-drift 1.3s ease-in-out infinite alternate;
}
.boot-screen small {
  font-size: 11px;
  line-height: 1.6;
  max-width: 285px;
  opacity: 0.75;
  min-height: 36px;
}
.boot-screen button {
  font:
    600 14px Onest,
    system-ui,
    sans-serif;
  border: 0;
  border-radius: 14px;
  padding: 14px 25px;
  margin-top: 20px;
  background: var(--boot-accent);
  color: var(--boot-bg);
  cursor: pointer;
}
@keyframes boot-drift {
  to {
    transform: translateX(42px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-progress:after {
    animation: none;
  }
}
