/* Native goal navigation and a readable, permanently available demo library. */
.demo-container { width:min(1152px,100%); margin-inline:auto; padding-inline:24px; }
.demo-header,.demo-hero,.demo-footer { background:#1a2744; color:#fff; }
.demo-header-inner { max-width:1152px; margin:auto; padding:16px 24px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 24px; }
.demo-brand { display:inline-flex; align-items:center; gap:10px; color:inherit; font-size:18px; font-weight:750; text-decoration:none; white-space:nowrap; }
.demo-brand-mark { width:32px; height:32px; display:grid; place-items:center; border-radius:7px; }
.demo-header-links { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; }
.demo-header-links a { display:inline-flex; align-items:center; gap:5px; min-height:44px; padding:10px 12px; border-radius:7px; color:#e3ebf5; font-size:14px; font-weight:600; text-decoration:none; }
.demo-header-links a:hover { background:#2e4164; color:#fff; }
.demo-header-links .demo-marketplace { background:#0b8043; color:#fff; }
.demo-header-links .demo-marketplace:hover { background:#086837; }
.demo-hero { padding:38px 0 36px; border-top:1px solid #33415b; }
.demo-eyebrow { margin:0 0 12px; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#9ce4bf; }
.demo-hero h1 { margin:0; max-width:850px; font-size:clamp(32px,4.6vw,48px); font-weight:800; line-height:1.13; letter-spacing:-.035em; }
.demo-intro { margin:16px 0 0; max-width:720px; font-size:18px; line-height:1.6; color:#e2eaf6; }
.demo-simulation-note { margin:10px 0 0; max-width:760px; font-size:13px; line-height:1.65; color:#bacbe1; }
.demo-goal-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-width:760px; margin-top:28px; scroll-margin-top:20px; }
.demo-goal-nav a { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:13px 14px; min-height:48px; border:1px solid #607493; border-radius:8px; color:#fff; text-decoration:none; font-size:14px; font-weight:650; background:#263856; }
.demo-goal-nav a:hover { background:#344d72; border-color:#a9c3e4; }
.demo-library-content { padding-block:32px 56px; }
.setup-path { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px 28px; padding:24px; background:#edf5ff; border:1px solid #c9d9ed; border-radius:14px; }
.setup-path > div:first-child { flex:1 1 400px; }
.setup-path h2 { margin:0 0 8px; font-size:19px; font-weight:750; line-height:1.35; color:#1a2744; }
.setup-path p { margin:0; font-size:14px; line-height:1.65; color:#435570; }
.setup-path-actions { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
.setup-path-actions a { display:inline-flex; align-items:center; min-height:44px; padding:10px 14px; border-radius:8px; font-size:14px; line-height:1.5; font-weight:650; color:#244e80; text-underline-offset:3px; }
.setup-path-actions a:first-child { background:#155bd0; color:#fff; text-decoration:none; }
.setup-path-actions a:first-child:hover { background:#1049ac; }
.demo-goal-section { margin-top:52px; scroll-margin-top:24px; }
.demo-group-heading { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:10px 24px; margin-bottom:20px; }
.demo-group-heading h2,.demo-resource-heading h2 { margin:0; color:#1a2744; font-size:28px; font-weight:750; line-height:1.25; letter-spacing:-.025em; }
.demo-group-heading p,.demo-resource-heading p { margin:9px 0 0; max-width:750px; font-size:14px; line-height:1.6; color:#566278; }
.demo-group-heading .demo-group-count { margin:0 0 7px; color:#0b7544; font-size:11px; font-weight:750; letter-spacing:.07em; text-transform:uppercase; }
.demo-back-to-goals { display:inline-flex; align-items:center; gap:7px; min-height:44px; color:#2c527e; font-size:13px; font-weight:600; text-underline-offset:3px; }
.demo-group-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
.demo-card { display:flex; flex-direction:column; min-width:0; padding:23px; border:1px solid #dbe2eb; border-radius:12px; color:#1a2744; background:#fff; text-decoration:none; box-shadow:0 2px 5px rgb(26 39 68 / 3%); transition:border-color .15s ease,box-shadow .15s ease; }
.demo-card:hover { border-color:#6dba93; box-shadow:0 5px 16px rgb(26 39 68 / 8%); }
.demo-card-meta { display:flex; flex-direction:column; align-items:flex-start; gap:7px; margin-bottom:15px; }
.demo-audience { display:inline-block; padding:4px 8px; border-radius:5px; background:#edf5f0; color:#246442; font-size:11px; font-weight:650; line-height:1.4; }
.demo-audience-admin { background:#eef1ff; color:#3e4b92; }
.demo-format { color:#68748a; font-size:11px; line-height:1.4; }
.demo-card h3 { margin:0 0 11px; font-size:19px; font-weight:750; line-height:1.3; letter-spacing:-.012em; }
.demo-card > p { flex:1; margin:0; font-size:14px; line-height:1.7; color:#566278; }
.demo-card-action { display:flex; align-items:center; gap:7px; margin-top:20px; font-size:13px; font-weight:700; color:#0b7544; }
.demo-resources { background:#fff; padding:48px 0; border-top:1px solid #e5eaf0; }
.demo-resource-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; margin-top:24px; }
.demo-resource-card { display:block; padding:22px; border:1px solid #e0e5ec; border-radius:10px; color:#1a2744; text-decoration:none; background:#f8fafc; }
.demo-resource-card:hover { border-color:#6dba93; }
.demo-resource-card > span { color:#0b7544; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.demo-resource-card h3 { margin:10px 0; font-size:18px; font-weight:700; line-height:1.35; }
.demo-resource-card p { margin:0; color:#566278; font-size:14px; line-height:1.65; }
.demo-footer { padding:30px 0; }
.demo-footer-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px 28px; }
.demo-footer nav { display:flex; flex-wrap:wrap; gap:4px 20px; }
.demo-footer nav a { display:inline-flex; align-items:center; min-height:44px; color:#d6e1ef; font-size:13px; text-decoration:none; }
.demo-footer nav a:hover { color:#fff; text-decoration:underline; }
.demo-footer p { margin:0; color:#abbdd5; font-size:12px; }
.demo-skip { position:absolute; top:8px; left:16px; transform:translateY(-200%); z-index:100; padding:12px 16px; background:#fff; border-radius:7px; color:#1a2744; font-weight:700; }
.demo-skip:focus { transform:translateY(0); }
.demo-header a:focus-visible,.demo-hero a:focus-visible,.demo-footer a:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.demo-library-content a:focus-visible,.demo-resources a:focus-visible,.demo-skip:focus-visible { outline:3px solid #155bd0; outline-offset:4px; }
@media(min-width:640px) {
  .demo-hero { padding:48px 0 42px; }
  .demo-goal-nav { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .demo-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(min-width:1000px) {
  .demo-report-grid,.demo-resource-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:399px) {
  .demo-container { padding-inline:20px; }
  .demo-header-inner { padding:14px 20px; }
  .demo-header-links { gap:0 4px; }
  .demo-header-links a { padding-inline:9px; font-size:13px; }
  .demo-goal-nav a { padding-inline:11px; font-size:13px; }
  .setup-path,.demo-card { padding:20px; }
  .demo-group-heading { gap:2px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .demo-card { transition:none; }
}
