:root {
  color: #eaf7ff;
  background: #020712;
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #020712;
}

.preboot-shell {
  position: fixed;
  z-index: 9999;
  inset: 0;
  min-height: 100svh;
  overflow: hidden;
  background: #020712;
}

.preboot-shell.is-ready {
  z-index: -1;
  pointer-events: none;
}

.preboot-shell__media,
.preboot-shell__media::after,
.preboot-shell__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.preboot-shell__media {
  display: block;
}

.preboot-shell__media img {
  object-fit: cover;
  object-position: 66% 50%;
  filter: saturate(.84) contrast(1.07) brightness(.88);
}

.preboot-shell__media::after {
  content: "";
  background:
    linear-gradient(90deg, rgb(2 7 18 / 96%) 0%, rgb(2 7 18 / 84%) 31%, rgb(2 7 18 / 30%) 62%, rgb(2 7 18 / 8%) 100%),
    linear-gradient(180deg, rgb(2 7 18 / 46%) 0%, transparent 25% 58%, rgb(2 7 18 / 90%) 100%);
}

.preboot-shell__topbar {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), 1320px);
  min-height: calc(80px + env(safe-area-inset-top, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  translate: -50% 0;
  border-bottom: 1px solid rgb(214 225 226 / 22%);
}

.preboot-shell__brand,
.preboot-shell__topbar nav,
.preboot-shell__actions,
.preboot-shell footer {
  display: flex;
  align-items: center;
}

.preboot-shell__brand {
  gap: 10px;
  min-height: 44px;
  color: #eaf7ff;
  text-decoration: none;
}

.preboot-shell__brand span {
  font-size: 2rem;
  color: #a7eef1;
}

.preboot-shell__brand strong {
  font-size: 1.05rem;
  letter-spacing: .03em;
}

.preboot-shell__topbar nav {
  gap: 8px;
}

.preboot-shell a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 10px;
  color: #d6e1e2;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.preboot-shell__copy {
  position: absolute;
  z-index: 2;
  bottom: clamp(64px, 8vh, 94px);
  left: max(24px, calc((100% - 1320px) / 2));
  width: min(670px, 56%);
}

.preboot-shell__copy > p:first-child {
  margin: 0 0 12px;
  color: #84e5ed;
  font: 600 .75rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
}

.preboot-shell h1 {
  max-width: 8ch;
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(4.9rem, 9.2vw, 8.6rem);
  font-stretch: condensed;
  line-height: .78;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.preboot-shell__copy > p:nth-of-type(2) {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgb(234 247 255 / 82%);
  font-size: clamp(1.04rem, 1.65vw, 1.3rem);
  line-height: 1.55;
}

.preboot-shell__actions {
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 26px;
}

.preboot-shell__actions span {
  color: #75ddb7;
  font: 600 .7rem ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.preboot-shell footer {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100% - 1320px) / 2));
  bottom: 18px;
  gap: 4px;
}

@media (max-width: 700px) {
  .preboot-shell__topbar {
    width: calc(100% - 32px);
  }

  .preboot-shell__topbar nav a:last-child {
    display: none;
  }

  .preboot-shell__media img {
    object-position: 67% 50%;
  }

  .preboot-shell__media::after {
    background:
      linear-gradient(90deg, rgb(2 7 18 / 80%), rgb(2 7 18 / 24%)),
      linear-gradient(180deg, rgb(2 7 18 / 58%) 0%, transparent 22%, rgb(2 7 18 / 8%) 42%, rgb(2 7 18 / 97%) 78%);
  }

  .preboot-shell__copy {
    bottom: max(64px, calc(48px + env(safe-area-inset-bottom, 0px)));
    left: 16px;
    width: calc(100% - 32px);
  }

  .preboot-shell h1 {
    font-size: clamp(4.25rem, 18vw, 6.5rem);
  }

  .preboot-shell footer {
    display: none;
  }
}
