/* Privacy Policy content - Figma node 1278:5731 (TOC sidebar + legal sections) */

.privacypage-content {
  background: var(--grey-pure-white);
  padding: 64px 0 96px;
}

.privacypage-content__inner {
  display: flex;
  align-items: start;
  gap: 56px;
}

/* Sidebar table of contents */

.privacypage-toc {
  flex-shrink: 0;
  width: 330px;
}

.privacypage-toc__card {
  position: sticky;
  top: 112px;
  background: var(--grey-pure-white);
  border: 1px solid var(--grey-lightest-grey);
  border-radius: 24px;
  box-shadow: 0px 0px 9.3px 0px rgba(0, 0, 0, 0.08);
  padding: 26px 24px;
  max-height: calc(100vh - 136px);
  overflow-y: auto;
}

.privacypage-toc__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--black-100);
  margin-bottom: 20px;
}

.privacypage-toc__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacypage-toc__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
}

.privacypage-toc__link img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.privacypage-toc__link span {
  font-size: 14px;
  color: var(--grey-medium-dark-grey);
}

.privacypage-toc__link.is-active {
  background: var(--primary-blue);
}

.privacypage-toc__link.is-active img {
  filter: brightness(0) invert(1);
}

.privacypage-toc__link.is-active span {
  font-weight: 600;
  color: var(--grey-pure-white);
}

/* Legal content body */

.privacypage-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.privacypage-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--grey-lightest-grey);
  scroll-margin-top: 112px;
}

.privacypage-section:first-child {
  padding-top: 0;
}

.privacypage-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.privacypage-section--no-body {
  gap: 0;
}

.privacypage-section__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacypage-section__heading img {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.privacypage-section__heading h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--black-100);
}

.privacypage-section__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacypage-section__text p,
.privacypage-section__text li {
  font-size: 16px;
  line-height: 1.35;
  color: var(--grey-medium-dark-grey);
}

.privacypage-section__text ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 24px;
  list-style: disc;
}

@media (max-width: 1023px) {
  .privacypage-content__inner {
    flex-direction: column;
  }

  .privacypage-toc {
    width: 100%;
  }

  .privacypage-toc__card {
    position: static;
    max-height: none;
  }
}

@media (max-width: 639px) {
  .privacypage-content {
    padding: 48px 0 64px;
  }

  .privacypage-section__heading h2 {
    font-size: 18px;
  }
}
