/* ============================================================
   RTY LOGISTICS LTD. — LEGAL PAGES STYLESHEET
   Loaded ONLY by privacy.html and terms-of-service.html
   Plain single-column centered legal form.
   Page background and text colors defined here with strong contrast.
   ============================================================ */

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

body {
  font-size: 16px;
  font-family: "Georgia", "Times New Roman", "Cambria", serif;
  background-color: #20242C;
  color: #EEE8D5;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.legal-header {
  background-color: #171B21;
  border-bottom: 2px solid #333A44;
  padding: 34px 0 30px;
}

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

.legal-header-kicker {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #B14A32;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-header h1 {
  font-size: 36px;
  color: #EEE8D5;
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-header-sub {
  color: #EEE8D5;
  font-size: 15px;
  max-width: 760px;
}

.legal-header-link {
  display: inline-block;
  margin-top: 18px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #EEE8D5;
  background-color: #B14A32;
  border-radius: 2px;
  padding: 10px 18px;
  text-decoration: none;
  box-shadow: 0 4px 0 #7A3222;
}

.legal-header-link:hover {
  background-color: #333A44;
  box-shadow: 0 4px 0 #171B21;
  text-decoration: none;
}

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

/* scope isolation for section backgrounds */
.legal-content section {
  background-color: #20242C !important;
  color: #EEE8D5;
  padding: 26px 0 6px;
}

.legal-intro {
  padding: 44px 0 8px;
  font-size: 17px;
  color: #EEE8D5;
}

.legal-meta {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #7E8A94;
  padding: 16px 0 6px;
  border-bottom: 1px solid #333A44;
  margin-bottom: 8px;
}

/* ---------- table of contents ---------- */
.legal-toc {
  background-color: #171B21;
  border: 1px solid #333A44;
  border-left: 5px solid #B14A32;
  border-radius: 3px;
  padding: 26px 28px 28px;
  margin: 30px 0 20px;
}

.legal-toc h2 {
  font-size: 19px;
  color: #EEE8D5;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333A44;
}

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

.legal-toc-list li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.legal-toc-list a {
  color: #EEE8D5;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #7E8A94;
}

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

/* ---------- body sections ---------- */
.legal-content h2 {
  font-size: 24px;
  color: #EEE8D5;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333A44;
}

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

.legal-content p {
  color: #EEE8D5;
  margin-bottom: 1em;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1em 1.5em;
  color: #EEE8D5;
}

.legal-content li {
  margin-bottom: 0.5em;
  color: #EEE8D5;
}

.legal-content a {
  color: #D8A24A;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #D8A24A;
}

.legal-content a:hover {
  color: #EEE8D5;
  border-bottom-color: #EEE8D5;
}

.legal-contact-block {
  background-color: #171B21;
  border: 1px solid #333A44;
  border-left: 5px solid #B14A32;
  border-radius: 3px;
  padding: 24px 26px;
  margin: 18px 0 10px;
}

.legal-contact-block p {
  margin-bottom: 0.5em;
  color: #EEE8D5;
}

.legal-contact-block address {
  font-style: normal;
  color: #EEE8D5;
  line-height: 1.8;
}

/* ---------- footer ---------- */
.legal-footer {
  background-color: #171B21;
  border-top: 1px solid #333A44;
  margin-top: 40px;
  padding: 32px 0 36px;
}

.legal-footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
}

.legal-footer-text {
  color: #EEE8D5;
  font-size: 14px;
}

.legal-footer a {
  color: #D8A24A;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #D8A24A;
}

.legal-footer a:hover {
  color: #EEE8D5;
  border-bottom-color: #EEE8D5;
}

.legal-footer-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .legal-toc-list {
    columns: 1;
  }
  .legal-header h1 {
    font-size: 28px;
  }
  .legal-footer-links {
    margin-left: 0;
  }
}
