/* ============================================================
   INCAPOTATO — /css/legal.css
   Shared single-column legal stylesheet for legal pages.
   Legal pages load ONLY legal.css (NOT style.css).
   ============================================================ */

:root{
  --page-bg:#F1EEE1;
  --ink:#2E2D26;
  --ochre:#B5722F;
  --stone:#909283;
  --lighter:#FAF6E8;
  --blackband:#1F211B;
}

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

html{overflow-x:hidden;scroll-behavior:smooth;}

body{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:16px;
  line-height:1.8;
  color:var(--ink);
  background:var(--page-bg);
  overflow-x:hidden;
}

/* ---- Legal brand header: solid background, strong h1 contrast ---- */
.legal-header{
  width:100%;
  background:var(--blackband);
  color:var(--lighter);
  border-bottom:6px solid var(--ochre);
}

.legal-header-inner{
  max-width:820px;
  margin:0 auto;
  padding:28px 24px 20px;
}

.legal-brand-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
}

.legal-brand-plate{
  font-weight:700;
  letter-spacing:2px;
  color:var(--lighter);
  background:var(--ochre);
  padding:5px 12px;
  border-radius:3px;
}

.legal-ts-chip{
  font-size:13px;
  letter-spacing:1px;
  color:var(--ochre);
  text-transform:uppercase;
}

.legal-header h1{
  font-size:40px;
  line-height:1.15;
  color:var(--lighter);
  margin-top:6px;
}

.legal-intro-note{
  margin-top:14px;
  font-size:16px;
  color:#D9D6C8;
}

/* ---- Legal content column: single centered shape ---- */
.legal-content-wrap{
  background:var(--page-bg);
}

.legal-content-inner{
  max-width:820px;
  margin:0 auto;
  padding:0 24px;
}

.toc-block{
  background:var(--blackband);
  color:var(--lighter);
  padding:24px 26px;
  margin:34px 0 10px;
  border-left:8px solid var(--ochre);
}

.toc-block h2{
  font-size:20px;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-bottom:14px;
  color:var(--ochre);
}

.toc-lesser-list{
  list-style:none;
  columns:2;
  column-gap:26px;
}

.toc-lesser-list li{
  margin-bottom:7px;
  break-inside:avoid;
}

.toc-lesser-list li a{
  color:var(--lighter);
  text-decoration:none;
  font-size:15px;
}

.toc-lesser-list li a:hover{
  color:var(--ochre);
  text-decoration:underline;
}

.legal-lede{
  margin:26px 0 6px;
  font-size:19px;
  color:var(--ink);
}

.legal-body{
  margin:0 auto;
  padding:0 0 8px;
}

/* ---- Scope isolation: legal styled sections only ---- */
.legal-page .legal-content section{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}

.legal-section{
  padding:26px 0 4px;
  border-bottom:2px solid var(--stone);
}

.legal-section:last-of-type{
  border-bottom:none;
}

.legal-section h2{
  font-size:28px;
  color:var(--ochre);
  margin-bottom:12px;
  line-height:1.25;
}

.legal-section h3{
  font-size:20px;
  color:var(--ink);
  margin:18px 0 8px;
}

.legal-section p{
  margin-bottom:14px;
  color:var(--ink);
  text-align:left;
}

.legal-section ul,
.legal-section ol{
  margin:0 0 14px 26px;
  color:var(--ink);
}

.legal-section li{
  margin-bottom:8px;
}

.legal-section a{
  color:var(--ochre);
  text-decoration:underline;
}

.legal-section a:hover{
  color:var(--ink);
}

.legal-updated{
  font-size:14px;
  color:var(--stone);
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:8px;
}

/* ---- Contact keyline box ---- */
.legal-contact-box{
  border:3px solid var(--ochre);
  background:var(--lighter);
  padding:16px 18px;
  margin:14px 0;
}

.legal-contact-box p{
  color:var(--ink);
  margin-bottom:6px;
}

/* ---- Footer ---- */
.legal-footer{
  margin-top:40px;
  background:var(--blackband);
  color:var(--lighter);
  position:relative;
}

.legal-footer-top{
  width:100%;
  height:10px;
  background:var(--ochre);
}

.legal-footer-inner{
  max-width:820px;
  margin:0 auto;
  padding:30px 24px 36px;
  text-align:center;
  position:relative;
  z-index:1;
}

.legal-footer-inner .legal-footer-companyline{
  font-size:18px;
  color:var(--ochre);
  font-weight:700;
  margin-bottom:8px;
}

.legal-footer-inner p{
  color:#D9D6C8;
  font-size:15px;
  line-height:1.9;
}

.legal-footer-inner a{
  color:var(--ochre);
}

.legal-footer-inner a:hover{
  color:#D9D6C8;
}

.legal-back-home{
  display:inline-block;
  margin-top:16px;
  background:var(--ochre);
  color:var(--lighter);
  padding:8px 16px;
  border-radius:3px;
  text-decoration:none;
}

.legal-back-home:hover{
  background:#945A22;
}

/* strong strong-contrast text within sections */
strong{color:var(--ink);}

/* ============================================================
   Responsive
   ============================================================ */

@media(max-width:720px){
  .toc-lesser-list{columns:1;}
  .legal-header h1{font-size:30px;}
  .legal-section h2{font-size:23px;}
}
