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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--front-color-bg);
  color: var(--front-color-text);
  font-family: var(--font-sans);
  font-size: var(--font-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-body);
  letter-spacing: var(--letter-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.mobile-nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: var(--font-h1);
  line-height: var(--line-title);
  letter-spacing: var(--letter-tight);
}

h2 {
  font-size: var(--font-h2);
  line-height: var(--line-title);
  letter-spacing: var(--letter-tight);
}

h3 {
  font-size: var(--font-h3);
  line-height: var(--line-title);
  letter-spacing: var(--letter-tight);
}

p {
  line-height: 1.6;
}

@media (max-width: 768px) {
  body {
    font-size: var(--font-body-mobile);
  }

  h1 {
    font-size: var(--font-h1-mobile);
  }

  h2 {
    font-size: var(--font-h2-mobile);
  }

  h3 {
    font-size: var(--font-h3-mobile);
  }
}
