/* Shared explainer for the public demos. Neutral light styling that sits above each demo's own UI.
   <section class="demo-intro" aria-label="About this demo">
     <span class="demo-badge">Demo · Fictional sample data</span>
     <h1 class="demo-title">…</h1>
     <p class="demo-question"><strong>Answers:</strong> …</p>
     <p class="demo-try"><strong>Try this:</strong> …</p>
     <details class="demo-defs"><summary>What the numbers mean</summary><dl>…</dl></details>
   </section> */
.demo-intro{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:#f6f8fb;border-bottom:1px solid #dde3ec;padding:14px 20px;color:#1d2533;line-height:1.45}
.demo-intro *{box-sizing:border-box}
/* Back link for visitors who open a demo in its own tab; hidden when the demo is framed on the Work page */
.demo-home{float:right;margin-left:12px;font-size:13px;font-weight:600;color:#1f4fa3;text-decoration:none}
.demo-home:hover{text-decoration:underline}
.demo-home:focus-visible{outline:2px solid #1f4fa3;outline-offset:2px;border-radius:3px}
.is-framed .demo-home{display:none}
.demo-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:#fff4d6;border:1px solid #f0d58a;color:#6b4e00;font-size:12px;font-weight:600;letter-spacing:.02em}
.demo-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:#d9a400}
.demo-title{margin:8px 0 4px;font-size:18px;font-weight:700;color:#111827}
.demo-question,.demo-try{margin:2px 0;font-size:14px;color:#374151;max-width:900px}
.demo-question strong,.demo-try strong{color:#111827}
.demo-defs{margin-top:6px;font-size:13px;color:#374151;max-width:900px}
.demo-defs summary{cursor:pointer;font-weight:600;color:#1f4fa3}
.demo-defs summary:focus-visible{outline:2px solid #1f4fa3;outline-offset:2px;border-radius:3px}
.demo-defs dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;margin:8px 0 2px}
.demo-defs dt{font-weight:600;color:#111827}
.demo-defs dd{margin:0}
@media (max-width:600px){.demo-defs dl{grid-template-columns:1fr}.demo-defs dd{margin-bottom:6px}}
