/* Страницы документов stoparest.ru: /policy и /consent. Шрифт Onest — assets/fonts.css комплекта, цвета — его же. */




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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: #171b19;
  font-family: Onest, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.doc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.doc__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #6b5d55;
  font-size: 1rem;
  text-decoration: none;
}

.doc__back:hover { color: #436159; }

.doc__logo { display: block; flex: none; width: 130px; height: auto; }

.doc__body {
  font-size: 1rem;
  line-height: 1.625rem;
  overflow-wrap: break-word;
}

.doc__body h1 {
  margin: 0 0 8px;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.75rem;
  letter-spacing: -.5px;
}

/* Первая строка после заголовка — «Редакция от …». */
.doc__body h1 + p {
  margin: 0 0 32px;
  color: #6b5d55;
  font-size: .875rem;
  line-height: 1.25rem;
}

.doc__body h2 {
  margin: 40px 0 12px;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.875rem;
  scroll-margin-top: 24px;
}

.doc__body p { margin: 0 0 14px; }
.doc__body ul { margin: 0 0 16px; padding-left: 22px; }
.doc__body li { margin: 0 0 8px; padding-left: 4px; }
.doc__body li::marker { color: #436159; }

.doc__body a {
  color: #436159;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc__body a:hover { color: #243833; }

.doc__back:focus-visible,
.doc__body a:focus-visible {
  outline: 2px solid #243833;
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .doc { padding: 16px 16px 64px; }
  .doc__top { margin-bottom: 24px; }
  .doc__logo { width: 104px; }
  .doc__body { font-size: .9375rem; line-height: 1.5rem; }
  .doc__body h1 { font-size: 1.625rem; line-height: 2rem; letter-spacing: -.3px; }
  .doc__body h1 + p { margin-bottom: 24px; }
  .doc__body h2 { margin-top: 32px; font-size: 1.1875rem; line-height: 1.625rem; }
}

@media print {
  .doc__top { display: none; }
  .doc__body a { color: inherit; }
}
