/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after
{
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

html
{
   font-size: 16px;
   scroll-behavior: smooth;
}

body
{
   font-family: var(--font-family);
   font-size: var(--font-size-base);
   line-height: var(--line-height);
   color: var(--text-primary);
   background: var(--bg-app);
   -webkit-font-smoothing: antialiased;
}

a
{
   color: var(--text-link);
   text-decoration: none;
   transition: color var(--transition);
}

a:hover
{
   color: var(--text-link-hover);
}

ul, ol
{
   list-style: none;
}

img, svg
{
   display: block;
   max-width: 100%;
}

button
{
   font-family: inherit;
   font-size: inherit;
   cursor: pointer;
   border: none;
   background: none;
}

input, textarea, select
{
   font-family: inherit;
   font-size: inherit;
}

table
{
   border-collapse: collapse;
   width: 100%;
}

h1, h2, h3, h4, h5, h6
{
   font-weight: 600;
   line-height: 1.3;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-lg); }
h4 { font-size: var(--font-size-base); }

:focus-visible
{
   outline: 0.125rem solid var(--accent);
   outline-offset: 0.125rem;
}

::-webkit-scrollbar
{
   width: 0.375rem;
   height: 0.375rem;
}

::-webkit-scrollbar-track
{
   background: var(--bg-app);
}

::-webkit-scrollbar-thumb
{
   background: var(--border-color);
   border-radius: 0.25rem;
}

::-webkit-scrollbar-thumb:hover
{
   background: var(--text-muted);
}
