/* Modern CSS Reset - minimizes default browser styles while preserving accessibility */

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

/* Remove default margins and paddings */
* {
    margin: 0;
    padding: 0;
}

/* Improve text rendering and defaults */
html {
    -webkit-text-size-adjust: 100%;
    height: 100%;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

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

/* Typography: inherit fonts for form controls */
input, button, textarea, select {
    font: inherit;
    color: inherit;
}

/* Buttons and interactive controls */
button, [type="button"], [type="submit"], [role="button"] {
    cursor: pointer;
}

/* Lists */
ul[role="list"], ol[role="list"] {
    list-style: none;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


