.legal-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  width: 100%;
  background: transparent;
  border: 0;
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
  padding: 0 10px calc(6px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.legal-copy { display: none; margin: 0 0 2px; color: #5a3a2a; font-size: 10px; }
.legal-page .legal-copy { display: block; }
.legal-page .legal-foot {
  background: #fff8f1;
  border-top: 1px solid rgba(90, 58, 42, 0.12);
  padding-top: 6px;
}
.legal-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 0; pointer-events: auto; }
.legal-foot a { color: #6e3018; margin: 0 0.35rem; text-decoration: none; }
.legal-foot a:hover { text-decoration: underline; }
.legal-foot a:focus-visible,
.legal-page a:focus-visible { outline: 2px solid #6e3018; outline-offset: 2px; }
body.has-legal-foot { padding-bottom: 64px; }

.legal-page {
  font-family: "Nunito", "Segoe UI", sans-serif;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 5rem;
  line-height: 1.55;
  color: #3a2a22;
  background: #fff8f1;
}
.legal-page h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 0.6rem; }
.legal-page h2 { font-size: 1.15rem; margin: 1.4rem 0 0.4rem; }
.legal-page a { color: #6e3018; }
.legal-page table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.legal-page th, .legal-page td { border: 1px solid rgba(90, 58, 42, 0.25); padding: 0.4rem 0.5rem; text-align: left; vertical-align: top; }
.legal-page .todo { background: #fff; border-left: 3px solid #c44e1c; padding: 0.2rem 0.6rem; }
