/* @group Typography */

body {
  overflow: hidden;
  color: var(--color-text);
  font-family: var(--ui-font-family);
  font-size: var(--ui-font-size-body);
  font-weight: var(--ui-weight-regular);
  font-style: normal;
  line-height: var(--ui-line-height-body);
  background-color: var(--color-canvas);
  font-optical-sizing: var(--ui-font-optical-sizing);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-style: normal;
}

p {
  display: block;
  margin-block-start: var(--ui-space-1);
  margin-block-end: var(--ui-space-1);
  line-height: var(--ui-line-height-body);
}

a:link {
  color: var(--color-link);
  text-decoration: none;
}

a:visited {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-input-focus-border);
  outline-offset: 2px;
}

::selection {
  color: var(--color-selection-text);
  background: var(--color-selection-background);
}

.nowrap {
  white-space: nowrap;
}

/* @end */
