.demo-page {
  --demo-ink: #202421;
  --demo-muted: #535e54;
  --demo-rule: #c5cdbd;
  --demo-card: #fff;
  --demo-lime: #cdff21;
  padding: clamp(34px, 6vw, 75px) 0 clamp(45px, 8vw, 100px);
  color: var(--demo-ink);
  background: #eef1e8;
}
.demo-page, .demo-page button, .demo-page input, .demo-page textarea {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}
.demo-page [hidden] { display: none !important; }
.demo-page a { color: inherit; }
.demo-page a:focus-visible,.demo-page button:focus-visible,
.demo-page input:focus-visible,.demo-page textarea:focus-visible,.demo-page summary:focus-visible {
  outline: 3px solid #516500; outline-offset: 3px;
}
.demo-back { display:inline-block; font-size:.88rem; text-underline-offset:.2em; margin-bottom:22px; }
.demo-mast,.demo-panel-head,.demo-foot { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.demo-mast h1,.demo-panel h2,.demo-card h3,.demo-public h3 { color:var(--demo-ink); margin:0; }
.demo-mast h1,.demo-panel h2 { font-family:"Signal Condensed", Impact, "Arial Narrow", sans-serif; font-weight:400; letter-spacing:-.018em; }
.demo-mast h1 { font-size:clamp(3.2rem,6.1vw,6.4rem); line-height:1.07; }
.demo-kicker,.demo-public-label { color:var(--demo-muted); font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; font-weight:750; margin:0 0 7px; }
.demo-badge { color:#192000; background:var(--demo-lime); border:1px solid #899b49; display:inline-block; font-weight:700; font-size:.83rem; padding:6px 11px; }
.demo-intro { font-size:clamp(1.02rem,1.6vw,1.25rem); margin:13px 0 28px; max-width:64ch; }
.demo-nav { border-top:1px solid var(--demo-rule); border-bottom:1px solid var(--demo-rule); display:flex; gap:0; flex-wrap:wrap; padding:7px 0; }
.demo-nav a,.demo-ranges a { display:inline-flex; align-items:center; justify-content:center; color:var(--demo-ink); font-size:.94rem; font-weight:650; text-decoration:none; min-height:42px; padding:8px 17px; }
.demo-nav a[aria-current],.demo-ranges a[aria-current] { color:#fff; background:var(--demo-ink); }
.demo-nav a:hover,.demo-ranges a:hover { text-decoration:underline; text-underline-offset:.2em; }
.demo-panel { padding:27px 0 0; max-width:1050px; }
.demo-panel h2 { font-size:clamp(2.2rem,3.4vw,3.5rem); line-height:1.14; margin-bottom:17px; }
.demo-panel h2:focus { outline:none; }
.demo-panel-head { align-items:flex-start; margin-bottom:16px; }
.demo-panel-head h2 { margin-bottom:6px; }
.demo-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.demo-card { color:var(--demo-ink); background:var(--demo-card); padding:clamp(18px,3vw,34px); border:1px solid var(--demo-rule); }
.demo-card h3 { font:700 clamp(1.22rem,2.1vw,1.65rem)/1.25 "Inter","Segoe UI",Arial,sans-serif; overflow-wrap:anywhere; }
.demo-stat { display:block; font:550 clamp(3.1rem,6.4vw,5.5rem)/1.05 "Inter","Segoe UI",Arial,sans-serif; font-variant-numeric:tabular-nums; letter-spacing:-.06em; }
.demo-date,.demo-sub,.demo-explanation { color:var(--demo-muted); font-size:1rem; line-height:1.5; }
.demo-date { margin:8px 0 20px; }
.demo-sub { margin:0; }
.demo-explanation { margin:16px 0 0; }
.demo-link,.demo-foot a { font-weight:700; text-underline-offset:.25em; }
.demo-ranges { display:flex; border:1px solid var(--demo-rule); background:#fff; }
.demo-trend { margin-bottom:14px; }
.demo-bars { display:block; width:100%; height:112px; border-bottom:1px solid #939e87; }
.demo-bars rect { fill:#658b12; }
.demo-axis { display:flex; justify-content:space-between; margin:5px 0 16px; color:var(--demo-muted); font-size:.8rem; font-variant-numeric:tabular-nums; }
.demo-card details { border-top:1px solid var(--demo-rule); }
.demo-card summary { display:list-item; padding:11px 0; font-weight:650; text-decoration:underline; text-underline-offset:.22em; cursor:pointer; }
.demo-table { width:100%; border-collapse:collapse; margin:13px 0 0; color:var(--demo-ink); font-size:.95rem; background:transparent; }
.demo-table th,.demo-table td { border:0; border-bottom:1px solid var(--demo-rule); color:var(--demo-ink); text-align:left; background:transparent; padding:8px 0; }
.demo-table th[scope="row"] { font-weight:450; }
.demo-table th:last-child,.demo-table td:last-child { text-align:right; font-variant-numeric:tabular-nums; }
.demo-editor { max-width:720px; }
.demo-editor form { display:grid; gap:8px; }
.demo-editor label { color:var(--demo-ink); font-weight:650; }
.demo-editor input:not([type="checkbox"]),.demo-editor textarea {
  border:1px solid #909d87; padding:11px 12px; border-radius:0; background:#fff; color:var(--demo-ink); width:100%; font-size:1rem;
}
.demo-editor textarea { resize:vertical; min-height:85px; }
.demo-editor label:not(:first-child) { margin-top:12px; }
.demo-check { display:flex; align-items:center; gap:10px; }
.demo-check input { width:20px; height:20px; accent-color:#324513; }
.demo-buttons { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:16px 0 8px; }
.demo-buttons button { display:inline-flex; justify-content:center; align-items:center; font-size:.98rem; font-weight:700; padding:10px 17px; min-height:44px; border-radius:0; cursor:pointer; }
.demo-primary { background:var(--demo-ink); border:1px solid var(--demo-ink); color:#fff; }
.demo-secondary { background:transparent; color:var(--demo-ink); border:1px solid var(--demo-rule); }
.demo-public { margin-top:15px; background:#fff; border:1px solid var(--demo-rule); }
.demo-public-label { border-bottom:1px solid var(--demo-rule); padding:10px 20px; margin:0; }
.demo-public article,.demo-public>[data-demo-hidden-message] { padding:clamp(22px,5vw,46px); overflow-wrap:anywhere; margin:0; }
.demo-public h3 { font:650 clamp(1.8rem,4vw,3.8rem)/1.15 "Inter","Segoe UI",Arial,sans-serif; letter-spacing:-.035em; }
.demo-public article p:last-child { margin:12px 0 0; }
.demo-message { color:var(--demo-ink); font-size:.95rem; margin:16px 0; }
.demo-message:empty { margin:0; }
.demo-foot { margin-top:28px; padding:19px 0 0; border-top:1px solid var(--demo-rule); align-items:flex-start; }
.demo-foot p { max-width:50ch; margin:0; }
.demo-foot div { display:flex; gap:18px; flex-wrap:wrap; }
@media (max-width:650px) {
  .demo-columns { grid-template-columns:1fr; }
  .demo-nav a { flex:1 1 44%; }
  .demo-mast { gap:8px; }
  .demo-intro { margin-bottom:18px; }
  .demo-panel { padding-top:19px; }
  .demo-buttons button { flex:1 1 auto; }
}
