:root{color-scheme:dark;--bg:#0c0c0e;--panel:#141416;--line:#29292e;--text:#faf9f8;--muted:#a7a4a5;--accent:#ff7542;--font:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font)}button,a,input,select,textarea{font:inherit}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{color:inherit;cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible+.upload{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}
.topbar{height:70px;border-bottom:1px solid #242427;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1360px)/2));gap:24px;background:#0e0e10}.brand,.top-actions,.topbar nav{display:flex;align-items:center}.brand{gap:8px;white-space:nowrap}.brand img{object-fit:contain;border-radius:8px}.brand strong{letter-spacing:-.08em;font-size:23px;font-weight:900}.brand strong span,.accent{color:var(--accent)}.brand small{font-size:9px;font-weight:750;color:var(--muted);letter-spacing:.15em;margin:3px 0 0 4px}.topbar nav{gap:32px;height:100%}.topbar nav a{font-size:13px;font-weight:620;color:var(--muted);height:100%;display:grid;place-items:center;border-bottom:2px solid transparent;white-space:nowrap}.topbar nav a.active,.topbar nav a:hover{color:var(--text)}.topbar nav a.active{border-color:var(--accent)}.top-actions{gap:12px}.balance,.avatar{background:#17171a;border:1px solid var(--line);border-radius:10px;white-space:nowrap}.balance{padding:8px 12px;font-size:13px}.balance span{color:var(--accent);padding-right:4px}.balance small{color:var(--muted)}.avatar{display:grid;place-items:center;width:35px;height:35px;font-size:12px;font-weight:800;background:#32211c;color:#ffaf8d;border-color:#4e3127}
main{max-width:1360px;margin:auto;padding:24px 28px 44px;min-height:calc(100vh - 135px)}.hero{position:relative;isolation:isolate;min-height:416px;overflow:hidden;display:flex;align-items:center;border:1px solid #4b3023;border-radius:20px;background:#57301f url('/dunes.webp') center 55%/cover no-repeat}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(15,10,10,.96) 2%,rgba(20,11,8,.84) 26%,rgba(35,17,10,.37) 61%,rgba(26,13,9,.04) 100%),linear-gradient(0deg,#160c0b85,transparent 40%)}.hero-copy{padding:38px 0 56px 56px;max-width:575px}.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:780;letter-spacing:.19em;color:#ffc6a9}.eyebrow i,.preview-top i{width:7px;height:7px;display:inline-block;background:var(--accent);border-radius:50%;box-shadow:0 0 13px #ff754289}.muted{color:#ad8980}.hero h1{font-size:clamp(59px,7.3vw,112px);font-weight:840;line-height:.86;margin:22px 0 19px;letter-spacing:-.091em}.hero h1 em{font-family:Georgia,serif;font-weight:500;color:#ff9868;letter-spacing:-.08em}.hero p{max-width:365px;color:#e1ceca;font-size:14px;line-height:1.6;margin:0 0 23px}.primary{border:1px solid #ff9a72;border-radius:9px;background:var(--accent);color:#160b07;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:800;padding:12px 17px;min-height:43px;transition:background .16s}.primary:hover{background:#ffa17e}.hero-index,.hero-tag{position:absolute;bottom:17px;font-size:9px;letter-spacing:.15em;color:#ead0c4;font-weight:650}.hero-index{left:56px}.hero-index span{color:#fff}.hero-index i{display:inline-block;width:24px;border-top:1px solid #ae8272;vertical-align:middle;margin:0 8px}.hero-tag{right:23px}.hero-tag b{color:var(--accent);padding:0 5px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:32px 0 16px}.section-head h2,.section-head h1{letter-spacing:-.06em;margin:5px 0 0;font-weight:810}.section-head h2{font-size:clamp(27px,4vw,42px)}.section-head.first{margin:19px 0 22px}.page-title{font-size:clamp(40px,5.5vw,68px)}.sub{color:var(--muted);margin:4px 0 0;font-size:14px}.text-link{font-weight:680;font-size:13px;white-space:nowrap;padding-bottom:5px}.text-link:hover,.text-link span{color:var(--accent)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.scene{isolation:isolate;position:relative;border:1px solid #303034;background:#212125;border-radius:12px;overflow:hidden;min-height:165px;aspect-ratio:2.15;text-align:left;padding:0;transition:border-color .18s}.scene:hover{border-color:var(--accent)}.scene img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .28s}.scene:hover img{transform:scale(1.05)}.scene:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#08070af2,transparent 76%)}.scene-no,.scene-arrow{position:absolute;display:grid;place-items:center;border:1px solid #ffffff34;background:#14121668;border-radius:7px}.scene-no{top:12px;left:12px;width:27px;height:24px;font-size:10px}.scene-arrow{right:12px;bottom:12px;width:33px;height:33px}.scene-content{position:absolute;left:14px;bottom:12px;display:grid;gap:4px}.scene-content small{font-size:9px;letter-spacing:.16em;color:#ffc7ac;font-weight:730}.scene-content strong{font-size:19px;letter-spacing:-.03em}
.workspace{display:grid;grid-template-columns:minmax(320px,400px) minmax(0,1fr);gap:18px}.panel{border:1px solid var(--line);border-radius:15px;background:var(--panel);overflow:hidden}.controls{padding:18px;display:grid;gap:14px}.panel-head{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding-bottom:12px}.panel-head small,.upload small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.tool-icon{border-radius:9px;background:#3a2119;color:#ff996e;width:35px;height:35px;display:grid;place-items:center}.controls label{display:grid;gap:6px;font-size:12px;font-weight:650}.controls select,.controls textarea,.controls output{width:100%;background:#0e0e10;border:1px solid #323239;border-radius:8px;padding:10px;color:var(--text);min-width:0}.controls output{min-height:39px}.controls textarea{resize:vertical;min-height:106px;line-height:1.45}.form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.controls .upload{display:flex;align-items:center;gap:10px;border:1px dashed #48404a;border-radius:8px;padding:10px;cursor:pointer}.upload:hover{border-color:var(--accent)}.upload>span:first-child{font-size:20px;color:var(--accent)}.reference-preview{width:80px;height:52px;object-fit:cover;border-radius:6px}.generate{justify-content:space-between;width:100%}.feedback{color:#ffba9e;font-size:12px;line-height:1.5;margin:0}.feedback:empty{display:none}.preview{display:grid;grid-template-rows:auto 1fr auto;min-height:450px;background:radial-gradient(ellipse at center,#241b1b,#101012 62%)}.preview-top,.preview-foot{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;font-size:10px;font-weight:700;letter-spacing:.13em;color:var(--muted);background:#131316}.preview-top{border-bottom:1px solid var(--line)}.preview-top i{margin-right:5px;width:5px;height:5px}.preview-foot{border-top:1px solid var(--line)}.preview-foot a{color:var(--accent)}.preview-body{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:18px;min-width:0}.preview-body video{max-width:100%;max-height:470px;border-radius:9px}.preview-body h3{margin:14px 0 3px;font-size:20px}.preview-body p{margin:0;color:var(--muted);font-size:13px}.viewfinder{width:80px;height:56px;position:relative;display:grid;place-items:center;color:#9d6656}.viewfinder b{font-size:22px}.viewfinder i{position:absolute;width:12px;height:12px;border:1px solid #6b4840}.viewfinder i:nth-child(1){left:0;top:0;border-right:0;border-bottom:0}.viewfinder i:nth-child(2){right:0;top:0;border-left:0;border-bottom:0}.viewfinder i:nth-child(3){left:0;bottom:0;border-right:0;border-top:0}.viewfinder i:nth-child(4){right:0;bottom:0;border-left:0;border-top:0}
.jobs{display:grid;gap:10px}.empty,.job{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px}.empty p,.job p{color:var(--muted);font-size:13px}.job{display:flex;align-items:center;justify-content:space-between;gap:16px}.job p{margin:5px 0;overflow-wrap:anywhere}.job button,.close{border:1px solid var(--line);background:#202024;border-radius:7px;padding:7px 11px}.job small{color:var(--accent);font-size:11px}.job strong{font-size:14px}.visually-hidden{position:absolute;width:1px;height:1px;opacity:0}.upload:focus-within,.controls:has(#reference:focus-visible) .upload{outline:2px solid var(--accent);outline-offset:2px}dialog{width:min(400px,calc(100% - 32px));border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);padding:23px}dialog::backdrop{background:#070708b8}dialog .close{float:right}dialog p{color:var(--muted);line-height:1.55}footer{max-width:1360px;margin:auto;border-top:1px solid var(--line);padding:17px 28px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.15em;color:var(--muted);font-weight:700}footer b{color:var(--accent)}
@media(max-width:760px){.topbar{padding:0 15px;gap:10px;height:61px}.brand strong{font-size:19px}.brand small,.balance small{display:none}.topbar nav{gap:12px}.topbar nav a{font-size:11px}.top-actions{gap:6px}.avatar{width:29px;height:29px}.balance{padding:6px 7px}main{padding:13px 14px 28px}.hero{min-height:372px;background-position:61% 50%}.hero-copy{padding:30px 18px 49px 23px}.hero-index{left:23px}.hero-tag{display:none}.hero h1{font-size:clamp(53px,12vw,85px)}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.scene{min-height:145px}.scene-content strong{font-size:15px}.scene-arrow{width:26px;height:26px;right:8px;bottom:10px}.workspace{grid-template-columns:1fr}.preview{min-height:325px}.section-head{gap:10px}footer{padding:15px}}
@media(max-width:420px){.topbar{flex-wrap:wrap;height:auto;padding:8px 13px 0;gap:0}.topbar nav{order:3;width:100%;height:35px;justify-content:space-around}.top-actions{margin-left:auto}.section-head h2{font-size:26px}.text-link{font-size:11px}.scene-content{left:9px}.scene-content strong{max-width:100px}.scene-no{left:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
.customer-panel{max-width:520px}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.customer-grid .customer-panel{max-width:none}.customer-panel h2,.customer-grid h2{font-size:19px;margin:0}.customer-panel p,.customer-grid p,.policies p{color:var(--muted);font-size:13px;line-height:1.55;margin:0}.customer-links{display:flex;gap:8px;flex-wrap:wrap}.customer-links a{font-size:12px;color:#ffac87}.controls input:not([type=checkbox]){display:block;width:100%;min-width:0;color:var(--text);background:#101013;border:1px solid #36363c;border-radius:8px;padding:9px}.controls input[type=checkbox]{justify-self:start;accent-color:var(--accent)}.secondary{border:1px solid #453730;border-radius:8px;background:#231c1a;padding:8px 11px;font-size:12px;color:#ffd6c5}.secondary:hover{border-color:var(--accent)}.account-row{display:grid;gap:6px;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-size:13px}.account-row small{color:var(--muted);line-height:1.4}.payment-qr{width:min(100%,230px);display:block;margin:12px 0;border-radius:8px;background:white}.inline-form,.customer-grid form{display:grid;gap:8px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.metrics .account-row{padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.metrics strong{font-size:20px}.policies{max-width:680px}.policies h2{margin:0;font-size:19px}.policies a{color:var(--accent)}
@media(max-width:760px){.customer-grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.job{flex-wrap:wrap}}
.preview-body>img{max-width:100%;max-height:470px;object-fit:contain;border-radius:9px}.preview-body>audio{width:min(100%,420px)}
.reference-field{min-width:0}.reference-add{width:100%;text-align:left;background:#181316;color:var(--text)}.reference-field>p{margin:8px 0;color:var(--muted);font-size:12px;line-height:1.4}.reference-list{display:grid;gap:6px;list-style:none;padding:0;margin:0}.reference-list li{display:flex;align-items:center;gap:7px;min-width:0;padding:6px;background:#101012;border:1px solid var(--line);border-radius:8px}.reference-list img{width:42px;height:42px;flex:none;border-radius:5px;object-fit:cover}.reference-list span{min-width:0;flex:1;overflow-wrap:anywhere;font-size:11px;color:var(--muted)}.reference-list button{flex:none;min-height:34px;padding:4px 6px;border:1px solid var(--line);border-radius:6px;background:#232023;font-size:11px}
.preview:has(.job-status:not([hidden])){grid-template-rows:auto auto 1fr auto}.job-status{padding:13px 15px;border-bottom:1px solid var(--line);background:#181416;min-width:0}.job-status>div{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:14px}.job-status>div span{color:#ffb394;font-size:12px}.job-status progress{display:block;width:100%;height:8px;margin:10px 0;appearance:none;border:0;border-radius:20px;background:#302424;accent-color:var(--accent)}.job-status progress::-webkit-progress-bar{background:#302424;border-radius:20px}.job-status progress::-webkit-progress-value{background:var(--accent);border-radius:20px}.job-status progress::-moz-progress-bar{background:var(--accent);border-radius:20px}.job-status progress:indeterminate{background:linear-gradient(100deg,#302424 30%,#ff7542 50%,#302424 70%);background-size:220% 100%;animation:job-progress 1.5s linear infinite}.job-status progress:indeterminate::-webkit-progress-bar{background:transparent}.job-status p,.job-status small{color:var(--muted);font-size:12px;line-height:1.45;overflow-wrap:anywhere}.job-status p{margin:5px 0}.job-status[data-status=failed] strong,.job-status[data-status=rejected] strong{color:#ff9b8d}.job-status[data-status=completed] strong{color:#9ee1af}@keyframes job-progress{to{background-position:-220% 0}}@media(prefers-reduced-motion:reduce){.job-status progress:indeterminate{animation:none}}
