/* Base rendering optimization - loaded before app */
*, *::before, *::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:root {
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  color-scheme: dark;
  --boot-bg: #121212;
  --boot-panel: #1a1a1a;
  --boot-border: #2e2e2e;
  --boot-text: #e4e4e4;
  --boot-muted: #888888;
}

html,
body,
#root {
  min-height: 100%;
  margin: 0;
  background: var(--boot-bg);
  color: var(--boot-text);
}

body {
  min-width: 320px;
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.boot-loading {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--boot-bg);
  font-family: var(--font-ui);
}

.boot-loading__surface {
  box-sizing: border-box;
  width: min(100%, 360px);
  padding: 24px;
  border: 1px solid var(--boot-border);
  border-radius: 6px;
  background: var(--boot-panel);
  text-align: center;
}

.boot-loading__brand {
  display: block;
  margin-bottom: 8px;
  color: var(--boot-text);
  font-size: 13px;
  font-weight: 600;
}

.boot-loading__text {
  margin: 0;
  color: var(--boot-muted);
  font-size: 12px;
  line-height: 1.5;
}
