@font-face{font-family:"CREACOM Plex";src:url("../../assets/fonts/IBM_Plex_Sans/IBMPlexSans-VariableFont_wdth,wght.ttf") format("truetype");font-style:normal;font-weight:100 700;font-display:swap}
@font-face{font-family:"CREACOM Space";src:url("../../assets/fonts/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");font-style:normal;font-weight:300 700;font-display:swap}
@font-face{font-family:"CREACOM Mono";src:url("../../assets/fonts/IBM_Plex_Mono/IBMPlexMono-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}

:root{--demo-bottom-height:98px}
body{font-family:"CREACOM Plex","DM Sans",sans-serif}
.demo-top{position:fixed;top:auto;right:0;bottom:0;left:0;z-index:1000;min-height:var(--demo-bottom-height);padding:30px 22px 10px;border-top:1px solid rgba(23,25,35,.12);border-bottom:0;background:rgba(255,255,255,.97);color:#171923;box-shadow:0 -8px 28px rgba(23,25,35,.08);backdrop-filter:blur(16px)}
.demo-ribbon{position:absolute;top:0;right:0;left:0;display:flex;height:22px;align-items:center;justify-content:space-between;gap:12px;padding:0 22px;background:linear-gradient(100deg,#172249 0%,#2c407d 48%,#5159ad 78%,#6658ac 100%);color:rgba(242,246,255,.82);font-family:"CREACOM Mono",monospace;font-size:8px;letter-spacing:.1em;line-height:1;white-space:nowrap}
.demo-ribbon-path,.demo-ribbon-state{display:flex;align-items:center;gap:8px}
.demo-ribbon-path strong{color:#fff;font-weight:500}
.demo-ribbon-path>span:not(.demo-ribbon-indicator){opacity:.58}
.demo-ribbon-indicator{width:6px;height:6px;flex:0 0 auto;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:#76dbb2;box-shadow:0 0 9px rgba(118,219,178,.65)}
.demo-ribbon-state{color:#fff;font-size:7px}
.demo-top>:not(.demo-ribbon){position:relative;z-index:1}
.demo-brand{gap:0}
.demo-brand-wordmark{display:flex;flex-direction:column;gap:3px}
.demo-brand-logo{display:block;width:154px;height:auto;max-height:27px;object-fit:contain;object-position:left center}
.demo-brand-caption{display:block;font-family:"CREACOM Mono",monospace;font-size:8px;font-weight:500;letter-spacing:.13em;color:#6b7080}
.demo-top-actions{gap:8px}
.demo-top .sound-btn,.demo-top .back-btn{font-family:"CREACOM Plex","DM Sans",sans-serif;font-size:11px;font-weight:500;color:#303545;transition:border-color .18s,background .18s,transform .18s}
.demo-top .sound-btn:hover,.demo-top .back-btn:hover{transform:translateY(-1px);border-color:#aab8ee;background:#f7f8ff}
.demo-top .sound-btn:focus-visible,.demo-top .back-btn:focus-visible{outline:3px solid rgba(53,95,209,.35);outline-offset:2px}
.demo-top .timer-pill{font-family:"CREACOM Plex","DM Sans",sans-serif}
.demo-top .timer-pill strong{font-family:"CREACOM Mono",monospace}
.demo-modal-backdrop{z-index:1100}
.toast{bottom:calc(var(--demo-bottom-height) + 14px);z-index:1050}

@media(max-width:850px){
  :root{--demo-bottom-height:104px}
  .demo-top{padding:27px 14px 8px}
  .demo-ribbon{height:20px;padding:0 14px;font-size:7px}
  .demo-ribbon-state{font-size:6px}
  .demo-brand-caption{font-size:7px}
}

@media(max-width:560px){
  :root{--demo-bottom-height:132px}
  .demo-top{flex-direction:column;justify-content:center;gap:5px;padding:24px 10px 8px}
  .demo-ribbon{height:20px;padding:0 11px}
  .demo-ribbon-path{gap:6px;font-size:7px}
  .demo-ribbon-state{display:none}
  .demo-brand-logo{width:132px;max-height:23px}
  .demo-top-actions{justify-content:center;gap:5px}
  .demo-top .sound-btn,.demo-top .back-btn,.demo-top .timer-pill{padding:7px 9px;font-size:10px}
  .toast{right:12px;bottom:calc(var(--demo-bottom-height) + 12px);left:12px;text-align:center}
}

@media(prefers-reduced-motion:reduce){
  .demo-top .sound-btn,.demo-top .back-btn{transition:none}
}
