*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* Cross-page view transitions: the selected nav pill morphs between tabs */
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.25s; }
  ::view-transition-group(nav-pill) { animation-duration: 0.35s; animation-timing-function: cubic-bezier(.16,1,.3,1); }
}
.text-accent { color: var(--color-accent); }
.text-accent-light { color: var(--color-accent-light); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-body);
  background: var(--color-bg);
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-ink); line-height: var(--lh-tight); font-weight: 600; margin: 0 0 var(--space-3); }
/* The UA default for strong/b is 'bolder', which resolves to 700. Only 600 ships,
   so pin it rather than let the browser synthesise a heavier face. */
/* 600 so the browser never synthesises (only 400/500/600 ship), and ink rather
   than body so a bolded phrase actually reads as emphasis against #5d5d5d. */
strong, b { font-weight: 600; color: var(--color-ink); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--space-4); }
a { color: var(--color-primary-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { a { transition: color .2s ease, opacity .2s ease; } }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius-sm); }
.container { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--space-4); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
