/* ==========================================================================
   CALUPOH FILMS L.L.C. — LEGAL PAGE STYLESHEET
   Used only by privacy.html and terms-of-service.html (they load no other
   stylesheet). Dark legal form, strong contrast, scope isolated.
   ========================================================================== */

/* body element itself carries the font size (not only a wrapper) */
body {
  font-size: 16px;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.8;
}

.legal-page {
  margin: 0;
  background-color: #17171B;
  color: #ECECE4;
  overflow-x: hidden;
}

.legal-page a {
  color: #EE7F89;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:hover {
  color: #ECECE4;
}

/* strong contrast legal header */
.legal-mast {
  background-color: #0E0E12;
  border-bottom: 1px solid #2B2B32;
  width: 100%;
}
.legal-mast .mastInner {
  max-width: 940px;
  margin: 0 auto;
  padding: 30px 24px 24px;
}
.legal-mast .mastBrand {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: #ECECE4;
}
.legal-mast .mastTag {
  display: block;
  font-family: 'Courier New', Courier, monospace;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  color: #8B8B93;
  margin-top: 4px;
}
.legal-mast h1 {
  margin: 18px 0 0;
  font-family: Georgia, serif;
  font-size: 2.4rem;
  line-height: 1.2;
  color: #ECECE4;
}

/* single centered column legal document */
.legal-frame {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 24px 50px;
}

/* table of contents */
.toc {
  background-color: #0E0E12;
  border: 1px solid #2B2B32;
  padding: 22px 24px;
  margin: 0 0 40px;
}
.toc h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #ECECE4;
  letter-spacing: 1px;
}
.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 34px;
}
.toc li {
  margin: 0 0 6px;
  break-inside: avoid;
}
.toc a {
  color: #8B8B93;
  text-decoration: underline;
}
.toc a:hover {
  color: #EE7F89;
}

.legal-doc {
  font-family: Georgia, 'Times New Roman', serif;
}
.legal-doc .lead {
  color: #8B8B93;
  max-width: 70ch;
}
.legal-doc h2 {
  font-family: Georgia, serif;
  color: #ECECE4;
  font-size: 1.7rem;
  margin: 48px 0 14px;
  padding-top: 26px;
  border-top: 1px solid #2B2B32;
}
.legal-doc h3 {
  font-family: Georgia, serif;
  color: #ECECE4;
  font-size: 1.15rem;
  margin: 26px 0 8px;
}
.legal-doc .date {
  font-family: 'Courier New', Courier, monospace;
  color: #8B8B93;
  font-size: 0.85rem;
}
.legal-doc .data {
  color: #C9C9BF;
}
.legal-doc ul,
.legal-doc ol {
  padding-left: 24px;
  color: #D6D6CC;
}
.legal-doc li {
  margin: 0 0 6px;
}
.legal-doc .note {
  background-color: #2B2B32;
  border-left: 4px solid #B23A48;
  padding: 8px 14px;
  color: #ECECE4;
}
.legal-doc .intro {
  margin-bottom: 26px;
}
.legal-doc address {
  font-style: normal;
  color: #D6D6CC;
  margin: 8px 0;
}
.legal-doc .firmchip {
  background-color: #0E0E12;
  border: 1px solid #2B2B32;
  padding: 18px 20px;
  margin: 0 0 26px;
  color: #D6D6CC;
}

/* legal footer linking back to the homepage */
.legal-foot {
  background-color: #0E0E12;
  border-top: 1px solid #2B2B32;
  margin-top: 0;
}
.legal-foot .footInner {
  max-width: 960px;
  margin: 0 auto;
  padding: 22px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  align-items: center;
  justify-content: space-between;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  color: #8B8B93;
}
.legal-foot .footInner a {
  color: #ECECE4;
  text-decoration: underline;
}

/* Scope isolation: any stray element under .legal-content gets a solid page
   background and the page text colour, important to beat inherited rules. */
.legal-content section {
  background-color: transparent !important;
  color: #ECECE4 !important;
}
@media (max-width: 600px) {
  .toc ol {
    columns: 1;
  }
  .legal-mast h1 {
    font-size: 2rem;
  }
}
