/* P-006 · Typography */

@font-face {
  font-family: Outfit;
  src: url("../../assets/fonts/display/outfit-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: Outfit;
  src: url("../../assets/fonts/display/outfit-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: Outfit;
  src: url("../../assets/fonts/display/outfit-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../../assets/fonts/body/source-sans-3-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../../assets/fonts/body/source-sans-3-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-ink);
  background-color: var(--color-bg);
}

@media (min-width: 1024px) {
  body {
    font-size: 1.0625rem;
  }
}

h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h4,
.h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
}

@media (min-width: 1024px) {
  h1,
  .h1 {
    font-size: 2.75rem;
  }

  h2,
  .h2 {
    font-size: 2rem;
  }

  h3,
  .h3 {
    font-size: 1.5rem;
  }

  h4,
  .h4 {
    font-size: 1.25rem;
  }
}

.lead {
  font-size: 1.125rem;
  line-height: 1.55;
}

@media (min-width: 1024px) {
  .lead {
    font-size: 1.25rem;
  }
}

.small,
.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.text-muted {
  color: var(--color-ink-muted);
}

.prose {
  max-width: 40rem;
}

.prose p + p {
  margin-top: var(--space-4);
}

ul.list,
ol.list {
  padding-inline-start: var(--space-6);
}

ul.list li + li,
ol.list li + li {
  margin-top: var(--space-2);
}

a:not(.btn):not(.site-header__link):not(.site-footer__link):not(.brand):not(.breadcrumb__link) {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:not(.btn):not(.site-header__link):not(.site-footer__link):not(.brand):not(.breadcrumb__link):hover {
  color: var(--color-link-hover);
}
