html,
body {
  min-height: 100%;
  margin: 0;
  background: #09090b;
}

.initial-boot-shell {
  display: none;
}

html.js-loading .initial-boot-shell {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #111827 0%, #0f172a 52%, #000 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.js-loading .seo-fallback {
  display: none;
}

.initial-boot-shell__logo {
  display: flex;
  width: 6rem;
  height: 6rem;
  margin-bottom: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.3);
  font-size: 2.25rem;
  font-weight: 700;
}

.initial-boot-shell__status {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  font-weight: 500;
}

.initial-boot-shell__track {
  width: min(20rem, 90vw);
  height: 0.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
}

.initial-boot-shell__progress {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
}

.initial-boot-shell__percentage {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
}

.initial-boot-shell__version {
  position: absolute;
  bottom: 2rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.seo-fallback {
  box-sizing: border-box;
  min-height: 100vh;
  padding: clamp(2rem, 7vw, 6rem);
  color: #e5e7eb;
  background:
    radial-gradient(circle at 80% 10%, rgba(124, 58, 237, 0.22), transparent 34rem),
    #09090b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.seo-fallback__inner {
  width: min(70rem, 100%);
  margin: 0 auto;
}

.seo-fallback h1 {
  max-width: 16ch;
  margin: 0.5rem 0 1.25rem;
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.seo-fallback h2 {
  margin-top: 2.5rem;
  color: #fff;
  font-size: 1.25rem;
}

.seo-fallback p,
.seo-fallback li {
  max-width: 48rem;
  color: #a1a1aa;
  font-size: 1rem;
  line-height: 1.75;
}

.seo-fallback__eyebrow {
  color: #a78bfa !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.seo-fallback nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.seo-fallback a {
  padding: 0.7rem 1rem;
  border: 1px solid #3f3f46;
  border-radius: 0.75rem;
  color: #ddd6fe;
  text-decoration: none;
}
