/* MegaBot visual refresh. Native CSS, existing Onest and Lucide assets.
   Design variance 7 / motion 6 / density 4. Layers: header 60 (base stylesheet). */
.landing-refresh{--bg:#fcfcff;--ink:#202135;--ink-2:#44465d;--muted:#65677b;--faint:#6c6e82;--line:#e0e1ed;--line-2:#ebebf3;--surface:#f4f4fa;--surface-2:#ebecf5;--accent:#4f46e5;--accent-ink:#3b31c9;--accent-soft:#eeedfc;--r-m:22px;--r-l:28px;--maxw:1240px;background:var(--bg)}
.hdr{background:var(--bg);backdrop-filter:none;border-color:var(--line)}
.hdr-in{height:80px;gap:24px}.hdr-nav{gap:20px;margin-left:auto}.hdr-nav a{font-size:13px}.hdr-act{gap:16px}.logo{font-size:23px}.logo-mark{width:34px;height:34px}
.btn{border-radius:14px;transition:transform .2s,background .2s,box-shadow .2s}.btn:hover{transform:translateY(-3px)}.btn--primary{box-shadow:0 5px 12px #4f46e51a}.btn--primary:hover{box-shadow:0 8px 20px #4f46e52b}.btn--ghost{background:var(--bg)}.btn--lg{font-size:15px;min-height:54px;padding:0 21px}
.theme-toggle{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--ink);cursor:pointer}.theme-toggle .ico{width:18px;height:18px}
.hero{padding:44px 0 48px;overflow:clip}.hero::before{display:none}.hero-grid{grid-template-columns:1fr 1fr;gap:18px}.hero h1{font-size:clamp(52px,5.7vw,78px);font-weight:600;letter-spacing:-.065em;line-height:1.02;max-width:none}.hero h1 span{color:var(--accent)}.hero .eyebrow{font-size:12px;margin-bottom:28px;letter-spacing:.075em}.hero .eyebrow::before{display:none}.hero-sub{font-size:17px;max-width:460px;margin-top:24px;line-height:1.65}.hero-cta{gap:10px;margin-top:28px}.hero-micro{font-size:11px;gap:8px 14px;margin-top:22px}.hero-micro .ico{width:13px;height:13px;color:var(--accent)}
.hero-art{position:relative;min-width:0;border-radius:42% 42% 30% 30%;overflow:hidden;background:#f0efff;isolation:isolate}.bot-art{width:100%;height:auto;display:block;animation:bot-hover 6s ease-in-out infinite;mix-blend-mode:multiply}.motion-toggle{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);border:0;background:transparent;color:#565075;font:inherit;font-size:11px;cursor:pointer;padding:9px 14px;text-decoration:underline;text-underline-offset:4px}.motion-paused .bot-art{animation-play-state:paused}
@keyframes bot-hover{0%,100%{transform:translateY(0) rotate(-1deg) scale(.96)}50%{transform:translateY(-8px) rotate(1deg) scale(.99)}}
.product-preview{padding:45px 0 80px}.preview-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px;gap:24px}.preview-heading h2{font-size:clamp(24px,3vw,36px);letter-spacing:-.035em}.preview-heading .eyebrow{margin-bottom:12px;text-transform:none;letter-spacing:0}.preview-heading .eyebrow::before{display:none}.editor-preview{padding:12px 12px 0;border-radius:26px;background:var(--surface-2);border:1px solid var(--line)}.editor-preview .shot{border-radius:16px;box-shadow:none;max-height:460px}.editor-preview .shot img{height:auto;object-fit:contain}.editor-preview .shot-cap{padding:0 10px 16px;margin-bottom:0;color:var(--muted);font-size:12px}
.sec{padding:90px 0}.sec--tint{background:var(--surface)}.sec-head{margin-bottom:38px}.sec-title{font-weight:600;letter-spacing:-.04em!important;line-height:1.14}.sec-head .eyebrow{font-size:12px;text-transform:none;letter-spacing:0}.sec-head .eyebrow::before{display:none}.sec-sub{font-size:17px;line-height:1.65}.card{padding:30px;border-color:var(--line);background:var(--bg);transition:transform .25s,border-color .25s,box-shadow .25s}.card:hover{transform:translateY(-4px);border-color:#b6b1f6;box-shadow:0 12px 35px #3027620a}.card h3{font-size:20px;font-weight:600;line-height:1.35}.card p{line-height:1.7}.ico-box{width:54px;height:54px;border-radius:17px;background:linear-gradient(145deg,var(--bg),var(--accent-soft));color:var(--accent);border:1px solid #b8b2ff66;box-shadow:0 5px 0 -1px #c4bef04a,inset 0 1px 0 #ffffff80;margin-bottom:26px;transform:rotate(-5deg);transition:transform .25s}.ico-box .ico{width:26px;height:26px}.card:hover .ico-box{transform:rotate(4deg) translateY(-3px)}
.intro-benefits .sec-head{text-align:left;max-width:650px}.intro-benefits .g3{grid-template-columns:1.25fr 1fr}.intro-benefits .card:first-child{grid-row:span 2;display:flex;flex-direction:column;justify-content:center;background:var(--accent-soft);padding:46px}.intro-benefits .card:first-child .ico-box{width:88px;height:88px;border-radius:26px;margin-bottom:36px}.intro-benefits .card:first-child .ico{width:43px;height:43px}.intro-benefits .card:first-child h3{font-size:29px;max-width:330px}.intro-benefits .card:not(:first-child){padding:24px 28px}.intro-benefits .card:not(:first-child) .ico-box{float:left;margin:0 22px 30px 0}
#features .g3{grid-template-columns:repeat(2,minmax(0,1fr))}#features .card{padding:34px}#features .card:nth-child(3n+1){background:var(--accent-soft)}#features .ticks{display:grid;grid-template-columns:1fr 1fr;font-size:14px;gap:12px}#features .ticks li{font-size:14px}
#ai>.wrap{background:var(--accent-soft);padding:48px;border-radius:32px}#ai .g3{grid-template-columns:1.2fr 1fr}#ai .card:first-child{grid-row:span 2;display:flex;flex-direction:column;justify-content:center}#ai .card:first-child .ico-box{width:78px;height:78px}#ai .card:first-child .ico{width:38px;height:38px}#ai .card:first-child h3{font-size:28px}#ai .card:not(:first-child) .ico-box{float:left;margin:0 18px 20px 0}
#what .prose,#about .prose{max-width:900px}.tpl,.step,.plan,.tile,.fig,.free-box,.tg-start{background:var(--bg);border-color:var(--line)}.tpl-vis{height:210px;padding:14px;background:var(--accent-soft)}.tpl-vis img{border-radius:10px;transition:transform .35s}.tpl:hover .tpl-vis img{transform:scale(1.035)}.plan{padding:28px 22px;border-radius:22px}.plan--hi{background:var(--accent-soft);box-shadow:0 8px 30px #4f46e512}.tab-btn{border-radius:12px}.fig{padding:18px}.faq details{background:var(--bg);border-radius:16px;border:1px solid var(--line);margin-bottom:10px;padding:0 22px}.faq summary{padding:21px 0}.final{background:var(--accent-soft);color:var(--ink);border:1px solid var(--line);border-radius:32px;padding:70px 40px}.final p,.final-micro{color:var(--muted)}.final .btn--primary{background:var(--accent);color:#fff}.final .btn--ghost{color:var(--ink);border-color:var(--line);background:var(--bg)}.final .btn--ghost:hover{background:var(--surface);border-color:var(--accent)}.ftr{background:var(--bg)}
.reveal-ready{opacity:0;transform:translateY(18px);transition:opacity .6s,transform .6s}.reveal-ready.is-visible{opacity:1;transform:none}
:root[data-theme="dark"] .landing-refresh{--bg:#181925;--ink:#efeffa;--ink-2:#d0d0e0;--muted:#afb0c5;--faint:#a6a7bd;--line:#39394f;--line-2:#2d2e43;--surface:#202130;--surface-2:#2b2c40;--accent:#aaa3ff;--accent-ink:#c5c0ff;--accent-soft:#30304d}
[data-theme="dark"] .btn--primary,[data-theme="dark"] .final .btn--primary{color:#202035;background:var(--accent)}[data-theme="dark"] .hero-art{background:#353247}[data-theme="dark"] .bot-art{mix-blend-mode:normal}[data-theme="dark"] .motion-toggle{background:#eeedfc;border-radius:20px;color:#35304d}[data-theme="dark"] .mnav,[data-theme="dark"] .burger,[data-theme="dark"] .ps-row,[data-theme="dark"] .crit li,[data-theme="dark"] .cmp-wrap,[data-theme="dark"] .cmp th,[data-theme="dark"] .cmp td{background:var(--bg);color:var(--ink)}[data-theme="dark"] .cmp tbody tr:nth-child(even) td,[data-theme="dark"] .cmp tbody tr:nth-child(even) th{background:var(--surface)}[data-theme="dark"] .ico-box{box-shadow:0 5px 0 -1px #aaa3ff20}
@media(min-width:901px){.hero-vis{margin-right:0}}
@media(max-width:1150px){.hdr-nav{gap:12px}.hdr-act{gap:10px}.hdr-in{gap:18px}.hero h1{font-size:64px}.hdr-login{font-size:14px}.hdr-nav a{font-size:12px}.theme-toggle{width:32px;height:32px}}
@media(max-width:1000px){.hdr-nav{display:none}.burger{display:flex}.hero h1{font-size:56px}.hero-grid{gap:24px}.hero-cta{flex-direction:column;align-items:flex-start}.hero-micro{max-width:330px}.hero-art{align-self:center}}
@media(max-width:767px){.hero{padding:36px 0 20px}.hero-grid{grid-template-columns:1fr;gap:28px}.hero h1{font-size:60px;letter-spacing:-.055em}.hero .eyebrow{margin-bottom:23px}.hero-sub{font-size:16px;max-width:440px}.hero-cta{flex-direction:row}.hero-micro{max-width:none;gap:9px 12px}.hero-art{max-width:520px;width:100%;margin:auto}.hero-art .bot-art{aspect-ratio:1}.sec{padding:60px 0}.product-preview{padding:26px 0 50px}.preview-heading{align-items:flex-start;flex-direction:column;gap:16px}.preview-heading h2{font-size:27px}.editor-preview .shot{max-height:300px}.editor-preview .shot img{min-height:250px;object-fit:cover;object-position:left top}.editor-preview .shot-cap{font-size:11px;align-items:flex-start}.intro-benefits .g3,#features .g3,#ai .g3{grid-template-columns:1fr}.intro-benefits .card:first-child,#ai .card:first-child{grid-row:auto;padding:28px}.intro-benefits .card:first-child h3{font-size:26px}.intro-benefits .card:first-child .ico-box{width:64px;height:64px;margin-bottom:25px}#ai>.wrap{padding:28px 20px;width:calc(100% - 32px)}#ai .card{padding:24px}.ai-shots{grid-template-columns:1fr}.card,#features .card{padding:26px}.final{padding:44px 24px}.hdr-in{height:68px}.hdr-act .btn{font-size:12px;padding:0 12px}.hdr-login{display:none}.logo{font-size:20px}.logo-mark{width:30px;height:30px}.hdr-act{gap:9px}.theme-toggle{width:30px;height:30px}}
@media(max-width:400px){.hero h1{font-size:54px}.hero-cta{flex-direction:column;align-items:stretch}.hero-cta .btn{width:100%}.hdr-act .btn{display:none}.hero-micro{font-size:11px}.hero .eyebrow{font-size:11px}#features .ticks{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.bot-art{animation:none}.reveal-ready{opacity:1;transform:none}.btn:hover,.card:hover,.card:hover .ico-box{transform:none}.motion-toggle{display:none}}
/* Overscan prevents image edges appearing during the gentle float. */
.bot-art{mix-blend-mode:normal}
@keyframes bot-hover{0%,100%{transform:translateY(0) scale(1.04)}50%{transform:translateY(-6px) scale(1.055)}}
html:has(.landing-refresh){overflow-x:clip;scroll-padding-top:96px}
.landing-refresh{overflow-x:clip}
[data-theme="dark"] .tab-btn,[data-theme="dark"] .bill{background:var(--bg);color:var(--ink);border-color:var(--line)}
[data-theme="dark"] .tab-btn[aria-selected="true"],[data-theme="dark"] .bill button[aria-pressed="true"]{background:var(--accent-soft);color:var(--ink)}
[data-theme="dark"] .ps-sol,[data-theme="dark"] .note,[data-theme="dark"] .tpl--cta{background:var(--accent-soft);color:var(--ink-2)}
@media(max-width:767px){.hero-micro{flex-direction:row}.hero-micro li{font-size:11px}.hero-micro li:last-child{width:100%}}
/* Contain wide comparison tables within their horizontal scroll areas. */
.cmp-scroll{max-width:100%;contain:inline-size}
html:has(.landing-refresh){overflow-x:hidden}

/* Show the complete generated workflow without cropping nodes or inspector. */
.editor-preview .shot{max-height:none}
.editor-preview .shot img{height:auto;min-height:0;object-fit:contain;aspect-ratio:1672/941}

/* Match the Free explanation panel to the full pricing container. */
#pricing .free-box{width:100%;max-width:none}
/* Readable previews: preserve complete frames, open original assets on demand. */
.ai-shots{grid-template-columns:1fr;gap:28px}
.ai-shots .fig img{max-width:100%}
.tpl-vis{height:auto;aspect-ratio:16/10;display:grid;place-items:center}
.tpl-vis img{width:100%;height:100%;object-fit:contain;object-position:center}
.tpl:hover .tpl-vis img{transform:none}
.step-thumb img{object-fit:contain;object-position:center}
.image-open{display:block;width:100%;padding:0;border:0;border-radius:inherit;background:transparent;cursor:zoom-in;position:relative;color:var(--ink);font:inherit}
.image-open::after{content:'Увеличить';position:absolute;right:12px;bottom:12px;padding:7px 12px;background:var(--bg);border:1px solid var(--line);border-radius:9px;font-size:12px;box-shadow:0 2px 8px #20213515}
.image-open:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.tpl-vis .image-open,.step-thumb .image-open{height:100%;min-height:0;overflow:hidden}
.image-viewer{width:calc(100vw - 40px);max-width:1600px;height:calc(100dvh - 40px);max-height:none;margin:auto;padding:0;border:1px solid var(--line);border-radius:18px;background:var(--bg);color:var(--ink)}
.image-viewer[open]{display:flex;flex-direction:column}
.image-viewer::backdrop{background:#141422cc}
.image-viewer-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 20px;border-bottom:1px solid var(--line);flex:none}
.image-viewer-bar h2{font-size:17px}.image-viewer-bar>div{display:flex;gap:8px}
.image-viewer button{font:inherit;font-size:14px;padding:9px 14px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:9px;cursor:pointer}
.image-viewer-canvas{flex:1;min-height:0;overflow:auto;background:var(--surface);display:flex;align-items:center;justify-content:center;padding:12px}
.image-viewer-canvas img{width:100%;height:100%;min-height:0;object-fit:contain}
.image-viewer.is-zoomed .image-viewer-canvas{display:block}
.image-viewer.is-zoomed .image-viewer-canvas img{width:auto;height:auto;max-width:none;max-height:none;display:block;margin:auto}
.image-viewer-caption{padding:12px 20px;font-size:13px;color:var(--muted);flex:none}
@media(max-width:680px){.image-viewer{width:100%;height:100dvh;border-radius:0}.image-viewer-bar{align-items:flex-start;padding:12px;flex-direction:column}.image-viewer-caption{padding:10px 12px}.ai-shots .fig{padding:8px}.image-open::after{right:6px;bottom:6px;font-size:11px;padding:5px 8px}}

/* Official service marks and consistent feature icons for integrations. */
.intg-cat li{gap:14px;align-items:center;min-height:66px;padding:12px 0}
.integration-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eeedfc;color:#5a49de}
.intg-cat:nth-child(2) .integration-icon{background:#e8f7f0;color:#13845c}
.intg-cat:nth-child(3) .integration-icon{background:#fff3df;color:#bc7814}
.intg-cat:nth-child(4) .integration-icon{background:#e9f3ff;color:#2878cd}
.intg-cat .integration-icon--brand{background:#fff;border:1px solid #ebebf3}
.integration-icon img{display:block;width:32px;height:32px;object-fit:contain;border-radius:7px}
.intg-cat .integration-icon .ico{width:23px;height:23px;flex:none;color:inherit}
@media(max-width:680px){.intg-cat li{gap:12px}.integration-icon{width:38px;height:38px;flex-basis:38px}.integration-icon img{width:30px;height:30px}}
