:root {
  color-scheme: light;
  --paper: #fffdf8;
  --ink: #241e19;
  --muted: #655950;
  --accent: #5b3622;
  --rule: #e4d8cc;
  --reading-width: 44rem;
  font-family: system-ui, sans-serif;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: .15rem solid var(--accent); outline-offset: .24rem; }
.frame { width: min(calc(100% - 2.5rem), var(--reading-width)); margin-inline: auto; }
header { border-bottom: 1px solid var(--rule); }
.masthead { min-height: 4.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.brand { font-size: 1.5rem; font-weight: 750; text-decoration: none; }
nav { display: flex; gap: 1.25rem; }
nav a { padding-block: .625rem; }
nav a[aria-current="page"] { font-weight: 700; }
main { padding-block: clamp(2.5rem, 7vw, 5rem); font-size: 1.125rem; }
h1 { margin: 0; font-size: clamp(2.2rem, 7vw, 3.35rem); line-height: 1.09; letter-spacing: -.035em; }
h2 { margin: 0 0 .7rem; font-size: 1.32rem; line-height: 1.3; }
p { margin: 0 0 1rem; overflow-wrap: anywhere; }
.revision { margin-block: .9rem 2.5rem; color: var(--muted); font-size: 1rem; }
section + section { margin-top: 2.35rem; }
.documents { padding-inline-start: 1.2em; }
footer { border-top: 1px solid var(--rule); padding-block: 1.35rem 2.5rem; }
.skip { position: absolute; inset: .5rem auto auto .5rem; background: var(--paper); padding: .5rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
