/* Base styles. Mobile first. Uses tokens.css only. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
h1 { font-size: var(--text-xl); line-height: var(--leading-tight); margin: 0 0 var(--space-3); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-sm); }

.skip-link { position: absolute; left: var(--space-3); top: -100px; }
.skip-link:focus { top: var(--space-3); }

.site-header, main, .site-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-4) var(--space-3);
}
.site-header { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.site-header nav { display: flex; gap: var(--space-4); }
.site-name { font-weight: 600; text-decoration: none; }
.site-footer { display: flex; flex-wrap: wrap; gap: var(--space-4); border-top: 1px solid var(--color-border); color: var(--color-text-muted); font-size: var(--text-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
