/* CSS Reset - Modern Normalize */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: var(--line-normal);
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--navy);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Reset buttons */
button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* Inherit fonts for inputs and buttons */
input, button, textarea, select {
    font: inherit;
}

/* Remove all animations for people that prefer not to see them */
@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;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--gold);
    color: var(--white);
}
