/* ═══════════════════════════════════════════════
   Legal Pages – Content Styles Only
   Nav + Footer are handled by site-refresh.css
   ═══════════════════════════════════════════════ */

:root {
  --brand-blue: #0042aa;
  --brand-orange: #ff8546;
  --brand-white: #ffffff;
  --surface-base: #f4f7fb;
  --surface-card: rgba(255, 255, 255, 0.92);
  --surface-stroke: rgba(15, 23, 42, 0.08);
  --text-strong: #111827;
  --text-body: #475569;
  --text-soft: #64748b;
  --glass-blur: 18px;
  --glass-saturate: 175%;
  --glass-white-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.2) 18%, rgba(255, 255, 255, 0.05) 58%, rgba(255, 255, 255, 0.14) 100%);
  --glass-orange-fill: linear-gradient(135deg, rgba(255, 178, 134, 0.58) 0%, rgba(255, 133, 70, 0.4) 58%, rgba(255, 107, 54, 0.28) 100%);
  --glass-blue-fill: linear-gradient(135deg, rgba(89, 141, 238, 0.18) 0%, rgba(0, 66, 170, 0.14) 58%, rgba(255, 255, 255, 0.16) 100%);
}

/* ── Typography ── */

body.legal-page,
body.legal-page h1,
body.legal-page h2,
body.legal-page h3,
body.legal-page h4,
body.legal-page h5,
body.legal-page h6,
body.legal-page p,
body.legal-page a,
body.legal-page span,
body.legal-page div,
body.legal-page .mbr-fonts-style,
body.legal-page .display-1,
body.legal-page .display-2,
body.legal-page .display-4,
body.legal-page .display-5,
body.legal-page .display-7,
body.legal-page .btn,
body.legal-page button {
  font-family: 'Rubik', sans-serif !important;
}

/* ── Page Header Section (Title Card) ── */

body.legal-page .content4 {
  padding: 7rem 0 1.5rem;
  background: transparent;
}

body.legal-page .content4 .title {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2.1rem 2rem 2rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(0, 66, 170, 0.05) 0%, rgba(255, 255, 255, 0.84) 44%, rgba(255, 255, 255, 0.92) 100%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.1);
}

/* ── Eyebrow Badge ── */

body.legal-page .legal-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.95rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  background: var(--glass-white-sheen), var(--glass-blue-fill);
  border: 1px solid rgba(170, 198, 240, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -10px 18px rgba(15, 23, 42, 0.05),
    0 10px 20px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(14px) saturate(165%);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  color: var(--brand-blue);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.legal-page .legal-eyebrow::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.42), transparent 34%),
    radial-gradient(circle at 78% 84%, rgba(255, 255, 255, 0.16), transparent 38%);
  pointer-events: none;
}

/* ── Title Styling ── */

body.legal-page .content4 .display-2,
body.legal-page .content4 .display-5,
body.legal-page .content4 .mbr-section-subtitle {
  color: var(--text-strong) !important;
}

body.legal-page .content4 .display-2 {
  margin: 0;
  padding: 0 !important;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.legal-page .content4 br {
  display: none;
}

/* ── Content Card ── */

body.legal-page .content9 {
  padding: 0 0 4.5rem;
}

body.legal-page .content9 .container {
  max-width: 1200px;
}

body.legal-page .content9 .inner-container {
  width: min(100%, 980px) !important;
  margin: 0 auto;
  padding: 2rem 2rem 2.2rem;
  border-radius: 1.75rem;
  border: 1px solid var(--surface-stroke);
  background: var(--surface-card);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.legal-page .content9 .line {
  display: none;
}

/* ── Body Text ── */

body.legal-page .section-text {
  text-align: left !important;
  color: var(--text-body) !important;
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
}

body.legal-page .section-text > div {
  margin-bottom: 0.7rem;
}

body.legal-page .section-text a {
  color: var(--brand-blue);
  word-break: break-word;
}

body.legal-page .section-text a:hover,
body.legal-page .section-text a:focus {
  color: #0f56d1;
}

/* ── Responsive ── */

@media (max-width: 767px) {
  body.legal-page .content4 {
    padding: 6.5rem 0 1rem;
  }

  body.legal-page .content4 .title,
  body.legal-page .content9 .inner-container {
    padding: 1.45rem 1.2rem;
  }
}
