
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--w-regular);
  line-height: var(--lh-body);
  letter-spacing: -.005em;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
h1, h2 { font-size: var(--fs-h2); font-weight: var(--w-black); }
h3     { font-size: var(--fs-h3); font-weight: var(--w-bold); line-height: var(--lh-snug); }
h4     { font-size: var(--fs-h4); font-weight: var(--w-bold); line-height: var(--lh-snug); }

p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

a {
  color: var(--brand-deep);
  text-decoration: none;
  text-underline-offset: .25em;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--brand); text-decoration: underline; }

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
figure, blockquote { margin: 0; }

b, strong { font-weight: var(--w-bold); color: var(--ink); }
em { font-style: normal; }

button { font: inherit; color: inherit; background: none; border: 0; }
table { border-collapse: collapse; width: 100%; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brand-200); color: var(--brand-900); }

.em    { color: var(--em-accent); font-weight: var(--w-black); }
.em-lg {
  font-size: calc(1em * var(--em-scale));
  font-weight: var(--w-bold);
  color: var(--em-color);
  letter-spacing: -.015em;
}
.em-lg.is-brand { color: var(--em-accent); }
.em-mark {
  background-image: linear-gradient(transparent 62%, var(--brand-100) 62%);
  background-repeat: no-repeat;
}
p:has(.em-lg) { line-height: 1.95; }

.brk { display: none; }
@media (min-width: 941px) { .brk { display: inline; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 999;
  padding: 10px 18px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; font-size: var(--fs-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--s-4); color: #fff; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
