/* ==========================================================================
   CRAPSZ INC — shared legal stylesheet (privacy.html, terms-of-service.html)
   Loaded standalone: this file defines page background and text colors.
   FELT-DEEP #1E4428  DICE-PAPER #FAF6C6  CHIP-CORAL #D25862  RAIL-WALNUT #562832
   BONE-MIST #D2DCB4  ODDS-GOLD #BAB264  MARKER-BLUE #42769E
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #1E4428;
  color: #FAF6C6;
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  line-height: 1.75;
  overflow-x: hidden;
}

.legal-header {
  background-color: #562832;
  border-bottom: 8px solid #1E4428;
  padding: 0;
}

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

.legal-brand {
  font-family: "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #FAF6C6;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}

.legal-brand:hover,
.legal-brand:focus {
  color: #D2DCB4;
  text-decoration: underline;
  text-decoration-color: #42769E;
}

.legal-header h1 {
  font-family: "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: #FAF6C6;
  margin: 0 0 10px;
}

.legal-header p {
  color: #D2DCB4;
  margin: 0;
  font-size: 0.95rem;
}

.legal-header .legal-home {
  color: #FAF6C6;
  text-decoration: underline;
  text-decoration-color: #BAB264;
  font-weight: 700;
}

.legal-header .legal-home:hover,
.legal-header .legal-home:focus {
  text-decoration-color: #42769E;
}

.legal-main {
  background-color: #1E4428;
  padding: 44px 0 64px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content section {
  background-color: transparent !important;
  padding: 0;
}

.legal-content h2 {
  font-family: "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #D2DCB4;
  margin: 34px 0 12px;
  padding-top: 16px;
  border-top: 2px solid #2A5334;
}

.legal-content h3 {
  font-family: "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.08rem;
  color: #BAB264;
  margin: 22px 0 8px;
}

.legal-content p {
  color: #FAF6C6;
  margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
  color: #FAF6C6;
  margin: 0 0 16px;
  padding-left: 1.4em;
}

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

.legal-content a {
  color: #FAF6C6;
  text-decoration: underline;
  text-decoration-color: #D25862;
  text-underline-offset: 3px;
}

.legal-content a:hover,
.legal-content a:focus {
  text-decoration-color: #42769E;
  text-decoration-thickness: 3px;
}

.legal-content strong {
  color: #D2DCB4;
}

.legal-intro {
  background-color: #183A22;
  border-left: 8px solid #D25862;
  padding: 22px 24px;
  margin: 0 0 26px;
}

.legal-intro p {
  margin: 0 0 10px;
  color: #FAF6C6;
}

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

.legal-toc {
  background-color: #562832;
  border: 3px solid #6B3440;
  border-radius: 4px;
  padding: 22px 26px 20px;
  margin: 0 0 34px;
}

.legal-toc h2 {
  border-top: none;
  padding-top: 0;
  margin: 0 0 12px;
  color: #FAF6C6;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc ol {
  color: #FAF6C6;
  margin: 0;
  padding-left: 1.5em;
  columns: 2;
  column-gap: 34px;
}

.legal-toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.legal-toc a {
  color: #F0EEC6;
  text-decoration-color: #BAB264;
  font-size: 0.94rem;
}

.legal-toc a:hover,
.legal-toc a:focus {
  text-decoration-color: #42769E;
}

.legal-callout {
  background-color: #16341E;
  border-top: 4px solid #BAB264;
  border-bottom: 4px solid #BAB264;
  padding: 18px 22px;
  margin: 22px 0;
}

.legal-callout p {
  margin: 0;
  color: #D2DCB4;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 0.94rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border: 1px solid #3A5F42;
  color: #FAF6C6;
}

.legal-table th {
  background-color: #562832;
  color: #FAF6C6;
  font-family: "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-table tr:nth-child(even) td {
  background-color: #183A22;
}

.legal-footer {
  background-color: #16341E;
  border-top: 8px solid #562832;
  padding: 30px 0 34px;
}

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

.legal-footer p {
  color: #D2DCB4;
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.legal-footer nav {
  margin: 0 0 14px;
}

.legal-footer nav a {
  color: #FAF6C6;
  text-decoration: none;
  margin-right: 22px;
  font-family: "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.legal-footer nav a:hover,
.legal-footer nav a:focus {
  text-decoration: underline;
  text-decoration-color: #42769E;
  text-underline-offset: 4px;
}

.legal-footer .legal-address {
  color: #FAF6C6;
}

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

  .legal-content h2 {
    font-size: 1.2rem;
  }

  .legal-footer nav a {
    display: inline-block;
    margin-bottom: 8px;
  }
}
