/* ============================================================
   NeonShdw LLC — legal.css
   Shared single-column legal stylesheet used by privacy.html and
   terms-of-service.html. These pages load ONLY this stylesheet,
   so this sheet supplies the whole page background, the text
   palette, strong opaque bands, and a scope-isolated reading
   area. No rgba, no decimal opacity, opaque by construction.
   ============================================================ */

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

html,
body {
  font-size: 16px;
}

body.legal-page {
  background-color: #EEECE2;
  color: #1B1B22;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.75;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Single column centered legal shape ---------- */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Legal page header (solid opaque band, strong h1) ---------- */
.legal-header {
  background-color: #131318;
  color: #F6F3E9;
  margin: 0 -24px;
  padding: 40px 0 36px;
  border-bottom: 5px solid #FF6A5A;
  text-align: center;
}

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

.legal-title {
  font-size: 38px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.legal-doc-meta {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FF8E80;
  margin: 0 0 18px;
}

.legal-intro {
  max-width: 640px;
  margin: 0 auto;
  font-size: 19px;
  font-style: italic;
  color: #E9E6DB;
  line-height: 1.7;
}

/* ---------- Table of contents ---------- */
.legal-toc {
  background-color: #131318;
  color: #F6F3E9;
  margin: 26px 0;
  padding: 26px 28px;
  border-left: 6px solid #FF6A5A;
}

.toc-title {
  font-size: 18px;
  letter-spacing: 1px;
  color: #FFFFFF;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 36px;
}

.toc-list li {
  margin: 6px 0;
  break-inside: avoid;
}

.toc-link {
  color: #FFB4AA;
  text-decoration: none;
  border-bottom: 1px dotted #7B7E8C;
}

.toc-link:hover {
  color: #FF6A5A;
  border-bottom-color: #FF6A5A;
}

/* ---------- small stamped plaque as an aside ---------- */
.legal-plaque {
  border: 2px solid #131318;
  border-left-width: 6px;
  border-left-color: #5AA7C7;
  padding: 16px 20px;
  margin: 0 0 12px;
}

.plaque-word {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  color: #131318;
  margin: 0 0 4px;
}

.plaque-note {
  font-style: italic;
  font-size: 15px;
  color: #5d5a52;
  margin: 0;
}

/* ---------- Legal sections: reading raft, isolated & opaque ---------- */
.legal-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 18px 0 20px;
}

.legal-section p,
.legal-toc p,
.legal-plaque p,
.legal-foot p {
  margin: 0 0 16px;
}

.legal-h2 {
  font-size: 26px;
  font-weight: 700;
  color: #131318;
  margin: 30px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #FF6A5A;
  line-height: 1.25;
}

.legal-section:first-of-type .legal-h2 {
  margin-top: 10px;
}

/* ---------- scope isolation inside the reading raft ---------- */
/* Any section inside the legal content is stripped of inherited page
   decorations and laid transparent so the type reads cleanly. */
.legal-page .legal-content section {
  background-color: transparent !important;
}

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

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

/* ---------- Back link + footer ---------- */
.legal-back {
  text-align: center;
  margin: 26px 0;
}

.legal-back-link {
  display: inline-block;
  background-color: #FF6A5A;
  color: #131318;
  font-weight: 700;
  font-family: "Segoe UI", Roboto, sans-serif;
  text-decoration: none !important;
  padding: 12px 22px;
  border-radius: 3px;
  margin-top: 10px;
}

.legal-back-link:hover {
  background-color: #131318;
  color: #F6F3E9;
}

.legal-foot {
  border-top: 4px solid #FF6A5A;
  margin-top: 30px;
  padding: 26px 0 40px;
  text-align: center;
}

.legal-foot-text {
  font-size: 14px;
  color: #63605a;
  margin: 3px 0;
}

.legal-foot-link {
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #B02F20;
  text-decoration: underline;
}

.legal-foot-link:hover {
  color: #131318;
}

.num-list,
.bullet-list {
  margin: 0 0 16px;
  padding-left: 24px;
}

.num-list li,
.bullet-list li {
  margin: 6px 0;
}

/* Print-friendliness: opaque ink for the printed page. */
@media print {
  body.legal-page {
    background-color: #FFFFFF;
    color: #000000;
  }

  .legal-header {
    background-color: #FFFFFF;
    color: #000000;
    border-bottom: 2px solid #131318;
  }

  .legal-header-inner {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .legal-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
  }

  .legal-header {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .toc-list {
    columns: 1;
  }

  .legal-title {
    font-size: 28px;
  }
}

/* end */
