/* base.css — reset + tokens */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.visually-hidden {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip {
  position: fixed; left: -9999px; top: 8px; z-index: 999;
  background: var(--fg); color: var(--bg); padding: 8px 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
}
.skip:focus { left: 8px; }
