html{
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  padding:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:16px;
  line-height:1.75;
  color:#2B2E2B;
  background-color:#F1F2ED;
  overflow-x:hidden;
}

/* scope isolation -- legal.php-like content container must be transparent */
.legal-page .legal-content section{
  background:transparent !important;
}

p{
  margin:0 0 1.1em;
}

h1,h2,h3,h4{
  font-family:Arial,"Helvetica Neue",sans-serif;
  line-height:1.2;
  color:#2B2E2B;
  margin:0 0 .5em;
}

a{
  color:#39566B;
}

a:hover{
  color:#B08A2E;
}

/* ===== legal header with solid band + strong h1 ===== */
.legal-header{
  background-color:#39566B;
  border-bottom:8px solid #2B2E2B;
  padding:30px 0;
}

.legal-header .legal-head-wrap{
  max-width:880px;
  margin:0 auto;
  padding:0 24px;
}

.legal-header p.note-brand{
  color:#B08A2E;
  font-family:Arial,Arial,sans-serif;
  font-weight:700;
  letter-spacing:.22em;
  font-size:.78rem;
  text-transform:uppercase;
  margin:0 0 8px;
}

.legal-header h1{
  color:#E4E1D5;
  font-size:clamp(2rem,6vw,3rem);
  margin:0;
  letter-spacing:.02em;
}

.legal-header p.updated{
  color:#E4E1D5;
  margin:12px 0 0;
  font-size:.9rem;
}

.legal-header .home-back a{
  color:#B08A2E;
  text-decoration:none;
  font-family:Arial,Arial,sans-serif;
  font-weight:700;
  font-size:.88rem;
  letter-spacing:.04em;
}

.legal-header .home-back a:hover{
  color:#E4E1D5;
  text-decoration:underline;
}

/* ===== page layout ===== */
.legal-page{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:30px;
  max-width:1150px;
  margin:0 auto;
  padding:40px 24px;
}

@media (max-width:900px){
  .legal-page{
    grid-template-columns:1fr;
  }
}

/* ===== table of contents ===== */
.legal-toc{
  align-self:start;
  position:sticky;
  top:20px;
  background-color:#E4E1D5;
  border:2px solid #7C7F76;
  border-top:6px solid #B08A2E;
  padding:22px 20px;
}

@media (max-width:900px){
  .legal-toc{
    position:static;
  }
}

.legal-toc h2{
  font-size:1rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#39566B;
  border-bottom:2px solid #B08A2E;
  padding-bottom:8px;
}

.legal-toc ol{
  list-style:none;
  margin:14px 0 0;
  padding:0;
}

.legal-toc li{
  margin-bottom:9px;
  padding-left:16px;
  border-left:3px solid #7C7F76;
}

.legal-toc a{
  color:#2B2E2B;
  text-decoration:none;
  font-family:Arial,Arial,sans-serif;
  font-size:.9rem;
}

.legal-toc a:hover{
  color:#B08A2E;
  text-decoration:underline;
}

.legal-toc a.is-active{
  color:#C2634E;
  font-weight:700;
}

/* ===== content ===== */
.legal-content{
  min-width:0;
}

.legal-content section{
  margin-bottom:34px;
}

.legal-content h2{
  font-size:clamp(1.4rem,3vw,1.9rem);
  padding-bottom:8px;
  border-bottom:2px solid #E4E1D5;
}

.legal-content h2 .sec-num{
  color:#B08A2E;
  margin-right:10px;
}

.legal-content h3{
  font-size:1.05rem;
  margin-top:6px;
  color:#39566B;
}

.legal-content ul{
  margin:0 0 1em;
  padding-left:22px;
}

.legal-content li{
  margin-bottom:6px;
}

.legal-content .legal-intro{
  font-weight:bold;
  color:#2B2E2B;
}

.legal-box{
  background-color:#E4E1D5;
  border-left:6px solid #B08A2E;
  padding:16px 20px;
  margin:16px 0;
}

.legal-box p{
  margin:0;
}

/* from existing content sections inherit transparent bg via section rule */

/* ===== footer ===== */
.legal-foot{
  background-color:#2B2E2B;
  border-top:6px solid #B08A2E;
  padding:26px 0;
}

.legal-foot-wrap{
  max-width:1150px;
  margin:0 auto;
  padding:0 24px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:space-between;
  align-items:center;
}

.legal-foot p{
  color:#E4E1D5;
  font-size:.9rem;
  margin:0;
}

.legal-foot a{
  color:#B08A2E;
  text-decoration:none;
}

.legal-foot a:hover{
  color:#E4E1D5;
  text-decoration:underline;
}
