/* Base: reset, typography, focus, reduced motion. Uses tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 400 var(--fs-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3 { margin: 0 0 var(--s-3); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: var(--fs-hero); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-title); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
p { margin: 0 0 var(--s-4); }
a { color: var(--accent); text-underline-offset: 0.2em; }
img, svg, video { max-width: 100%; display: block; }
.label { font-size: var(--fs-label); font-weight: 500; color: var(--text-2); }
.sprite { position: absolute; }
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Added by site.js only (so the page is fully visible without JS or with reduced motion). */
.reveal { opacity: 0; transform: translateY(var(--s-4)); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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