/* =========================================================
   Project Reboot / Reset (minimal + non-opinionated)
   - keeps useful browser-style cleanup
   - avoids Bootstrap look (colors/typography scales)
   ========================================================= */

/* 1) Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2) Remove default margin */
html,
body {
  margin: 0;
  padding: 0;
}

/* 3) Better text rendering defaults (safe, non-stylistic) */
body {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* 4) Media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 5) Form elements inherit typography (prevents mismatched fonts) */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* 6) Remove default button styles *only if you style your own buttons* */
button {
  background: none;
  border: 0;
  padding: 0;
}

/* 7) Prevent textarea horizontal resize weirdness */
textarea {
  resize: vertical;
}

/* 8) Tables: more predictable */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 9) Links: keep browser default color/underline unless you style them later */
a {
  color: inherit;
  text-decoration: inherit;
}

/* 10) Headings/paragraphs: remove inconsistent margins (you’ll style spacing yourself) */
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl, dd {
  margin: 0;
}

/* 11) Lists: remove default padding/margins (optional; keep if you rely on browser bullets) */
ul,
ol {
  margin: 0;
  /* padding: 0; */
  /* list-style: none; */
}

/* 12) Accessibility: keep focus visible */
:focus-visible {
  outline: none;
} 

/* 13) Respect reduced motion (helps with smooth-scroll / animations) */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}