/*
 * QuickMonster Reset & Base Styles
 */

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

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--qm-font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--qm-text-light);
  background-color: var(--qm-obsidian);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

a {
  color: var(--qm-coral);
  text-decoration: none;
  transition: color var(--qm-transition-fast);
}

a:hover {
  color: var(--qm-coral-light);
}

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Selection styling */
::selection {
  background: var(--qm-crimson);
  color: var(--qm-text-bright);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--qm-gold);
  outline-offset: 2px;
}
