/* Land Marshal — shared site footer + legal pages (index, about, privacy, terms, disclaimer, data-sources) */
.lm-footer { padding-top: 0; }
.lmf-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; margin-bottom: 34px; border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.lmf-top-text { color: #e2e8f0; font-size: 0.95rem; }
.lmf-top-text strong { color: #ffffff; }
.lmf-top-text span { display: block; color: #94a3b8; font-size: 0.82rem; margin-top: 2px; }
.lmf-top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lmf-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  text-decoration: none; border: 1px solid rgba(226, 186, 100, 0.55); color: #e2ba64; background: transparent;
}
.lmf-btn:hover { background: rgba(226, 186, 100, 0.1); }
.lmf-btn.wa { border-color: #25d366; color: #ffffff; background: #1fa855; }
.lmf-btn.wa:hover { background: #25d366; }
.lmf-social { display: flex; gap: 6px; margin-left: 4px; }
.lmf-social span {
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 800; color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.35); opacity: 0.7; cursor: default;
}
.lmf-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.lmf-about { font-size: 0.86rem; line-height: 1.75; color: #94a3b8; margin: 12px 0; }
.lmf-about strong { color: #e2e8f0; }
.lmf-pledge { display: flex; flex-wrap: wrap; gap: 6px; }
.lmf-pledge span { font-size: 0.68rem; font-weight: 700; color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 999px; padding: 3px 9px; }
.lmf-contact { font-size: 0.82rem; line-height: 1.7; color: #94a3b8; margin-top: 10px; }
.lmf-contact a { color: #cbd5e1; text-decoration: none; }
.lmf-contact a:hover { color: #e2ba64; }
/* slim footer: top strip + one bottom bar (no link columns) */
.lm-footer.master-footer { padding-top: 0; padding-bottom: 14px; }
.lm-footer .lmf-top { margin-bottom: 0; padding: 16px 0; }
.lmf-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 10px 18px; flex-wrap: wrap;
  margin-top: 0; padding: 12px 0 4px; font-size: 0.76rem; color: #64748b;
}
.lmf-bottom-left { display: flex; flex-direction: column; gap: 2px; }
.lmf-contact-line { color: #94a3b8; }
.lmf-contact-line a { color: #cbd5e1; }
.lmf-bottom a { color: #94a3b8; text-decoration: none; }
.lmf-bottom a:hover { color: #e2ba64; }
.lmf-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .lmf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lmf-grid { grid-template-columns: 1fr; gap: 22px; } .lmf-top { flex-direction: column; align-items: flex-start; } }

/* Legal / information pages */
.lm-legal-hero { background: linear-gradient(155deg, #071f1a 0%, #0d352d 100%); background-image: var(--lm-topo-bg), linear-gradient(155deg, #071f1a 0%, #0d352d 100%); padding: 56px 0 40px; border-bottom: 2px solid rgba(197, 150, 56, 0.35); color: #f8f5ec; }
.lm-legal-hero h1 { font-family: var(--font-serif); font-size: 2.3rem; color: #ffffff; margin: 8px 0 8px; }
.lm-legal-hero p { color: #cfe0db; font-size: 0.95rem; margin: 0; }
.lm-legal { max-width: 860px; margin: 0 auto; padding: 40px 20px 70px; color: #263631; font-size: 0.95rem; line-height: 1.8; }
.lm-legal h2 { font-family: var(--font-serif); font-size: 1.35rem; color: #0b241f; margin: 30px 0 8px; }
.lm-legal h3 { font-size: 1rem; color: #0b241f; margin: 18px 0 4px; }
.lm-legal ul { padding-left: 20px; margin: 6px 0 12px; }
.lm-legal li { margin: 4px 0; }
.lm-legal a { color: #0f5246; font-weight: 600; }
.lm-legal .lm-note { background: #faf8f3; border: 1px solid #ece6d6; border-left: 4px solid #c59638; border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.lm-legal table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 0.88rem; }
.lm-legal th, .lm-legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #ece6d6; vertical-align: top; }
.lm-legal th { background: #faf8f3; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.4px; color: #9e7220; }

/* Skip to content (keyboard / screen-reader users) - hidden until focused with Tab */
.lm-skip { position: absolute; left: 12px; top: -60px; z-index: 10000; background: #082c25; color: #fefcf7; padding: 10px 16px; border-radius: 8px; font-weight: 800; text-decoration: none; border: 2px solid #e2ba64; transition: top 0.15s; }
.lm-skip:focus { top: 12px; outline: none; }

/* Accessibility (QA 2026-11-25): footer / menu tap targets at least 24 px on phones, smallest labels 11 px */
@media (max-width: 760px) {
  .lmf-bottom-links a, .lmf-contact-line a { display: inline-flex; align-items: center; min-height: 28px; }
  .lmf-social span { font-size: 11px; }
  #mobile-menu-toggle { min-width: 44px; min-height: 44px; }
}
