/**
 * CODECURV BASE RESET
 */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* Enable custom drafting reticle on precision pointer devices */
@media (pointer: fine) {
  body {
    cursor: crosshair;
  }
  a, button, input, select, textarea, .sorter-slat {
    cursor: pointer;
  }
}

::selection {
  background-color: var(--vermilion);
  color: #FFFFFF;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 2px;
}