/* Brieflings — Base typography & body */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Inter:wght@400;500;600;700&display=swap');

html {
  /* Same-page anchor jumps should clear the sticky app header rather
   * than sliding the target under it. The reduced-motion rule below
   * disables the smooth scroll for users who've asked for less motion. */
  scroll-padding-block-start: var(--space-8);
  scroll-behavior: smooth;
}

body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  transition:
    background var(--duration-standard) var(--easing-default),
    color var(--duration-standard) var(--easing-default);
}

::selection {
  background: var(--accent-weekly-bg);
  color: var(--text-body);
}

:focus-visible {
  outline: 2px solid var(--text-body);
  outline-offset: 2px;
  border-radius: 2px;
}

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