@font-face {
  font-family: 'Poppins-fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 92%;
  descent-override: 28%;
  line-gap-override: 0%;
}

body {
  margin: 0;
  line-height: 1.5;
  font-family:
    'Poppins-fallback',
    system-ui,
    -apple-system,
    sans-serif;
}

.font-poppins {
  font-family:
    'Poppins',
    'Poppins-fallback',
    system-ui,
    -apple-system,
    sans-serif;
}

html.dark,
html.dark body {
  background: #071d2c;
  color: #c6ddeb;
}

#boot-loader {
  min-height: 100vh;
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--background, #fff);
  color: #0f172a;
  transition: opacity 0.2s;
}

html.dark #boot-loader {
  background: #071d2c;
  color: #c6ddeb;
}

#boot-loader-logo {
  width: auto;
  height: 40px;
  margin-bottom: 24px;
}

#boot-loader h1 {
  max-width: 900px;
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

#boot-loader-accent {
  background: linear-gradient(90deg, #104060, #90b1d5);
  background-clip: text;
  color: transparent;
}

#boot-loader p {
  max-width: 640px;
  margin: 0 0 32px;
  color: #475569;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.5;
}

html.dark #boot-loader p {
  color: #c6ddeb;
}

#boot-loader-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e5e7eb;
  border-top-color: #104060;
  border-radius: 50%;
  animation: boot-loader-spin 0.8s linear infinite;
}

@keyframes boot-loader-spin {
  to {
    transform: rotate(360deg);
  }
}
