@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

body,
button {
  font-family: var(--font-sans);
}

body {
  color: var(--ink);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.6;
}

:is(h1, h2, h3, h4, p, li, a, blockquote) {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  margin-bottom: var(--space-lg);
  font-size: var(--h1-size);
  line-height: 1.05;
}

h2 {
  margin-bottom: var(--space-md);
  font-size: var(--h2-size);
  line-height: 1.1;
}

h3 {
  margin-bottom: var(--space-md);
  font-size: var(--h3-size);
  line-height: 1.2;
}

h4 {
  margin-bottom: var(--space-sm);
  font-size: var(--h4-size);
  line-height: 1.35;
  text-transform: uppercase;
}

p {
  margin-bottom: var(--space-sm);
}

li {
  margin-bottom: var(--space-xs);
}

p,
li {
  max-width: 72ch;
}

ul {
  list-style-position: inside;
}

.caption {
  font-size: var(--caption-size);
  line-height: 1.6;
}

p.caption {
  text-align: left;
}

blockquote {
  margin-left: 0;
  padding-left: var(--space-md);
  border-left: 3px solid currentColor;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  line-height: 1.4;
}

strong {
  font-weight: 700;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.16em;
}

.center {
  text-align: center;
}

.blue,
.highlight {
  color: var(--medium-blue);
}

.section:is(.penn-blue, .medium-blue) .blue {
  color: inherit;
}

::selection {
  background: var(--medium-blue);
  color: var(--white);
}
