/* =================================================================
   BASE (base.css)
   -----------------------------------------------------------------
   Global reset, element defaults, and accessibility foundations.
   ================================================================= */

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

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- Document --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* --- Accessibility: focus ring --- */
:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

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