:root {
  --boot-paper: #FAF7F2;
  --boot-tint: #FFF6EC;
  --boot-brand-bg: #FCE5D2;
  --boot-brand: #F49E60;
  --boot-pink: #EC4899;
  --boot-ink: #1A1118;
}
[data-theme="dark"] {
  --boot-paper: #1A1513;
  --boot-tint: #29231F;
  --boot-brand-bg: #3A251C;
  --boot-brand: #F7B07E;
  --boot-pink: #F786C4;
  --boot-ink: #FAF7F2;
}
html,
body,
#root {
  min-height: 100%;
}
body {
  margin: 0;
  background: var(--boot-paper);
}
.boot-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  color: var(--boot-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, var(--boot-paper) 0%, var(--boot-tint) 54%, var(--boot-brand-bg) 100%);
}
.boot-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.boot-spinner {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 4px solid rgba(244, 158, 96, 0.2);
  border-top-color: #F49E60;
  border-right-color: #EC4899;
  animation: boot-spin 850ms linear infinite;
}
.boot-wordmark {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}
.boot-wordmark span {
  color: #F49E60;
}
@keyframes boot-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .boot-spinner {
    animation: none;
  }
}

/* ── Static crawler/no-JS footer (index.html #static-footer) ────────────────
   Declarations live here rather than in `style=` attributes: the signed macOS
   app runs under a Tauri CSP whose style-src admits this linked 'self'
   stylesheet but not inline styles, which is what produced the reported
   style-src violations at index.html:145-167. Removed once React mounts
   (see main.tsx) — keep the class names in sync with index.html. */
.static-footer {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #444;
}
.static-footer__main {
  max-width: 640px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}
.static-footer__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1A1118;
  margin-bottom: 8px;
}
.static-footer__title-accent {
  color: #F49E60;
}
.static-footer__tagline {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}
.static-footer__body {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 24px;
}
.static-footer__bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 12px;
  font-size: 11px;
  color: #999;
  background: #fff;
  border-top: 1px solid #eee;
}
.static-footer__link {
  color: #666;
  text-decoration: underline;
  margin-right: 12px;
}
.static-footer__link--last {
  margin-right: 0;
}
.static-footer__wordmark {
  height: 18px;
  margin: 8px auto 2px;
  display: block;
}
.static-footer__legal {
  color: #bbb;
  font-size: 10px;
}
