.boot-screen {
  --boot-page: #f5f7fa;
  --boot-card: #ffffff;
  --boot-edge: #e2e8f0;
  --boot-bone: #eef2f6;
  --boot-glint: #f8fafc;
  --boot-band:
    radial-gradient(
      56rem 30rem at 8% -30%,
      color-mix(in oklch, #107bdb 55%, transparent),
      transparent 70%
    ),
    radial-gradient(
      34rem 22rem at 100% 130%,
      color-mix(in oklch, #db7710 26%, transparent),
      transparent 70%
    ),
    linear-gradient(155deg, #0b5394 0%, #073865 60%, #04213d 100%);
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  background: var(--boot-page);
  font-family: 'Montserrat Variable', 'Montserrat', system-ui, sans-serif;
  transition: opacity 300ms ease-out;
}
.dark .boot-screen {
  --boot-page: oklch(0.228 0.024 258);
  --boot-card: oklch(0.264 0.027 258);
  --boot-edge: oklch(0.85 0.04 258 / 12%);
  --boot-bone: oklch(0.3 0.026 258);
  --boot-glint: oklch(0.34 0.028 258);
  --boot-band:
    radial-gradient(
      56rem 30rem at 8% -30%,
      color-mix(in oklch, #107bdb 38%, transparent),
      transparent 70%
    ),
    radial-gradient(
      34rem 22rem at 100% 130%,
      color-mix(in oklch, #db7710 14%, transparent),
      transparent 70%
    ),
    linear-gradient(155deg, #0a4a85 0%, #06315a 60%, #031b33 100%);
}
.boot-screen[data-leaving] {
  opacity: 0;
  pointer-events: none;
}
.boot-static {
  display: none;
}
html[data-boot='shell'] .boot-static.boot-shell,
html[data-boot='auth'] .boot-static.boot-auth,
html[data-boot='portal'] .boot-static.boot-portal {
  display: block;
}

.boot-bone {
  display: block;
  border-radius: 0.5rem;
  background: linear-gradient(
    90deg,
    var(--boot-bone) 0%,
    var(--boot-glint) 50%,
    var(--boot-bone) 100%
  );
  background-size: 200% 100%;
  animation: boot-sweep 1.6s ease-in-out infinite;
}
.boot-on-band .boot-bone,
.boot-bone.on-band {
  background: linear-gradient(
    90deg,
    rgb(255 255 255 / 12%) 0%,
    rgb(255 255 255 / 24%) 50%,
    rgb(255 255 255 / 12%) 100%
  );
  background-size: 200% 100%;
}
.boot-round {
  border-radius: 999px;
}
@keyframes boot-sweep {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.boot-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.boot-band {
  position: relative;
  color: #ffffff;
  background: var(--boot-band);
}
.boot-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 6%) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: radial-gradient(ellipse 75% 120% at 30% 0%, #000 15%, transparent 75%);
}
.dark .boot-band::before {
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 4%) 1px, transparent 1px);
}
.boot-band > .boot-wrap {
  position: relative;
}
.boot-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 4rem;
}
.boot-logo {
  display: block;
  height: 2.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}
.boot-search {
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
}
.boot-avatar {
  width: 2.75rem;
  height: 2.75rem;
}
.boot-hero {
  padding: 1rem 0 2rem;
}
:is(.boot-shell[data-layout='home'], html[data-boot-layout='home'] .boot-static.boot-shell) .boot-hero {
  padding-bottom: 7rem;
}
.boot-eyebrow {
  width: 10rem;
  height: 0.75rem;
  margin-bottom: 0.75rem;
}
.boot-title {
  width: min(22rem, 80%);
  height: 2.25rem;
}
.boot-lede {
  width: min(32rem, 92%);
  height: 1rem;
  margin-top: 0.75rem;
}
.boot-tabs {
  display: flex;
  gap: 0.375rem;
  margin-top: 1.25rem;
}
.boot-tab {
  width: 6.5rem;
  height: 2.25rem;
}

.boot-body {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
:is(.boot-shell[data-layout='home'], html[data-boot-layout='home'] .boot-static.boot-shell) .boot-body {
  margin-top: -5rem;
  padding-top: 0;
}
:is(.boot-shell[data-layout='home'], html[data-boot-layout='home'] .boot-static.boot-shell) .boot-page-only,
:is(.boot-shell[data-layout='page'], html[data-boot-layout='page'] .boot-static.boot-shell) .boot-home-only {
  display: none;
}
.boot-grid {
  display: grid;
  gap: 1.25rem;
}
.boot-card {
  border: 1px solid var(--boot-edge);
  border-radius: 1rem;
  background: var(--boot-card);
  box-shadow:
    0 1px 2px rgb(15 23 42 / 4%),
    0 8px 24px -12px rgb(15 23 42 / 12%);
}
.dark .boot-card {
  box-shadow: 0 10px 30px -14px rgb(0 0 0 / 55%);
}
.boot-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.boot-tile-main {
  padding: 1.5rem 1.5rem 0;
}
.boot-glyph {
  width: 2rem;
  height: 2rem;
}
.boot-tile .boot-name {
  width: 40%;
  height: 1.25rem;
  margin-top: 1.25rem;
}
.boot-tile .boot-summary {
  width: 80%;
  height: 0.875rem;
  margin-top: 0.625rem;
}
.boot-tile-rows {
  padding: 1.25rem 1.5rem 1.5rem;
}
.boot-tile-label {
  width: 6rem;
  height: 0.6875rem;
  margin-bottom: 0.875rem;
}
.boot-tile-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-top: 1px solid var(--boot-edge);
}
.boot-tile-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.boot-tile-lead {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
}
.boot-tile-text {
  flex: 1;
  display: grid;
  gap: 0.375rem;
}
.boot-tile-text .boot-bone:first-child {
  width: min(9rem, 70%);
  height: 0.8125rem;
}
.boot-tile-text .boot-bone:last-child {
  width: min(13rem, 90%);
  height: 0.6875rem;
}
.boot-tile-pill {
  flex-shrink: 0;
  width: 2.75rem;
  height: 1.375rem;
}
.boot-tile-foot {
  margin-top: auto;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--boot-edge);
}
.boot-tile-foot .boot-bone {
  width: 9rem;
  height: 0.875rem;
}
.boot-heading {
  width: 9rem;
  height: 1.5rem;
}
.boot-sub {
  width: min(30rem, 80%);
  height: 0.875rem;
  margin: 0.75rem 0 1.25rem;
}
.boot-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--boot-edge);
}
.boot-row:first-child {
  border-top: 0;
}
.boot-row-face {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
}
.boot-row-text {
  flex: 1;
  display: grid;
  gap: 0.5rem;
}
.boot-row-text .boot-bone:first-child {
  width: min(11rem, 70%);
  height: 0.875rem;
}
.boot-row-text .boot-bone:last-child {
  width: min(15rem, 85%);
  height: 0.75rem;
}
.boot-row-pill {
  display: none;
  width: 5rem;
  height: 1.25rem;
}

