/* ============================================================
   Elijah BJJ — legal pages (privacy policy, terms & conditions)
   Self-contained: literal palette values (#1e60b8/#000/#fff)
   ============================================================ */
.eb-legal{position:relative;background:#fff;color:#000;overflow:hidden;
  padding:clamp(96px,11vw,158px) 0 clamp(64px,7vw,104px);
  font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif}
.eb-legal *,.eb-legal *::before,.eb-legal *::after{box-sizing:border-box}
.eb-legal__word{position:absolute;right:-.04em;top:-.18em;z-index:0;pointer-events:none;user-select:none;
  font-family:'Anton',sans-serif;font-size:clamp(7rem,16vw,13rem);line-height:.8;text-transform:uppercase;
  color:transparent;-webkit-text-stroke:2px rgba(0,0,0,.045)}
.eb-legal__wrap{width:min(1220px,calc(100% - 40px));margin:0 auto;position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(0,270px) minmax(0,1fr);gap:clamp(32px,4vw,64px);
  align-items:start}

/* ---- meta strip above the two columns ---- */
.eb-legal__meta{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:10px 30px;align-items:center;
  padding:16px 20px;margin-bottom:clamp(30px,3.4vw,46px);
  background:#f5f6f8;border-left:5px solid #1e60b8;border-radius:0 6px 6px 0}
.eb-legal__metaitem{display:flex;flex-direction:column;gap:4px}
.eb-legal__metaitem b{font:700 .64rem/1 'Barlow Condensed',sans-serif;letter-spacing:.22em;
  text-transform:uppercase;color:#1e60b8}
.eb-legal__metaitem span{font-size:.92rem;font-weight:700;line-height:1.3;color:#000}

/* ---- sticky contents rail ---- */
.eb-legal__toc{position:sticky;top:calc(var(--hdr,76px) + 20px);align-self:start;
  padding:22px;background:#fff;border:1px solid #d8dde6;border-radius:10px;
  box-shadow:0 12px 30px rgba(0,0,0,.05)}
.eb-legal__toc h2{margin:0 0 16px;padding-bottom:12px;position:relative;
  font:700 .66rem/1 'Barlow Condensed',sans-serif;letter-spacing:.24em;
  text-transform:uppercase;color:#1e60b8}
.eb-legal__toc h2::after{content:"";position:absolute;left:0;bottom:0;width:26px;height:2px;background:#1e60b8}
.eb-legal__toc ol{list-style:none;margin:0;padding:0;display:grid;gap:2px;
  max-height:min(62vh,620px);overflow-y:auto}
.eb-legal__toc a{display:flex;gap:10px;padding:7px 0;font-size:.84rem;line-height:1.45;
  color:#5c6472;text-decoration:none;transition:color .18s ease}
.eb-legal__toc a::before{content:counter(list-item,decimal-leading-zero);
  font:700 .68rem/1.7 'Barlow Condensed',sans-serif;letter-spacing:.06em;color:#1e60b8;flex:none}
.eb-legal__toc li{counter-increment:list-item}
.eb-legal__toc a:hover{color:#1e60b8}

/* ---- the document body ---- */
.eb-legal__doc{min-width:0;font-size:1rem;line-height:1.78;color:#000}
.eb-legal__doc > p:first-of-type{font-size:1.06rem;line-height:1.75;color:#000;
  padding-left:20px;border-left:4px solid #1e60b8}
.eb-legal__doc p{margin:0 0 20px;max-width:72ch;color:#2a2f38}
.eb-legal__doc a{color:#1e60b8;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.eb-legal__doc a:hover{color:#000}
.eb-legal__doc strong{font-weight:800;color:#000}

.eb-legal__doc h2{scroll-margin-top:calc(var(--hdr,76px) + 26px);
  margin:clamp(40px,4vw,58px) 0 18px;padding-top:26px;border-top:2px solid #d8dde6;
  font-family:'Anton',sans-serif;font-weight:400;font-size:clamp(1.45rem,2.5vw,2rem);
  line-height:1.05;letter-spacing:-.01em;text-transform:uppercase;color:#000;
  display:flex;gap:14px;align-items:baseline}
.eb-legal__doc h2 b{font:400 clamp(1rem,1.5vw,1.2rem)/1 'Anton',sans-serif;color:#1e60b8;flex:none}
.eb-legal__doc h3{margin:32px 0 14px;font-family:'Barlow Condensed',sans-serif;font-weight:700;
  font-size:clamp(1.05rem,1.6vw,1.25rem);line-height:1.2;letter-spacing:.06em;
  text-transform:uppercase;color:#1e60b8}

.eb-legal__doc ul{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:11px}
.eb-legal__doc ul li{position:relative;padding-left:30px;max-width:72ch;color:#2a2f38;line-height:1.7}
.eb-legal__doc ul li::before{content:"";position:absolute;left:0;top:12px;width:14px;height:3px;background:#1e60b8}
.eb-legal__doc ul li strong{color:#000}

/* ---- highlighted block for the things people actually need to find ---- */
.eb-legal__note{margin:0 0 24px;padding:20px 22px;background:#eaf0fa;
  border:1px solid rgba(30,96,184,.28);border-radius:10px}
.eb-legal__note h3{margin-top:0}
.eb-legal__note > *:last-child{margin-bottom:0}

/* ---- contact block that closes each document ---- */
.eb-legal__contact{margin-top:26px;padding:26px;background:#000;color:#fff;border-radius:10px;
  border-left:6px solid #1e60b8}
.eb-legal__contact b.eb-legal__biz{display:block;font-family:'Anton',sans-serif;font-weight:400;
  font-size:clamp(1.15rem,1.9vw,1.45rem);line-height:1.15;text-transform:uppercase;color:#fff;margin-bottom:6px}
.eb-legal__contact p{color:rgba(255,255,255,.72);margin:0 0 14px}
.eb-legal__contact dl{margin:0;display:grid;gap:12px}
.eb-legal__contact dt{font:700 .64rem/1 'Barlow Condensed',sans-serif;letter-spacing:.22em;
  text-transform:uppercase;color:#1e60b8;margin-bottom:4px}
.eb-legal__contact dd{margin:0;font-size:.96rem;line-height:1.6;color:#fff}
.eb-legal__contact a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.eb-legal__contact a:hover{color:#1e60b8}

/* ---- cross link to the companion document ---- */
/* the generic `.eb-legal__doc a` rule outranks a single class, so scope this one
   to the doc as well — otherwise the label renders blue on a blue button */
.eb-legal__doc .eb-legal__also{display:inline-flex;align-items:center;gap:10px;margin-top:26px;min-height:52px;
  padding:0 24px;background:#1e60b8;color:#fff;border:2px solid #1e60b8;border-radius:4px;
  font:800 .78rem/1 'Manrope',sans-serif;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
  text-decoration:none;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
.eb-legal__doc .eb-legal__also:hover{background:#000;color:#fff;border-color:#000;transform:translateY(-2px)}
.eb-legal__doc .eb-legal__also .eb-arrow{display:inline-block;transition:transform .22s ease}
.eb-legal__doc .eb-legal__also:hover .eb-arrow{transform:translateX(5px)}

@media (max-width:980px){
  .eb-legal__wrap{grid-template-columns:1fr}
  .eb-legal__toc{position:static;max-height:none}
  .eb-legal__toc ol{grid-template-columns:1fr 1fr;gap:2px 22px;max-height:none;overflow:visible}
}
@media (max-width:680px){
  .eb-legal__wrap{width:calc(100% - 32px)}
  .eb-legal__toc ol{grid-template-columns:1fr}
  .eb-legal__toc a{min-height:44px;align-items:center}
  .eb-legal__meta{flex-direction:column;align-items:flex-start;gap:14px}
  .eb-legal__contact{padding:22px 20px}
}
@media (prefers-reduced-motion:reduce){
  .eb-legal__doc .eb-legal__also,.eb-legal__doc .eb-legal__also .eb-arrow{transition:none}
}
