/* =========================================================
   PKMG LLC — css/legal.css
   Shared stylesheet for the Privacy Policy and Terms of Service
   pages. These pages load ONLY this file, never style.css.
   Dark warm charcoal-brown theme with burned-copper accents.
   ========================================================= */

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #161210;
  color: #F4EEE6;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  color: #E0B79B;
  text-decoration: none;
}

a:hover {
  color: #B2572F;
}

/* ---------- header ---------- */
.legal-head {
  background: #241A14;
  border-bottom: 1px solid #B2572F;
  padding: 24px 0;
}

.legal-head-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-brand-square {
  width: 16px;
  height: 16px;
  background: #B2572F;
  flex: none;
}

.legal-brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #F4EEE6;
}

.legal-head-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E0B79B;
}

.legal-home {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #E0B79B;
}

.legal-home:hover {
  color: #F4EEE6;
}

/* ---------- title ---------- */
.legal-title {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 24px 8px;
}

.legal-title h1 {
  font-size: clamp(32px, 4.5vw, 46px);
  line-height: 1.15;
  color: #F4EEE6;
}

.legal-updated {
  color: #E0B79B;
  font-size: 14px;
  margin-top: 12px;
  letter-spacing: .5px;
}

.legal-intro {
  font-size: 17px;
  color: #F4EEE6;
}

/* ---------- content ---------- */
.legal-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

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

.toc {
  background: #241A14;
  border: 1px solid #6E4326;
  padding: 26px 30px;
  margin: 34px 0 8px;
}

.toc h2 {
  font-size: 18px;
  color: #E0B79B;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.toc ol {
  counter-reset: item;
  list-style: none;
}

.toc li {
  margin: 0 0 8px;
}

.toc li::before {
  counter-increment: item;
  content: counter(item) ". ";
  color: #B2572F;
  font-weight: 700;
}

.toc a {
  color: #F4EEE6;
  font-size: 14px;
}

.toc a:hover {
  color: #B2572F;
}

.legal-content section {
  padding: 30px 0;
  border-bottom: 1px solid #3A2C20;
}

.legal-content section h2 {
  font-size: 26px;
  color: #B2572F;
  margin-bottom: 14px;
  line-height: 1.25;
  scroll-margin-top: 30px;
}

.legal-content section p {
  color: #F4EEE6;
  margin-bottom: 14px;
}

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

.legal-content section p strong {
  color: #E0B79B;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 14px 22px;
  color: #F4EEE6;
}

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

.legal-back {
  display: inline-block;
  margin-top: 44px;
  background: #B2572F;
  color: #F4EEE6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 26px;
}

.legal-back:hover {
  background: #8F3F1F;
  color: #F4EEE6;
}

/* ---------- footer ---------- */
.legal-foot {
  border-top: 1px solid #B2572F;
  padding: 30px 0 40px;
  margin-top: 10px;
}

.legal-foot-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.legal-foot p {
  font-size: 13px;
  color: #F4EEE6;
  line-height: 1.9;
}

.legal-foot a {
  color: #E0B79B;
}

.legal-foot a:hover {
  color: #B2572F;
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .legal-title {
    padding-top: 44px;
  }
  .legal-content section h2 {
    font-size: 22px;
  }
  .toc {
    padding: 20px;
  }
  .legal-head-inner {
    gap: 12px;
  }
}
