/* Ezekiel Taylor Legal Pages — accessible, self-contained styles */
@font-face{font-family:"ETL Archivo";src:url("fonts/archivo.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:"ETL Figtree";src:url("fonts/figtree.woff2") format("woff2");font-weight:300 900;font-display:swap}

.etlegal-root{
  --bg:#F2F0EC;--text:#0D0D0D;--muted:#55504A;--rule:#CFC9C0;
  --head-bg:#0D0D0D;--head-text:#FFFFFF;--head-muted:#BDB7B0;
  --accent:#DFB800;
  --display:"ETL Archivo","Arial Narrow","Helvetica Neue",Arial,sans-serif;
  --body:"ETL Figtree","Helvetica Neue",Helvetica,Arial,sans-serif;
  color-scheme:light dark;
}
.etlegal-root.etlegal-group{--bg:#F3EFE8;--text:#121615;--muted:#55524D;--rule:#D3CDC3;--head-bg:#121615;--head-text:#F3EFE8;--head-muted:#BAB5AD}
@media (prefers-color-scheme:dark){
  .etlegal-root{--bg:#161616;--text:#F2F0EC;--muted:#BDB7B0;--rule:#3A3734;--head-bg:#0D0D0D}
  .etlegal-root.etlegal-group{--bg:#181D1B;--text:#F3EFE8;--muted:#BAB5AD;--rule:#353B38;--head-bg:#121615}
}
.etlegal-root,.etlegal-root body{margin:0;padding:0;background:var(--bg)}
@media (prefers-reduced-motion:no-preference){.etlegal-root{scroll-behavior:smooth}}
.etlegal *,.etlegal *::before,.etlegal *::after{box-sizing:border-box}
body.etlegal{
  color:var(--text);font-family:var(--body);font-size:1.125rem;line-height:1.7;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-wrap:break-word;
}
.etlegal img{max-width:100%;height:auto}
.etlegal .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* links and focus */
.etlegal a{color:inherit;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.2em;text-decoration-color:currentColor}
.etlegal .lg-doc a{text-decoration-color:var(--accent);text-decoration-thickness:2px}
.etlegal a:hover{text-decoration-thickness:3px}
.etlegal :focus{outline:none}
.etlegal :focus-visible{outline:3px solid currentColor;outline-offset:3px;border-radius:2px}
.etlegal .lg-main:focus{outline:none}

/* skip link */
.etlegal .lg-skip{
  position:absolute;left:16px;top:-200px;z-index:1000;padding:12px 18px;border-radius:4px;
  background:var(--accent);color:#0D0D0D;font-weight:600;text-decoration:none;
}
.etlegal .lg-skip:focus,.etlegal .lg-skip:focus-visible{top:16px;outline:3px solid #0D0D0D;outline-offset:2px}

.etlegal .lg-wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem)}

/* header */
.etlegal .lg-header{background:var(--head-bg);color:var(--head-text)}
.etlegal .lg-header-in{display:flex;align-items:center;justify-content:space-between;gap:1rem 2rem;flex-wrap:wrap;padding-top:.75rem;padding-bottom:.75rem}
.etlegal .lg-brand{display:inline-flex;align-items:center;gap:.8rem;min-height:44px;text-decoration:none;color:var(--head-text)}
.etlegal .lg-brand img{display:block;width:58px;height:auto}
.etlegal .lg-monogram{font-family:var(--display);font-weight:800;font-size:1.375rem;letter-spacing:.02em;display:inline-flex;align-items:center}
.etlegal .lg-monogram i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin:0 3px;transform:translateY(5px)}
.etlegal .lg-brand-name{font-family:var(--display);font-weight:600;font-size:.8125rem;letter-spacing:.22em}
.etlegal .lg-nav ul,.etlegal .lg-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.25rem 1.5rem}
.etlegal .lg-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 .25rem;font-size:1rem;font-weight:500;color:var(--head-text);text-decoration:none;border-bottom:2px solid transparent}
.etlegal .lg-nav a:hover{border-bottom-color:currentColor}
.etlegal .lg-nav a[aria-current="page"]{border-bottom-color:var(--accent)}

/* hero */
.etlegal .lg-hero{padding:clamp(3rem,9vh,6rem) 0 clamp(2rem,5vh,3rem);border-bottom:1px solid var(--rule)}
.etlegal h1{
  margin:0;font-family:var(--display);font-weight:850;font-size:clamp(2.5rem,6.5vw,4.75rem);
  line-height:.95;letter-spacing:-.02em;font-variation-settings:"wdth" 78;
}
.etlegal .lg-meta{margin:1rem 0 0;color:var(--muted);font-size:1rem}

/* layout */
.etlegal .lg-layout{display:grid;grid-template-columns:1fr;gap:2.5rem;padding:clamp(2rem,5vh,3.5rem) 0 clamp(4rem,10vh,7rem)}
@media (min-width:960px){
  .etlegal .lg-layout{grid-template-columns:250px minmax(0,1fr);gap:4.5rem}
  .etlegal .lg-toc{position:sticky;top:2rem;align-self:start;max-height:calc(100vh - 4rem);overflow:auto}
}
.etlegal .lg-toc h2{margin:0 0 .75rem;font-family:var(--body);font-size:.875rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.etlegal .lg-toc ol{margin:0;padding:0;list-style:none;counter-reset:toc;border-left:2px solid var(--rule)}
.etlegal .lg-toc li{margin:0}
.etlegal .lg-toc a{display:block;padding:.4rem 0 .4rem 1rem;margin-left:-2px;border-left:2px solid transparent;font-size:.9375rem;line-height:1.4;text-decoration:none;color:var(--text)}
.etlegal .lg-toc a:hover{border-left-color:var(--accent);text-decoration:underline}

/* document */
.etlegal .lg-doc{max-width:68ch}
.etlegal .lg-intro p{font-size:1.25rem;line-height:1.6;margin-top:0}
.etlegal .lg-doc section{scroll-margin-top:1.5rem;padding-top:.5rem}
.etlegal .lg-doc h2{
  margin:2.75rem 0 .75rem;font-family:var(--display);font-weight:750;font-size:clamp(1.5rem,2.4vw,1.875rem);
  line-height:1.15;letter-spacing:-.01em;font-variation-settings:"wdth" 88;
}
.etlegal .lg-doc h3{margin:1.75rem 0 .5rem;font-family:var(--body);font-weight:600;font-size:1.125rem;line-height:1.35}
.etlegal .lg-doc p{margin:0 0 1.1rem}
.etlegal .lg-doc ul{margin:0 0 1.25rem;padding-left:1.4rem}
.etlegal .lg-doc li{margin:0 0 .5rem;padding-left:.25rem}
.etlegal .lg-doc li::marker{color:var(--muted)}
.etlegal .lg-doc strong{font-weight:600}
.etlegal .lg-top{margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--rule)}
.etlegal .lg-top a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}

/* footer */
.etlegal .lg-footer{background:var(--head-bg);color:var(--head-muted);font-size:.9375rem}
.etlegal .lg-footer-in{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem 2rem;padding-top:1.5rem;padding-bottom:1.5rem}
.etlegal .lg-footer p{margin:0}
.etlegal .lg-footer a{display:inline-flex;align-items:center;min-height:44px;color:var(--head-text);text-decoration-color:var(--head-muted)}

/* Windows high contrast */
@media (forced-colors:active){
  .etlegal .lg-nav a[aria-current="page"]{border-bottom-color:CanvasText}
  .etlegal .lg-monogram i{background:CanvasText}
}

/* print */
@media print{
  .etlegal .lg-header,.etlegal .lg-toc,.etlegal .lg-footer nav,.etlegal .lg-skip,.etlegal .lg-top{display:none!important}
  .etlegal-root,.etlegal-root body{background:#fff!important}
  body.etlegal{color:#000;font-size:11pt}
  .etlegal .lg-layout{display:block}
  .etlegal .lg-doc{max-width:none}
  .etlegal .lg-doc a[href^="http"]::after{content:" (" attr(href) ")";font-size:.85em}
}
