/* ==========================================================================
   CSS RESET & NORMALIZE
   ========================================================================== */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: auto;
    overflow-x: clip;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    background-color: var(--soft-bg, #F7FAFC);
    color: var(--text-primary, #172B4D);
    font-family: var(--font-body, system-ui, -apple-system, sans-serif);
}

/* Centralized Scroll Lock State */
html.is-scroll-locked,
body.is-scroll-locked {
    overflow: hidden !important;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    font-family: var(--font-heading, system-ui, -apple-system, sans-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--deep-navy, #12345B);
}

p {
    overflow-wrap: break-word;
    max-width: 75ch;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

:focus-visible {
    outline: 2px solid var(--accent-orange, #F7941D);
    outline-offset: 2px;
}
