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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ol, ul { margin: 0; }
img, svg { display: block; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { color: var(--cobalt-hover); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: #FFFFFF; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* Text helpers */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow--on-dark { color: rgba(255, 255, 255, .86); }
.eyebrow--lavender { color: var(--lavender); }
.th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-3); }
.th--right { text-align: right; }
.th--on-dark { color: rgba(255, 255, 255, .72); }
.muted { color: var(--muted-2); }
.muted-2 { color: var(--ink-3); }
.small { font-size: 14px; line-height: 1.55; }
.strong { font-weight: 700; }
.nowrap { white-space: nowrap; }
.link-strong { font-size: 15px; font-weight: 700; }
.footnote { margin-top: 28px; font-size: 13px; color: var(--muted); }
.br-mobile { display: none; }
.hide-desktop { display: none; }

@media (max-width: 719px) {
  .eyebrow { font-size: 12px; }
  .br-mobile { display: inline; }
  .br-desktop { display: none; }
  .hide-mobile { display: none; }
  .hide-desktop { display: inline; }
}

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