﻿/* =========================================
   2. RESET & BASE
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    margin: 0 !important; padding: 0 !important;
    height: 100%; border: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-root);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 !important; padding: 0 !important;
    height: 100%; overflow: hidden; border: 0;
    line-height: 0;
    font-size: 0;
}

body > * {
    line-height: 1.5;
    font-size: 1rem;
}

::selection { background: var(--accent); color: #fff; }

a { color: var(--link-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-lighter); }

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.display-heading {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: italic;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
