/* FaShen — legal pages stylesheet (privacy.html, terms-of-service.html). */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #160D0F;
}

.legal-page {
  background-color: #160D0F;
  color: #F6E9E6;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.28;
  color: #F6E9E6;
  font-weight: 700;
}

.legal-page p {
  color: #F6E9E6;
  margin: 0 0 18px;
}

.legal-page a {
  color: #A62B3C;
  text-decoration: underline;
}

.legal-page a:hover {
  color: #D98A7A;
}

.legal-page ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-page li {
  color: #F6E9E6;
  margin-bottom: 8px;
}

.legal-page strong {
  color: #D98A7A;
}

/* Header — solid velvet-crimson, h1 in light text for strong contrast */
.legal-header {
  background-color: #A62B3C;
}

.legal-header-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 24px 64px;
}

.legal-wordmark {
  display: inline-block;
  color: #F6E9E6;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  text-decoration: none;
  margin-bottom: 30px;
}

.legal-wordmark:hover {
  color: #160D0F;
}

.legal-header h1 {
  color: #F6E9E6;
  font-size: 46px;
  margin: 0 0 12px;
}

.legal-updated {
  color: #F6E9E6;
  margin: 0;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Table of contents */
.toc {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 24px 10px;
}

.toc-title {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D98A7A;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  margin: 0 0 18px;
}

.toc-list {
  columns: 2;
  column-gap: 48px;
}

.toc-list li {
  margin-bottom: 12px;
}

.toc-list a {
  color: #F6E9E6;
  text-decoration: none;
  font-weight: 600;
}

.toc-list a:hover {
  color: #D98A7A;
}

.toc-list a::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #A62B3C;
  margin-right: 10px;
}

/* Content */
.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

/* Scope isolation: legal content sections stay transparent, never tinted */
.legal-page .legal-content section {
  background-color: transparent !important;
}

.legal-content section {
  margin: 0;
  padding: 0;
}

.legal-content h2 {
  font-size: 29px;
  padding-top: 44px;
  border-top: 1px solid #4A2329;
  margin: 0 0 16px;
}

.legal-content h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background-color: #A62B3C;
  margin-right: 12px;
}

/* Footer */
.legal-footer {
  background-color: #160D0F;
  border-top: 2px solid #A62B3C;
}

.legal-footer-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

.legal-footer p {
  color: #CFBAB4;
  font-size: 14px;
  margin: 0 0 8px;
}

.legal-footer a {
  color: #F6E9E6;
  text-decoration: underline;
}

.legal-footer a:hover {
  color: #D98A7A;
}

/* Responsive */
@media (max-width: 720px) {
  .legal-header-inner {
    padding: 56px 24px 48px;
  }
  .legal-header h1 {
    font-size: 36px;
  }
  .toc-list {
    columns: 1;
  }
  .legal-content h2 {
    font-size: 25px;
  }
}
