:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --ink: #1e2528;
  --muted: #5e686d;
  --line: #d9d1c4;
  --accent: #0e6f67;
  --accent-strong: #0a504b;
  --gold: #b57819;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(14, 111, 103, 0.12), transparent 32rem),
    linear-gradient(180deg, #fbf8f1 0%, var(--bg) 48%, #ece6db 100%);
  color: var(--ink);
  font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
  line-height: 1.6;
}

a {
  color: var(--accent-strong);
}

.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  padding: 1.25rem 0;
}

.brand {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.nav,
.site-footer {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"],
.site-footer a:hover {
  color: var(--accent-strong);
}

.section,
.document {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: clamp(4rem, 10vw, 7rem) 0 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: Avenir, Montserrat, "Gill Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-family: Avenir, Montserrat, "Gill Sans", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  margin-bottom: 4rem;
}

.grid > div {
  min-height: 15rem;
  background: rgba(255, 253, 248, 0.78);
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.grid p,
.document p {
  margin-top: 0.85rem;
  color: var(--muted);
}

.document {
  max-width: 780px;
  padding: clamp(3rem, 8vw, 5rem) 0 4rem;
}

.document h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
}

.document section {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 2rem;
}

.updated {
  margin-top: 1rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

  .hero {
    padding-top: 3rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .grid > div {
    min-height: auto;
  }
}