/* Shared legal stylesheet for privacy.html and terms-of-service.html
   Plain single-column legal form. Palette matches the main site:
   BAG-CEMENT #ECECD2 background, POUR-DEEP #2C2238 text,
   DESERT-RUST #BC6034 accents, DUNE-SAND #F6CC96 panels. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  font-family: Georgia, Cambria, "Times New Roman", serif;
  background-color: #ECECD2;
  color: #2C2238;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: #BC6034;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: #9C4642;
}

.legal-header {
  background-color: #2C2238;
  border-bottom: 4px solid #BC6034;
  padding: 26px 24px;
  display: block;
}

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

.legal-header h1 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #ECECD2;
  font-size: 1.6rem;
  margin: 0;
  letter-spacing: 0.02em;
}

.legal-header-tag {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #F6CC96;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

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

.legal-backtop a {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: #BC6034;
  text-decoration: none;
  border-bottom: 2px solid #BC6034;
}

.legal-backtop a:hover {
  border-bottom-color: #B6B4C0;
}

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

.legal-content section {
  background-color: transparent !important;
  border: none;
  padding: 0;
  margin: 0 0 26px;
}

.legal-meta {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #525472;
  margin: 0 0 20px;
}

.legal-intro {
  font-size: 1.05rem;
  color: #2C2238;
  border-left: 5px solid #BC6034;
  padding-left: 18px;
  margin: 0 0 30px;
}

.legal-content h2 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #2C2238;
  font-size: 1.24rem;
  margin: 34px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #BC6034;
}

.legal-content h3 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #2C2238;
  font-size: 1rem;
  margin: 20px 0 8px;
}

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

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 26px;
  color: #2C2238;
}

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

.legal-toc {
  background-color: #F6CC96;
  border: 2px solid #2C2238;
  padding: 22px 24px;
  margin: 0 0 34px;
}

.legal-toc h2 {
  margin-top: 0;
  border-bottom: 2px solid #2C2238;
  font-size: 1.1rem;
}

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

.legal-toc a {
  color: #2C2238;
  text-decoration: none;
  border-bottom: 1px solid #BC6034;
}

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

.legal-footer {
  background-color: #2C2238;
  color: #ECECD2;
  padding: 26px 24px 34px;
}

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

.legal-footer p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: #ECECD2;
}

.legal-footer a {
  color: #F6CC96;
  text-decoration: underline;
}

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

.legal-footer-brand {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ECECD2;
  margin-bottom: 6px;
}

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

  .legal-header-inner {
    padding: 0;
  }
}
