*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 var(--space-3);
  color: var(--ink);
}
h1 { font-size: var(--step-4); font-weight: 500; }
h2 { font-size: var(--step-2); margin-top: var(--space-6); }
h3 { font-size: var(--step-1); margin-top: var(--space-5); }
h4 { font-size: var(--step-0); font-family: var(--font-sans); font-weight: 650; }
h1:focus, h2:focus { outline: none; }
p, ul, ol, dl { margin: 0 0 var(--space-4); max-width: var(--measure); }
li + li { margin-top: var(--space-1); }
small, .small { font-size: var(--step--1); }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:root[data-underline="on"] a { text-decoration: underline !important; }
img, svg { max-width: 100%; }
.icon { flex: none; vertical-align: middle; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--space-6) 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute; left: var(--space-4); top: -100px;
  background: var(--ink); color: var(--paper);
  padding: var(--space-3) var(--space-4); z-index: 100; border-radius: var(--radius-s);
}
.skip-link:focus { top: var(--space-3); }

::selection { background: var(--teal-wash); }

@media print {
  .site-sidebar, .site-topbar, .mode-banner, .no-print, .exercise-toolbar { display: none !important; }
  body { background: #fff; color: #000; }
  .main { padding: 0 !important; }
}
