*,*::before,*::after{-webkit-tap-highlight-color:transparent}
/* Base: reset, typography and layout primitives. Reads semantic tokens only (tokens.css). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body { margin: 0; min-height: 100%; background: var(--bg-page); color: var(--text-body); font: 400 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--bg-selection); color: var(--text-on-primary); }
:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -56px; z-index: 100; padding: 8px 14px; border-radius: 10px; background: var(--text-heading); color: var(--bg-page); }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* No visible scrollbars anywhere (owner's decision). Scrolling still works with wheel, touch, trackpad and keyboard. */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
