/* ==========================================================================
   CSS Reset — modern, minimal
   ========================================================================== */

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

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; tab-size: 4; }

body {
  min-height: 100vh;
  line-height: var(--lh-body);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  /* Page-wide deep-space gradient — same atmosphere as the konstelace.
     Fixed attachment so the glow blobs stay anchored to the viewport
     while content scrolls in front of them. */
  background:
    radial-gradient(ellipse 60vw 60vw at  -8% -10%, rgba(0,117,238,.22), transparent 60%) fixed,
    radial-gradient(ellipse 70vw 70vw at 108%  35%, rgba(0,176,149,.18), transparent 60%) fixed,
    radial-gradient(ellipse 60vw 60vw at  20% 110%, rgba(0,148,191,.18), transparent 60%) fixed,
    radial-gradient(ellipse 55vw 55vw at  90%  80%, rgba(0,117,238,.14), transparent 60%) fixed,
    #020715;
  color: var(--fg-on-dark-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

ul, ol { list-style: none; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
