/* ============================================================
   MOVERS FOR ME — LEGAL / STATIC TEXT PAGES
   Shared styles for Privacy Policy, Cancellation Policy,
   Service Agreement, Moving Protection, Capabilities Statement,
   and similar text-heavy reference pages.
   ============================================================ */


/* ============================================================
   LEGAL PAGE HERO — same charcoal cube-motif pattern
   ============================================================ */

.mfm-legal-hero {
  position: relative;
  width: 100%;
  padding-top: 65px;
  background-color: var(--mfm-charcoal);
  background-image:
    radial-gradient(circle at 15% 30%, rgba(105, 163, 159, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(249, 157, 91, 0.06) 0%, transparent 50%);
  overflow: hidden;
  isolation: isolate;
}

.mfm-legal-hero::before {
  content: '';
  position: absolute;
  top: 80px;
  left: -60px;
  width: 280px;
  height: 280px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%2369A39F' stroke-width='1.5'><polygon points='50,10 90,30 90,75 50,95 10,75 10,30'/><line x1='50' y1='10' x2='50' y2='55'/><line x1='50' y1='55' x2='10' y2='30'/><line x1='50' y1='55' x2='90' y2='30'/><line x1='50' y1='55' x2='50' y2='95'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.mfm-legal-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -50px;
  width: 240px;
  height: 240px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23F99D5B' stroke-width='1.5'><polygon points='50,10 90,30 90,75 50,95 10,75 10,30'/><line x1='50' y1='10' x2='50' y2='55'/><line x1='50' y1='55' x2='10' y2='30'/><line x1='50' y1='55' x2='90' y2='30'/><line x1='50' y1='55' x2='50' y2='95'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.mfm-legal-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 32px 80px 32px;
  text-align: center;
}

.mfm-legal-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  margin-bottom: 18px;
}

.mfm-legal-hero__eyebrow::before,
.mfm-legal-hero__eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background-color: var(--mfm-teal);
}

.mfm-legal-hero__title {
  font-family: var(--mfm-font-heading);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: var(--mfm-white);
  text-transform: uppercase;
  margin: 0 auto 16px auto;
  max-width: 820px;
}

.mfm-legal-hero__title .accent {
  color: var(--mfm-orange);
}

.mfm-legal-hero__subtitle {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto;
  max-width: 600px;
}

@media (max-width: 768px) {
  .mfm-legal-hero__inner {
    padding: 50px 20px 60px 20px;
  }

  .mfm-legal-hero__title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .mfm-legal-hero::before {
    top: 60px;
    left: -80px;
    width: 200px;
    height: 200px;
  }

  .mfm-legal-hero::after {
    bottom: -20px;
    right: -70px;
    width: 180px;
    height: 180px;
  }
}


/* ============================================================
   LEGAL PAGE CONTENT — typography for body copy
   ============================================================ */

.mfm-legal-content {
  position: relative;
  background-color: var(--mfm-white);
  padding: 80px 32px 100px 32px;
}

.mfm-legal-content__inner {
  max-width: 820px;
  margin: 0 auto;
}

.mfm-legal-content__meta {
  display: inline-block;
  font-family: var(--mfm-font-subhead);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mfm-teal);
  padding: 6px 14px;
  background-color: var(--mfm-mist-teal);
  border-radius: 4px;
  margin-bottom: 40px;
}

/* Body paragraphs */
.mfm-legal-content p {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mfm-slate);
  margin: 0 0 20px 0;
}

.mfm-legal-content p:last-child {
  margin-bottom: 0;
}

/* Headings */
.mfm-legal-content h2 {
  font-family: var(--mfm-font-heading) !important;
  font-weight: 700 !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.3px !important;
  color: var(--mfm-charcoal) !important;
  text-transform: none !important;
  margin: 48px 0 18px 0 !important;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--mfm-soft-orange);
}

.mfm-legal-content h2:first-child {
  margin-top: 0 !important;
}

.mfm-legal-content h3 {
  font-family: var(--mfm-font-heading) !important;
  font-weight: 700 !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.3px !important;
  color: var(--mfm-charcoal) !important;
  text-transform: none !important;
  margin: 36px 0 14px 0 !important;
}

.mfm-legal-content h4 {
  font-family: var(--mfm-font-subhead) !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.3px !important;
  color: var(--mfm-charcoal) !important;
  text-transform: none !important;
  margin: 28px 0 10px 0 !important;
}

/* Lists */
.mfm-legal-content ul,
.mfm-legal-content ol {
  font-family: var(--mfm-font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mfm-slate);
  margin: 0 0 24px 0;
  padding-left: 26px;
}

.mfm-legal-content ul li,
.mfm-legal-content ol li {
  margin-bottom: 8px;
}

.mfm-legal-content ul li::marker {
  color: var(--mfm-orange);
}

.mfm-legal-content ol li::marker {
  color: var(--mfm-orange);
  font-weight: 600;
}

/* Nested lists */
.mfm-legal-content ul ul,
.mfm-legal-content ol ol,
.mfm-legal-content ul ol,
.mfm-legal-content ol ul {
  margin: 8px 0 8px 0;
}

/* Strong / Bold */
.mfm-legal-content strong,
.mfm-legal-content b {
  color: var(--mfm-charcoal);
  font-weight: 700;
}

/* Links */
.mfm-legal-content a {
  color: var(--mfm-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.mfm-legal-content a:hover {
  color: var(--mfm-orange);
}

/* Horizontal rules */
.mfm-legal-content hr {
  border: none;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
  margin: 40px 0;
}

/* Blockquotes (rarely used but ready) */
.mfm-legal-content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  background-color: var(--mfm-warm-gray);
  border-left: 4px solid var(--mfm-teal);
  font-family: var(--mfm-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--mfm-charcoal);
  font-style: italic;
}

/* Tables (for service agreements, fee schedules) */
.mfm-legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--mfm-font-body);
  font-size: 15px;
}

.mfm-legal-content th,
.mfm-legal-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.mfm-legal-content th {
  background-color: var(--mfm-warm-gray);
  color: var(--mfm-charcoal);
  font-weight: 700;
}

@media (max-width: 768px) {
  .mfm-legal-content {
    padding: 50px 20px 70px 20px;
  }

  .mfm-legal-content h2 {
    font-size: 24px !important;
  }

  .mfm-legal-content h3 {
    font-size: 19px !important;
  }

  .mfm-legal-content p,
  .mfm-legal-content ul,
  .mfm-legal-content ol {
    font-size: 15px;
  }
}


/* ============================================================
   END LEGAL PAGES STYLES
   ============================================================ */