/* Explain: Base page styles, typography, and accessible defaults. */
* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.3;
}

p {
    margin: 0;
}

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

button,
a,
summary,
label {
    cursor: pointer;
}

::selection {
    background: var(--secondary-color);
    color: #ffffff;
}

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