/* Vistun base — reset, typography defaults, focus-ring */

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

html, body {
    margin: 0;
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: var(--text-body);
    line-height: var(--leading-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p { margin: 0; }

h1 { font-size: var(--text-h1); line-height: var(--leading-h1); font-weight: 700; }
h2 { font-size: var(--text-h2); line-height: var(--leading-h2); font-weight: 600; }
h3 { font-size: var(--text-h3); line-height: var(--leading-h3); font-weight: 600; }

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button { background: none; border: none; padding: 0; cursor: pointer; }

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

::placeholder { color: var(--text-muted); }

*:focus { outline: none; }
*:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
    border-radius: inherit;
}

/* Utilities */
.tabular { font-variant-numeric: tabular-nums; }
.mono    { font-family: var(--font-mono); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
