:root {
  --boot-ink: #1c1c1c;
  --boot-red: #e60000;
  --boot-white: #fff;
  --boot-muted: rgb(255 255 255 / 65%);
  --boot-faint: rgb(255 255 255 / 60%);
  --boot-line: rgb(255 255 255 / 15%);
}

html,
body {
  margin: 0;
  background: var(--boot-ink);
}

#boot-splash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--boot-ink);
  color: var(--boot-white);
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

#boot-splash .boot-splash__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
}

#boot-splash .boot-splash__logo {
  display: block;
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
}

#boot-splash .boot-splash__rule {
  display: block;
  width: 4rem;
  height: 1px;
  margin-top: 2rem;
  background: var(--boot-red);
}

#boot-splash .boot-splash__title {
  margin: 1.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

#boot-splash .boot-splash__detail {
  margin: 0.75rem 0 0;
  max-width: 20rem;
  color: var(--boot-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

#boot-splash .boot-splash__track {
  margin-top: 2.25rem;
  width: 14rem;
  height: 2px;
  overflow: hidden;
  background: var(--boot-line);
}

#boot-splash .boot-splash__bar {
  display: block;
  width: 32%;
  height: 100%;
  background: var(--boot-red);
  animation: boot-splash-line 1.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

#boot-splash .boot-splash__footer {
  margin: 0;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  color: var(--boot-faint);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

@keyframes boot-splash-line {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(320%);
  }
}

@media (min-width: 640px) {
  #boot-splash .boot-splash__title {
    font-size: 1.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #boot-splash .boot-splash__bar {
    width: 100%;
    opacity: 0.6;
    animation: none;
  }
}