/* Small, neutral baseline built on shared semantic tokens. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--kvd-color-bg-canvas);
  color: var(--kvd-color-text-primary);
  font-family: var(--kvd-font-family-latin);
  font-size: var(--kvd-font-size-body);
  font-weight: var(--kvd-font-weight-regular);
  line-height: var(--kvd-line-height-body);
}

:lang(fa) {
  font-family: var(--kvd-font-family-persian);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

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