/* =========================================================================
   Legal stylesheet for Armor Activewear LLC
   Loaded ONLY by privacy.html and terms-of-service.html.
   Self-contained: defines page background and text with strong contrast.
   Palette: armoury ink background + towel-cream text + compression red accent.
   ========================================================================= */

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.75;
  color: #F6F3EA;
  font-family: Georgia, "Times New Roman", serif;
}

body.legal-page,
.legal-page {
  background-color: #1B1E23;
  color: #F6F3EA;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.legal-page a {
  color: #E88C7B;
  text-decoration: none;
}

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

.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page h4 {
  color: #FDFAF2;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.3;
}

/* ------------------------------------------------------------------
   Scope isolation — legal content styling applies only inside sections
   within .legal-content. Everything outside stays transparent to styles
   from the page shell.
   ------------------------------------------------------------------ */
.legal-page .legal-content section {
  background-color: transparent !important;
  color: #F6F3EA;
}

/* ---- Legal header: solid band with strong h1 contrast ---- */
.page-legal-head {
  background-color: #23262B;
  border-top: 6px solid #C4483C;
  border-bottom: 4px solid #C4483C;
}

.legal-head-valance {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 24px 8px 24px;
}

.legal-eyebrow {
  display: inline-block;
  font-family: monospace;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #C4483C;
  border-bottom: 3px solid #C4483C;
  padding-bottom: 4px;
  margin-bottom: 14px;
}

.page-legal-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-family: "Arial Black", "Arial Bold", sans-serif;
  color: #F6F3EA;
  margin: 0 0 6px 0;
}

.legal-subline {
  color: #CFD4DA;
  font-size: 1rem;
  margin: 6px 0 0 0;
  max-width: 820px;
}

.legal-home-link {
  display: inline-block;
  margin: 16px 0 0 0;
  font-family: monospace;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: #C4483C;
}

/* ---- Legal body layout ---- */
.legal-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 24px 8px 24px;
}

.legal-intro-block {
  background-color: #23262B;
  border-left: 6px solid #C4483C;
  padding: 22px 26px;
  border-radius: 4px;
  margin-bottom: 36px;
}

.legal-intro-block p {
  color: #F6F3EA;
  margin: 0 0 12px 0;
}

.legal-intro-block p:last-child {
  margin-bottom: 0;
}

/* ---- Table of contents ---- */
.toc-panel {
  background-color: #23262B;
  border: 1px solid #3A3E44;
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 44px;
}

.toc-panel h2 {
  color: #C4483C;
  font-size: 1.2rem;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 16px 0;
}

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

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

.toc-link-list li a {
  display: block;
  padding-left: 14px;
  border-left: 3px solid #C4483C;
  color: #F6F3EA;
  font-size: 0.98rem;
  font-weight: 700;
}

.toc-link-list li a:hover {
  text-decoration: none;
  border-left-color: #E88C7B;
}

@media (max-width: 640px) {
  .toc-link-list {
    columns: 1;
  }
}

/* ---- Legal content sections ---- */
.legal-content section {
  margin: 0 0 30px 0;
  padding-bottom: 22px;
  border-bottom: 1px solid #33373E;
}

.legal-content section h2 {
  font-size: 1.35rem;
  color: #F6F3EA;
  border-bottom: 2px solid #7E8894;
  padding-bottom: 8px;
  margin: 0 0 16px 0;
  font-family: "Arial Black", "Arial Bold", sans-serif;
}

.legal-content section .h2-num {
  color: #C4483C;
  margin-right: 8px;
}

.legal-content p {
  color: #F6F3EA;
  margin: 0 0 15px 0;
}

.legal-content ul,
.legal-content ol {
  color: #F6F3EA;
  margin: 10px 0 18px 0;
  padding-left: 26px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong,
.legal-content b {
  color: #FDFAF2;
}

/* ---- Back to top ---- */
.back-top-hint {
  text-align: center;
  margin: 20px 0 46px 0;
}

.back-top-hint a {
  font-family: monospace;
  color: #E88C7B;
  letter-spacing: 0.1em;
}

/* ---- Legal footer ---- */
.legal-footer {
  background-color: #111317;
  border-top: 4px solid #C4483C;
  margin-top: 20px;
}

.legal-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 24px 16px 24px;
}

.legal-motto {
  font-family: monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #F6F3EA;
  font-size: 0.9rem;
  margin: 0 0 18px 0;
}

.legal-copy {
  font-size: 0.98rem;
  color: #F6F3EA;
  margin: 0 0 12px 0;
}

.legal-copy a {
  color: #E88C7B;
}

.legal-bottom-note {
  color: #A9B2BC;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 0.85rem;
  margin: 20px 0 0 0;
  border-top: 1px solid #2E3137;
  padding-top: 14px;
}

.legal-bottom-note strong {
  color: #F6F3EA;
}
