/* страницы-инструкции Воображариума (ai/video-editor, ai/photo-editor, ai/music-editor) */
.g-wrap{max-width:960px}
.g-crumbs{font-size:13px;color:var(--muted);padding:28px 0 6px}.g-crumbs a{color:var(--muted)}.g-crumbs a:hover{color:var(--text)}
.g-hero{padding:14px 0 10px;position:static}.g-hero h1{font-size:40px;line-height:1.15;margin-bottom:14px}
.g-lead{color:var(--muted);font-size:17px;line-height:1.65;max-width:720px;margin-bottom:22px}
.g-toc{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 34px;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}
.g-toc a{font-size:13px;padding:6px 12px;border-radius:999px;border:1px solid var(--border);color:var(--muted);background:rgba(255,255,255,.03)}.g-toc a:hover{color:var(--text);border-color:#6c8cff}
.g-wrap section{padding:0}.g-step{display:grid;grid-template-columns:44px 1fr;gap:18px;margin:0 0 44px;scroll-margin-top:90px}
.g-num{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;background:linear-gradient(90deg,#6c8cff,#9a6cff)}
.g-body h2{font-size:25px;margin:2px 0 12px}.g-body p{color:var(--muted);font-size:15.5px;line-height:1.7;margin:0 0 12px}.g-body p b,.g-body li b{color:var(--text)}
.g-body ul{margin:0 0 14px;padding-left:20px;color:var(--muted);font-size:15.5px;line-height:1.7}.g-body li{margin-bottom:6px}
.g-body figure{margin:18px 0 6px}.g-body figure img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--border);box-shadow:0 12px 34px rgba(0,0,0,.4)}
.g-body figure img.portrait{max-width:300px;margin:0 auto}
.g-body figcaption{font-size:13px;color:var(--muted);margin-top:8px;text-align:center}
.g-note{display:flex;gap:12px;align-items:flex-start;margin:14px 0;padding:12px 16px;border-radius:12px;border:1px solid var(--border);background:rgba(108,140,255,.08)}
.g-note.warn{background:rgba(240,179,90,.1);border-color:rgba(240,179,90,.4)}.g-note span{font-size:18px;line-height:1.5}.g-note p{margin:0 !important}
.g-faq{margin:10px 0 46px}.g-faq h2,.g-more h2,.g-cta h2{font-size:25px;margin-bottom:16px}
.g-faq details{border:1px solid var(--border);border-radius:12px;background:var(--surface);margin-bottom:10px;padding:0 16px}.g-faq summary{cursor:pointer;padding:14px 0;font-weight:600;font-size:15.5px}
.g-faq details div{color:var(--muted);font-size:15px;line-height:1.7;padding:0 0 14px}
.g-more{margin:0 0 40px}.g-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.g-card{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border:1px solid var(--border);border-radius:16px;background:var(--surface);transition:border-color .15s,transform .15s}.g-card:hover{border-color:#6c8cff;transform:translateY(-2px)}
.g-card b{font-size:17px}.g-card span{color:var(--muted);font-size:14px;line-height:1.55}
.g-wrap section.g-cta{margin:0 0 60px;padding:34px;text-align:center;border:1px solid var(--border);border-radius:22px;background:linear-gradient(135deg,rgba(108,140,255,.16),rgba(154,108,255,.14))}.g-cta p{color:var(--muted);margin:0 0 18px}
@media (max-width:860px){.g-hero h1{font-size:30px}.g-step{grid-template-columns:1fr;gap:10px}.g-num{width:34px;height:34px}.g-cards{grid-template-columns:1fr}.g-body h2{font-size:22px}}
