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

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 100%;
  line-height: var(--leading);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--text);
  min-height: 100vh;
}

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

a {
  color: inherit;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  background: var(--navy);
  color: var(--on-navy);
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.skip:focus {
  top: var(--gutter);
}

h1,
h2,
h3,
.wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--navy);
}

h1 {
  font-size: var(--h1);
  margin: 0 0 var(--space-3);
}

h2 {
  font-size: var(--h2);
  margin: 0 0 var(--space-2);
}

h3 {
  font-size: var(--h3);
  margin: 0 0 var(--space-1);
}

p {
  margin: 0 0 var(--space-2);
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 var(--space-2);
  padding-left: 1.2rem;
}

.wrap {
  width: min(var(--measure), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.meta {
  font-family: var(--font-sans);
  font-size: var(--meta);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.kicker {
  display: block;
  margin-bottom: var(--space-2);
}

hr,
.rule {
  border: 0;
  border-top: var(--line) solid var(--rule);
  margin: var(--space-5) 0;
}

.prose {
  max-width: 42rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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