:root {
  color: #17241e;
  background: #fafcfb;
  font-family: Inter, "Segoe UI", sans-serif;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  width: min(calc(100% - 2.5rem), 49rem);
  margin: 0 auto;
}

.site-header,
footer nav {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.site-header {
  justify-content: space-between;
  padding: 1.35rem 0;
  border-bottom: 1px solid #d7e4dc;
}

.wordmark {
  color: #075e3c;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

main {
  max-width: 67ch;
  padding: clamp(2.75rem, 8vw, 5rem) 0 3rem;
}

h1,
h2 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 17ch;
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0.8rem 0 0;
}

.lead {
  max-width: 46ch;
  margin-top: 1.25rem;
  color: #394c41;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  line-height: 1.45;
}

section {
  margin-top: 2.5rem;
}

a {
  color: #075e3c;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

a:focus-visible {
  outline: 2px solid #075e3c;
  outline-offset: 4px;
}

footer {
  padding: 1.25rem 0 2.5rem;
  border-top: 1px solid #d7e4dc;
}
