/* Базовый документ без страничной геометрии. */
body {
  background-color: var(--color-surface-page);
  color: var(--color-text-primary);
  font-family: var(--font-family-sans);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow-x: clip;
}

input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

input::selection,
textarea::selection {
  background: rgba(59, 82, 212, .22);
  color: var(--color-brand-primary);
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: var(--space-3);
  left: var(--space-3);
  transform: translateY(-150%);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-brand-primary);
  color: #fff;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}
