*{box-sizing:border-box}:root{color-scheme:dark;--bg:#081320;--card:#132637;--line:#315069;--text:#eff9fd;--muted:#acc7d5;--accent:#8edaff}
html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at top,#1a4058,#07111f 60%);color:var(--text);font:15px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}
header{background:#0a1726e8;border-bottom:1px solid #27445a}nav{max-width:1120px;margin:auto;min-height:70px;padding:10px 20px;display:flex;justify-content:space-between;align-items:center}
a{color:#bbebff}.brand{font-size:14px;font-weight:850;letter-spacing:.08em;text-decoration:none;display:flex;align-items:center;gap:9px;color:#fff}.brandmark{width:34px;height:34px;display:grid;place-items:center;border:1px solid #73cbe8;border-radius:8px;color:#8edaff}
.navhome{font-size:13px;text-decoration:none}main{max-width:1120px;margin:0 auto;padding:20px}
.intro{padding:45px 0 26px}.eyebrow{font-size:11px;letter-spacing:.18em;color:#8cdbf9;font-weight:800}
h1{font-size:clamp(39px,6vw,65px);line-height:1.08;letter-spacing:-.045em;margin:12px 0}h1 em{font-style:normal;color:#f398c2}.intro p{max-width:640px;color:#bad1dd;font-size:16px}
.studio{background:linear-gradient(145deg,#142c40,#0c1c2b);border:1px solid #355775;border-radius:18px;padding:21px;box-shadow:0 30px 70px #0003}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:14px}
.toolbar h2{font-size:24px;margin:0}.toolbar p{font-size:12px;color:var(--muted);margin:0}.live{font-size:10px;background:#194e55;border-radius:10px;padding:3px 8px;color:#b1f4d6}
.toolactions{display:flex;gap:8px;flex-wrap:wrap}
button,select{font:inherit}
button{min-height:43px;border:1px solid #4b6e83;color:#f3fbff;border-radius:9px;background:#183449;padding:9px 15px;font-weight:750;cursor:pointer}
button.primary{background:var(--accent);color:#072036;border-color:var(--accent)}
button:hover{filter:brightness(1.15)}button:disabled{opacity:.55;cursor:wait}
button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #e990bb;outline-offset:3px}
.controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:19px 0}
.controls label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700}
.controls select{min-height:42px;background:#0e2030;border:1px solid #47657a;color:#ecf7fc;padding:9px;border-radius:7px;min-width:0}
.controls input[type=range]{width:100%;accent-color:var(--accent);cursor:pointer}.metric{font-weight:550;color:#99cee7}
.patterns{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:2px 0 16px}
.patterns span{color:#b4ccd8;font-size:12px;font-weight:750;margin-right:6px}
.patterns button[aria-pressed=true]{background:#77c8e8;border-color:#77c8e8;color:#07192a}
button.secondary{background:transparent;border-color:#46677c;color:#d3e9f3}
.step-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;background:#071626;border:1px solid #315269;border-radius:12px;padding:11px;scrollbar-width:thin}
.grid-title,.step-row{display:grid;grid-template-columns:94px repeat(16,39px);gap:5px;align-items:center;width:max-content}
.grid-title{margin-bottom:8px;color:#82afc4;font-size:10px;text-align:center}
.grid-title span:first-child{text-align:left}
.step-row{margin:7px 0}
.lane-name{font-size:13px;font-weight:750;color:#eaf4f9}
.step{width:39px;height:38px;border:1px solid #365468;background:#14283a;border-radius:7px;padding:0;font-size:11px;color:#8daebc;touch-action:manipulation}
.step:nth-child(5),.step:nth-child(9),.step:nth-child(13),.step:nth-child(17){border-left:2px solid #5b89a3}
.step[aria-pressed=true]{background:#87d8f5;color:#061b2a;border-color:#a9ebff;box-shadow:0 0 12px #67c7e745;font-weight:850}
.step.playhead{outline:2px solid #f5a6c9;outline-offset:1px}
.bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.bottom p{margin:0;color:#bdd5e1;font-size:13px;max-width:720px}
.under{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0}
.under article{padding:24px;background:#112435;border:1px solid #2c4b60;border-radius:15px}
.under h3{font-size:18px;margin:0 0 7px}.under p,footer p{font-size:13px;color:#abc3d0;margin:0}
footer{border-top:1px solid #2c475b;padding:25px 0 40px;font-size:12px;color:#afccda}footer p{margin-top:12px}
@media(max-width:850px){.controls{grid-template-columns:repeat(2,minmax(0,1fr))}.under{grid-template-columns:1fr}}
@media(max-width:550px){main{padding:13px}.intro{padding:25px 0 20px}.studio{padding:12px}.toolactions{width:100%}.toolactions button{flex:1}.controls{gap:12px}.grid-title,.step-row{grid-template-columns:73px repeat(16,39px)}.step-scroll{padding:7px}.bottom button{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}