/* ==========================================================================
   Modern CSS Reset
   ========================================================================== */

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

* { margin: 0; padding: 0; }

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

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--color-midnight);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  overflow-x: hidden;
}

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

img { height: auto; }

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

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

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

ul, ol { list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

::selection {
  background: rgba(4, 196, 217, 0.3);
  color: var(--color-text-primary);
}
