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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ol,
ul {
  margin: 0;
}

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

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

body {
  min-height: 100vh;
  background-color: var(--paper-50);
  color: var(--charcoal-700);
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  font-weight: 400;
  line-height: var(--lh-body);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

body[data-scroll-locked="true"] {
  overflow: hidden;
  touch-action: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy-900);
  line-height: var(--lh-tight);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-900);
  font-weight: 600;
}

h2 {
  font-size: var(--fs-800);
}

h3 {
  font-size: var(--fs-700);
  line-height: var(--lh-snug);
}

h4 {
  font-size: var(--fs-600);
  line-height: var(--lh-snug);
}

h5,
h6 {
  font-size: var(--fs-500);
  line-height: var(--lh-snug);
}

p {
  max-width: 68ch;
}

a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--dur-fast) var(--ease);
}

a:hover {
  color: var(--accent-700);
}

address {
  font-style: normal;
}

button {
  font: inherit;
  color: inherit;
}

:where(a, button, [tabindex]):focus-visible {
  outline: var(--focus-width) solid var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-sm);
}

.on-dark :where(a, button, [tabindex]):focus-visible {
  outline-color: var(--focus-ring-dark);
}

[id] {
  scroll-margin-top: calc(var(--header-actual, 4.5rem) + var(--sp-4));
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  transform: translateY(-120%);
  padding: var(--sp-3) var(--sp-5);
  background-color: var(--navy-900);
  color: var(--paper-50);
  font-size: var(--fs-300);
  font-weight: 500;
  text-decoration: none;
  border-bottom-right-radius: var(--radius-md);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--paper-50);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.container--narrow {
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.container--reading {
  max-width: calc(52rem + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.62);
}

.section--paper {
  background-color: var(--paper-100);
}

.section--navy {
  background-color: var(--navy-900);
  color: var(--paper-100);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--paper-50);
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-100);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--accent-700);
}

.section--navy .eyebrow {
  color: var(--accent-300);
}

.lede {
  font-size: var(--fs-600);
  line-height: 1.6;
  color: var(--gray-600);
}

.prose > * + * {
  margin-block-start: var(--sp-4);
}

.prose h2,
.prose h3 {
  margin-block-start: var(--sp-10);
}

.rule {
  height: 1px;
  border: 0;
  background-color: var(--gray-200);
}

.site-main {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  body {
    background-color: #fff;
    color: #000;
    font-size: 11pt;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    word-break: break-all;
  }
}
