/* Legal pages — calm MonHunt shell */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: var(--track-body);
  color: var(--ink-soft);
  background: var(--bg-atmosphere);
  min-height: 100vh;
  overflow-x: clip;
}
a { color: var(--cyan-mid); text-decoration: none; }
a:hover { color: var(--cyan-hot); }
.legal-wrap {
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: 0.25rem var(--page-inline-end, 24px) 3rem var(--page-inline-start, 24px);
  box-sizing: border-box;
  overflow-x: visible;
}
.legal-brand-name {
  font-family: var(--font);
  font-weight: 800;
  font-size: var(--fs-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
  margin-bottom: 0.35rem;
  color: var(--white);
  padding-inline-start: 0;
}
.legal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: var(--track-title);
}
.legal-brand img { width: 32px; height: 32px; border-radius: 9px; }
.legal-back {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}
.legal-kicker {
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: var(--track-meta);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
  padding-inline: 0;
  overflow: visible;
}
h1 {
  font-family: var(--font);
  font-size: var(--fs-title);
  font-weight: 700;
  letter-spacing: var(--track-title);
  line-height: var(--lh-title);
  color: var(--white);
  margin: 0 0 0.4rem;
  padding-inline-start: 0;
  overflow: visible;
}
.legal-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-weight: 400;
}
.legal-section { margin-bottom: 1.5rem; }
.legal-section h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: var(--track-title);
  color: var(--white);
  margin-bottom: 0.55rem;
  padding-inline-start: 0;
  overflow: visible;
}
.legal-section p,
.legal-section li {
  margin-bottom: 0.55rem;
  font-weight: 400;
}
.legal-section ul,
.legal-section ol {
  padding-inline-start: 1.35rem;
  margin: 0.35rem 0 0.75rem;
  max-width: none;
  list-style-position: outside;
}
.legal-section li::marker { color: var(--muted); }
.legal-section strong { color: var(--ink); font-weight: 600; }
.legal-section code {
  font-size: 0.88em;
  color: var(--cyan-mid);
  background: rgba(31, 168, 184, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.legal-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
}
.legal-nav a:hover { color: var(--cyan-mid); }
/* Shared footer — match .legal-wrap column */
.mh-site-footer .footer-shell { max-width: var(--content-max); }
/* legacy .legal-foot unused — shared .mh-site-footer from layout.js */
.legal-foot {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}
