/*
 * Foundation legal surface.
 * Loaded only on Terms and Privacy. Keep this file self-contained so the legal
 * pages can later move to a dedicated plugin without affecting Home/Auth/App.
 */
.lbx-legal-main{background:#fff}
.lbx-legal-hero{padding:82px 0 58px;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);border-bottom:1px solid var(--lbx-line)}
.lbx-legal-hero-inner{display:flex;justify-content:space-between;gap:70px;align-items:flex-end}
.lbx-legal-hero h1{font-size:clamp(48px,5.3vw,72px);line-height:1.02;letter-spacing:-.05em;margin:0 0 20px;font-weight:650}
.lbx-legal-hero p{max-width:720px;margin:0;color:var(--lbx-muted);font-size:18px;line-height:1.65}
.lbx-legal-meta{min-width:180px;padding:17px 18px;border:1px solid var(--lbx-line);background:#fff;border-radius:10px;display:flex;flex-direction:column;gap:5px;box-shadow:0 8px 25px rgba(16,24,40,.04)}
.lbx-legal-meta span{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#98a2b3}
.lbx-legal-meta strong{font-size:13px;color:#344054}
.lbx-legal-section{padding:70px 0 96px}
.lbx-legal-layout{display:grid;grid-template-columns:240px minmax(0,760px);gap:78px;align-items:start;justify-content:center}
.lbx-legal-nav{position:sticky;top:24px;display:flex;flex-direction:column;padding:18px 0;border-top:1px solid var(--lbx-line);border-bottom:1px solid var(--lbx-line)}
.lbx-legal-nav>span{font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#98a2b3;margin-bottom:11px}
.lbx-legal-nav a{font-size:12px;color:#667085!important;text-decoration:none;padding:6px 0;line-height:1.35}
.lbx-legal-nav a:hover{color:var(--lbx-text)!important}
.lbx-legal-copy{min-width:0}
.lbx-legal-copy section{scroll-margin-top:28px;padding:0 0 38px;margin:0 0 38px;border-bottom:1px solid var(--lbx-line)}
.lbx-legal-copy section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.lbx-legal-copy h2{font-size:26px;line-height:1.22;letter-spacing:-.025em;margin:0 0 17px;font-weight:650;color:var(--lbx-text)}
.lbx-legal-copy p,.lbx-legal-copy li{font-size:15px;line-height:1.78;color:#475467}
.lbx-legal-copy p{margin:0 0 15px}
.lbx-legal-copy p:last-child{margin-bottom:0}
.lbx-legal-copy ul{margin:13px 0 17px;padding-left:21px}
.lbx-legal-copy li{padding-left:4px;margin:7px 0}
.lbx-legal-copy strong{color:#344054}
.lbx-legal-copy a{font-weight:650;text-underline-offset:3px}
.lbx-legal-note{margin:24px 0 0;padding:18px 19px;border:1px solid #dce3eb;background:#f8fafc;border-radius:9px;display:flex;flex-direction:column;gap:6px}
.lbx-legal-note strong{font-size:13px;color:#1d2939}
.lbx-legal-note span{font-size:13px;line-height:1.65;color:#667085}
.lbx-legal-contact-grid{margin-top:22px;display:grid;grid-template-columns:1fr;gap:12px}
.lbx-legal-contact-card{margin-top:0;padding:20px;border:1px solid var(--lbx-line);border-radius:10px;background:#fafbfc;display:flex;flex-direction:column;gap:5px;font-size:14px}
.lbx-legal-contact-card strong{font-size:15px;color:var(--lbx-text)}
.lbx-legal-contact-card span{color:#667085}
.lbx-legal-contact-card a{width:max-content;text-decoration:none;border-bottom:1px solid #cfd4dc}
@media(max-width:900px){
  .lbx-legal-layout{grid-template-columns:200px minmax(0,1fr);gap:46px}
}
@media(max-width:760px){
  .lbx-legal-hero{padding:58px 0 42px}
  .lbx-legal-hero-inner{display:block}
  .lbx-legal-hero h1{font-size:46px}
  .lbx-legal-hero p{font-size:16px}
  .lbx-legal-meta{margin-top:28px;min-width:0;width:max-content}
  .lbx-legal-section{padding:46px 0 68px}
  .lbx-legal-layout{display:block}
  .lbx-legal-nav{position:static;margin-bottom:42px;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
  .lbx-legal-nav>span{grid-column:1/-1}
  .lbx-legal-copy section{padding-bottom:30px;margin-bottom:30px}
  .lbx-legal-copy h2{font-size:23px}
}
@media(max-width:480px){
  .lbx-legal-nav{grid-template-columns:1fr}
}
