/* CSS Reset & Baseline Styling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

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

body {
  background-color: var(--hd-bg);
  color: var(--hd-text-main);
  font-family: var(--hd-font-primary);
  font-size: var(--hd-text-base);
  line-height: var(--hd-leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  cursor: pointer;
}

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

ul, ol {
  list-style: none;
}

/* Premium Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--hd-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--hd-border);
  border-radius: var(--hd-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hd-primary);
}
