/* ============================================================================
   Privacy and Terms — the two pages a school district actually reads.
   No photograph, no closing band and no second call to action: a reader who
   opens one of these pages is checking a specific thing, and the only job of
   the design is to get them to it. The index at the left is the brand's own
   numbered sequence from the Educators steps, lit on the clause being read.
   The rules between clauses are structural, not decorative: they are what a
   reader scanning twelve numbered clauses uses to find the edges.
   ========================================================================== */

/* ---- short dark header, and no picture on a page of clauses ---- */
.lhero{position:relative;overflow:hidden;background:var(--void);
  padding:clamp(150px,12vw,186px) 0 clamp(50px,4.6vw,76px)}
.lhero .stars{opacity:.46;z-index:1}
.lhero__in{position:relative;z-index:3}
.lhero h1{margin:0;max-width:15ch}
.lhero__sub{max-width:600px;margin:clamp(20px,1.8vw,28px) 0 0;color:rgba(224,225,221,.86)}
.lhero__meta{position:relative;z-index:3;margin-top:clamp(34px,3.4vw,54px);
  padding-top:clamp(20px,2vw,30px);border-top:1px solid rgba(224,225,221,.16);
  display:flex;flex-wrap:wrap;gap:14px 52px;align-items:baseline}
.lhero__meta div{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}
.lhero__meta b{font-family:'SG';font-weight:400;font-size:14px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--cyan)}
.lhero__meta span{font-size:16px;color:rgba(224,225,221,.78)}

/* ---- the body ---- */
.legal{background:var(--white);color:var(--ink);
  padding:clamp(60px,5.6vw,100px) 0 clamp(80px,8vw,140px)}
.legal .wrap{max-width:1230px}
.legal__g{display:grid;grid-template-columns:minmax(0,254px) minmax(0,1fr);
  gap:clamp(40px,6vw,118px);align-items:start}

/* ---- the index: the live clause is lit, the rest are quiet ---- */
.lndx{position:sticky;top:130px}
.lndx h2{font-family:'SG';font-weight:500;font-size:14px;line-height:1.6;letter-spacing:.22em;
  text-transform:uppercase;color:#5A6377;margin:0 0 20px}
.lndx ol{list-style:none;margin:0;padding:0;counter-reset:ln}
.lndx li{counter-increment:ln}
.lndx a{display:grid;grid-template-columns:30px minmax(0,1fr);gap:11px;align-items:baseline;
  padding:8px 0;font-size:15.5px;line-height:1.38;color:#6B7488;
  transition:color .25s}
.lndx a::before{content:counter(ln,decimal-leading-zero);font-family:'SG';font-weight:400;
  font-size:13px;letter-spacing:.12em;color:#6B7488;transition:color .25s}
.lndx a:hover,.lndx a.on{color:var(--ink)}
.lndx a:hover::before,.lndx a.on::before{color:var(--violet)}

/* ---- a clause ---- */
.lsec{display:grid;grid-template-columns:64px minmax(0,1fr);gap:0 clamp(16px,2vw,30px);
  scroll-margin-top:122px;
  padding-bottom:clamp(38px,3.8vw,60px);margin-bottom:clamp(38px,3.8vw,60px);
  border-bottom:1px solid #E3E5EC}
.lsec:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}
.lsec__n{font-family:'SG';font-weight:400;font-size:15px;letter-spacing:.14em;
  color:var(--violet);margin:0;padding-top:8px}
.lsec h3{grid-column:2;font-family:'SG';font-weight:400;font-size:clamp(21px,1.6vw,28px);
  line-height:1.12;letter-spacing:-.018em;color:var(--ink);margin:0 0 18px;max-width:24ch}
.lsec__b{grid-column:2}
.lsec__b p{margin:0 0 15px;color:#404A63;max-width:62ch;font-size:clamp(16px,1.05vw,17.5px)}
.lsec__b p:last-child{margin-bottom:0}
.lsec__b ul{margin:0 0 15px;padding-left:21px;max-width:62ch}
.lsec__b li{margin-bottom:9px;color:#404A63;font-size:clamp(16px,1.05vw,17.5px)}
.lsec__b li:last-child{margin-bottom:0}
.lsec__b a{color:var(--violet);border-bottom:1px solid rgba(127,0,255,.3);
  transition:border-color .3s}
.lsec__b a:hover{border-bottom-color:var(--violet)}

/* ---- a term and its explanation: the pattern his sections 2 and 5 need.
       The term is set in the display face so a reader scanning for one field
       finds it without reading the paragraph around it. ---- */
.lsec__b .def{list-style:none;margin:0 0 15px;padding:0;max-width:62ch}
.lsec__b .def li{margin-bottom:15px;color:#404A63;font-size:clamp(16px,1.05vw,17.5px)}
.lsec__b .def li:last-child{margin-bottom:0}
.lsec__b .def b{display:block;font-family:'SG';font-weight:400;font-size:17.5px;
  letter-spacing:-.008em;color:var(--ink);margin-bottom:5px}

@media (max-width:1200px){
  .legal__g{grid-template-columns:1fr;gap:clamp(44px,5vw,64px)}
  .lndx{position:static;padding-bottom:clamp(8px,1vw,16px);
    border-bottom:1px solid #E3E5EC}
  .lndx ol{columns:2;column-gap:34px}
  .lhero h1{max-width:none}
}
@media (max-width:640px){
  .lndx ol{columns:1}
  .lsec{grid-template-columns:1fr;gap:0}
  .lsec__n{margin-bottom:6px;padding-top:0}
  .lsec h3{grid-column:1}
  .lsec__b{grid-column:1}
}
