/* =========================================================
   BASE.CSS — TYPOGRAPHY REFINEMENT
   ========================================================= */

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-white);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

h1,
h2,
h3,
h4 {
  color: var(--color-navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.95rem, 3vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
}

h4 {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
}

strong {
  font-size: 1.1rem;
}

p,
li {
  font-size: 1.22rem;
  line-height: 1.72;
}

p,
li strong {
  font-size: 1.22rem;
}

p strong {
  font-size: 1.22rem;
}

.claim-footer {
  font-size: 1.1rem;
}

.lead {
  font-size: 1.42rem;
  line-height: 1.72;
  color: var(--color-grey);
  max-width: 62ch;
}

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

.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;
}

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

.card p,
.card li {
  line-height: 1.58;
}

@media (max-width: 760px) {
  body {
    line-height: 1.62;
  }

  p,
  li {
    font-size: 1rem;
    line-height: 1.66;
  }
  
  p,
  li strong {
    font-size: 1rem;
    line-height: 1.66;
  }

  p strong {
    font-size: 1rem;
  }

  .lead {
    font-size: 1.08rem;
    line-height: 1.64;
  }

  h1 {
    line-height: 1.04;
  }
}
