/* ===== Legal pages stylesheet (privacy.html + terms-of-service.html) =====
   Loaded ONLY by the two legal pages. Legal pages reference no other sheet,
   so page background and text color are defined here with strong contrast. */

html{background:#F1E7D8;}

body{
  font-size:16px;
  margin:0;
  font-family:Georgia,"Times New Roman",ui-serif,serif;
  line-height:1.75;
  color:#3A2F28;
  background:#F1E7D8;
}

*{box-sizing:border-box;}

.legal-page .legal-content section,
.legal-page .legal-content article{background:transparent !important;}
.legal-page .legal-content section{background:transparent !important;}

h1,h2,h3,h4{margin:0 0 .55em;color:#4C3B30;font-weight:700;line-height:1.25;}
h1{color:#3A2F28;}
p{margin:0 0 1.1em;}
a{color:#8A9B7C;text-decoration:underline;}
a:hover{color:#E08A6A;}
ul,ol{margin:0 0 1.2em 1.4em;}
li{margin:.3em 0;}

/* header plate with a solid background and strong h1 contrast */
.legal-head{background:#4C3B30;padding:30px 0;}
.legal-head .in{max-width:900px;margin:0 auto;padding:0 24px;}
.legal-head a.home{color:#FBF6EC;display:inline-block;margin-bottom:18px;letter-spacing:.05em;font-size:.85rem;}
.legal-head a.home:hover{color:#E08A6A;}
.legal-head h1{color:#FBF6EC;font-size:clamp(1.7rem,4.5vw,2.6rem);margin:0;}
.legal-head .subhead{color:#E9DCCB;margin-top:8px;}

/* toc + content */
.legal-wrap{max-width:900px;margin:0 auto;padding:0 24px;}
.legal-card{background:#FBF6EC;border:1px solid #C9B19b;border-radius:12px;padding:26px 34px;margin:26px 0 0;}
.toc{background:none;border:1px dashed #8A9B7C;border-radius:8px;padding:16px 18px;margin:0 0 22px;}
.toc h2{color:#E08A6A;font-size:1rem;text-transform:uppercase;letter-spacing:.06em;}
.toc ol{margin-left:1.4em;}
.toc li{margin:.25em 0;}
.toc a{color:#3A2F28;text-decoration:none;}
.toc a:hover{color:#E08A6A;}

.legal-content h2{color:#5A4635;border-bottom:2px solid #8A9B7C;padding-bottom:.35em;margin-top:1.7em;scroll-margin-top:18px;}
.legal-content h3{color:#4C3B30;margin-top:1.4em;}
.small{font-size:.85rem;color:#5A4635;}
.update{margin-bottom:8px;}

/* strong band callouts */
.warnband{background:#3A2F28;color:#FBF6EC;border-radius:8px;padding:14px 18px;margin:14px 0;}
.warnband a{color:#E08A6A;}

/* footer of legal pages, back to homepage, on dark band separated plain block */
.legal-foot{background:#3A2F28;color:#C9BCAA;padding:26px 0;margin-top:34px;}
.legal-foot .in{max-width:900px;margin:0 auto;padding:0 24px;text-align:center;}
.legal-foot a{color:#E08A6A;}
.legal-foot .lrow{font-family:Georgia,serif;line-height:1.9;margin-bottom:10px;}

@media (max-width:640px){
  .legal-card{padding:20px 18px;}
}
