/* TDF Media LLC legal pages - shared stylesheet for privacy and terms */
/* Palette: pale page #F4ECDC, deep ink #3E3C34 text, clay accent #CB4E38 */

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #F4ECDC;
  color: #3E3C34;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  color: #282620;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: #CB4E38;
  text-decoration: underline;
}

a:hover {
  color: #282620;
}

.legal-header {
  background-color: #282620;
  color: #F4ECDC;
  padding: 34px 24px 30px;
  border-bottom: 8px solid #CB4E38;
}

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

.legal-back {
  display: inline-block;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F4ECDC;
  border: 2px solid #CB4E38;
  padding: 7px 14px;
  margin-bottom: 20px;
  text-decoration: none;
}

.legal-back:hover {
  background-color: #CB4E38;
  color: #FBF6EC;
  text-decoration: none;
}

.legal-brand {
  display: block;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #E7A88C;
  margin-bottom: 10px;
}

.legal-title {
  font-size: 36px;
  color: #F4ECDC;
  margin-bottom: 10px;
}

.legal-updated {
  font-size: 14px;
  color: #DED6C6;
  letter-spacing: 0.02em;
  margin: 0;
}

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

.legal-content section {
  background: transparent !important;
  background-color: #F4ECDC !important;
  color: #3E3C34;
  padding: 28px 0 8px;
  border-bottom: 2px solid #D9CFBC;
}

.legal-content section:last-of-type {
  border-bottom: none;
}

.legal-content h2 {
  font-size: 23px;
  color: #282620;
  margin-top: 6px;
  padding-left: 14px;
  border-left: 6px solid #CB4E38;
}

.legal-content h3 {
  font-size: 18px;
  color: #282620;
  margin-top: 18px;
}

.legal-content p {
  font-size: 16.5px;
  line-height: 1.8;
  color: #3E3C34;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 16px;
  line-height: 1.75;
  color: #3E3C34;
  margin-bottom: 7px;
}

.legal-toc {
  background-color: #DCE4E0;
  border: 3px solid #282620;
  border-top: 8px solid #CB4E38;
  padding: 22px 24px;
  margin: 30px auto;
  max-width: 860px;
}

.legal-toc h2 {
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #282620;
  margin-bottom: 14px;
  border-left: none;
  padding-left: 0;
}

.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 30px;
}

.legal-toc li {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 6px;
  break-inside: avoid;
}

.legal-toc a {
  color: #3E3C34;
  text-decoration: none;
  border-bottom: 2px solid #C4CCC7;
}

.legal-toc a:hover {
  color: #CB4E38;
  border-bottom-color: #CB4E38;
}

.legal-footer {
  background-color: #282620;
  color: #DED6C6;
  padding: 30px 24px;
  margin-top: 40px;
  border-top: 6px solid #CB4E38;
}

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

.legal-footer-left {
  font-size: 14px;
  line-height: 1.7;
  color: #DED6C6;
}

.legal-footer-left a {
  color: #E7A88C;
}

.legal-footer-left a:hover {
  color: #F4ECDC;
}

.legal-footer-links {
  display: flex;
  gap: 22px;
}

.legal-footer-links a {
  color: #F4ECDC;
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 2px solid #4A453C;
  padding-bottom: 1px;
}

.legal-footer-links a:hover {
  border-bottom-color: #CB4E38;
  color: #F4ECDC;
}

@media (max-width: 700px) {
  .legal-title {
    font-size: 27px;
  }

  .legal-toc ol {
    columns: 1;
  }

  .legal-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
