/* ============================================
   NAVIGATION (simplified for legal pages)
   ============================================ */
.nav {
  background: var(--navy-950);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-logo img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  margin: -12px -6px -12px -10px;
}

.nav-logo-inspect { color: var(--white); }
.nav-logo-scribe { color: rgba(255,255,255,0.55); }

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-400);
  transition: color 0.2s;
}
.nav-back:hover { color: var(--white); }
.nav-back svg { width: 16px; height: 16px; }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: var(--navy-950);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header-meta {
  font-size: 15px;
  color: var(--slate-500);
}

/* ============================================
   LEGAL CONTENT
   ============================================ */
.legal {
  padding: 64px 0 120px;
}

.legal-body {
  max-width: 720px;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy-950);
  margin-top: 56px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-body h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 32px;
  margin-bottom: 8px;
}

.legal-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-600);
  margin-bottom: 16px;
}

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

.legal-body li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate-600);
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--amber-600);
  text-decoration: underline;
  text-decoration-color: rgba(217, 119, 6, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}
.legal-body a:hover {
  text-decoration-color: var(--amber-600);
}

.legal-body strong {
  font-weight: 700;
  color: #1e293b;
}

.legal-body .callout {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-body .callout p {
  margin-bottom: 0;
  font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.footer-brand img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  margin: -10px -4px -10px -8px;
}

.footer-logo-inspect { color: var(--white); }
.footer-logo-scribe { color: rgba(255,255,255,0.55); }

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--slate-500);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--slate-300); }

.footer-copy {
  font-size: 14px;
  color: var(--slate-600);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .page-header { padding: 48px 0 56px; }

  .legal { padding: 48px 0 80px; }

  .legal-body h2 {
    font-size: 22px;
    margin-top: 40px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
