*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #65bdc2; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #000000; }

/* Text selection */
::selection { background-color: #65bdc2; color: #ffffff; }
::-moz-selection { background-color: #65bdc2; color: #ffffff; }
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: #000000; }
ul, ol { list-style: none; }
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
button { cursor: pointer; border: none; background: none; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 900; color: #000000; }
h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
p { margin-bottom: var(--spacing-md); }
p:last-child { margin-bottom: 0; }
