/* Tyrs Treat Trove LLC : shared legal pages stylesheet
   Loaded by privacy.html and terms-of-service.html only.
   Palette: SHELF-OAK #E0E0B2 base, VELVET-DEEP #441E30 text,
   TROVE-BRASS #DC9652 rules and links support, LINING-BURGUNDY #9A424E accents.
*/

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.75;
  color: #441E30;
  background-color: #E0E0B2;
  overflow-x: hidden;
}

a {
  color: #7A3A10;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  color: #441E30;
}

/* ---------- legal header ---------- */
.legal-header {
  background-color: #441E30;
  border-bottom: 6px solid #9A424E;
}

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

.legal-brand {
  display: inline-block;
  color: #E0E0B2;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 16px;
}

.legal-brand:hover {
  color: #F8CC5A;
}

.legal-header h1 {
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 36px;
  line-height: 1.15;
  color: #E0E0B2;
  margin: 0 0 10px 0;
}

.legal-header p {
  color: #E0E0B2;
  margin: 0;
  font-size: 15px;
}

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

.legal-content section {
  background-color: transparent !important;
  padding: 26px 0 6px 0;
  border-bottom: 1px solid #C6C69A;
}

.legal-content h2 {
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 23px;
  line-height: 1.25;
  color: #441E30;
  margin: 0 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 3px solid #DC9652;
}

.legal-content h3 {
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 18px;
  color: #441E30;
  margin: 20px 0 8px 0;
}

.legal-content p {
  margin: 0 0 16px 0;
  color: #441E30;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px 0;
  padding-left: 24px;
  color: #441E30;
}

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

.legal-intro {
  background-color: #F8CC5A;
  border: 2px solid #2F2536;
  border-radius: 6px;
  padding: 22px 24px 8px 24px;
  margin: 26px 0 10px 0;
}

.legal-intro p {
  color: #441E30;
}

/* ---------- table of contents ---------- */
.legal-toc {
  background-color: #E8E8BF;
  border: 2px solid #2F2536;
  border-radius: 6px;
  padding: 22px 24px 12px 24px;
  margin: 10px 0 6px 0;
}

.legal-toc h2 {
  font-size: 19px;
  border-bottom: 3px solid #9A424E;
  margin-top: 0;
}

.legal-toc ol {
  margin: 0 0 10px 0;
  padding-left: 22px;
}

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

.legal-toc a {
  color: #441e30;
}

.legal-toc a:hover {
  color: #7A3A10;
}

/* ---------- footer ---------- */
.legal-footer {
  background-color: #E0E0B2;
  border-top: 6px solid #441E30;
  margin-top: 34px;
}

.legal-footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 24px 32px 24px;
  color: #441E30;
  font-size: 14px;
  line-height: 1.9;
}

.legal-footer-inner a {
  color: #7A3A10;
  font-weight: 700;
}

.legal-footer-inner p {
  margin: 0 0 8px 0;
}

.legal-footer-back {
  display: inline-block;
  background-color: #DC9652;
  color: #441E30;
  text-decoration: none;
  font-family: "Trebuchet MS", "Gill Sans", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 4px;
  border: 2px solid #2F2536;
  margin-bottom: 14px;
}

.legal-footer-back:hover {
  background-color: #F8CC5A;
  color: #441E30;
}

@media (max-width: 700px) {
  .legal-header h1 {
    font-size: 28px;
  }

  .legal-content h2 {
    font-size: 20px;
  }
}
