:root {
  color-scheme: light;
  --ink: #132d25;
  --muted: #4a6057;
  --green: #17644b;
  --line: #d8e4de;
  --mint: #eaf6ee;
  --paper: #f7faf8;
  font: 100%/1.6 "Aptos", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { color: #0c4935; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #927234; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-inner { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.35rem; letter-spacing: -.04em; font-weight: 750; color: var(--ink); text-decoration: none; }
.brand-mark, .tile-icon { display: inline-grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .5rem; background: #17583f; color: white; font-size: 1.15rem; flex: 0 0 auto; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.5rem; }
nav a { font-weight: 600; font-size: .925rem; text-decoration: none; }
nav a:hover, nav a.active, nav a[aria-current] { text-decoration: underline; }
main { min-height: 64vh; padding-block: 2rem 4rem; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); padding: clamp(1.8rem, 5vw, 4.25rem); background: linear-gradient(125deg, #eaf6ee, #d8eee2); border: 1px solid #d5e8dc; border-radius: 1.4rem; }
.eyebrow { font-size: .875rem; color: var(--green); font-weight: 750; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .65rem; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h1 span { color: #178459; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }
.lede { max-width: 39rem; color: var(--muted); font-size: 1.15rem; margin: 1rem 0 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button { display: inline-block; border: 1px solid #17583f; background: #17583f; color: #fff; border-radius: .5rem; font-size: .95rem; font-weight: 700; padding: .7rem 1rem; text-decoration: none; }
.button:hover { background: #0b4530; color: #fff; }
.button.secondary { background: transparent; color: var(--green); }
.button.secondary:hover { background: #fff; }
.sheet { margin: 0; border: 1px solid #b7cfbf; border-radius: .85rem; overflow: hidden; background: white; box-shadow: 0 18px 34px #174a3320; }
.sheet figcaption { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; line-height: 1.3; }
.sheet small { color: var(--muted); }
table { width: 100%; border-collapse: collapse; text-align: left; }
td, th { padding: .7rem .85rem; border-block-end: 1px solid var(--line); }
.sheet td, .sheet th { padding: .45rem .75rem; font-size: .875rem; }
.sheet td:not(:first-child), .sheet th:not(:first-child) { text-align: right; }
thead { background: #205b44; color: white; }
tfoot { background: var(--mint); font-weight: 750; }
.sheet-tab { display: inline-block; margin: .6rem 1rem; color: var(--green); border-bottom: 2px solid var(--green); font-weight: 700; font-size: .85rem; }
.collection { margin-top: 3rem; }
.section-heading { margin-bottom: 1.25rem; }
.section-heading a { font-weight: 650; white-space: nowrap; }
.cards, .directory { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: .8rem; padding: 1.25rem; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.card-top { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; color: var(--muted); font-size: .875rem; font-weight: 650; }
.card .tile-icon { background: var(--mint); color: var(--green); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin: .65rem 0 1rem; color: var(--muted); }
.card-link { margin-top: auto; font-weight: 700; }
.page-heading { padding-block: 1.5rem 1rem; }
.page-heading h1 { max-width: 20ch; }
.prose { max-width: 49rem; }
.prose h2 { margin-top: 1.75rem; }
.prose p { overflow-wrap: anywhere; }
.source, .meta { margin-block: 1.4rem; color: var(--muted); }
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.table-scroll td, .table-scroll th { white-space: nowrap; }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 700; }
.directory { gap: .75rem 1rem; }
.directory li { padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
footer { background: #eaf3ed; border-top: 1px solid var(--line); padding-block: 1.75rem; }
footer p { margin: .35rem 0 0; color: var(--muted); }
.skip { position: absolute; top: -6rem; left: 1rem; padding: .5rem; background: #fff; }
.skip:focus { top: .5rem; z-index: 2; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; }
  .cards, .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; padding-block: .85rem; gap: .65rem; }
  nav { gap: .5rem 1rem; }
  .hero { padding: 1.2rem; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .cards, .directory { grid-template-columns: 1fr; }
  .section-heading { flex-wrap: wrap; gap: .4rem; }
}
