@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono&display=swap');

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

body, h1, h2, h3, h4, h5, h6, p, ul, ol {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--link-color);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

::selection {
    background: var(--primary-light);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 4px;
}

h1 { font-size: var(--font-3xl); font-weight: var(--font-semibold); }
h2 { font-size: 24px; font-weight: var(--font-semibold); }
h3 { font-size: var(--font-xl); font-weight: var(--font-semibold); }
h4 { font-size: var(--font-lg); font-weight: var(--font-semibold); }

code, pre {
    font-family: 'JetBrains Mono', monospace;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}
