* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif;
  background: #f9f9f9;
  overflow: auto;
  height: 100vh;
  width: 100vw;
  user-select: none;
  -webkit-user-select: none;
  color: #1e293b;
  line-height: 1.5;
}

/* Контейнер */
.container {
  max-width: 1280px;
  margin: 2rem auto;
  padding: 0 1.5rem 3rem;
}

/* Карточка политики (аналогично соглашению) */
.privacy-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #eaf0f5;
}

/* Верхняя секция */
.privacy-header {
  background: linear-gradient(115deg, #f8fafd 0%, #ffffff 100%);
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid #eaf0f6;
}

.privacy-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a4c7a;
  margin-bottom: 0.5rem;
}

.badge-date {
  background: #eef3fc;
  border-radius: 40px;
  padding: 0.25rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #1e6091;
  display: inline-block;
  margin-top: 0.5rem;
}

.summary-message {
  background: #f0f6fe;
  border-radius: 20px;
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid #2c6e9e;
  font-size: 0.95rem;
}

/* Оглавление */
.toc-wrapper {
  background: #fefefe;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #eef2f8;
}

.toc-title {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4a627a;
  margin-bottom: 0.8rem;
}

.toc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.toc-grid a {
  color: #2874a6;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px dashed #cbdde9;
  transition: 0.2s;
}

.toc-grid a:hover {
  color: #e67e22;
  border-bottom-color: #e67e22;
}

/* Основной текст */
.privacy-body {
  padding: 2rem 2.5rem;
}

.clause {
  margin-bottom: 2rem;
  scroll-margin-top: 1.2rem;
}

.clause h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e4a76;
  border-left: 4px solid #e67e22;
  padding-left: 0.9rem;
  margin-bottom: 1rem;
}

.clause h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0 0.4rem 0;
  color: #2c5679;
}

.clause p {
  margin-bottom: 0.8rem;
  color: #2d3e50;
}

.clause ul,
.clause ol {
  margin: 0.6rem 0 0.8rem 1.6rem;
}

.clause li {
  margin-bottom: 0.3rem;
}

.info-note {
  background: #f9fafc;
  border-radius: 16px;
  padding: 0.8rem 1.3rem;
  margin: 1rem 0;
  border: 1px solid #e2edf7;
  font-size: 0.9rem;
}

.highlight-data {
  background: #eef5ff;
  border-left: 3px solid #2c6e9e;
  padding: 0.7rem 1.2rem;
  margin: 0.8rem 0;
}

hr {
  margin: 1.8rem 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, #d9e4ec, transparent);
}

.footer-privacy {
  background: #fafdff;
  border-top: 1px solid #e9f0f5;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: #5f7d9c;
}

.contacts-strip {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .privacy-header {
    padding: 1.5rem;
  }
  .privacy-body {
    padding: 1.5rem;
  }
  .privacy-header h1 {
    font-size: 1.8rem;
  }
  .clause h2 {
    font-size: 1.3rem;
  }
}

.back-to-top {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  background: #2c6e9e;
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 99;
  border: none;
  cursor: pointer;
}

.back-to-top:hover {
  background: #e67e22;
  transform: translateY(-3px);
}
