/* ============================================================
   RESET & BASE
   Minimal, intentional reset — no opinionated normalization
   ============================================================ */

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

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

body {
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  font-family: var(--font-display);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Grid background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 176, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 176, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}

/* Focus ring — accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent-green);
  outline-offset: 3px;
}
