/* Base: reset, typography, layout primitives, utilities */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-bg);
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}
@supports (overflow-wrap: break-word) { body { overflow-wrap: break-word; } }

img, svg { max-width: 100%; height: auto; }
img { display: block; }

h1, h2, h3, h4 { line-height: var(--lh-tight); margin: 0; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--fs-800); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); font-weight: 700; }

p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li + li { margin-top: var(--sp-1); }
strong, b { font-weight: 700; }
em { font-style: italic; }

a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

button, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }

table { border-collapse: collapse; width: 100%; }

hr { border: 0; border-top: 1px solid var(--c-border); margin: var(--sp-6) 0; }

time { white-space: nowrap; }

/* Layout */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.sec { padding-block: var(--sp-6); }
.sec__title { margin-bottom: var(--sp-4); max-width: 24em; }
.sec > * + .prose, .sec > .prose + * { margin-top: var(--sp-4); }

.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin: var(--sp-5) 0 var(--sp-2); }

/* Utilities */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--plus { color: var(--c-plus); }
.icon--minus { color: var(--c-minus); }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 100;
  background: var(--c-navy-900); color: #fff; padding: var(--sp-2) var(--sp-4); border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--sp-2); }

@media (min-width: 768px) {
  .sec { padding-block: var(--sp-7); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
