/* ════════════════════════════════════════════════════════════
   TRMNL 303 — Reset
   Minimal reset for consistent cross-browser baseline.
   ════════════════════════════════════════════════════════════ */

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

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    background: var(--bg-canvas);
    color: var(--text-primary);
    letter-spacing: 0.01em;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Terminal font for headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
    line-height: 1.3;
    color: var(--text-primary);
}

/* Terminal font for interactive/chrome elements */
button, select, input,
.mono {
    font-family: var(--font-mono);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--text-primary);
}

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

table {
    border-collapse: collapse;
    width: 100%;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-canvas);
}
::-webkit-scrollbar-thumb {
    background: var(--border-default);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection */
::selection {
    background: var(--accent-dim);
    color: var(--text-primary);
}
