@font-face{font-family:Rubik;src:url('/fonts/rubik-cyrillic.woff2') format('woff2');font-style:normal;font-weight:400 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Rubik;src:url('/fonts/rubik-latin.woff2') format('woff2');font-style:normal;font-weight:400 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--ink:#221e1c;--paper:#f6f4ee;--white:#fffefa;--muted:#66615b;--line:#d8d3c9;--orange:#ff6546;--edge:clamp(20px,5.4vw,82px);font:16px/1.45 Rubik,"Arial",sans-serif;color:var(--ink);background:var(--paper)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
button,select,textarea,a{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent}
button,select{cursor:pointer}
button:disabled,fieldset:disabled button{cursor:default}
button{border:0;background:none}
button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible,input:focus-visible+.tile{outline:3px solid #095ac9;outline-offset:3px}
.icon-bank{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:1.15em;height:1.15em;display:inline-block;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sr-only,.style-choice input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.masthead,.workspace{width:min(1264px,100%);margin:0 auto;padding-inline:var(--edge)}
.masthead{height:92px;display:flex;align-items:center;justify-content:space-between;position:relative}
.masthead::after{content:"";position:absolute;bottom:0;left:var(--edge);right:var(--edge);border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;letter-spacing:-.08em;font-weight:800;font-size:33px;line-height:1}
.brand>span,.punct{color:#d84628}
.open-bot{display:inline-flex;margin:0 0 16px;color:#95341f;font-weight:650;text-underline-offset:3px}
.open-bot[hidden]{display:none}
.brand-mark{position:relative;display:flex;align-items:center;justify-content:center;gap:3px;background:var(--orange);width:35px;height:27px;border-radius:8px 8px 8px 3px;margin:0 10px 0 0;transform:rotate(-8deg)}
.brand-mark::after{position:absolute;content:"";bottom:-6px;left:4px;border-top:8px solid var(--orange);border-right:9px solid transparent}
.brand-mark b{display:block;width:3px;height:9px;border-radius:3px;background:var(--ink);transform:rotate(8deg)}
.brand-mark b:nth-child(2){height:17px}
.help-button,.outline,.icon-button,.primary,.demo-label,.play-disc,.file-actions,.select-dot{display:inline-flex;align-items:center;justify-content:center}
.help-button{gap:7px;min-height:44px;font-size:13px;font-weight:550;padding:4px 0 4px 12px}
.help-button:hover,.help-button:active{color:#a73521}
.workspace{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.15fr);gap:clamp(36px,6.4vw,88px);align-items:start;padding-block:clamp(35px,5vw,71px) 65px}
.intro{position:sticky;top:24px}
h1,h2,p{margin:0}
h1{font-size:clamp(43px,4.35vw,64px);line-height:.98;font-weight:725;letter-spacing:-.054em}
.intro-copy{max-width:29em;font-size:16px;color:#625b55;line-height:1.48;margin:19px 0 24px}
.demo-cover{display:block;position:relative;isolation:isolate;width:100%;aspect-ratio:1.38;background:#d7b79a;border:1px solid #beb6a9;border-radius:20px;overflow:hidden;padding:0;text-align:left}
.demo-cover>img,.still img{display:block;width:100%;height:100%;object-fit:cover}
.demo-cover>img{object-position:center 16%;transition:transform .28s}
.demo-cover:hover>img{transform:scale(1.025)}
.cover-shade{position:absolute;inset:47% 0 0;background:linear-gradient(transparent,rgba(26,21,19,.6))}
.demo-label,.aspect-tag{position:absolute;color:white}
.demo-label{left:16px;bottom:15px;gap:9px;font-size:14px;font-weight:570}
.play-disc{height:35px;width:35px;border-radius:50%;background:var(--white);color:var(--ink)}
.play-disc svg{width:17px;margin-left:1px}
.aspect-tag{bottom:22px;right:17px;font-size:12px;font-weight:550;font-variant-numeric:tabular-nums}
.editor{min-width:0}
fieldset{min-width:0;margin:0;border:0;padding:0}
.edit-section{padding:0 0 21px}
.style-section{padding-top:21px;border-top:1px solid var(--line)}
.section-head,.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
h2{font-size:22px;font-weight:685;letter-spacing:-.045em;line-height:1.16}
.step-note{font-size:12px;color:var(--muted)}
.text-wrap{position:relative}
textarea{resize:vertical;min-height:102px;max-height:280px;width:100%;display:block;border:1px solid #c9c4ba;border-radius:14px;background:var(--white);font-size:15px;line-height:1.45;padding:13px 15px 25px}
textarea::placeholder{color:#716d67}
.counter{position:absolute;right:16px;bottom:8px;color:var(--muted);background:var(--white);font-size:11px;pointer-events:none}
.source-actions,.job-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.source-actions{margin-top:10px}
.outline,.icon-button{min-height:42px;border:1px solid #c9c4ba;background:var(--white);border-radius:11px}
.outline{gap:8px;padding:8px 13px;font-size:13px;font-weight:545}
.outline:hover,.icon-button:hover{background:#eeeae1}
.outline.recording{background:#ffdfd7;border-color:#b74630}
.outline.recording .icon{color:#ad3620}
.context,.message,.job>p{font-size:13px;line-height:1.45;margin:10px 0 0;color:var(--muted)}
.message{color:#9d321f;font-weight:500}
.mode-wrap{display:grid;gap:6px;margin-top:12px}
.mode-wrap label{font-size:13px;font-weight:600}
select{max-width:100%;border:1px solid #c9c4ba;border-radius:9px;background:var(--white);min-height:42px;padding:6px 9px;font-size:14px}
.files{list-style:none;padding:0;margin:9px 0 0;display:grid;gap:5px}
.file-row{display:flex;gap:8px;align-items:center;background:var(--white);border:1px solid var(--line);border-radius:11px;min-height:48px;padding:3px 4px 3px 11px}
.file-order{display:grid;place-items:center;min-width:23px;height:23px;background:#efece4;color:#585149;border-radius:50%;font-size:12px;font-weight:600}
.file-info{flex:1;min-width:0}
.file-name,.file-meta{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.file-name{font-size:13px;font-weight:550}
.file-meta{font-size:11px;color:var(--muted)}
.icon-button{min-width:40px;padding:7px;line-height:1}
.file-actions .icon-button{border:0;min-height:40px}
#audio-preview{display:block;width:100%;margin-top:7px;height:40px}
.style-choices{display:grid;gap:9px;grid-template-columns:repeat(3,minmax(0,1fr))}
.style-choice{display:block;position:relative;cursor:pointer}
.tile{border:1px solid #cec8bd;border-radius:13px;padding:4px;background:var(--white);display:block;height:100%}
.still{display:block;position:relative;aspect-ratio:1.47;overflow:hidden;border-radius:9px;background:#d8bd94}
.style-choice:nth-child(2) .still{background:#d7cead}
.style-choice:nth-child(3) .still{background:#d6b3bd}
.still img{object-position:50% 21%}
.tile strong{display:block;line-height:1.15;margin:8px 4px 7px;font-size:clamp(13px,1.18vw,16px);font-weight:620;letter-spacing:-.026em}
.select-dot{position:absolute;right:5px;top:5px;border:1px solid #0006;width:19px;height:19px;background:#fffdf9;border-radius:50%;color:transparent}
.select-dot .icon{width:13px;height:13px;stroke-width:3}
input:checked+.tile{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
input:checked+.tile .select-dot{background:var(--ink);border-color:white;color:white}
.primary{width:100%;min-height:52px;padding:12px 18px;gap:12px;justify-content:space-between;border-radius:13px;background:var(--orange);color:var(--ink);font-weight:650;font-size:16px;text-decoration:none}
.primary:hover{background:#ff775b}
.primary .icon{width:21px;height:21px}
.primary:disabled,.outline:disabled{opacity:.55}
.job{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:20px;margin-top:17px;scroll-margin-block:14px}
.job-actions{margin-top:14px}
.job-actions:empty{margin:0}
.job video{display:block;margin:15px auto 0;max-height:60dvh;max-width:100%;border-radius:10px;background:#221e1c}
.spinner{width:21px;height:21px;border-radius:50%;border:2px solid #dbd3c6;border-top-color:#bd462e;animation:rotate .9s linear infinite}
@keyframes rotate{to{transform:rotate(360deg)}}
dialog{max-width:min(410px,calc(100vw - 28px));width:100%;max-height:92dvh;border:1px solid #d5cec2;border-radius:19px;padding:18px;background:var(--paper);color:var(--ink);box-shadow:0 18px 90px #18110e44}
dialog::backdrop{background:#201c18bb}
.dialog-head .icon-button{border:0;background:transparent}
dialog video{display:block;height:min(70dvh,630px);max-width:100%;margin:auto;border-radius:10px;background:#28221f}
.help-list{padding-left:24px;margin:14px 0 4px}
.help-list li{padding-left:4px;margin-bottom:12px;font-size:15px}
@media(max-width:850px) and (min-width:731px){:root{--edge:25px}.workspace{gap:30px;grid-template-columns:.75fr 1.15fr}.intro-copy{font-size:14px}h1{font-size:43px}.tile strong{font-size:13px}}
@media(max-width:730px){:root{--edge:clamp(17px,5vw,29px)}.masthead,.workspace{max-width:590px}.masthead{height:64px}.brand{font-size:28px}.brand-mark{width:30px;height:24px}.workspace{grid-template-columns:1fr;gap:23px;padding-block:24px max(34px,env(safe-area-inset-bottom))}.intro{position:static;display:grid;grid-template-columns:minmax(0,1fr) clamp(82px,24vw,123px);column-gap:13px;align-items:start}h1{font-size:clamp(34px,7.8vw,47px);line-height:.99}.intro-copy{font-size:14px;line-height:1.4;margin:11px 0 0;grid-column:1/-1;max-width:none}.demo-cover{grid-column:2;grid-row:1;aspect-ratio:1.36;align-self:stretch;border-radius:11px}.cover-shade{inset:0;background:#26180d27}.demo-label{inset:0;gap:0}.demo-label>span:last-child,.aspect-tag{display:none}.play-disc{width:29px;height:29px}.play-disc svg{width:15px}h2{font-size:21px}.edit-section{padding-bottom:17px}.style-section{padding-top:17px}.section-head{margin-bottom:10px}.style-choices{gap:7px}.tile strong{font-size:13px;margin:7px 3px 6px}.still{aspect-ratio:1.35}.select-dot{width:17px;height:17px}.help-button{font-size:12px}.primary{min-height:50px}.intro-copy{max-width:39em}}
@media(max-width:350px){.style-choices{gap:5px}.tile{padding:3px}.tile strong{font-size:12px}.outline{font-size:12px;padding-inline:8px}h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation-duration:3s!important}}
