/* ── reviir.com base styles ─────────────────────────────────────────────── */
/* Colours, type, spacing, focus and motion rules live in tokens.css (shared with the server and Pulse). The pages
   carry their own styles (LandingStyles, About, Docs); this file holds only what every page needs. */
@import url("tokens.css");

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

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}
code, pre { font-family: var(--font-mono); }

/* Skip link: first tab stop on every page, visible only while focused */
.skip-link {
    position: absolute; left: var(--sp-2); top: -100px; z-index: 1000;
    background: var(--bg-panel); color: var(--text-primary);
    border: 1px solid var(--focus); border-radius: var(--radius-sm);
    padding: var(--sp-2) var(--sp-3); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--sp-2); }
#main-content:focus { outline: none; }

.visually-hidden {
    position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
    margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important; border: 0 !important;
}
