:root{font-family:"Segoe UI",Arial,sans-serif;color:#f3f2ef;background:#202121;--accent:#e06f3d;--muted:#b5b7b5;--line:#434645}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}[hidden]{display:none!important}.playground{max-width:1280px;margin:auto;padding:42px 48px 72px}.home-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:76px}.wordmark{font-size:24px;font-weight:650;text-decoration:none}.wordmark span{color:var(--accent)}.location{font-size:14px;color:var(--muted)}h1{font-size:32px;font-weight:450;letter-spacing:-.5px;margin:0 0 38px}.demo-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.demo-card{position:relative;display:flex;flex-direction:column;min-height:460px;overflow:hidden;border:1px solid #666967;border-radius:26px;text-decoration:none;background:#292d2c;transition:border-color .2s,transform .2s}.demo-card:hover{border-color:#e5e6e2;transform:translateY(-4px)}.card-art{height:310px;position:relative;overflow:hidden}.card-caption{padding:24px 28px 30px;position:relative}.card-caption h2{font-size:25px;font-weight:450;line-height:1.2;margin:0 0 23px}.card-action{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#e9e9e4}.card-action>span{color:var(--accent);font-size:23px}.upcoming{color:#b5b7b5}.chords-card{background:#292c2d}.record{width:264px;height:264px;border-radius:50%;position:absolute;top:25px;left:50%;transform:translateX(-50%) rotate(-15deg);background:repeating-radial-gradient(circle,#181b1c 0 3px,#353a3b 4px,#171a1b 5px);border:1px solid #535957}.record-label{position:absolute;inset:85px;border-radius:50%;background:#c8653c}.record-label:after{content:"";position:absolute;inset:39px;background:#181b1c;border-radius:50%}.mini-chart{position:absolute;bottom:20px;left:24px;right:24px;display:grid;grid-template-columns:repeat(4,1fr);background:#ddddD5;color:#292d2c;border-radius:8px;overflow:hidden;transform:none}.mini-chart span{height:45px;border-right:1px solid #b6b9b0;border-bottom:1px solid #b6b9b0;padding:8px 10px;font-size:19px}.mini-chart span:first-child{background:var(--accent);color:#191d1b}.stems-card{background:#303531}.stem-art canvas{width:100%;height:100%;display:block}.similarity-card{background:#292c30}.disc{position:absolute;width:225px;height:225px;border-radius:50%;border:1px solid #969b9b;background:repeating-radial-gradient(circle,#33383c 0 4px,#4b5154 5px,#303638 6px)}.disc:after{content:"";position:absolute;inset:80px;border-radius:50%;background:#b5b5a7;border:22px solid #737d7e}.disc-one{left:15px;top:32px;transform:rotate(-20deg)}.disc-two{right:-35px;top:110px}.disc-two:after{background:#242828;border-color:#bc6844}.back-link{text-decoration:none;color:#d8d9d5;font-size:15px;display:inline-block;padding:12px 0}.back-link:hover{color:var(--accent)}.demo-layout{display:flex;min-height:100vh}.library{width:255px;flex-shrink:0;padding:28px 20px;background:#262827;height:100vh;position:sticky;top:0;overflow:auto}.library h2{font-size:21px;font-weight:500;margin:24px 0}.song{display:block;width:100%;text-align:start;border:0;border-radius:7px;padding:12px;color:#c7cac5;background:transparent;cursor:pointer;margin:3px 0}.song.active{background:#3a3e3a;color:#fff}.song small{display:block;color:#a9afa7;margin-top:5px;font-size:12px}.mixer-main{min-width:0;flex:1;padding:46px;max-width:1250px}.mixer-main h1{font-size:32px;margin:0 0 8px}.album{color:var(--muted);margin:0 0 30px}.mixer-transport{display:flex;align-items:center;gap:18px;position:sticky;top:0;background:#202121;padding:20px 0;z-index:2;border-bottom:1px solid var(--line)}.play{border:0;border-radius:50%;background:var(--accent);color:#211c18;width:48px;height:48px;cursor:pointer;font-size:20px;flex-shrink:0}#clock{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}.mixer-transport input{flex:1;min-width:40px;accent-color:var(--accent)}.tracks{margin-top:18px}.track{padding:26px 0;border-bottom:1px solid var(--line)}.track-head{display:flex;align-items:center;gap:18px;margin-bottom:20px}.track-head h2{font-size:17px;font-weight:500;margin:0;flex:1}.track-head input{width:145px;accent-color:var(--accent)}.track-head output{width:44px;font-size:13px;color:var(--muted);text-align:right}.mute{background:transparent;border:1px solid #666c67;border-radius:6px;padding:6px 12px;color:inherit;cursor:pointer}.mute[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.waveform{position:relative;height:84px;cursor:pointer;overflow:hidden}.waveform canvas{width:100%;height:100%;display:block}.playhead{position:absolute;top:0;bottom:0;width:1px;background:#f2f0e6;pointer-events:none}.status{font-size:14px;color:var(--muted);min-height:24px;margin-top:20px}.placeholder{max-width:1200px;margin:auto;padding:42px 48px}.placeholder h1{margin-top:100px}.placeholder p{color:var(--muted)}@media(max-width:950px){.playground{padding:30px}.demo-cards{gap:16px}.card-caption{padding:22px 20px}.card-caption h2{font-size:21px}.card-art{height:260px}.demo-card{min-height:410px}.mixer-main{padding:30px}.library{width:220px}}@media(max-width:700px){.home-header{margin-bottom:44px}.location{display:none}h1{font-size:27px}.demo-cards{grid-template-columns:1fr;max-width:420px;margin:auto}.card-art{height:290px}.demo-layout{display:block}.library{position:static;width:100%;height:auto;padding:18px}.library h2{margin:12px 0}#song-list{display:flex;overflow:auto;gap:8px}.song{min-width:180px;max-width:180px}.mixer-main{padding:22px}.mixer-transport{gap:10px;flex-wrap:wrap}.track-head{gap:10px}.track-head input{width:100px}.mixer-main h1{font-size:26px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Selection page: geometric type, warm light, and softened card footers. */
.home{background:#191c1b;isolation:isolate;min-height:100vh}
.home .playground{position:relative;z-index:1;padding-top:32px}
.home .home-header{margin-bottom:40px}
.home .wordmark{display:inline-flex}
.home .wordmark img{display:block;width:120px;height:120px;object-fit:contain}
.home .playground-title,.home .card-caption{font-family:"Century Gothic","Avenir Next",Avenir,"Segoe UI",sans-serif}
.home .playground-title{font-size:clamp(34px,4.5vw,62px);font-weight:300;letter-spacing:-2px;line-height:1.12;margin-bottom:48px;color:#f0eeea}
.home .playground-title span{color:#dda184}
.home .demo-card{background:#262c29;border-color:#747974;box-shadow:0 14px 36px #0002;isolation:isolate;transition:border-color .25s,transform .25s,box-shadow .25s}
.home .demo-card:after{content:"";position:absolute;z-index:0;inset:0;background:linear-gradient(180deg,transparent 35%,#29292308 48%,#302a2318 62%,#352b2540 82%,#3c2e275c 100%);pointer-events:none}
.home .demo-card:hover{border-color:#d4b5a5;box-shadow:0 18px 42px #0004;transform:translateY(-4px)}
.home .card-art{z-index:auto;flex-shrink:0}
.home .similarity-art{overflow:visible}
.home .similarity-card .disc-two{top:100px}
.home .card-caption{z-index:1;flex:1;margin-top:0;padding:24px 28px 30px;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.home .card-caption h2{font-weight:400;letter-spacing:-.85px;font-size:27px;line-height:1.22}
.home .card-action{font-family:"Segoe UI",sans-serif;font-size:13px;color:#d4d7d1}
.home .pointer-halo{position:fixed;left:0;top:0;width:0;height:0;z-index:0;pointer-events:none;opacity:0;transition:opacity .6s}
.home .pointer-halo:before{content:"";position:absolute;width:740px;height:740px;left:-370px;top:-370px;background:radial-gradient(circle,#e06f3d20, #e06f3d09 42%,transparent 70%)}
.home .pointer-halo.visible{opacity:1}
@media(max-width:700px){.home .wordmark img{width:96px;height:96px}.home .home-header{margin-bottom:32px}.home .playground-title{letter-spacing:-1.2px;margin-bottom:34px}.home .playground-title span{display:block}.home .card-caption h2{font-size:26px}}
@media(prefers-reduced-motion:reduce),(pointer:coarse){.home .pointer-halo{display:none}}

/* Compact, neutral scroll rails across demo pages and their libraries. */
:root{scrollbar-color:#626861 #202121;scrollbar-width:thin}
.library,#song-list{scrollbar-width:thin;scrollbar-color:#575e57 transparent;scrollbar-gutter:stable}
.library:hover,#song-list:hover{scrollbar-color:#8b9388 transparent}
::-webkit-scrollbar{width:7px;height:7px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:#575e57;border:2px solid transparent;background-clip:padding-box;border-radius:10px}
::-webkit-scrollbar-thumb:hover{background-color:#8b9388}
.play{position:relative;display:inline-flex;align-items:center;justify-content:center;color:#fff!important;font-size:0!important;flex-shrink:0}
.play::before{content:"";width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:12px solid #fff;margin-left:3px}
.play[aria-label="Pause"]::before{width:12px;height:16px;border-top:0;border-bottom:0;border-left:4px solid #fff;border-right:4px solid #fff;margin-left:0}
/* Stem mixer: fixed track controls and one aligned timeline. */
.stems-demo .mixer-main{max-width:none;padding:32px 0 0;--controls-width:225px}
.stems-demo .mixer-main>h1,.stems-demo .album{margin-left:28px;margin-right:28px}
.stems-demo .album{margin-bottom:14px}
.stems-demo .mixer-transport{padding:16px 28px;border-top:1px solid #333735;z-index:3}
.stems-demo .timeline{position:relative;isolation:isolate}
.stems-demo .timeline-header,.stems-demo .track{display:grid;grid-template-columns:var(--controls-width) minmax(0,1fr)}
.stems-demo .timeline-header{height:38px;background:#262827;border-bottom:1px solid #434645;color:#a3aaa3;font-size:11px;font-variant-numeric:tabular-nums}
.stems-demo .timeline-header>span{padding:12px 20px;border-right:1px solid #434645}
.stems-demo .ruler{position:relative;overflow:hidden;cursor:pointer}
.stems-demo .ruler>span{position:absolute;top:0;bottom:0;padding:11px 0 0 7px;border-left:1px solid #4b514b;white-space:nowrap}
.stems-demo .tracks{margin:0}
.stems-demo .track{padding:0;border-bottom:1px solid #3a403a;height:132px}
.stems-demo .track-head{display:flex;flex-direction:column;justify-content:center;gap:20px;padding:22px 20px;margin:0;background:#262827;border-right:1px solid #434645;min-width:0}
.stems-demo .track-label,.stems-demo .track-controls{display:flex;align-items:center;width:100%;gap:8px}
.stems-demo .track-buttons{display:flex;align-items:center;gap:8px;flex-shrink:0}
.stems-demo .track-head h2{font-size:15px;font-weight:500}
.stems-demo .track-label{position:relative}
.stems-demo .track-head output.slider-value{position:absolute;left:50%;bottom:calc(100% + 7px);z-index:4;transform:translateX(-50%) translateY(3px);padding:4px 7px;border:1px solid #515951;border-radius:5px;background:#1f2421;color:#edf1eb;font-size:11px;line-height:1;opacity:0;pointer-events:none;white-space:nowrap;transition:opacity .12s,transform .12s}
.stems-demo .track-head output.slider-value.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}
.stems-demo .track-head input{flex:1;width:0;min-width:0;margin:0 8px 0 0;height:18px;accent-color:var(--accent);appearance:none;background:linear-gradient(to right,var(--accent) 0 var(--level,80%),#4b534d var(--level,80%) 100%) center / 100% 4px no-repeat;border:0;outline:0}
.stems-demo .track-head input::-webkit-slider-runnable-track{height:4px;border:0;border-radius:999px;background:transparent}
.stems-demo .track-head input::-webkit-slider-thumb{appearance:none;width:22px;height:8px;margin-top:-2px;border:0;border-radius:999px;background:var(--accent);cursor:grab}
.stems-demo .track-head input:active::-webkit-slider-thumb{cursor:grabbing}
.stems-demo .track-head input::-moz-range-track{height:4px;border:0;border-radius:999px;background:#4b534d}
.stems-demo .track-head input::-moz-range-progress{height:4px;border:0;border-radius:999px;background:var(--accent)}
.stems-demo .track-head input::-moz-range-thumb{width:22px;height:8px;border:0;border-radius:999px;background:var(--accent);cursor:grab}
.stems-demo .mute,.stems-demo .solo{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;padding:0;border:1px solid #4a514b;background:#303630;color:#b7bfb7;border-radius:4px;font-size:11px;font-weight:600;cursor:pointer}
.stems-demo .mute[aria-pressed=true],.stems-demo .solo[aria-pressed=true]{color:#fff;background:#a64e28;border-color:var(--accent)}
.stems-demo .waveform{height:100%;background-color:#242b27;background-image:linear-gradient(to right,#ffffff09 1px,transparent 1px);background-size:var(--tick-width) 100%}
.stems-demo .waveform canvas{padding:18px 0;transition:opacity .15s}
.stems-demo .is-silent .waveform canvas{opacity:.3}
.stems-demo .playhead-lane{position:absolute;top:0;bottom:0;left:var(--controls-width);right:0;pointer-events:none;overflow:hidden;z-index:4}
.stems-demo .playhead{position:absolute;width:20px;margin-left:-10px;background:transparent;box-shadow:none;pointer-events:auto;cursor:grab;touch-action:none}
.stems-demo .playhead:after{content:"";position:absolute;top:0;bottom:0;left:9px;width:2px;background:#f0e9df;box-shadow:0 0 0 1px #0002}
.stems-demo .playhead:before{content:"";position:absolute;top:0;left:6px;z-index:1;border-left:4px solid transparent;border-right:4px solid transparent;border-top:7px solid #f0e9df}
.stems-demo .playhead:active{cursor:grabbing}
.stems-demo .status{margin:16px 28px}
@media(min-width:1700px){.stems-demo .track{height:158px}}
@media(max-width:1000px){.stems-demo .library{width:205px}.stems-demo .mixer-main{--controls-width:180px}.stems-demo .track-head{padding:18px 14px}}
@media(max-width:700px){.stems-demo .library{width:100%}.stems-demo .mixer-main{--controls-width:145px;padding-top:24px}.stems-demo .track{height:116px}.stems-demo .track-head{padding:14px 10px;gap:17px}.stems-demo .track-controls{gap:5px}.stems-demo .track-head input{margin-right:2px}.stems-demo .mixer-main>h1,.stems-demo .album{margin-left:18px;margin-right:18px}.stems-demo .mixer-transport{padding:14px 18px}}
/* Compact transport and a scrollable arrangement with pinned track headers. */
.stems-demo .mixer-main{padding-top:0}
.stems-demo .mixer-transport{min-height:106px;justify-content:space-between;gap:20px;padding:18px 26px;background:#1c201e}
.now-song{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.cover-placeholder{width:64px;height:64px;flex-shrink:0;position:relative;display:grid;place-items:center;background:#303632;border-radius:5px;color:#b6beb8;font-size:23px;overflow:hidden}
.cover-placeholder img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.song-meta{min-width:0;max-width:380px}.stems-demo .song-meta h1{font-size:16px;letter-spacing:0;margin:0 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stems-demo .song-meta .album{margin:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.transport-cluster{position:absolute;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:7px;flex-shrink:0}.transport-actions{display:flex;align-items:center;gap:18px}.transport-button{border:0;background:transparent;color:#dae0db;width:30px;height:30px;padding:5px;cursor:pointer;border-radius:4px;display:inline-grid;place-items:center}.transport-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.transport-button .filled{fill:currentColor;stroke:none}.transport-button[aria-pressed=true]{color:var(--accent);background:#e06f3d18}.stems-demo .transport-actions .play{background:transparent;width:34px;height:34px}.stems-demo #clock{font-size:12px;color:#9da99f}.stems-demo .song{display:flex;gap:10px;align-items:center}.stems-demo .song img{width:38px;height:38px;object-fit:cover;border-radius:4px}.library-song-meta{min-width:0}
.timeline-scroll{overflow-x:auto;position:relative}.stems-demo .timeline{min-width:100%}.stems-demo .track-head,.stems-demo .timeline-header>span{position:sticky;left:0;z-index:2;background:#262827}.stems-demo .playhead-lane{z-index:1}.library-toggle,.library-close{display:none}.library-backdrop{display:none}
@media(max-width:1100px){.transport-actions{gap:10px}.stems-demo .mixer-transport{padding:16px}.cover-placeholder{width:52px;height:52px}.song-meta{max-width:230px}}
@media(max-width:700px){.stems-demo .mixer-main{padding:0;--controls-width:145px}.stems-demo .library{position:fixed;left:0;top:0;bottom:0;width:min(310px,85vw);height:100dvh;z-index:20;transform:translateX(-100%);transition:transform .2s;visibility:hidden}.stems-demo.library-open .library{transform:translateX(0);visibility:visible}.stems-demo #song-list{display:block;overflow:visible}.stems-demo .song{max-width:none;min-width:0}.library-toggle,.library-close{display:inline-grid}.library-close{position:absolute;right:12px;top:20px;font-size:26px}.library-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#0009;border:0;z-index:19}.stems-demo .mixer-transport{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;padding:14px 16px}.now-song{gap:11px}.song-meta{max-width:none}.transport-cluster{position:static;transform:none;grid-column:1/-1;justify-self:center}.transport-actions{gap:26px}.stems-demo .track-controls{flex-wrap:wrap;row-gap:7px}.stems-demo .track-controls>input{flex-basis:100%;width:100%;order:0;margin-right:0}.stems-demo .track-buttons{order:1;width:100%;justify-content:flex-end;gap:5px}.stems-demo .timeline{min-width:1045px}.stems-demo .timeline-header>span{border-right:1px solid #434645}.stems-demo .track-head{box-shadow:5px 0 10px #0002}.stems-demo .timeline-scroll{width:100%}}
/* Waveform placeholders stay visible until all four audio buffers are ready. */
.stems-demo .wave-skeleton{position:absolute;inset:18px 0;display:flex;align-items:center;gap:3px;overflow:hidden;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s .3s}
.stems-demo .wave-skeleton i{flex:1;min-width:2px;border-radius:2px;background:#a4ada026}
.stems-demo .wave-skeleton::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,#e08b6218 50%,transparent 80%);transform:translateX(-100%)}
.stems-demo .is-loading .wave-skeleton{opacity:1;visibility:visible;transition:none}
.stems-demo .is-loading .wave-skeleton::after{animation:wave-loading 1.8s ease-in-out infinite}
.stems-demo .timeline .waveform canvas{transition:opacity .3s ease}
.stems-demo .timeline.is-loading .waveform canvas{opacity:0}
.stems-demo .timeline .playhead-lane{transition:opacity .3s ease}
.stems-demo .timeline.is-loading .playhead-lane{opacity:0;visibility:hidden}
.stems-demo .status.loading-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes wave-loading{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.stems-demo .is-loading .wave-skeleton::after{animation:none}}
