:root {
  --parchment: #f3ecdd;
  --paper: #faf7f1;
  --ink: #1c1814;
  --muted: #6b6359;
  --quiet: #948a7d;
  --olive: #3d5a4c;
  --bronze: #c9a876;
  --border: #e5ddd0;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--parchment);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.9), transparent 42rem),
    var(--parchment);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--olive);
  text-underline-offset: 0.18em;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 68rem;
  padding: 1.4rem 1.5rem;
}

.wordmark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.2rem;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a[aria-current="page"] {
  color: var(--olive);
}

main {
  margin: 0 auto;
  max-width: 48rem;
  padding: 4.5rem 1.5rem 6rem;
}

.eyebrow {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.72rem;
  font-weight: 750;
  gap: 0.75rem;
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
}

.eyebrow::before {
  background: var(--bronze);
  content: "";
  height: 1px;
  width: 1.8rem;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.75rem, 8vw, 4.7rem);
  line-height: 1.02;
  margin: 0;
}

.effective {
  color: var(--quiet);
  font-size: 0.88rem;
  margin: 1rem 0 0;
}

.introduction {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  margin: 2rem 0 0;
  max-width: 42rem;
}

.document {
  background: rgba(250, 247, 241, 0.9);
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  box-shadow: 0 1.2rem 4rem rgba(66, 52, 32, 0.08);
  margin-top: 3rem;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 3rem);
}

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

h2 {
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 0 0 0.65rem;
}

p {
  color: var(--muted);
  margin: 0;
}

.home-links {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3rem;
}

.home-link {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  color: var(--ink);
  display: block;
  padding: 1.6rem;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.home-link:hover,
.home-link:focus-visible {
  border-color: var(--olive);
  box-shadow: 0 1rem 2.5rem rgba(61, 90, 76, 0.1);
  transform: translateY(-2px);
}

.home-link strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.home-link span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  margin-top: 0.45rem;
}

.site-footer {
  border-top: 1px solid rgba(107, 99, 89, 0.18);
  color: var(--quiet);
  font-size: 0.82rem;
  margin: 0 auto;
  max-width: 68rem;
  padding: 1.6rem 1.5rem 2.5rem;
  text-align: center;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 36rem) {
  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    gap: 0.8rem;
  }

  main {
    padding-top: 3rem;
  }

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