/* Facility Use Agreement styling
   Compatible with the same "legal-page" layout you used for Privacy/Terms. */

:root{
  --b9-green: #73b72b;
  --legal-text: #1b1f24;
  --legal-muted: #5a6470;
  --legal-border: rgba(0,0,0,.10);
  --legal-bg: #ffffff;

  /* callout accent for strict policy blocks */
  --legal-alert-bg: #fff4f4;
  --legal-alert-border: rgba(220, 38, 38, .25);
}

.legal-page.facility-agreement{
  color: var(--legal-text);
}

.legal-page.facility-agreement .container{
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.legal-page.facility-agreement .legal-header{
  text-align: center;
  margin-bottom: 18px;
}

.legal-page.facility-agreement .legal-header h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--b9-green);
}

.legal-page.facility-agreement .legal-subtitle{
  margin: 8px 0 0;
  color: var(--legal-muted);
  font-style: italic;
}

.legal-page.facility-agreement .legal-body{
  background: var(--legal-bg);
  border: 1px solid var(--legal-border);
  border-radius: 16px;
  padding: 26px 28px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

/* Typography */
.legal-page.facility-agreement .legal-body p,
.legal-page.facility-agreement .legal-body li{
  font-size: 16px;
  line-height: 1.75;
  color: var(--legal-text);
}

.legal-page.facility-agreement .legal-body p{
  margin: 0 0 14px;
  max-width: 78ch;
}

/* Headings */
.legal-page.facility-agreement .legal-body h2{
  margin: 22px 0 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.legal-page.facility-agreement .legal-body h2:first-of-type{
  border-top: none;
  padding-top: 0;
}

.legal-page.facility-agreement .legal-body h3{
  margin: 14px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

/* Lists */
.legal-page.facility-agreement .legal-body ul{
  margin: 10px 0 16px;
  padding-left: 22px;
}
.legal-page.facility-agreement .legal-body ul li{
  margin: 8px 0;
}
.legal-page.facility-agreement .legal-body ul li::marker{
  color: var(--b9-green);
}

.legal-page.facility-agreement .legal-ol{
  margin: 10px 0 16px;
  padding-left: 22px;
}
.legal-page.facility-agreement .legal-ol li{
  margin: 8px 0;
}
.legal-page.facility-agreement .legal-ol li::marker{
  color: var(--b9-green);
  font-weight: 800;
}

/* Standard callout (franchise-location clarification) */
.legal-page.facility-agreement .legal-callout{
  background: #f1f8e9;
  border: 1px solid rgba(115,183,43,.25);
  border-left: 4px solid var(--b9-green);
  border-radius: 12px;
  padding: 12px 14px;
  max-width: none;
}

/* Zero tolerance policy callout */
.legal-page.facility-agreement .legal-zero-tolerance{
  background: var(--legal-alert-bg);
  border: 1px solid var(--legal-alert-border);
  border-left: 4px solid #dc2626;
  margin: 14px 0 18px;
}

.legal-page.facility-agreement .legal-zero-tolerance h3{
  margin-top: 0;
  color: #991b1b;
}

.legal-page.facility-agreement .legal-zero-tolerance ul li::marker{
  color: #dc2626;
}

/* Links (if you add any later) */
.legal-page.facility-agreement .legal-body a{
  color: var(--b9-green);
  text-decoration: none;
  font-weight: 600;
}
.legal-page.facility-agreement .legal-body a:hover{
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 640px){
  .legal-page.facility-agreement .container{
    padding: 28px 14px 48px;
  }
  .legal-page.facility-agreement .legal-body{
    padding: 18px 16px 12px;
    border-radius: 14px;
  }
  .legal-page.facility-agreement .legal-body p,
  .legal-page.facility-agreement .legal-body li{
    font-size: 15px;
    line-height: 1.7;
  }
  .legal-page.facility-agreement .legal-body h2{
    font-size: 20px;
  }
}
/* OPTIONAL ADD-ON (only if you want the all-caps paragraphs in Section 25 styled nicely)
   Your no-alcohol CSS already has .legal-uppercase in the terms page, but not in the facility CSS.
   Add this to the shared legal CSS file if you want consistent styling. */

.legal-page.facility-agreement .legal-uppercase{
  background: #fbfbfc;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 12px 14px;
  max-width: none;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .02em;
  margin: 0 0 14px;
}

.legal-page.facility-agreement .legal-muted{
  color: var(--legal-muted);
}
