:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17312d;
  background: #f5f8f6;
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #075e51;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid #a04700;
  outline-offset: 4px;
}

.container {
  width: min(100% - 2.5rem, 52rem);
  margin-inline: auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #d9e4df;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.3rem;
}

.site-name {
  font-weight: 750;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

main {
  padding-block: 2.5rem;
}

.hero {
  padding-bottom: 1rem;
}

.eyebrow {
  color: #386155;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-block: 0.7rem 1.2rem;
}

h2 {
  font-size: 1.35rem;
}

.lead {
  font-size: 1.2rem;
}

section + section {
  border-top: 1px solid #d9e4df;
  margin-top: 2rem;
  padding-top: 1rem;
}

li + li {
  margin-top: 0.7rem;
}

code {
  background: #e7eeea;
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem;
}

.site-footer {
  border-top: 1px solid #d9e4df;
  padding-block: 1rem 2rem;
  font-size: 0.9rem;
}

.skip-link {
  position: absolute;
  top: -6rem;
  left: 1rem;
  background: #ffffff;
  padding: 0.75rem;
}

.skip-link:focus {
  top: 0.5rem;
}

@media (max-width: 34rem) {
  main {
    padding-block: 1.5rem;
  }

  .header-content {
    align-items: flex-start;
    flex-direction: column;
  }
}
