/* Base elements, typography roles, focus, utilities. */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

button, input { font: inherit; color: inherit; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 50;
  padding: 6px 12px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-btn);
}
.skip:focus { top: 10px; }

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

/* typography roles */
.small-label {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--label);
  text-transform: uppercase;
}
.headline {
  font-size: var(--fs-h1);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 10px 0 12px;
}
.card-title {
  font-size: var(--fs-h2);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 10px 0 8px;
}
.card-sub {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 4px;
}
.section-title {
  font-size: var(--fs-h2);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -.01em;
}
.body { color: var(--text); font-size: var(--fs-body); line-height: var(--lh-body); }
.note { color: var(--note); font-size: var(--fs-note); line-height: 1.6; }
.muted { color: var(--note); }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.num-l { font-variant-numeric: tabular-nums; }
.kpi-num {
  font-size: var(--fs-kpi);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
