/* Explain: Base reset, typography, and minimal editorial page defaults */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(234, 242, 255, 0.86) 42rem, var(--background-color) 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
.brand-display {
    font-family: var(--font-heading);
    letter-spacing: -0.035em;
}

p {
    line-height: 1.75;
}

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

::selection {
    background: rgba(37, 99, 235, 0.22);
    color: var(--midnight-color);
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.32);
    outline-offset: 3px;
}
