@font-face {
  font-family: Poppins;
  src: url("/assets/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("/assets/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #071b4a;
  --ink: #132a47;
  --muted: #53647a;
  --link: #075bcf;
  --border: #dce6f2;
  --background: #f6f9fe;
  --paper: #fff;
  color-scheme: light;
  font: 100%/1.65 system-ui, sans-serif;
  color: var(--ink);
  background: var(--background);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 2px; }
p, ul, dl { margin: 0 0 1rem; }
ul { padding-inline-start: 1.35rem; }
li + li { margin-block-start: .65rem; }
dt { font-weight: 650; color: var(--navy); }
dd { margin: .125rem 0 .9rem; }
address { margin: 0 0 1rem; font-style: normal; }
section { scroll-margin-top: 1rem; }

h1, h2, h3 {
  color: var(--navy);
  font-family: Poppins, system-ui, sans-serif;
  line-height: 1.25;
  margin: 0 0 .8rem;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.6rem); letter-spacing: -.06em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.65rem); letter-spacing: -.035em; }
h3 { font-size: 1.025rem; font-weight: 600; margin-block-start: 1.35rem; }

.container { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.masthead, .footer { background: var(--paper); }
.masthead { border-bottom: 1px solid var(--border); }
.brand, .footer-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  padding-block: .5rem;
}

.brand img { display: block; width: clamp(8.75rem, 20vw, 11.6rem); max-width: 100%; height: auto; }
.brand a, .footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .94rem; font-weight: 650; }
.intro { padding-block: clamp(2rem, 5vw, 4rem) 1.75rem; }
.intro p { max-width: 42rem; font-size: 1.08rem; margin-bottom: .8rem; }
.intro .updated { font-size: .875rem; margin-bottom: 0; color: var(--muted); }

.layout { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-bottom: 3rem; }
nav, article { border: 1px solid var(--border); border-radius: 1rem; background: var(--paper); }
nav { position: sticky; top: 1rem; display: grid; padding: .95rem 1rem; }
nav h2 { font-size: .94rem; font-weight: 600; margin: 0 0 .35rem; }
nav a { display: flex; align-items: center; min-height: 2.75rem; font-size: .925rem; }
article { padding: clamp(1rem, 4vw, 2.6rem); overflow-wrap: anywhere; }
article section { border-top: 1px solid var(--border); margin-top: 1.6rem; padding-top: 1.5rem; }
article > :last-child > :last-child { margin-bottom: 0; }

.footer { border-top: 1px solid var(--border); }
.footer-inner { color: var(--muted); font-size: .925rem; }
.skip { position: absolute; top: -10rem; left: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 1; }
.skip:focus { top: .5rem; }

@media (max-width: 46rem) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .65rem; }
  nav h2 { grid-column: 1 / -1; }
}

@media (max-width: 19rem) {
  nav { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .brand a, nav, .footer, .skip { display: none; }
  :root, article { background: #fff; border: 0; }
  .container { width: 100%; }
  .layout { display: block; }
  article { padding: 0; }
}
