/* =========================
   EPAN LEGAL THEME (LIGHT)
========================= */

body.legal-page{
  background:#f8fafc;
  color:#0f172a;
  font-family: Inter, system-ui, sans-serif;
}

/* Remove unwanted overlays */
body.legal-page::before,
body.legal-page::after{
  display:none;
}

/* CONTAINER */
.legal-container{
  max-width:1200px;
  margin:auto;
  padding:0 20px;
}

/* =========================
   HEADER
========================= */
.legal-header{
  position:sticky;
  top:0;
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
  z-index:100;
}

.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:50px;
}

.legal-logo{
  width:160px;
}

/* NAV */
.legal-header nav a{
  margin-left:20px;
  text-decoration:none;
  font-size:14px;
  color:#475569;
  font-weight:500;
}

.legal-header nav a:hover{
  color:#0f172a;
}

/* =========================
   HERO
========================= */
.legal-hero{
  padding:40px 0 30px;
  border-bottom:1px solid #e2e8f0;
}

.legal-badge{
  display:inline-block;
  padding:6px 12px;
  font-size:11px;
  letter-spacing:.15em;
  background:#e0f2fe;
  color:#0369a1;
  border-radius:999px;
  margin-bottom:12px;
}

.legal-hero h1{
  font-size:38px;
  font-weight:700;
  margin-bottom:8px;
}

.legal-sub{
  font-size:14px;
  color:#64748b;
}

/* =========================
   LAYOUT
========================= */
.legal-layout{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:50px;
  margin-top:40px;
}

/* =========================
   SIDEBAR
========================= */
.legal-sidebar{
  position:sticky;
  top:100px;
}

.legal-sidebar h4{
  font-size:13px;
  margin-bottom:12px;
  color:#64748b;
}

.legal-sidebar a{
  display:block;
  font-size:13px;
  margin-bottom:8px;
  color:#475569;
  text-decoration:none;
}

.legal-sidebar a:hover{
  color:#0f172a;
}

/* =========================
   CONTENT
========================= */
.legal-content{
  max-width:800px;
  padding:20px 0 60px;
  line-height:1.75;
}

.legal-content h2{
  font-size:20px;
  margin-top:30px;
  margin-bottom:10px;
  font-weight:600;
}

.legal-content p{
  font-size:15px;
  line-height:1.7;
  color:#334155;
  margin-top:10px;
}

/* LINKS */
.legal-content a{
  color:#2563eb;
  text-decoration:none;
}

.legal-content a:hover{
  text-decoration:underline;
}

/* Disable section overlays */
.section::before{
  display:none;
}

/* =========================
   FOOTER
========================= */
.legal-footer{
  text-align:center;
  font-size:13px;
  color:#64748b;
  padding:30px 0;
  border-top:1px solid #e2e8f0;
}

/* =========================
   MOBILE
========================= */
@media(max-width:900px){
  .legal-layout{
    grid-template-columns:1fr;
  }

  .legal-sidebar{
    display:none;
  }
}

@media(max-width:600px){
  .legal-hero h1{
    font-size:28px;
  }

  .legal-header nav{
    display:none;
  }
}