/* =========================================
   SNOWDRILL ANGLERS — LEGAL PAGES
   ========================================= */

.sda-legal {
  padding-top: 104px;
  padding-bottom: 80px;
}

.sda-legal__inner {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

/* ---------- TOC (сайдбар) ---------- */

.sda-legal__toc {
  position: sticky;
  top: 96px;
  align-self: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, #1b2c3f, #050910);
  border: 1px solid rgba(223, 234, 254, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.sda-legal__toc-title {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.9;
}

.sda-legal__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sda-legal__toc-link {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.86rem;
  color: rgba(243, 246, 251, 0.9);
  text-decoration: none;
  opacity: 0.86;
  transition:
    opacity 140ms ease-out,
    transform 140ms ease-out;
}

.sda-legal__toc-link:hover {
  opacity: 1;
  transform: translateX(2px);
}

/* ---------- Контент ---------- */

.sda-legal__content {
  max-width: 820px;
}

.sda-legal__header {
  margin-bottom: 1.6rem;
}

.sda-legal__title {
  margin-top: 1rem;
  font-size: 2rem;
  line-height: 1.2;
}

.sda-legal__intro {
  margin-top: 0.6rem;
  font-size: 0.96rem;
  color: rgba(243, 246, 251, 0.95);
}

.sda-legal__block {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(223, 234, 254, 0.18);
}

.sda-legal__block-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.sda-legal__text {
  font-size: 0.96rem;
  color: rgba(243, 246, 251, 0.95);
  margin-top: 0.3rem;
}

.sda-legal__text--contact a {
  color: rgba(223, 234, 254, 0.95);
  text-decoration: none;
  border-bottom: 1px dashed rgba(223, 234, 254, 0.6);
}

.sda-legal__text--contact a:hover {
  border-bottom-style: solid;
}

.sda-legal__text--meta {
  font-size: 0.86rem;
  opacity: 0.85;
  margin-top: 0.8rem;
}

.sda-legal__list {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  list-style: none;
}

.sda-legal__list-item {
  position: relative;
  font-size: 0.94rem;
  margin-bottom: 0.25rem;
  color: rgba(243, 246, 251, 0.96);
}

.sda-legal__list-item::before {
  content: "•";
  position: absolute;
  left: -0.9rem;
  top: 0;
  color: rgba(223, 234, 254, 0.98);
}

/* легкий акцент для privacy / terms */

.sda-legal--privacy .sda-legal__title {
  background-image: linear-gradient(90deg, #73f3ff, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.sda-legal--terms .sda-legal__title {
  background-image: linear-gradient(90deg, #ffdf7a, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* =========================================
   RESPONSIVE — LEGAL PAGES
   ========================================= */

@media (max-width: 800px) {
  .sda-legal {
    padding-top: 88px;
    padding-bottom: 64px;
  }

  .sda-legal__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .sda-legal__toc {
    position: static;
    width: 100%;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.8);
  }

  .sda-legal__content {
    max-width: 100%;
  }

  .sda-legal__title {
    font-size: 1.7rem;
  }
}

@media (min-width: 801px) and (max-width: 1365px) {
  .sda-legal__inner {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 24px;
  }

  .sda-legal__content {
    max-width: 760px;
  }
}
