/* ============================================================
   Rdg Solutions Inc. - shared legal stylesheet
   GRANITE-MIST ground, TRAIL-INK text, PINE-DEEP headings,
   BLAZE-ORANGE rules, CAIRN-BRASS for small dots only.
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: #B45F22;
}

a:hover,
a:focus {
  color: #8F4712;
}

.legal-header {
  background-color: #1C2E44;
  border-bottom: 5px solid #D47838;
}

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

.legal-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #D8DCD0;
  text-decoration: none;
  margin-bottom: 22px;
}

.legal-header-brand:hover,
.legal-header-brand:focus {
  color: #D8DCD0;
  text-decoration: underline;
}

.legal-header-mark {
  width: 10px;
  height: 10px;
  background-color: #7C6A26;
  transform: rotate(45deg);
  display: inline-block;
}

.legal-header h1 {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 2.4rem;
  line-height: 1.15;
  color: #D8DCD0;
  margin: 0 0 12px;
}

.legal-header-meta {
  color: #D8DCD0;
  font-size: 0.92rem;
  margin: 0;
}

.legal-header-nav {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.legal-header-nav a {
  color: #D8DCD0;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid #3A7C80;
  padding-bottom: 2px;
}

.legal-header-nav a:hover,
.legal-header-nav a:focus {
  border-bottom-color: #7C6A26;
}

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

.legal-toc {
  background-color: #D8DCD0;
  border: 1px solid #4C4A44;
  border-left: 7px solid #D47838;
  padding: 26px 28px;
  margin: 42px auto;
  max-width: 860px;
}

.legal-toc h2 {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #323A28;
  margin: 0 0 14px;
}

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

.legal-toc li {
  margin-bottom: 7px;
  break-inside: avoid;
  font-size: 0.94rem;
}

.legal-toc a {
  text-decoration: none;
  border-bottom: 1px solid #9C977A;
}

.legal-toc a:hover,
.legal-toc a:focus {
  border-bottom-color: #7C6A26;
  text-decoration: underline;
}

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

.legal-content section {
  background-color: transparent !important;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #B9B5A6;
}

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

.legal-content h2 {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 1.42rem;
  color: #1C2E44;
  margin: 34px 0 12px;
  padding-left: 15px;
  border-left: 5px solid #3A7C80;
}

.legal-content h3 {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 1.06rem;
  color: #323A28;
  margin: 20px 0 8px;
}

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

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

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

.legal-content a {
  text-decoration: underline;
  text-decoration-color: #7C6A26;
}

.legal-intro {
  background-color: #D8DCD0;
  border: 1px solid #4C4A44;
  border-top: 5px solid #3A7C80;
  padding: 28px 30px;
  margin: 0 0 12px;
}

.legal-intro p {
  margin-bottom: 12px;
}

.legal-intro p:last-child {
  margin-bottom: 0;
}

.legal-contact-block {
  background-color: #D8DCD0;
  border: 1px solid #4C4A44;
  border-left: 7px solid #D47838;
  padding: 22px 26px;
}

.legal-contact-block p {
  margin-bottom: 6px;
}

.legal-contact-block p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  background-color: #1C2E44;
  border-top: 5px solid #D47838;
  padding: 30px 24px 34px;
}

.legal-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
}

.legal-footer a {
  color: #D8DCD0;
  text-decoration: none;
  border-bottom: 1px solid #3A7C80;
  padding-bottom: 2px;
  font-size: 0.92rem;
}

.legal-footer a:hover,
.legal-footer a:focus {
  border-bottom-color: #7C6A26;
}

.legal-footer-note {
  color: #D8DCD0;
  font-size: 0.9rem;
  margin: 0;
}

.legal-footer-note a {
  border-bottom-color: #D8DCD0;
}

.legal-footer-copy {
  color: #D8DCD0;
  font-size: 0.84rem;
  margin: 0;
  width: 100%;
}

@media (max-width: 700px) {
  .legal-header h1 {
    font-size: 1.9rem;
  }

  .legal-toc ol {
    columns: 1;
  }

  .legal-toc {
    padding: 22px 20px;
  }

  .legal-intro {
    padding: 22px 20px;
  }

  .legal-content h2 {
    font-size: 1.25rem;
  }
}
