/* Shared legal stylesheet for privacy and terms pages.
   Loaded standalone: defines its own page colors. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #1E2A22;
  color: #DAE8DA;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.legal-header {
  background-color: #0C120E;
  border-bottom: 2px solid #1C7C7C;
  padding: 0;
}

.legal-header .legal-content {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 24px 30px;
}

.legal-header .lh-brand {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #DAE8DA;
  text-decoration: none;
  font-weight: 700;
}

.legal-header .lh-brand span { color: #1C7C7C; }

.legal-header .lh-back {
  font-size: 14px;
  color: #1C7C7C;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero {
  padding: 46px 0 8px;
}

.legal-hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 10px;
  color: #DAE8DA;
}

.legal-hero .lh-meta {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D09E4E;
  margin: 0;
}

.legal-toc {
  background-color: #323E34;
  border-left: 4px solid #1C7C7C;
  padding: 22px 26px;
  margin: 26px 0 34px;
}

.legal-toc h2 {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "Courier New", Courier, monospace;
  color: #DAE8DA;
  margin: 0 0 12px;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 32px;
}

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

.legal-toc a {
  color: #DAE8DA;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #46544A;
}

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

.legal-content h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 38px 0 12px;
  color: #DAE8DA;
  border-bottom: 1px solid #36443A;
  padding-bottom: 8px;
}

.legal-content h3 {
  font-size: 18px;
  margin: 22px 0 8px;
  color: #DAE8DA;
}

.legal-content p { margin: 0 0 15px; }

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

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

.legal-content a { color: #1C7C7C; font-weight: 600; }

.legal-address {
  background-color: #323E34;
  border-left: 4px solid #D09E4E;
  padding: 18px 22px;
  margin: 18px 0 24px;
  font-size: 15px;
  line-height: 1.9;
}

.legal-footer {
  background-color: #0C120E;
  border-top: 1px solid #24302A;
  margin-top: 50px;
  padding: 30px 0 40px;
}

.legal-footer .legal-content {
  font-size: 14px;
  color: #B9C9B9;
}

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

.legal-footer a { color: #1C7C7C; font-weight: 700; }

@media (max-width: 620px) {
  .legal-toc ol { columns: 1; }
  .legal-hero h1 { font-size: 30px; }
}
