@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/muli-300.ttf') format('truetype');
}
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/muli-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lato-700.woff2') format('woff2');
}

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

html {
  font-size: 100%;
}
@media (max-width: 767px) {
  html {
    font-size: 87.5%;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-text);
  background: var(--color-bg-alt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
}
h2 {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
}
h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
}
h4 {
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
}
h5 {
  font-size: var(--text-h5-size);
  line-height: var(--text-h5-line-height);
}
h6 {
  font-size: var(--text-h6-size);
  line-height: var(--text-h6-line-height);
}
@media (max-width: 767px) {
  h1 {
    font-size: var(--text-h1-size-mobile);
  }
  h2 {
    font-size: var(--text-h2-size-mobile);
  }
  h3 {
    font-size: var(--text-h3-size-mobile);
  }
}

.lead {
  font-size: var(--text-lead-size);
  line-height: var(--text-lead-line-height);
}

p,
ul,
ol {
  margin-top: 0;
  margin-bottom: var(--space-6);
}

a {
  color: var(--color-secondary);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: none;
}

.external-link-icon {
  margin-left: 0.2em;
  font-size: 0.85em;
  vertical-align: -0.05em;
}

hr {
  margin: var(--space-6) 0;
  border: 0;
  border-top: var(--border-width) solid var(--color-border);
}

.btn {
  display: inline-block;

  appearance: none;
  border: none;
  cursor: pointer;
  font: inherit;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-6);
  font-weight: 600;
}
.btn:hover,
.btn:focus {
  filter: brightness(0.9);
}

.btn-link {
  display: inline-block;
  color: var(--color-primary);
  font-size: var(--text-nav-size);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}
.btn-link:hover,
.btn-link:focus {
  opacity: 0.7;
}
