/* Explain: Base reset, typography, focus, and theme defaults. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    letter-spacing: 0.005em;
}

section[id] {
    scroll-margin-top: 6rem;
}

h1,
h2,
h3,
.brand-mark {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.font-tactical {
    font-family: var(--font-tactical);
}

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

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

::selection {
    background: rgba(217, 30, 38, 0.4);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #161616;
}

::-webkit-scrollbar-thumb {
    background: rgba(217, 30, 38, 0.45);
    border-radius: 999px;
}

@media (max-width: 767px) {
    body.has-mobile-sticky {
        padding-bottom: 96px;
    }
}