/* Privacy Policy Page Styles */

.privacy {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.privacy__header {
  margin-bottom: 3rem;
}

.privacy__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: rgba(232, 233, 240, 0.96);
}

.privacy__footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy__meta {
  font-size: 0.875rem;
  color: rgba(232, 233, 240, 0.5);
  margin: 0;
  text-align: left;
}

.privacy__content {
  line-height: 1.8;
}

/* Typography overrides for privacy content */
.privacy__content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem 0;
  padding-top: 1rem;
  color: rgba(232, 233, 240, 0.92);
  scroll-margin-top: 2rem;
}

.privacy__content h2:first-child {
  margin-top: 0;
}

.privacy__content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: rgba(232, 233, 240, 0.88);
  scroll-margin-top: 2rem;
}

.privacy__content p {
  margin: 0 0 1.25rem 0;
  color: rgba(232, 233, 240, 0.84);
}

.privacy__content a {
  color: rgba(255, 107, 107, 0.9);
  text-decoration: underline;
  text-decoration-color: rgba(255, 107, 107, 0.3);
  text-underline-offset: 0.2em;
  transition: all 0.2s ease;
}

.privacy__content a:hover,
.privacy__content a:focus {
  color: rgb(255, 107, 107);
  text-decoration-color: rgba(255, 107, 107, 0.6);
}

.privacy__content strong {
  font-weight: 600;
  color: rgba(232, 233, 240, 0.92);
}

.privacy__content code {
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15em 0.4em;
  border-radius: 0.25em;
  color: rgba(255, 107, 107, 0.9);
}

.privacy__content ul,
.privacy__content ol {
  margin: 0 0 1.5rem 0;
  padding-left: 1.75rem;
}

.privacy__content li {
  margin-bottom: 0.75rem;
  color: rgba(232, 233, 240, 0.84);
}

.privacy__content li:last-child {
  margin-bottom: 0;
}

/* Light theme overrides */
[data-theme="light"] .privacy__footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .privacy__title {
  color: rgba(16, 17, 24, 0.96);
}

[data-theme="light"] .privacy__meta {
  color: rgba(16, 17, 24, 0.5);
}

[data-theme="light"] .privacy__content h2 {
  color: rgba(16, 17, 24, 0.92);
}

[data-theme="light"] .privacy__content h3 {
  color: rgba(16, 17, 24, 0.88);
}

[data-theme="light"] .privacy__content p,
[data-theme="light"] .privacy__content li {
  color: rgba(16, 17, 24, 0.8);
}

[data-theme="light"] .privacy__content strong {
  color: rgba(16, 17, 24, 0.92);
}

[data-theme="light"] .privacy__content code {
  background: rgba(0, 0, 0, 0.04);
  color: rgba(220, 38, 38, 0.9);
}

[data-theme="light"] .privacy__content a {
  color: rgba(220, 38, 38, 0.9);
  text-decoration-color: rgba(220, 38, 38, 0.3);
}

[data-theme="light"] .privacy__content a:hover,
[data-theme="light"] .privacy__content a:focus {
  color: rgb(220, 38, 38);
  text-decoration-color: rgba(220, 38, 38, 0.6);
}

/* Below SM (640px) */
@media (max-width: 39.99rem) {
  .privacy {
    padding: 1.5rem 1rem 3rem;
  }

  .privacy__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .privacy__title {
    font-size: 2rem;
  }

  .privacy__content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1.25rem 0;
  }

  .privacy__content h3 {
    font-size: 1.125rem;
    margin: 1.75rem 0 0.875rem 0;
  }
}

/* Print styles */
@media print {
  .privacy {
    max-width: none;
    padding: 0;
  }

  .privacy__content a {
    color: #000;
    text-decoration: underline;
  }

  .privacy__content h2 {
    page-break-after: avoid;
  }
}
