/* Reset, typography and small utilities shared by every section. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-h) + var(--s3));
}

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

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

a {
  color: var(--track);
}

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

[hidden] {
  display: none !important;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: var(--s3);
}

p {
  text-wrap: pretty;
}

section {
  scroll-margin-top: calc(var(--topbar-h) + var(--s3));
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.sub {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
}

.visually-hidden {
  position: absolute !important;
  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;
}

.skip {
  position: absolute;
  left: -999px;
  top: var(--s2);
  z-index: 50;
  padding: var(--s2) var(--s3);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
}

.skip:focus {
  left: var(--s4);
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.solid {
  fill: currentColor;
  stroke: none;
}

@media print {
  .topbar,
  .skip,
  .chart-bar,
  .fixbar,
  .btn,
  noscript {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
