/* Fonts loaded via <link rel="preconnect"> + <link rel="stylesheet"> in HTML <head> */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-white);
  font-feature-settings: 'tnum' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
