/* ═══════════════════════════════════════════════════════════════
   Reset — scrolling document (the old reset locked overflow:hidden
   for the fullscreen slide deck; that deck is gone).
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* keep anchored sections clear of the fixed header */
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; }

/* Accessible, on-brand focus — replaces the soft blur ring */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}
::selection { background: var(--ink); color: var(--paper); }
