:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --surface: #fff;
  --ink: #222e29;
  --muted: #5d6b63;
  --accent: #316445;
  --line: #dce2d8;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.75; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #193f29; }
a:focus-visible { outline: 3px solid #518165; outline-offset: 5px; border-radius: 3px; }
.skip { position: absolute; top: -100px; left: 1rem; z-index: 5; background: var(--surface); padding: .5rem 1rem; }
.skip:focus { top: .5rem; }
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { max-width: 1200px; margin: auto; padding: 23px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-size: 23px; font-weight: 650; letter-spacing: -.6px; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 25px; font-weight: 700; line-height: 1; }
nav { display: flex; gap: 27px; flex-wrap: wrap; }
nav a { text-decoration: none; font-size: 14px; color: var(--muted); padding: 4px 0; }
nav a[aria-current="page"] { color: var(--accent); box-shadow: 0 2px var(--accent); }
.page { max-width: 1200px; margin: auto; padding: 0 40px; }
.hero { padding: 69px 0 45px; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; line-height: 1.5; font-weight: 700; color: var(--accent); }
.eyebrow span { margin: 0 13px; color: #99a597; }
h1 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 550; line-height: 1.14; letter-spacing: -.045em; margin: 21px 0; max-width: 950px; overflow-wrap: break-word; }
.intro { max-width: 760px; color: var(--muted); font-size: 19px; line-height: 1.6; margin: 22px 0; }
.updated { font-size: 12px; color: var(--muted); margin: 26px 0 0; }
.document-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 62px; align-items: start; }
.contents { position: sticky; top: 30px; font-size: 13px; line-height: 1.5; }
.contents .eyebrow { margin-top: 5px; color: var(--muted); }
.contents ol { padding: 0; list-style: none; margin-top: 22px; }
.contents li { margin-bottom: 14px; }
.contents a { text-decoration: none; color: var(--muted); }
.contents a:hover { color: var(--accent); text-decoration: underline; }
.prose { min-width: 0; max-width: 790px; }
.prose section { margin: 0 0 42px; scroll-margin-top: 25px; }
h2 { margin: 0 0 17px; font-size: 24px; line-height: 1.35; font-weight: 600; letter-spacing: -.035em; }
p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { padding-left: 5px; margin: 0 0 15px; }
.prose a { overflow-wrap: anywhere; }
code { font-size: .87em; background: #e9eee7; border-radius: 4px; padding: 2px 5px; }
.home-layout .prose { max-width: none; }
.overview { max-width: 790px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.prose .feature { background: var(--surface); padding: 30px; border: 1px solid var(--line); border-radius: 10px; }
.number { display: block; font-size: 12px; color: var(--accent); margin-bottom: 22px; font-weight: 650; }
.feature p { color: var(--muted); margin-bottom: 0; }
.callout { background: #e9eee4; border-left: 3px solid #6d8765; padding: 28px 32px; border-radius: 0 8px 8px 0; }
.callout p:last-child { margin: 0; }
.document-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.document-links a { display: flex; gap: 15px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; text-decoration: none; font-weight: 600; }
.site-footer { max-width: 1120px; margin: 28px auto 0; border-top: 1px solid var(--line); padding: 32px 0 45px; display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; font-size: 13px; color: var(--muted); }
.site-footer p { margin: 5px 0; }
.site-footer strong { font-size: 16px; color: var(--ink); }
.site-footer span, .site-footer a { display: block; }
.footer-note { font-size: 12px; }
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; }
  .document-layout { grid-template-columns: 1fr; gap: 20px; }
  .contents { position: static; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .contents ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .prose { max-width: none; }
  .site-footer { margin-left: 40px; margin-right: 40px; flex-wrap: wrap; }
}
@media (max-width: 550px) {
  body { font-size: 16px; }
  .header-inner { padding: 19px 22px; gap: 15px; }
  nav { gap: 15px; }
  nav a { font-size: 12px; }
  .page { padding: 0 22px; }
  .hero { padding: 42px 0 29px; margin-bottom: 30px; }
  .intro { font-size: 17px; }
  h1 { letter-spacing: -.04em; }
  h2 { font-size: 22px; }
  .feature-grid, .document-links { grid-template-columns: 1fr; gap: 0; }
  .prose .feature { padding: 24px; margin-bottom: 20px; }
  .callout { padding: 23px; }
  .site-footer { margin-left: 22px; margin-right: 22px; display: grid; gap: 16px; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header nav, .contents, .skip { display: none; }
  .page, .header-inner { padding: 0; }
  .hero { padding: 22px 0; }
  h1 { font-size: 30pt; }
  .document-layout { display: block; }
  .prose { max-width: none; }
  h2 { break-after: avoid; }
  .site-footer { margin: 0; }
}
