/* Explain: Base reset and typography defaults with cosmic background. */
* {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
    color: var(--text-color);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.65;
    background-color: var(--background-color);
    background-image:
        radial-gradient(circle at 88% 0%, var(--primary-soft) 0, transparent 42%),
        radial-gradient(circle at 4% 55%, rgba(247, 148, 30, 0.07) 0, transparent 40%),
        radial-gradient(circle at 60% 100%, var(--background-alt) 0, transparent 45%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.015em;
}

::selection {
    background: var(--primary-soft);
    color: var(--primary-hover);
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--background-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(14, 134, 196, 0.35);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}