:root {
  color-scheme: light;
  --ink: #202a27;
  --muted: #58635e;
  --paper: #fffefa;
  --sand: #f7f5ef;
  --line: #d7ddd7;
  --green: #205749;
  --green-dark: #153e35;
  --accent: #b8603d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--sand); }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 2; }
.skip-link:focus { left: 1rem; padding: .7rem 1rem; color: white; background: var(--green-dark); }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header-inner {
  display: flex;
  max-width: 78rem;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.brand {
  color: var(--green-dark);
  font-weight: 750;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav, .footer-links { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }
.site-nav a, .footer-links a { color: var(--green-dark); font-weight: 650; }
.site-nav a[aria-current="page"] { text-decoration-thickness: .14em; text-underline-offset: .25em; }
main { max-width: 78rem; margin: 2.5rem auto 5rem; padding: 0 clamp(1rem, 4vw, 3rem); }
.page-article {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  background: var(--paper);
  border: 1px solid #e7e8e1;
  border-radius: 1.25rem;
  box-shadow: 0 1.2rem 3rem rgb(36 49 43 / 6%);
}
h1, h2 { color: var(--green-dark); line-height: 1.2; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.035em; }
h2 { margin: 2rem 0 .75rem; font-size: 1.35rem; }
p, li { max-width: 72ch; }
a { color: #174f70; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #0b344c; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.signature { margin-top: 2rem; color: var(--muted); font-style: italic; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.site-footer-inner {
  display: flex;
  max-width: 78rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer-brand { margin: 0; color: var(--green-dark); font-weight: 750; }
@media (max-width: 40rem) {
  :root { font-size: 16px; }
  .site-header-inner, .site-footer-inner { align-items: flex-start; flex-direction: column; }
  main { margin: 1rem auto 2rem; padding: 0 .75rem; }
  .page-article { padding: 1.15rem; border-radius: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
