/* =========================================================
   Pojo Explorations LLC - css/legal.css
   Standalone stylesheet for privacy.html and terms-of-service.html.
   Defines its own page background and text with strong contrast.
   Scope isolation keeps legal content transparent to page bands.
   ========================================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Georgia","Times New Roman",serif;
  font-size:16px;
  line-height:1.75;
  background-color:#E7E3D4;
  color:#1F221E;
  overflow-x:hidden;
}

.legal-page{
  background-color:#E7E3D4;
}

a{
  color:#8A5320;
  text-decoration:none;
}
a:hover{
  text-decoration:underline;
}

/* ---------- Legal masthead (solid background, strong contrast) ---------- */
.legal-head{
  width:100%;
  background-color:#262B26;
  color:#FBF8EE;
  border-bottom:4px solid #A06428;
}
.legal-head .lh-inner{
  width:100%;
  max-width:1000px;
  margin:0 auto;
  padding:0 24px;
  padding-top:26px;
  padding-bottom:26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.legal-head .brandmark{
  background-color:#A06428;
  color:#FBF8EE;
  font-family:Verdana,Geneva,sans-serif;
  font-weight:bold;
  font-size:17px;
  letter-spacing:2px;
  padding:8px 14px;
  border-radius:4px;
  text-decoration:none;
}
.legal-head .brandmark:hover{
  text-decoration:none;
}
.legal-head .lh-tag{
  font-family:Verdana,Geneva,sans-serif;
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:#F3E6D0;
  text-align:right;
}
.legal-head h1{
  font-size:34px;
  color:#FBF8EE;
  line-height:1.2;
  margin-top:6px;
}
.legal-head .home-back{
  color:#F3E6D0;
  font-family:Verdana,Geneva,sans-serif;
  font-size:14px;
  margin-top:8px;
  display:inline-block;
}
.legal-head .home-back:hover{
  color:#FBF8EE;
}

/* ---------- Content column ---------- */
.legal-wrap{
  width:100%;
  max-width:1000px;
  margin:0 auto;
  padding:0 24px;
  padding-top:30px;
  padding-bottom:6px;
}
.legal-updated{
  font-family:Verdana,Geneva,sans-serif;
  font-size:14px;
  color:#1F221E;
  margin-bottom:20px;
  font-weight:bold;
}
.legal-summary{
  background-color:#FBF8EE;
  border-left:6px solid #A06428;
  padding:16px 20px;
  margin-bottom:26px;
  color:#1F221E;
}

/* ---------- Table of contents ---------- */
.legal-toc{
  background-color:#E0DCCB;
  border:1px solid #B0AB96;
  border-radius:4px;
  padding:18px 22px;
  margin-bottom:30px;
}
.legal-toc h2{
  font-size:18px;
  color:#262B26;
  margin-bottom:10px;
  font-family:Verdana,Geneva,sans-serif;
  text-transform:uppercase;
  letter-spacing:1px;
}
.legal-toc ol{
  padding-left:20px;
}
.legal-toc li{
  margin-bottom:6px;
}
.legal-toc a{
  color:#8A5320;
  font-weight:bold;
}

/* ---------- Legal content sections ---------- */
.legal-content{
  color:#1F221E;
}

/* Scope isolation: sections inside legal content stay transparent */
.legal-page .legal-content section{
  border-bottom:1px solid #B0AB96;
  background-color:transparent !important;
  padding:18px 0 20px;
}

.legal-content section h2{
  color:#8A5320;
  font-size:24px;
  margin:0 0 10px;
  scroll-margin-top:20px;
}
.legal-content section h3{
  color:#262B26;
  font-size:18px;
  margin:18px 0 8px;
}
.legal-content p{
  color:#1F221E;
  margin-bottom:12px;
}
.legal-content ul,
.legal-content ol{
  padding-left:24px;
  margin-bottom:12px;
}
.legal-content li{
  margin-bottom:8px;
  color:#1F221E;
}
.legal-content .firm{
  font-family:Verdana,Geneva,sans-serif;
  font-size:14px;
  color:#262B26;
  font-weight:bold;
}

/* ---------- Footer within legal pages ---------- */
.legal-foot{
  margin-top:20px;
  border-top:3px solid #A06428;
  background-color:#262B26;
  color:#FBF8EE;
}
.legal-foot .lf-inner{
  width:100%;
  max-width:1000px;
  margin:0 auto;
  padding:0 24px;
  padding-top:22px;
  padding-bottom:26px;
  text-align:center;
}
.legal-foot .lf-firm{
  font-family:Verdana,Geneva,sans-serif;
  font-weight:bold;
  color:#A06428;
  margin-bottom:8px;
}
.legal-foot .lf-addr{
  margin-bottom:6px;
}
.legal-foot .lf-home{
  color:#A06428;
  font-weight:bold;
  display:inline-block;
  margin:8px 0 0;
}
.legal-foot .lf-home:hover{
  color:#FBF8EE;
}
.legal-foot .lf-copy{
  margin-top:14px;
  font-size:14px;
  color:#A06428;
}

/* ---------- Responsive ---------- */
@media (max-width:640px){
  .legal-head h1{
    font-size:26px;
  }
  .legal-head .lh-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .legal-head .lh-tag{
    text-align:left;
  }
}
