/* ==========================================================================
   PROTOTYPE-ONLY page styles. NOT pasted into Squarespace
   (there, the Squarespace theme owns <html>/<body>).
   ========================================================================== */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bb-cream);
  color: var(--bb-brown);
  font-family: var(--bb-font-body);
  font-size: var(--bb-text-md);
  line-height: 1.55;
}

/* "Coming in Phase X" stub pages */
.bb-stub { padding-block: var(--bb-section-y); }
.bb-stub__title { font-size: var(--bb-text-2xl); margin-bottom: 1rem; }
.bb-stub__text { max-width: 60ch; margin: 0 0 1.5rem; }
.bb-stub__anchor {
  scroll-margin-top: 120px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  border: 2px dashed currentColor;
  border-radius: var(--bb-radius-sm);
}

/* Include-loader error (shown when opened as file:// instead of Live Server) */
.bb-include-error {
  margin: 1rem;
  padding: 1rem;
  background: #fff3cd;
  color: #3a2410;
  border: 2px solid #3a2410;
  border-radius: 8px;
  font-family: system-ui, sans-serif;
}

.bb-stub a:not(.bb-btn) { color: inherit; font-weight: 600; text-underline-offset: 3px; }
