:root {
  color-scheme: light dark;
  --page: #f4f6fa;
  --surface: #ffffff;
  --ink: #10243d;
  --muted: #53667c;
  --link: #1859bb;
  --line: #d7e0eb;
  --accent: #eaf2ff;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--space-3); }
body { margin: 0; background: var(--page); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; }
a { color: var(--link); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; left: var(--space-2); top: -10rem; padding: var(--space-2); background: var(--surface); z-index: 1; }
.skip:focus { top: var(--space-2); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner, main, .footer-inner { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); padding-block: var(--space-3); }
.brand { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-1); background: #fff; border-radius: var(--space-1); }
.brand img { display: block; width: 160px; max-width: 100%; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav [aria-current] { color: var(--ink); text-decoration-thickness: 2px; }
main { padding-block: var(--space-5) var(--space-6); }
.intro { max-width: 65ch; margin-bottom: var(--space-5); }
.eyebrow, .date { color: var(--muted); font-size: .875rem; }
.eyebrow { margin: 0 0 var(--space-1); }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 var(--space-3); }
h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.015em; margin: 0 0 var(--space-2); }
h3 { font-size: 1.125rem; line-height: 1.4; margin: var(--space-3) 0 var(--space-1); }
p { margin: 0 0 var(--space-2); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.contents { align-self: start; }
.contents h2 { font-size: 1rem; margin-bottom: var(--space-1); }
.contents ol { margin: 0; padding: 0; list-style: none; }
.contents a { display: block; padding-block: var(--space-1); min-height: 44px; }
article { max-width: 65ch; min-width: 0; }
article section + section { margin-top: var(--space-5); }
article ul, article ol { padding-left: var(--space-3); margin-block: var(--space-2); }
article li + li { margin-top: var(--space-1); }
.contact { padding: var(--space-3); background: var(--accent); border-radius: var(--space-2); }
.contact p:last-child { margin-bottom: 0; }
.action { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: var(--space-1) var(--space-3); background: var(--link); color: var(--surface); border-radius: var(--space-1); text-decoration: none; font-weight: 600; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); margin-block: var(--space-3); }
.actions > a:not(.action) { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { padding-block: var(--space-4); color: var(--muted); font-size: .875rem; }
.footer-inner p { margin-bottom: var(--space-1); }
@media (min-width: 60rem) {
  .layout { grid-template-columns: 14rem minmax(0, 1fr); }
  .contents { position: sticky; top: var(--space-3); }
}
@media (prefers-color-scheme: dark) {
  :root { --page: #0b1727; --surface: #10243d; --ink: #eef4ff; --muted: #b2c1d4; --link: #8bbbff; --line: #35485f; --accent: #183552; }
}
@media print {
  :root { --page: #fff; --surface: #fff; --ink: #000; --muted: #333; --link: #000; --line: #ccc; --accent: #fff; }
  .site-nav, .contents, .skip { display: none; }
  .layout { display: block; }
  main, .header-inner, .footer-inner, article { width: 100%; max-width: none; }
  h2, h3 { break-after: avoid; }
  .site-header, .site-footer { border: 0; }
}
