/* Boot pages of the browser demo (404.html, demo/index.html), in Sawmill's
   palette (core/ui/static/css/studio.css). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/site/fonts/inter-latin-wght-normal.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --bg: #1b1d1f;
  --surface: #232527;
  --border: #393b3d;
  --text: #ffffff;
  --muted: #b1b2b3;
  --accent: #00a2ff;
  --error: #f2545b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(60rem 30rem at 50% -10%, rgb(0 162 255 / 0.14), transparent 70%), var(--bg);
  color: var(--text);
  font: 16px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.boot { width: 100%; max-width: 30rem; padding: 32px 16px; text-align: center; }
.boot__logo { width: 64px; height: 64px; border-radius: 14px; }
h1 { margin: 12px 0 6px; font-size: 1.75rem; letter-spacing: -0.02em; }
.boot__lead { margin: 0 0 32px; color: var(--muted); }
.boot__status { margin: 0 0 12px; font-weight: 600; }
.boot__error { color: var(--error); }
.boot__bar { height: 4px; border-radius: 2px; background: var(--surface); overflow: hidden; }
.boot__bar span {
  display: block; width: 35%; height: 100%; border-radius: 2px; background: var(--accent);
  animation: slide 1.4s ease-in-out infinite;
}
.is-error .boot__bar { display: none; }
.boot__note { margin: 24px 0 0; font-size: 0.875rem; color: var(--muted); }
.boot__back { margin: 20px 0 0; font-size: 0.875rem; }
.boot__back a { color: var(--accent); text-decoration: none; }
.boot__back a:hover { text-decoration: underline; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) { .boot__bar span { animation: none; width: 100%; opacity: 0.5; } }
