/* Shared shell for /glossary and its term pages.
   One cached stylesheet rather than ~2KB inlined into every term page — the
   cluster is 13 pages, and the portal extraction on 2026-08-30 established the
   pattern. Dark-only, matching the legal pages: this shell has no theme toggle,
   so the visual snapshots for these pages are darkOnly. */

*{box-sizing:border-box}
body{margin:0;background:#0F1117;color:#E4E2DD;font-family:'Barlow',sans-serif;line-height:1.65}

.site-header{height:72px;padding:0 max(24px,calc((100vw - 1184px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2A3045}
.brand{color:#E4E2DD;text-decoration:none;font-family:'Barlow Condensed',sans-serif;font-size:20px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.brand span{color:#F59E0B}
.header-links{display:flex;gap:20px}
.header-links a{color:#C8C4BE;text-decoration:none;font-family:'Barlow Condensed',sans-serif;font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:14px}
.header-links a:hover{color:#F59E0B}

.doc{max-width:760px;margin:0 auto;padding:56px 24px 96px}
.crumb{font-family:'Barlow Condensed',sans-serif;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8B8A87;margin:0 0 14px}
.crumb a{color:#F59E0B;text-decoration:none}
.crumb a:hover{text-decoration:underline}

.doc h1{font-family:'Barlow Condensed',sans-serif;font-size:clamp(34px,5.5vw,52px);font-weight:800;letter-spacing:.01em;margin:0 0 18px;text-transform:uppercase;line-height:1.08}
.doc h2{font-family:'Barlow Condensed',sans-serif;font-size:25px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;margin:44px 0 12px;padding-top:20px;border-top:1px solid #2A3045}
.doc h3{font-family:'Barlow Condensed',sans-serif;font-size:19px;font-weight:700;letter-spacing:.04em;margin:28px 0 8px;color:#F59E0B}
.doc p{color:#C8C4BE;font-size:17px;margin:0 0 16px}
.doc ul,.doc ol{color:#C8C4BE;font-size:17px;margin:0 0 18px;padding-left:22px}
.doc li{margin-bottom:9px}
.doc a{color:#F59E0B}
.doc strong{color:#E4E2DD}
.doc code{font-family:'JetBrains Mono',monospace;font-size:14px;background:#171B26;border:1px solid #2A3045;border-radius:3px;padding:1px 5px;color:#E4E2DD}

/* The definition itself: first thing after the H1, self-contained, and the
   passage an answer engine is most likely to lift. */
.definition{border-left:3px solid #F59E0B;background:#171B26;padding:18px 20px;margin:0 0 28px;border-radius:0 8px 8px 0}
.definition p{font-size:18px;color:#E4E2DD;margin:0}
.definition p+p{margin-top:12px;color:#C8C4BE;font-size:17px}

.doc table{width:100%;border-collapse:collapse;margin:0 0 20px;font-size:15px;display:block;overflow-x:auto}
.doc th,.doc td{border:1px solid #2A3045;padding:9px 11px;text-align:left;color:#C8C4BE;vertical-align:top}
.doc th{background:#171B26;color:#E4E2DD;font-family:'Barlow Condensed',sans-serif;letter-spacing:.06em;text-transform:uppercase;font-size:12px;white-space:nowrap}

.related{border-top:1px solid #2A3045;margin-top:48px;padding-top:24px}
.related h2{border:0;padding:0;margin:0 0 12px;font-size:19px}
.related ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
.related li{margin:0}
.related a{display:inline-block;border:1px solid #2A3045;background:#171B26;border-radius:6px;padding:7px 13px;font-size:14px;text-decoration:none;color:#C8C4BE}
.related a:hover{border-color:#F59E0B;color:#F59E0B}

/* Hub index */
.terms{list-style:none;padding:0;margin:0}
.terms li{border-top:1px solid #2A3045;padding:20px 0}
.terms li:last-child{border-bottom:1px solid #2A3045}
.terms a{font-family:'Barlow Condensed',sans-serif;font-size:23px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;text-decoration:none;color:#E4E2DD}
.terms a:hover{color:#F59E0B}
.terms p{margin:6px 0 0;font-size:16px;color:#C8C4BE}

.site-footer{border-top:1px solid #2A3045;padding:28px max(24px,calc((100vw - 1184px)/2));display:flex;flex-wrap:wrap;gap:18px;font-size:13px;color:#8B8A87}
.site-footer a{color:#C8C4BE;text-decoration:none}
.site-footer a:hover{color:#F59E0B}

@media(max-width:600px){
  .site-header{height:60px}
  .header-links{display:none}
  .doc{padding:36px 20px 64px}
  .doc p,.doc ul,.doc ol{font-size:16px}
}
