/* legal.css — shared legal stylesheet for Advanced Oxygen Therapy Inc.
   Single-column centered legal shape with strong contrast and opaque
   surfaces. Loaded ONLY by legal pages together with legal BODY defaults. */

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-size:16px;
  background:#1B2733;
  color:#F4F1E4;
  font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  line-height:1.8;
  overflow-x:hidden;
}
a{color:#E8B79B}

::selection{background:#C44B3D;color:#F4F1E4}

/* Scope isolation: never inherit scene styling from the main stylesheet.
   This rule makes legal sections fully self-contained regardless of any
   other sheet that might load on the same host. */
.legal-page .legal-content section{
  background:transparent !important;
}
.legal-page .legal-content section *{
  background:transparent;
}

/* Opaque, strong-contrast header. */
.legal-header{
  background:#10161C;
  color:#F4F1E4;
  padding:34px 0;
  border-bottom:3px solid #C44B3D;
}
.legal-header-inner{
  max-width:740px;
  margin:0 auto;
  padding:0 24px;
}
.legal-eyebrow{
  color:#C44B3D;
  letter-spacing:.3em;
  font-size:.8rem;
  margin-bottom:10px;
}
.legal-header h1{
  color:#F4F1E4;
  font-size:2.1rem;
  letter-spacing:.01em;
  line-height:1.15;
}
.legal-tagline{
  color:#7E8B96;
  margin-top:12px;
  font-size:1.05rem;
}

/* Single centered content column. Any max-width container below keeps its
   own margin and padded gutters. */
.legal-wrap{
  max-width:780px;
  margin:0 auto;
  padding:0 24px;
}
.legal-content{
  padding:34px 0 10px;
}
.legal-lede{
  color:#F4F1E4;
  font-size:1.02rem;
  margin-bottom:8px;
}

/* Table of contents */
.legal-toc{
  margin:26px 0 12px;
  padding:20px 22px;
  background:#263340;
  border-left:5px solid #C44B3D;
}
.legal-toc h2{
  color:#F4F1E4;
  font-size:1.2rem;
  margin-bottom:8px;
}
.toc-list{
  padding-left:22px;
  color:#F4F1E4;
}
.legal-toc a{
  color:#F4F1E4;
  text-decoration:none;
}
.legal-toc a:hover{color:#E8B79B;text-decoration:underline}

/* Content sections */
.legal-content section{
  max-width:780px;
  margin:0 auto;
  padding:26px 24px 4px;
}
.legal-content h2{
  color:#C44B3D;
  font-size:1.55rem;
  margin-bottom:14px;
  padding-bottom:6px;
  border-bottom:1px solid #7E8B96;
  line-height:1.3;
}
.legal-content p{
  color:#F4F1E4;
  margin-bottom:16px;
}
.legal-content a{
  text-decoration:underline;
}
.legal-content a:hover{
  color:#E8B79B;
}
.legal-content ul,
.legal-content ol{
  margin:0 0 16px 26px;
  color:#F4F1E4;
}
.legal-effective{
  margin:28px 0 10px;
  padding-top:16px;
  border-top:1px solid #7E8B96;
  color:#7E8B96;
  font-size:.92rem;
}

/* Opaque footer with a link back to the homepage. */
.legal-footer{
  background:#10161C;
  color:#F4F1E4;
  text-align:center;
  padding:26px 24px;
  border-top:4px solid #C44B3D;
}
.legal-footer p{
  color:#F4F1E4;
  margin-bottom:6px;
}
.legal-footer a{
  color:#E8B79B;
  text-decoration:none;
}
.legal-footer a:hover{
  text-decoration:underline;
}
.legal-footer nav a{
  display:inline-block;
  margin-top:8px;
  color:#E8B79B;
  text-decoration:none;
  font-weight:700;
}

body.legal-page{
  background:#1B2733;
  color:#F4F1E4;
}
