/* DriveDiggers legal pages — isolated from public and portal themes. */
.legal-page {
  --navy: #071820;
  --blue: #2d68d8;
  --ink: #13262d;
  --muted: #566b71;
  --line: #d7e2e3;
  --paper: #fff;
  --soft: #f3f6f6;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(7,24,32,.025) 100%) 0 0 / 84px 84px,
    var(--soft);
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", system-ui, sans-serif;
}
.legal-page .legal-header { padding: 20px 24px; background: #071820; }
.legal-page .legal-header-inner { width: min(1160px, 100%); }
.legal-page .legal-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-left: 57px;
  position: relative;
  font-size: 1.04rem;
  letter-spacing: -.02em;
}
.legal-page .legal-brand::before {
  position: absolute;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255,255,255,.96) url("../images/brand/drive-diggers-mark.png") center / contain no-repeat;
  box-shadow: 0 11px 28px rgba(0,0,0,.24);
  content: "";
}
.legal-page .legal-nav a { color: #b9c9cb; font-size: .85rem; font-weight: 650; }
.legal-page .legal-nav a:hover { color: #fff; }
.legal-page .legal-main {
  margin: 52px auto;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(9,31,39,.08);
}
.legal-page .legal-main h1,
.legal-page .legal-main h2 { font-family: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", system-ui, sans-serif; }
.legal-page .legal-main h1 { letter-spacing: -.055em; }
.legal-page .legal-main h2 { color: #13262d; }
.legal-page .legal-eyebrow { color: #2d68d8; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.legal-page .legal-note { border-left-color: #ffb547; background: #fff7e9; color: #465c62; }
.legal-page .legal-main a { color: #2459bd; font-weight: 650; }
.legal-page .legal-footer a { color: #395a63; }
@media (max-width: 640px) {
  .legal-page .legal-main { margin: 26px auto; }
  .legal-page .legal-header-inner { align-items: center; flex-direction: row; }
  .legal-page .legal-nav { gap: 10px; }
}
