/**
 * CSS Reset & Base Styles
 * 
 * Removes browser defaults and sets sensible base styles
 */

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

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

/* Set core root defaults */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.6;
    font-family: var(--font-secondary);
    color: var(--color-warm-charcoal);
    background-color: var(--color-soft-ivory);
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Remove default link styles */
a {
    color: var(--color-dusty-rose);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-sage-green);
}

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

/* Accessibility: Remove animations for people who prefer reduced motion */
@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;
    }
}
