/* Base — reset, document defaults, global utilities and a11y preferences. */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  /* Layered background: brand glows over a faint engineered grid.
     Order = top layer first; the grid sits beneath the colored glows. */
  background-color: #0a0a0e;
  background-image:
    radial-gradient(1300px 1050px at 100% 0%, rgba(40, 60, 140, 0.45), transparent 60%),
    radial-gradient(1200px 1000px at 0% 100%, rgba(150, 30, 40, 0.28), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
