/* Shared frame for demonstration projects; the designs keep their own styles. */
.demo-banner { display: block; position: relative; z-index: 101; margin: 0; padding: 20px clamp(20px, 4vw, 72px); color: #f7f4ed; background: #29332d; border-bottom: 2px solid #c96f4a; font: 14px/1.6 "Instrument Sans", system-ui, sans-serif; text-align: left; }
.demo-banner .demo-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; width: 100%; max-width: none; margin: auto; }
.demo-banner .demo-banner-inner > div:first-child { flex: 1 1 450px; min-width: 0; }
.demo-banner h2 { color: #fffdf8; font: 700 20px/1.3 "Instrument Sans", system-ui, sans-serif; letter-spacing: normal; margin: 6px 0; text-transform: none; }
.demo-banner p { max-width: 80ch; color: #d8e2d9; font: 14px/1.6 "Instrument Sans", system-ui, sans-serif; margin: 0; }
.demo-banner .demo-badge { display: inline; font: 700 11px/1.5 "Instrument Sans", system-ui, sans-serif; color: #f0c2ac; text-transform: uppercase; letter-spacing: .1em; }
.demo-banner .demo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.demo-banner .demo-actions a { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; min-height: 44px; color: #fffdf8; background: transparent; border: 1px solid #aebcb1; border-radius: 0; font: 600 13px/1.5 "Instrument Sans", system-ui, sans-serif; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.demo-banner .demo-actions a:hover { color: #202522; background: #fffdf8; border-color: #fffdf8; transform: translateY(-2px); }
.demo-banner .demo-actions a:last-child { color: #fffaf2; background: #a94f32; border-color: #a94f32; }
.demo-banner .demo-actions a:last-child:hover { color: #fffaf2; background: #8f402a; border-color: #8f402a; }
.demo-banner a:focus-visible { outline: 3px solid #f0c2ac; outline-offset: 3px; }
.demo-preview a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
@media (max-width: 600px) { .demo-banner { padding: 16px; } .demo-banner .demo-actions { width: 100%; } .demo-banner .demo-actions a { flex: 1 1 150px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.demo-preview .hero > * { min-width: 0; }
.demo-preview .hero svg { max-width: 100%; height: auto; }
@media (max-width: 480px) {
 .demo-preview .hero h1 { font-size: clamp(28px, 8.5vw, 40px); overflow-wrap: anywhere; }
 .demo-preview .hero .hero-promises { grid-template-columns: 1fr; }
}