.boot-auth {
  background: var(--boot-band);
}
.boot-auth-center {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem 2.5rem;
}
.boot-auth-card {
  width: 100%;
  max-width: 31rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 1rem;
  background: #ffffff;
}
.dark .boot-auth-card {
  border-color: rgb(255 255 255 / 9%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1.5%)),
    rgb(14 20 28 / 72%);
}
.boot-auth-logo {
  display: block;
  height: 2.5rem;
  width: auto;
}
.dark .boot-auth-logo {
  filter: brightness(0) invert(1);
}
.boot-auth-title {
  width: 60%;
  height: 1.5rem;
  margin-top: 2rem;
}
.boot-auth-line {
  width: 85%;
  height: 0.875rem;
  margin-top: 0.75rem;
}
.boot-field {
  height: 2.75rem;
  margin-top: 1.5rem;
}
.boot-field + .boot-field {
  margin-top: 1rem;
}
.boot-button {
  height: 2.75rem;
  margin-top: 1.75rem;
}

.boot-portal {
  background: #ffffff;
}
.dark .boot-portal {
  background: oklch(0.228 0.024 258);
}
.boot-orbit {
  position: absolute;
  inset: 0;
  width: 96px;
  height: 96px;
  margin: auto;
}
.boot-orbit svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.boot-track circle {
  stroke: rgb(11 83 148 / 15%);
}
.boot-arc {
  animation: boot-spin 1.4s linear infinite;
}
.boot-arc circle {
  stroke: #0b5394;
}
.boot-orbit img {
  position: absolute;
  inset: 0;
  height: 44px;
  margin: auto;
}
.dark .boot-track circle {
  stroke: rgb(17 112 204 / 15%);
}
.dark .boot-arc circle {
  stroke: #1170cc;
}
.dark .boot-orbit img {
  filter: brightness(0) invert(1);
}
@keyframes boot-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 40rem) {
  .boot-wrap {
    padding: 0 1.5rem;
  }
  .boot-bar {
    gap: 2rem;
    height: 5rem;
  }
  .boot-logo {
    height: 3rem;
  }
  .boot-search {
    width: clamp(15rem, 34vw, 28rem);
    margin-left: 0;
  }
  .boot-hero {
    padding: 2.5rem 0;
  }
  :is(.boot-shell[data-layout='home'], html[data-boot-layout='home'] .boot-static.boot-shell) .boot-hero {
    padding-bottom: 8rem;
  }
  :is(.boot-shell[data-layout='home'], html[data-boot-layout='home'] .boot-static.boot-shell) .boot-body {
    margin-top: -6rem;
  }
  .boot-title {
    height: 3.125rem;
  }
  .boot-tabs {
    margin-top: 1.75rem;
  }
  .boot-auth-center {
    padding: 2.5rem 1.5rem;
  }
  .boot-auth-card {
    padding: 2.5rem 2.75rem;
  }
}
@media (min-width: 48rem) {
  .boot-bar .boot-search {
    margin: 0 auto;
  }
  .boot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .boot-row-pill {
    display: block;
  }
}
@media (min-width: 64rem) {
  .boot-wrap {
    padding: 0 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-bone,
  .boot-arc {
    animation: none;
  }
  .boot-screen {
    transition: none;
  }
}
