/* HRZNDigital — css/legal.css
   Shared legal stylesheet used ONLY by the Privacy Policy and the
   Terms of Service pages. Single-column, centered, strong contrast,
   fully opaque. Legal pages load this file alone.                   */

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

body {
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #20262B;   /* lock chamber wet stone */
  color: #EFF2EE;              /* watermark white text */
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
}

/* ------------------------------------------------------------------ *
 * Scope isolation: the intro and paragraph surfaces must not fight     *
 * the legal background. Transparent panels, forced.                    *
 * ------------------------------------------------------------------ */
.legal-page .legal-content section {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Single centred column */
.legal-page .legal-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  display: block;
}

.legal-page .legal-copy {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 46px;
}

.legal-page .legal-shell > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------------ *
 * Brand mark and masthead (solid band, strong h1 contrast).           *
 * ------------------------------------------------------------------ */
.legal-banner {
  background-color: #14181B;   /* culvert black / footer stone */
  border-bottom: 6px solid #828B8F;  /* mitre stone coping */
  padding: 26px 0 28px;
  width: 100%;
}

.legal-banner .legal-shell {
  text-align: center;
}

.legal-brandplate {
  display: inline-block;
  background-color: #B5673C;   /* gate copper */
  color: #20262B;
  font-weight: bold;
  letter-spacing: 0.06em;
  font-size: 1.4rem;
  padding: 4px 16px;
  border-radius: 3px;
}

.legal-kicker {
  margin-top: 20px;
  color: #B5673C;              /* gate copper rule word */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.legal-masthead {
  margin-top: 8px;
}

.legal-masthead h1 {
  color: #F4EFE2;              /* towpath cream against culvert black */
  font-size: 2.1rem;
  font-weight: normal;
  line-height: 1.25;
}

.legal-masthead .legal-updated {
  margin-top: 8px;
  color: #C9D1CE;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------ *
 * Table of contents                                                  *
 * ------------------------------------------------------------------ */
.legal-toc {
  background-color: #293239;   /* chamber stone */
  border: 1px solid #828B8F;
  border-left: 6px solid #B5673C;
  border-radius: 4px;
  padding: 22px 24px;
  margin: 34px 0 40px;
}

.legal-toc h2 {
  font-size: 1rem;
  color: #F4EFE2;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

.legal-toc ul {
  list-style: none;
}

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

.legal-toc a {
  color: #DCE3E0;
  text-decoration: none;
  border-bottom: 1px dotted #828B8F;
  transition: none;
}

.legal-toc a:link,
.legal-toc a:visited {
  color: #DCE3E0;
}

.legal-toc a:hover,
.legal-toc a:focus {
  color: #B5673C;
}

/* ------------------------------------------------------------------ *
 * Sections and headings                                              *
 * ------------------------------------------------------------------ */
.legal-copy {
  padding-top: 8px;
}

.legal-copy section {
  padding: 22px 0 10px;
  border-top: 1px solid #52606B;  /* faint stone joint line */
}

.legal-copy section + section {
  margin-top: 6px;
}

.legal-copy h2 {
  color: #F4EFE2;
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid #B5673C;  /* gate copper weir */
}

.legal-copy h3 {
  color: #DCB79A;
  font-size: 1.1rem;
  font-weight: normal;
  margin: 20px 0 10px;
}

.legal-copy p {
  color: #E8ECE8;
  margin-bottom: 16px;
}

.legal-copy ul,
.legal-copy ol {
  margin: 0 0 16px 0;
  padding-left: 26px;
  color: #E8ECE8;
}

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

.legal-copy strong {
  color: #F4EFE2;
  font-weight: bold;
}

.legal-copy em {
  color: #F4EFE2;
}

.legal-copy a {
  color: #B5673C;
  text-decoration: underline;
}

.legal-copy a:hover {
  color: #DCB79A;
}

/* Footnote strip under a section */
.legal-jump {
  display: block;
  text-align: right;
  margin: 4px 0 10px;
}

.legal-jump a {
  color: #828B8F;
  font-size: 0.86rem;
  text-decoration: none;
}

.legal-jump a:hover {
  color: #B5673C;
}

/* Home link ribbon before the footer */
.legal-homeband {
  text-align: center;
  background-color: #293239;
  border-radius: 4px;
  padding: 14px 20px;
  margin: 40px 0 30px;
}

.legal-homeband a {
  color: #F4EFE2;
  text-decoration: none;
}

.legal-homeband a:hover {
  color: #B5673C;
}

.legal-homeband a::before {
  content: "\2190";
  margin-right: 8px;
  color: #B5673C;
}

/* ------------------------------------------------------------------ *
 * Footer of the legal pages.                                          *
 * ------------------------------------------------------------------ */
.legal-footer {
  background-color: #14181B;
  border-top: 8px solid #828B8F;
  padding: 34px 0 46px;
  text-align: center;
  width: 100%;
}

.legal-footer .legal-shell {
  padding-bottom: 0;
}

.legal-footer p {
  color: #B8C0BB;
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-footer a,
.legal-footer .legal-backlink a {
  color: #E8ECE8;
  text-decoration: underline;
}

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

.legal-footer .legal-backlink {
  margin-bottom: 20px;
}

.legal-footer .legal-org {
  color: #F4EFE2;
  font-weight: bold;
}

/* Back to the homepage line */
.legal-backlink::before {
  content: "";
  color: #B5673C;
}

/* ------------------------------------------------------------------ *
 * Responsive tweaks                                                  *
 * ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .legal-masthead h1 {
    font-size: 1.6rem;
  }
  .legal-copy h2 {
    font-size: 1.3rem;
  }
}
