/* Explain: Base reset and tech background grid */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--background-color);
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--border-color) 40%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--border-color) 40%, transparent) 1px, transparent 1px);
    background-size: 3rem 3rem;
    background-attachment: fixed;
    color: var(--text-color);
}

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

button,
a {
    cursor: pointer;
}

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

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