/* ============================================================
   BrainFusion V2 Privacy Policy
   ============================================================
   "Legal Clarity" -- readable, trustworthy, generous typography.
   Anchor-linked table of contents for quick navigation.
   ============================================================ */

/* ---- Scroll-Triggered Reveals ---- */
.v2-privacy-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-privacy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Table of Contents ---- */
.v2-privacy-toc {
  border-radius: 0.875rem;
  border: 1px solid var(--v2-border-default);
  background: var(--v2-surface-card);
  padding: 1.5rem 2rem;
}

.v2-privacy-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}

.v2-privacy-toc li {
  counter-increment: toc;
  padding: 0.375rem 0;
}

.v2-privacy-toc a {
  color: var(--v2-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.v2-privacy-toc a::before {
  content: counter(toc) ".";
  color: var(--v2-brand-primary);
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.v2-privacy-toc a:hover {
  color: var(--v2-brand-primary);
}

/* ---- Content Sections ---- */
.v2-privacy-section {
  scroll-margin-top: 6rem;
}

.v2-privacy-section h2 {
  font-family: var(--v2-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--v2-text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--v2-border-default);
}

.v2-privacy-section p,
.v2-privacy-section ul {
  font-size: 0.95rem;
  color: var(--v2-text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.v2-privacy-section ul {
  padding-left: 0;
  list-style: none;
}

.v2-privacy-section li {
  padding: 0.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}

.v2-privacy-section li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--v2-brand-primary);
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  .v2-privacy-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
