/*
Shenanigans to make all fonts scale to something reasonable
that is also consistent with device preferences
https://adrianroselli.com/2024/03/the-ultimate-ideal-bestest-base-font-size-that-everyone-is-keeping-a-secret-especially-chet.html
https://adrianroselli.com/2026/02/honoring-mobile-os-text-size.html
*/
body {
  font: -apple-system-body;
}
@supports (font: -apple-system-body) and (not (-webkit-touch-callout: default)) {
  :root {
    font-size: 100%;
  }
}
@media print {
  body {
    font-size: 10pt;
  }
}

/*
Make inputs use the same fonts as the rest of the site
https://adrianroselli.com/2019/09/under-engineered-text-boxen.html
CC BY-SA 4.0
*/
textarea, input, button, select {
  font: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
}
