* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    font-family: var(--font-family);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text-primary);
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button:disabled,
input:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

svg {
    display: block;
}

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