/* Base element styles for every page (web.Document): a minimal reset
   and page defaults. Component styles belong in internal/ui. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #fff;
  color: #404654;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Keyboard focus: the same blue ring on every focusable element; components
   may change its width or offset, not its color. */
:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

img,
picture,
svg {
  max-width: 100%;
}
