/* base.css — изолированный reset только для посадочной страницы */

#vibory-page,
#vibory-page *,
#vibory-page *::before,
#vibory-page *::after {
  box-sizing: border-box;
}

#vibory-page *::p {
  font-size: 20px;
}

#vibory-page {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#vibory-page :where(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote) {
  margin: 0;
  padding: 0;
}

#vibory-page :where(img, picture, video, canvas, svg) {
  display: block;
  max-width: 100%;
  height: auto;
}

#vibory-page :where(ul[role='list'], ol[role='list']) {
  list-style: none;
}

#vibory-page :where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

#vibory-page button {
  cursor: pointer;
  background: none;
  border: 0;
}

#vibory-page table {
  width: 100%;
  border-collapse: collapse;
}

#vibory-page :where(h1, h2, h3, h4, h5, h6) {
  line-height: 1.15;
  text-wrap: balance;
}

#vibory-page :where(p, li, figcaption) {
  max-width: 72ch;
  text-wrap: pretty;
}

#vibory-page ::selection {
  background: rgba(122, 31, 43, 0.22);
  color: var(--color-text);
}

#vibory-page :focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

#vibory-page :where(
  a,
  button,
  [role='button'],
  [role='link'],
  input,
  textarea,
  select
) {
  transition:
    color var(--transition-interactive),
    background-color var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

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

@media (prefers-reduced-motion: reduce) {
  #vibory-page,
  #vibory-page *,
  #vibory-page *::before,
  #vibory-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}