/* Long-form public pages (privacy, accessibility, disclaimer, rights and complaints),
   the 404 page and the staff gateway. Loads after site.css, which supplies the tokens,
   header, footer and buttons. */
.legal-shell {
  width: min(calc(100% - 2 * var(--gutter)), 46rem);
  margin: 0 auto;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 5.5rem);
  overflow-wrap: anywhere;
}
.legal-shell h1 {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.legal-shell .updated { margin: 0.75rem 0 2rem; font-size: 1rem; color: var(--muted-on-light); }
.legal-shell h2 { margin: 2.75rem 0 0.9rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; }
.legal-shell p { margin: 0 0 1.1rem; }
.legal-shell ul { margin: 0 0 1.25rem; padding-left: 1.4rem; list-style: disc; }
.legal-shell li { margin-bottom: 0.65rem; padding-left: 0.2rem; }
.legal-shell li::marker { color: var(--gold-ink); }
.legal-shell strong { font-weight: 700; }

.notice {
  margin: 1.75rem 0;
  padding: 1.1rem 1.35rem;
  background: var(--white);
  border-left: 4px solid var(--gold-ink);
  border-radius: 0 12px 12px 0;
}
.notice p:last-child { margin-bottom: 0; }

.contact-panel {
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 14px;
}
.contact-panel p:last-child { margin-bottom: 0; }

.legal-shell .link-list li { margin-bottom: 0.85rem; }

/* 404 and staff gateway */
.notfound, .gateway { text-align: left; }
.notfound .btn, .gateway-actions .btn { margin-top: 0.5rem; }
.gateway-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.gateway-foot { font-size: 1rem; color: var(--muted-on-light); }
