/* ==========================================
   CoasterCheck – CSS Reset
   ========================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100dvh;
    overflow-x: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--cc-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

[hidden] {
    display: none !important;
}