*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-text)/1.6 var(--font-body);
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: var(--step-hero); line-height: .96; }
h2 { font-size: var(--step-1); }
h3 { font-size: var(--step-2); font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--signal-deep); }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
::selection { background: var(--signal); color: var(--pine-950); }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 20;
  background: var(--signal); color: var(--pine-950); padding: .5rem 1rem; font-weight: 600;
}
.skip:focus { top: .5rem; }

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