/* ============ LEGAL PAGES (privacy + terms) ============ */
/* These pages load ONLY this stylesheet — never style.css. */

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

html{scroll-behavior:smooth;}

.legal-page{
  background-color:#10151C;
  color:#E9EDF2;
  font-family:Georgia,'Times New Roman',serif;
  font-size:16px;
  line-height:1.8;
  overflow-x:hidden;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.legal-page a{color:#3FA7A0;text-decoration:none;}
.legal-page a:hover{color:#F0EFE8;}
.legal-page h1,.legal-page h2,.legal-page h3{font-family:'Trebuchet MS',Verdana,sans-serif;font-weight:700;line-height:1.25;}

.legal-page .container{max-width:860px;margin:0 auto;padding:0 24px;}

/* Scope isolation: sections carry their own panels, never inherited surface */
.legal-page .legal-content section{background-color:transparent !important;}

/* ============ LEGAL HEADER ============ */
.legal-header{
  background:linear-gradient(180deg,#172230 0%,#10151C 100%);
  border-bottom:2px solid #3FA7A0;
  padding:40px 0 28px;
}
.legal-page .header-inner{max-width:860px;margin:0 auto;padding:0 24px;}
.legal-page .legal-brand{display:inline-flex;align-items:center;gap:10px;margin-bottom:16px;}
.legal-page .legal-brand .lamp{
  display:inline-block;width:12px;height:12px;border-radius:50%;
  background-color:#3FA7A0;border:2px solid #F0EFE8;
  box-shadow:0 0 0 2px #2B6B66;
}
.legal-page .legal-brand .brand-word{
  font-family:'Trebuchet MS',Verdana,sans-serif;font-size:18px;
  font-weight:700;letter-spacing:2px;color:#3FA7A0;
}
.legal-page .legal-title{font-size:38px;color:#F0EFE8;margin-bottom:8px;}
.legal-page .legal-meta{font-size:14px;color:#AFC3C9;}
.legal-page .legal-meta a{color:#AFC3C9;}
.legal-page .legal-meta a:hover{color:#F0EFE8;}
.legal-page .legal-back{color:#E07B5A;font-family:'Trebuchet MS',Verdana,sans-serif;font-size:12px;letter-spacing:1px;text-transform:uppercase;}

/* ============ TOC (uses class selectors only) ============ */
.legal-page .legal-toc{
  margin:36px 0;
  background-color:#172230;
  border:1px solid #24405A;
  border-left:4px solid #3FA7A0;
  padding:26px 28px;
}
.legal-page .legal-toc h2{font-size:18px;color:#E07B5A;margin-bottom:14px;letter-spacing:1px;text-transform:uppercase;}
.legal-page .legal-toc ol{list-style:none;padding:0;}
.legal-page .legal-toc li{margin-bottom:8px;font-family:'Trebuchet MS',Verdana,sans-serif;font-size:14px;}
.legal-page .legal-toc li::before{content:"⚓";color:#3FA7A0;margin-right:10px;}
.legal-page .legal-toc a{color:#AFC3C9;}
.legal-page .legal-toc a:hover{color:#F0EFE8;}

/* ============ LEGAL CONTENT ============ */
.legal-page .legal-content{flex:1;padding:10px 0 60px;}
.legal-page .legal-content section{
  margin:40px 0;
  padding:34px 10px 10px 0;
  border-bottom:1px solid #24405A;
}
.legal-page .legal-content section:last-child{border-bottom:none;}
.legal-page .legal-content h2{
  font-size:26px;
  color:#3FA7A0;
  margin:0 0 14px 0;
  scroll-margin-top:20px;
}
.legal-page .legal-content h3{font-size:18px;color:#F0EFE8;margin:20px 0 8px;}
.legal-page .legal-content p{color:#C9D3DC;margin-bottom:16px;font-size:15px;}
.legal-page .legal-content ul,.legal-page .legal-content ol{margin:0 0 18px 22px;color:#C9D3DC;font-size:15px;}
.legal-page .legal-content li{margin-bottom:8px;}
.legal-page .legal-content strong{color:#F0EFE8;}
.legal-page .legal-content .note{
  background-color:#172230;border-left:4px solid #E07B5A;
  padding:16px 20px;color:#C9D3DC;margin:18px 0;
}
.legal-page .legal-content .addr{
  background-color:#172230;border:1px dashed #24405A;
  padding:18px 20px;color:#AFC3C9;margin:18px 0;font-size:15px;
}

/* ============ LEGAL FOOTER ============ */
.legal-page .legal-footer{
  background-color:#0B1016;
  border-top:1px solid #24405A;
  padding:30px 0;
  text-align:center;
}
.legal-page .footer-inner{max-width:860px;margin:0 auto;padding:0 24px;}
.legal-page .footer-link-row{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin-bottom:14px;}
.legal-page .footer-link-row a{
  font-family:'Trebuchet MS',Verdana,sans-serif;font-size:13px;
  letter-spacing:1px;text-transform:uppercase;color:#AFC3C9;
}
.legal-page .footer-link-row a:hover{color:#F0EFE8;}
.legal-page .legalline{color:#AFC3C9;font-size:13px;line-height:1.9;}

@media(max-width:600px){
  .legal-page .legal-title{font-size:28px;}
  .legal-page .legal-content section{padding-left:0;padding-right:0;}
}
