html {
    font-family: var(--font-sans);
    font-size: var(--fs-14);
    font-weight: var(--fw-regular);
    line-height: var(--lh-text);
    color: var(--text-1);
    background: var(--bg-1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
}

[hidden] {
    display: none !important;
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    :is(input, textarea, select, [contenteditable="true"]) {
        font-size: var(--fs-16) !important;
    }
}

:where(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
}

:where(p, ul, ol, figure, blockquote) {
    margin: 0;
}

:where(button, input, select, textarea) {
    font: inherit;
    color: inherit;
}

:where(a) {
    color: var(--link);
}

:where(code, kbd, pre, samp) {
    font-family: var(--font-mono);
}

:where(img, svg, video) {
    max-width: 100%;
}

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

::selection {
    background: var(--info-soft);
}
