/* ============================================================
   reset.css — SmallHRTools
   Minimal modern reset. No opinionated design here.
   ============================================================ */

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

html {
  /* Prevents iOS font-size inflation on orientation change */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove list styling when used in nav / UI (not content) */
ul, ol {
  list-style: none;
}

/* Images default to block so they don't create inline whitespace gaps */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Form controls don't inherit font by default in all browsers */
input, button, textarea, select {
  font: inherit;
}

/* Prevent long words from breaking layout on small screens */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Remove default button styling */
button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Anchor tag baseline */
a {
  text-decoration: none;
  color: inherit;
}

/* Remove focus outline in favor of custom :focus-visible styling */
:focus {
  outline: none;
}
