/* Local styles only. No external assets, fonts or scripts. */
:root {
  color-scheme: light dark;
  --background: #f5f7fa; --surface: #ffffff; --text: #172b3a;
  --muted: #405565; --brand: #07556a; --border: #b8c8d1;
  --soft: #e8f2f4; --focus: #a43b00;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%; -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-size: 1.0625rem; line-height: 1.7; }
a { color: var(--brand); text-decoration-thickness: .1em; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .16em; }
a:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: .15rem; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .75rem 1rem; background: var(--surface); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.container { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--text); text-decoration: none; font-size: 1.25rem; font-weight: 750; min-height: 44px; }
.brand-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--brand); color: var(--surface); font-weight: 800; }
nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .25rem; }
nav a[aria-current="page"] { font-weight: 750; text-decoration-thickness: .16em; }
main { padding-block: clamp(2rem, 6vw, 4rem); }
.prose { max-width: 47rem; }
.eyebrow { margin: 0 0 .5rem; color: var(--brand); font-size: .9rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
h1, h2 { line-height: 1.2; text-wrap: balance; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2.1rem, 6vw, 3.5rem); letter-spacing: -.035em; }
h2 { margin: 2.75rem 0 .8rem; font-size: clamp(1.45rem, 4vw, 1.85rem); letter-spacing: -.015em; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.notice { margin: 1.5rem 0 2rem; padding: 1.1rem 1.25rem; background: var(--soft); border-left: 4px solid var(--brand); border-radius: .25rem; }
.notice p:last-child, .contact p:last-child { margin-bottom: 0; }
.contact { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; }
.contact h2 { margin-top: 0; }
.contact a[href^="mailto:"] { display: inline-block; min-height: 44px; padding-block: .4rem; font-weight: 700; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: .45rem; }
.toc { padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: .75rem; }
.toc h2 { margin: 0 0 .75rem; font-size: 1.1rem; }
.toc ul { display: block; list-style: disc; padding-left: 1.3rem; }
.toc a { min-height: 44px; padding-block: .25rem; }
.meta { color: var(--muted); font-size: .95rem; }
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding-block: 1.5rem; }
.site-footer p { margin: 0; }
.site-footer a { display: inline-block; min-height: 44px; padding-block: .4rem; }
@media (prefers-color-scheme: dark) {
  :root { --background: #101b23; --surface: #172630; --text: #edf4f7; --muted: #bccbd4; --brand: #8bd8e9; --border: #5d737f; --soft: #1d3540; --focus: #ffbf81; }
  .brand-mark { color: #10252c; }
}
@media (max-width: 25rem) { .container { width: min(100% - 1.5rem, 68rem); } .contact { padding: 1.1rem; } }
@media print {
  :root { color-scheme: light; --background: #ffffff; --surface: #ffffff; --text: #000000; --muted: #222222; --brand: #000000; --border: #777777; --soft: #ffffff; }
  body { font-size: 11pt; }
  .skip-link, .site-header nav, .toc { display: none; }
  main { padding-block: 1rem; }
  a { text-decoration: underline; }
  h2 { break-after: avoid; }
}
