.f12 {
  font-family: var(--f12-font-family-sans);
  color: var(--f12-color-text-primary);
  background-color: var(--f12-color-surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.f12,
.f12 * {
  box-sizing: border-box;
}

.f12 :where(h1, h2, h3, h4, h5, h6, p) {
  margin: 0;
}

.f12 :where(h1, h2, h3, h4) {
  color: var(--f12-color-text-heading);
  letter-spacing: var(--f12-letter-spacing-tight);
  line-height: var(--f12-line-height-tight);
}

.f12 :where(p) {
  line-height: var(--f12-line-height-base);
}

.f12 :where(a) {
  color: inherit;
}

.f12 :where(a:hover, a:focus, a:focus-visible, a:active, a:visited) {
  color: inherit;
}

.f12 :where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--f12-color-focus-outline);
  outline-offset: 2px;
}

.f12 :where(button) {
  font: inherit;
}

.f12 :where(img) {
  max-width: 100%;
  height: auto;
}
