:root {
  color-scheme: light;
  --canvas: #f3eee8;
  --surface: #fbf8f3;
  --surface-low: #e9e0d8;
  --surface-high: #d7ccc3;
  --text: #292321;
  --text-secondary: #6c5f59;
  --accent: #7d5148;
  --border: #8b7a72;
  --measure: 43rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--text);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 100%;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
}

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.19em;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible {
  border-radius: 0.16rem;
  outline: 0.18rem solid var(--accent);
  outline-offset: 0.22rem;
}

.site-header,
.site-footer {
  border-color: var(--surface-high);
  border-style: solid;
  border-width: 0;
}

.site-header {
  border-bottom-width: 1px;
}

.site-footer {
  border-top-width: 1px;
}

.header-inner,
.footer-inner,
main {
  margin-inline: auto;
  width: min(100% - 2rem, 68rem);
}

.header-inner,
.footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 4.8rem;
}

.wordmark {
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  text-decoration: none;
}

.site-nav,
.footer-nav {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 4vw, 2rem);
}

.site-nav a,
.footer-nav a {
  color: var(--text-secondary);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.55em;
}

main {
  padding-block: clamp(3.4rem, 8vw, 6.5rem);
}

.page-header,
.content {
  margin-inline: auto;
  max-width: var(--measure);
}

.page-header {
  border-bottom: 1px solid var(--surface-high);
  padding-bottom: clamp(1.6rem, 4vw, 2.3rem);
}

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.65rem, 8vw, 4.9rem);
}

h2 {
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.lede,
.effective-date,
p,
li {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.lede {
  color: var(--text-secondary);
  font-size: clamp(1.06rem, 2.4vw, 1.22rem);
  margin: 1rem 0 0;
  max-width: 39rem;
}

.effective-date {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 600;
  margin: 1rem 0 0;
}

.content section {
  padding-block: clamp(2rem, 5vw, 3rem);
}

.content section + section {
  border-top: 1px solid var(--surface-high);
}

p,
li {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.08rem);
}

p {
  margin: 0.85rem 0 0;
}

p + p {
  margin-top: 0.72rem;
}

ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

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

.contact-link {
  display: inline-block;
  font-size: clamp(1.12rem, 2.5vw, 1.28rem);
  font-weight: 650;
  margin-top: 1rem;
}

.footer-inner {
  color: var(--text-secondary);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.86rem;
}

@media (max-width: 38rem) {
  .header-inner,
  .footer-inner,
  main {
    width: min(100% - 1.5rem, 68rem);
  }

  .header-inner {
    min-height: 4.2rem;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
    padding-block: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-contrast: more) {
  a,
  .site-nav a[aria-current="page"] {
    color: #60342d;
  }

  .site-header,
  .site-footer,
  .page-header,
  .content section + section {
    border-color: var(--border);
  }
}
