/* reset.css - modern, production-ready reset
   Based on normalize.css + sensible opinionated defaults for appseed
   Keeps minimal opinionated box-sizing, font-smoothing, and accessibility helpers.
*/

/* Box sizing and remove default margins */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
}

/* Set core body defaults */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: transparent; /* theme-controlled by app */
  color: inherit;
}

/* Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Remove built-in form typography */
input, button, textarea, select {
  font: inherit;
}

/* Remove default button styles where appropriate */
button {
  background: transparent;
  border: none;
  padding: 0;
}

/* Remove list styles on ul, ol elements with a role */
ul[role="list"], ol[role="list"] {
  list-style: none;
}

/* Anchor defaults */
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}

/* Improve focus outline for accessibility */
:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* Make images easier to work with */
img {
  border-style: none;
}

/* Reduce motion for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Utility: visually hidden but accessible to screen readers */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Utility: preserve native appearances for form controls when desired */
.input-reset {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
}
