/* Explain: Base reset and typography defaults for the site. */
* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    color: var(--white);
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0.15;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.025) 4px
    );
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button,
a {
    cursor: pointer;
}

::selection {
    background: var(--green);
    color: var(--ink);
}