:root {
  --ink: #202331;
  --muted: #5e6373;
  --accent: #4649ad;
  --surface: #faf9f6;
  --line: #dddde5;
  --note: #f5edda;
  --note-ink: #594518;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 1rem/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .5rem 1rem; background: white; z-index: 2; }
.skip:focus { top: 1rem; }
header { max-width: 1200px; margin: auto; padding: 1.6rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { font-size: 2rem; font-weight: 800; letter-spacing: -.08em; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand span { display: block; margin-top: .5rem; font-size: .72rem; font-weight: 500; letter-spacing: .04em; }
nav { display: flex; gap: 1.8rem; font-size: .9rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current] { color: var(--accent); text-decoration: underline; }
.draft { border-block: 1px solid var(--line); padding: .7rem 2rem; display: flex; flex-wrap: wrap; justify-content: center; column-gap: 1rem; background: #eeedf8; font-size: .8rem; color: #47406d; }
.layout { max-width: 900px; margin: auto; padding: 4rem 2rem 5rem; }
.layout.with-toc { max-width: 1200px; display: grid; grid-template-columns: 225px minmax(0, 720px); gap: 4rem; justify-content: center; }
main { min-width: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-size: .7rem; font-weight: 700; margin: 0 0 .8rem; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.045em; line-height: 1.1; margin: 0 0 2.2rem; }
h2 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.4; margin: 2.7rem 0 1rem; }
p { margin: 0 0 1.1rem; }
main > p:first-of-type + h1 + p { color: var(--muted); font-size: .9rem; }
.lead { font-size: 1.45rem; line-height: 1.5; letter-spacing: -.02em; }
.toc { font-size: .8rem; align-self: start; position: sticky; top: 2rem; }
.toc > p { font-weight: 700; margin-bottom: .8rem; }
.toc ol { padding: 0; list-style: none; margin: 0; }
.toc li { margin-bottom: .65rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.review-note { background: var(--note); color: var(--note-ink); border-left: 3px solid #b28b39; padding: 1.2rem 1.4rem; border-radius: 0 10px 10px 0; font-size: .95rem; }
.review-note h2 { margin-top: 0; }
.review-note p:last-child { margin-bottom: 0; }
.document-links { margin: 2.5rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.document-links > a { border-block: 1px solid var(--line); padding: 1.6rem 0; text-decoration: none; color: var(--ink); }
.document-links span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.document-links strong { display: block; font-size: 1.5rem; letter-spacing: -.025em; margin: .6rem 0; }
.document-links p { font-size: .95rem; }
.document-links b { color: var(--accent); font-weight: 600; font-size: .9rem; }
footer { border-top: 1px solid var(--line); padding: 2rem; text-align: center; font-size: .75rem; color: var(--muted); }
footer p { margin: .4rem 0; }
@media (max-width: 850px) {
  .layout.with-toc { display: block; max-width: 780px; }
  .toc { position: static; border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; padding-bottom: 1rem; }
  .toc ol { columns: 2; column-gap: 2rem; }
  .toc li { break-inside: avoid; }
}
@media (max-width: 520px) {
  header { padding: 1.3rem 1.25rem; align-items: flex-start; }
  nav { flex-direction: column; gap: .3rem; font-size: .8rem; }
  .draft { padding: .8rem 1.25rem; justify-content: start; }
  .layout, .layout.with-toc { padding: 2.5rem 1.25rem 3rem; }
  .document-links { grid-template-columns: 1fr; gap: .5rem; }
  .toc ol { columns: 1; }
  h1 { margin-bottom: 1.5rem; }
  .review-note { padding: 1rem; }
}
@media print {
  body { background: white; color: black; font-size: 10pt; }
  header, .toc, footer, .skip { display: none; }
  .layout, .layout.with-toc { display: block; padding: 0; max-width: none; }
  .draft { padding: .5rem 0; margin-bottom: 1rem; }
  h2 { break-after: avoid; }
  .review-note { background: none; border: 1px solid #777; }
}
