/* ── Legal page overrides ────────────────────────────────────────────────
   main.css sets body{background:#001356} and ul,ol{list-style:none}.
   These rules must come after main.css in the document to override them. */

body {
  background: #F8F8F8;
  color: #1A1A1A;
}

.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 40px 80px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #183AAD;
  text-decoration: none;
  margin-bottom: 48px;
}
.legal-back:hover { text-decoration: underline; }
.legal-back::before { content: '←'; font-size: 16px; }
[dir="rtl"] .legal-back::before { content: '→'; }

.legal-title {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #001356;
  margin: 0 0 8px;
}

.legal-date {
  font-size: 13px;
  color: #999;
  margin: 0 0 40px;
}

.legal-rule {
  border: none;
  border-top: 1px solid #C4A866;
  margin: 0 0 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #001356;
  margin: 0 0 14px;
}

.legal-section p,
.legal-section li {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 10px;
}

/* Restore list bullets — main.css resets ul/ol to list-style:none */
.legal-section ul {
  list-style: disc;
  padding-inline-start: 20px;
  margin: 0 0 10px;
}

/* Restore link color inside legal content */
.legal-section a,
.legal-section p a {
  color: #183AAD;
  text-decoration: underline;
}
.legal-section a:hover,
.legal-section p a:hover {
  text-decoration: none;
}

.legal-placeholder {
  display: inline;
  background: #FFF3CD;
  color: #856404;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 13px;
  font-style: italic;
}

.legal-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
  font-size: 12px;
  color: #999;
  text-align: center;
}
