:root {
  --teal: #057f78;
  --teal-dark: #045f5a;
  --paper: #f6f8f5;
  --ink: #17212b;
  --muted: #5d6b72;
  --line: #d7e2df;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }

body { margin: 0; }

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--teal); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }

.shell { margin: 0 auto; max-width: 80ch; padding-left: 1.25rem; padding-right: 1.25rem; }

.header-inner { align-items: center; display: flex; justify-content: space-between; min-height: 4.5rem; }

.brand { color: var(--teal-dark); font-size: 1.15rem; font-weight: 750; letter-spacing: .01em; text-decoration: none; }

.home-link { font-size: .92rem; }

.document { background: var(--white); margin-top: 2.75rem; margin-bottom: 3rem; padding-top: 2.75rem; padding-bottom: 2.75rem; }

.document-meta { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .84rem; gap: .75rem 1.5rem; letter-spacing: .02em; }

h1, h2 { color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.035em; margin: .75rem 0 1.25rem; overflow-wrap: anywhere; hyphens: auto; }
h2 { border-top: 1px solid var(--line); font-size: 1.35rem; margin: 2.75rem 0 1rem; padding-top: 1.25rem; }

p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.35rem; }
li { margin-bottom: .35rem; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 66ch; }

.table-wrap { overflow-x: auto; margin: 1.25rem 0 1rem; }
table { border-collapse: collapse; min-width: 32rem; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: .7rem .8rem; text-align: left; vertical-align: top; }
th { background: #edf4f1; font-size: .9rem; }

.document-footer { border-top: 1px solid var(--line); color: var(--muted); margin-top: 3rem; padding-top: 1.5rem; }
.footer-home { font-weight: 650; }

@media (max-width: 34rem) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .25rem; justify-content: center; min-height: 5rem; }
  .document { margin-top: 1rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
  h2 { margin-top: 2.2rem; }
  .home-link { font-size: .86rem; }
}

@media print {
  :root { --paper: #fff; --ink: #000; --muted: #333; }
  .site-header { border-bottom: 1px solid #aaa; }
  .document { margin: 0; max-width: none; padding-top: 1rem; }
  .home-link { display: none; }
  a { color: inherit; }
  a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-size: .85em; }
  h2 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}
