:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20352e;
  background: #f6f7f2;
  font-size: 17px;
  line-height: 1.65;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #166347; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
a:hover { color: #0b3f2c; }
a:focus-visible { outline: 3px solid #ad620f; outline-offset: 4px; border-radius: 2px; }

.skip-link { position: absolute; left: 1rem; top: -5rem; padding: 0.5rem; background: white; }
.skip-link:focus { top: 0.5rem; }
.site-header, main, .site-footer { max-width: 940px; margin: 0 auto; padding: 1.5rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { color: #20352e; font-size: 1.15rem; font-weight: 750; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
nav a { display: inline-block; padding: 0.5rem 0; font-size: 0.9rem; }
nav a[aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
main { padding-top: 2.5rem; padding-bottom: 3rem; }
.eyebrow { color: #52665b; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.025em; }
h1 { font-size: clamp(2rem, 6vw, 3.3rem); margin: 0.4rem 0 1.1rem; max-width: 18ch; }
h2 { font-size: 1.4rem; margin-top: 2.3rem; }
h3 { font-size: 1.05rem; }
p, ul, ol { max-width: 72ch; }
li + li { margin-top: 0.55rem; }
ul, ol { padding-left: 1.3rem; }
.lead { max-width: 58ch; font-size: 1.2rem; color: #40574b; }
.muted { color: #52665b; font-size: 0.9rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.card { padding: 1.4rem; border: 1px solid #d8e1d8; border-radius: 16px; background: white; }
.card h2 { margin-top: 0; }
.card p { font-size: 0.95rem; }
.notice { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid #508568; background: #eaf0e7; }
.notice p { margin: 0; }
.downloads { list-style: none; padding: 0; }
.downloads li { padding: 1rem 0; border-bottom: 1px solid #d8e1d8; }
.downloads a { font-weight: 650; }
.downloads span { display: block; color: #52665b; font-size: 0.9rem; }
code { font-size: 0.9em; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid #d8e1d8; color: #52665b; font-size: 0.85rem; }
.site-footer p { margin: 0.3rem 0; }

@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .site-header, main, .site-footer { padding-left: 1.1rem; padding-right: 1.1rem; }
  main { padding-top: 1.5rem; }
}
