:root{color-scheme:dark;--bg:#14151b;--surface:#20212a;--text:#f9f5ef;--dim:#bdb8c4;--line:#353542;--lime:#e2f890;--lilac:#c4b6f4;--pad:clamp(20px,5vw,76px);font:16px/1.55 Inter,system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a.button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--lime);outline-offset:3px}[hidden]{display:none!important}
.top{display:flex;justify-content:space-between;align-items:center;padding:18px var(--pad);border-bottom:1px solid var(--line);gap:18px}.brand{display:flex;align-items:center;gap:12px;font-weight:750}.brand-mark{background:var(--lime);color:#191a12;border-radius:11px;padding:4px 10px;font-size:20px}.top nav,.actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.top nav>a:first-child{color:var(--dim);margin-right:12px}
.hero,.section,footer{max-width:1360px;margin:auto;padding-inline:var(--pad)}.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(30px,7vw,110px);align-items:center;padding-block:64px 74px}.hero-copy{max-width:680px}.eyebrow{color:var(--lime);font-size:.875rem;letter-spacing:.13em;font-weight:750;margin:0 0 16px}h1,h2,h3,p,figure{margin-top:0}h1{font-family:Georgia,serif;font-size:clamp(44px,5.6vw,76px);line-height:1.02;letter-spacing:-.055em;font-weight:400;margin-bottom:28px}h1 em{color:var(--lilac);font-weight:400}h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em;font-size:clamp(33px,5vw,58px);line-height:1.05;margin-bottom:20px}.intro,.guide{color:var(--dim);max-width:600px;font-size:1.15rem}.button{display:inline-flex;justify-content:center;align-items:center;border:1px solid transparent;border-radius:12px;padding:10px 16px;min-height:44px;font-weight:680;white-space:normal;text-align:center}.primary{background:var(--lime);color:#1a1e0d}.outline{background:transparent;border-color:var(--line);color:var(--text)}.outline:hover{border-color:var(--lilac)}.hero-film{margin:0;max-width:430px}.poster{border:0;background:#28222b;width:100%;padding:0;position:relative;display:block;overflow:hidden;border-radius:25px;aspect-ratio:4/4.5}.poster img{width:100%;height:100%;object-fit:cover;object-position:50% 68%;display:block}.play{position:absolute;left:50%;top:50%;translate:-50% -50%;background:#191520eb;color:#fff;border-radius:50%;width:59px;height:59px;display:grid;place-items:center;box-shadow:0 2px 20px #0007}.hero-film figcaption{display:flex;justify-content:space-between;gap:12px;margin-top:13px;color:var(--dim);font-size:.82rem;letter-spacing:.06em}
.section{padding-block:55px;border-top:1px solid var(--line);scroll-margin-top:20px}.team{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:32px}.member,.output,.stage-panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:19px}.member h3{font-size:1.12rem;margin-bottom:8px}.member p,.stage-panel p{color:var(--dim);margin:0}.role-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#3a324a;color:var(--lilac);font-size:1.3rem;margin-bottom:15px}.member:nth-child(even) .role-mark{background:#373d2b;color:var(--lime)}
#brief-form{max-width:850px;margin:24px 0}.split{display:grid;grid-template-columns:2fr 1fr;gap:14px}label{display:grid;gap:6px;font-weight:650;margin-bottom:16px}input,textarea,select{border:1px solid var(--line);border-radius:10px;background:#1e2029;color:var(--text);padding:11px 13px;width:100%;font-weight:400}textarea{resize:vertical}#workspace{margin-top:34px;max-width:1000px}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.workspace-head h3{margin:0;font-size:1.4rem}.steps{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.steps .selected{background:#3a324a;border-color:var(--lilac)}.stage-panel .actions{margin-top:14px}.output{margin-top:12px}.output h4{margin:0 0 8px;color:var(--lilac)}.output pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:0 0 15px}.output textarea{min-height:260px}.scene-list{display:grid;gap:9px}.scene-list div{border:1px solid var(--line);padding:12px;border-radius:10px}.scene-list strong{display:block;color:var(--lime)}#status{color:var(--lime);min-height:1.6em;margin:10px 0}
footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;padding-block:22px;color:var(--dim)}dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:12px;max-height:95svh}dialog::backdrop{background:#08090cdd}dialog video{height:min(73svh,740px);width:auto;max-width:100%;display:block;margin:auto}dialog form{display:flex;justify-content:flex-end;margin-bottom:8px}
@media(max-width:810px){.hero{grid-template-columns:1fr 0.72fr;gap:24px;padding-block:48px}.team{grid-template-columns:repeat(2,1fr)}h1{font-size:clamp(36px,6vw,48px)}}@media(max-width:590px){.hero{grid-template-columns:1fr;padding-block:42px;gap:30px}.hero-film{width:min(100%,365px)}.top nav>a:first-child{display:none}.split,.team{grid-template-columns:1fr}.section{padding-block:35px}footer span{display:none}.workspace-head{align-items:flex-start;flex-direction:column}}
.voice-preview{margin-top:13px;color:var(--lilac)}
.voice-preview summary{cursor:pointer;width:fit-content}
.voice-preview audio{display:block;margin-top:10px}
audio{max-width:100%}
.voice-panel label,.voice-panel .actions + p{margin-top:14px}
#voice-step[aria-pressed="true"]{background:#3a324a;border-color:var(--lilac)}
.login-content{padding:12px;max-width:440px}
.login-content h2{font-size:2rem;margin-bottom:12px}
#login-form{display:grid;justify-items:start;gap:12px}
#login-form label{width:100%;margin-bottom:0}
#login-message:not(:empty),#save-state:not(:empty){margin-top:10px}
.saved-projects{border:1px solid var(--line);border-radius:16px;padding:18px;max-width:850px}
.saved-projects h3{margin-bottom:12px}
#password-form{display:grid;gap:12px}
#password-form label{margin-bottom:0}
.own-audio audio{display:block;margin-top:12px}
.voice-panel .output textarea{min-height:110px}
.voice-panel .output .actions + p{margin-top:14px}
