:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #172026;
  background: #f7f4ee;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: 100%;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: #ffffff;
  border-block: 1px solid #d9e2df;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-block-start: 0;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  color: #38514b;
}

nav a[aria-current="page"] {
  color: #ffffff;
  background: #27564d;
}

main {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem);
}

main:focus {
  outline: none;
}

.page {
  display: grid;
  gap: 1rem;
}

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

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

p {
  max-width: 64ch;
  margin: 0;
  font-size: 1.05rem;
}

.site-footer {
  border-block-end: 0;
  color: #53635f;
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
