/* Critical, render-blocking essentials. Kept as a separate file (not inline) so
   the strict CSP can drop 'unsafe-inline'. Loaded before styles.css so a slow or
   failed main stylesheet can never stack hidden views or flash unstyled chrome.
   The full design system in styles.css is more specific and overrides this. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #070a12;
  color: #e7ecf5;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reserve chrome height so JS-injected header/footer never shift the layout. */
#site-header {
  display: block;
  min-height: 68px;
}
#site-footer {
  display: block;
  min-height: 220px;
}
