.demo-shell{width:min(1040px,100vw - 32px);margin:0 auto;padding:48px 0 96px}.demo-header{padding:24px 0 28px}.demo-eyebrow{color:var(--accent);letter-spacing:.18em;text-transform:uppercase;margin:0 0 12px;font-size:.8rem;font-weight:700}.demo-title{letter-spacing:-.04em;margin:0;font-size:clamp(2.4rem,6vw,4rem);line-height:1}.demo-subtitle{max-width:42rem;color:var(--muted);margin:20px 0 0;font-size:clamp(1rem,2vw,1.15rem);line-height:1.6}.demo-tabs{border-bottom:1px solid var(--line);gap:8px;margin:36px 0 0;padding:0;display:flex}.demo-tab{color:var(--muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:12px 24px;font-family:inherit;font-size:.95rem;font-weight:600;transition:color .2s,border-color .2s}.demo-tab:hover{color:var(--text)}.demo-tab.active{color:var(--accent);border-bottom-color:var(--accent)}.demo-content{padding:32px 0}.section-label{color:var(--accent);letter-spacing:.16em;text-transform:uppercase;margin:0 0 8px;font-size:.75rem;font-weight:700}.section-desc{max-width:38rem;color:var(--muted);margin:0 0 24px;line-height:1.6}.motion-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;display:grid}.motion-card{border:1px solid var(--line);background:var(--card);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--shadow);border-radius:24px;padding:24px}.motion-card h3{margin:0 0 8px;font-size:1.1rem}.motion-card p{color:var(--muted);margin:0 0 16px;font-size:.9rem;line-height:1.5}.drag-arena{background:#1f1c170f;border-radius:16px;height:120px;position:relative;overflow:hidden}.drag-blob{background:linear-gradient(135deg, var(--accent), #c8924a);cursor:grab;border-radius:50%;width:56px;height:56px}.layout-list{flex-direction:column;gap:8px;margin:0 0 16px;padding:0;list-style:none;display:flex}.layout-list li{color:var(--muted);background:#fff9;border-radius:12px;padding:10px 16px;font-size:.9rem}.layout-controls{gap:8px;display:flex}.layout-controls button{border:1px solid var(--line);color:var(--text);cursor:pointer;background:#fff9;border-radius:10px;padding:8px 16px;font-family:inherit;font-size:.85rem;transition:background .2s}.layout-controls button:hover{background:#ffffffe6}.layout-controls button:disabled{opacity:.4;cursor:not-allowed}.stagger-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stagger-item{aspect-ratio:1;background:linear-gradient(135deg, var(--accent), #526542);border-radius:12px}.rive-placeholder{border:1px solid var(--line);background:var(--card);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--shadow);border-radius:24px;padding:32px}.rive-status{background:#5265421f;border-radius:14px;margin-bottom:24px;padding:16px 20px}.rive-status p{color:var(--text);margin:0;font-size:.95rem}.rive-instructions h4{margin:0 0 12px;font-size:1rem}.rive-instructions ol{color:var(--muted);padding-left:20px;font-size:.9rem;line-height:1.8}.rive-instructions code{background:#1f1c1714;border-radius:4px;padding:2px 6px;font-size:.85rem}.rive-instructions a{color:var(--accent)}@media (max-width:720px){.motion-grid{grid-template-columns:1fr}.stagger-grid{grid-template-columns:repeat(2,1fr)}}
