@font-face{font-family:"Soyuz Grotesk";src:url("/Fonts/Soyuz Grotesk Bold.woff") format("woff");font-weight:700;font-display:swap}
:root{
  --ink:#1c1c22;--ink-2:#56565f;--ink-3:#6f6f72;--muted:#757575;
  --line:#e5e5e8;--bg:#F9F9F8;--violet:#977dd9;
  --nav-h:60px;--safe-t:env(safe-area-inset-top,0px);--safe-b:env(safe-area-inset-bottom,0px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
img{max-width:100%;display:block}
.wrap{width:min(1440px,calc(100% - 48px));margin:0 auto}
@media (max-width:720px){.wrap{width:calc(100% - 24px)}}

/* Header (mediahub journal) */
.nav{
  position:sticky;top:0;z-index:40;
  height:calc(var(--nav-h) + var(--safe-t));padding-top:var(--safe-t);
  background:rgba(255,255,255,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(40,40,40,.08);
}
.nav-inner{height:var(--nav-h);display:flex;align-items:center;gap:18px;overflow-x:auto;scrollbar-width:none}
.nav-inner::-webkit-scrollbar{display:none}
.nav-logo{flex:0 0 auto;display:inline-flex;align-items:center;margin-right:8px;gap:8px}
.nav-logo img,.nav-logo__wordmark{display:block;width:104px;height:16px}
.nav-logo__mark{display:none}
.nav-links{display:flex;align-items:center;gap:24px;margin:0;padding:0;list-style:none;flex:0 0 auto}
@media (min-width:1180px){.nav-links{margin-left:112px}}
.nav-links a,.nav-dd__btn{
  text-decoration:none;color:#6f6f72;font-size:14px;font-weight:500;line-height:1.48;
  white-space:nowrap;padding:8px 2px;min-height:16px;display:inline-flex;align-items:center;gap:4px;
  background:none;border:0;cursor:pointer;
}
.nav-links a:hover,.nav-dd__btn:hover{color:var(--ink)}
.nav-dd{position:relative}
.nav-dd__menu{position:absolute;top:calc(100% + 8px);left:0;min-width:220px;padding:8px;border-radius:12px;border:1px solid var(--line);background:#fff;box-shadow:0 12px 28px rgba(0,0,0,.08);display:grid;gap:2px;z-index:50}
.nav-dd__menu[hidden]{display:none!important}
.nav-dd__menu a{display:block;padding:10px 12px;border-radius:8px;color:var(--ink)!important}
.nav-dd__menu a:hover{background:#f3f3f3}
.nav-actions{margin-left:auto;display:flex;align-items:center;gap:8px;flex:0 0 auto}
.nav-cta{text-decoration:none;color:#fff!important;background:#2e2e2e;border-radius:10px;font-size:13px;font-weight:600;padding:10px 16px;white-space:nowrap}
.nav-cta:hover{background:#1e1e1e}
.nav-burger{display:none}
.nav-menu,.nav-menu-overlay{display:none}
body.is-nav-menu-open{overflow:hidden}

/* Crumbs + press-like hero */
.page-crumbs-wrap{margin:24px auto 16px}
.page-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;color:#6f6f72;font-size:13px;font-weight:500;line-height:1.35}
.page-crumbs a:hover{color:#1e1e22}
.page-crumbs__sep{color:#c0c0c4;font-weight:400}
.page-crumbs [aria-current="page"]{color:#1e1e22}

.article-hero{
  display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:stretch;
  margin:36px 0 0;
}
.article-hero__copy{display:flex;flex-direction:column;gap:20px;min-height:100%}
.badge{
  display:inline-flex;align-items:center;width:max-content;padding:6px 12px;
  border-radius:24px;background:#EDEDED;color:#5C5C5C;font-size:14px;font-weight:500;
}
.article-hero h1{
  margin:0;font-family:"Soyuz Grotesk",Inter,sans-serif;
  font-size:clamp(26px,3.6vw,40px);line-height:1.15;letter-spacing:-.02em;font-weight:700;color:#1a1a1f;
}
.article-hero .dek{margin:0;font-size:17px;color:var(--ink-2);line-height:1.55;max-width:46ch}
.article-meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:16px;
  margin-top:auto;font-size:14px;color:var(--ink-2);
}
.article-meta time{color:var(--ink-2)}
.article-meta__stat{
  display:inline-flex;align-items:center;gap:6px;color:var(--ink-2);background:none;border:0;padding:0;font:inherit;
}
.article-meta__stat img,.article-meta__stat svg{width:16px;height:16px;display:block;flex:0 0 auto}
.article-hero__media{
  position:relative;border-radius:24px;overflow:hidden;aspect-ratio:16/9;
  background:#F0F0EE;box-shadow:0 8px 28px rgba(20,20,30,.06);
}
.article-hero__media img{width:100%;height:100%;object-fit:cover}

/* Divider: full hero width (copy start → image end), inside .wrap */
.article-rule{
  display:block;border:0;border-top:1px solid var(--line);
  width:100%;margin:40px 0 0;
}

/* Body layout + TOC */
.layout{
  display:grid;grid-template-columns:minmax(0,864px) 240px;gap:48px;
  width:min(1204px,calc(100% - 48px));margin:36px auto 80px;
}
.content{min-width:0}
.section{scroll-margin-top:96px;padding:0 0 48px;margin:0 0 48px;border-bottom:1px solid var(--line)}
.section:last-of-type{border-bottom:0;margin-bottom:0;padding-bottom:0}
.section h2{
  margin:0 0 20px;font-size:28px;line-height:1.2;letter-spacing:-.02em;font-weight:700;color:#1c1c22;
}
.section h3{margin:28px 0 12px;font-size:18px;line-height:1.3;font-weight:700;color:#1c1c22}
.section p{margin:0 0 14px;font-size:16px;line-height:1.65;color:#56565f}
.section p:last-child{margin-bottom:0}
.section ul{margin:0 0 16px;padding:0 0 0 1.2em;display:grid;gap:8px}
.section li{margin:0;padding:0;font-size:16px;line-height:1.6;color:#56565f}
/* Capability cards — icon vertically centered with text */
.guide-cards{display:grid;gap:12px;margin:0 0 8px}
.guide-card{
  display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;align-items:center;
  margin:0;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:16px;
  font-size:16px;line-height:1.6;color:#56565f;
}
.guide-card__ico{
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:12px;flex:0 0 auto;background:#efeaff;
}
.guide-card__ico img{width:18px;height:18px;display:block}
.guide-card__text{min-width:0}

/* “Does not” checklist — same plate size/width as install steps */
.section ul.guide-dont{
  list-style:none;margin:0 0 8px;padding:0;display:grid;gap:12px;width:100%;
}
.section ul.guide-dont>li{
  display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;align-items:center;
  margin:0;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:16px;
  font-size:16px;line-height:1.6;color:#56565f;width:100%;box-sizing:border-box;
}
.section ul.guide-dont>li::before{
  content:"−";display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:12px;flex:0 0 auto;
  background:#fceeee;color:#b42318;font-weight:700;font-size:20px;line-height:1;
}

/* Process chains */
.guide-flow{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  margin:0 0 16px;padding:16px 18px;
  background:#f6f5f8;border:1px solid #ebe7f4;border-radius:16px;
}
.guide-flow__step{
  display:inline-flex;align-items:center;max-width:100%;
  padding:8px 12px;background:#fff;border:1px solid rgba(151,125,217,.22);
  border-radius:999px;font-size:14px;font-weight:500;line-height:1.35;color:#1c1c22;
}
.guide-flow__sep{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  width:18px;height:18px;padding:0;border:0;background:transparent;
}
.guide-flow__sep img{width:16px;height:16px;display:block;color:#977dd9}
.guide-path{
  margin:0 0 16px;padding:16px 18px;
  background:#f6f5f8;border:1px solid #ebe7f4;border-radius:16px;
  font-size:15px;line-height:1.55;color:#56565f;
}

/* Numbered install / quick-start steps on plates */
.guide-steps{
  list-style:none;margin:0 0 16px;padding:0;display:grid;gap:12px;counter-reset:gs;
}
.guide-steps>li{
  display:flex;gap:14px;align-items:center;
  margin:0;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:16px;
  font-size:16px;line-height:1.6;color:#56565f;
}
.guide-steps>li::before{
  counter-increment:gs;content:counter(gs);
  display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:12px;flex:0 0 36px;
  background:#efeaff;color:#503794;font-weight:700;font-size:15px;line-height:1;
}
/* Plates with nested lists: keep digit at the top of the plate */
.guide-steps>li:has(ul){
  align-items:flex-start;
}
.guide-steps>li:has(ul)::before{
  margin-top:2px;
}
.guide-steps__body{flex:1;min-width:0}
.guide-steps__title{
  display:block;margin:0 0 6px;
  font-size:16px;font-weight:700;line-height:1.35;color:#1c1c22;
}
.guide-steps__body>p{
  margin:0 0 8px;font-size:16px;line-height:1.6;color:#56565f;
}
.guide-steps__body>p:last-child{margin-bottom:0}
.section ol.guide-steps ul{
  list-style:disc;margin:8px 0 0;padding:0 0 0 1.2em;display:grid;gap:6px;
}
.section ol.guide-steps ul>li{
  display:list-item;margin:0;padding:0;
  background:none;border:0;border-radius:0;font-size:15px;line-height:1.55;color:#56565f;
}
.section ol.guide-steps ul>li::before{content:none;display:none}

/* Compact milestone plates (dates / checkpoints) */
.section ul.guide-milestones,
.section ol.guide-steps ul.guide-milestones{
  list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px;
}
.section ul.guide-milestones>li,
.section ol.guide-steps ul.guide-milestones>li{
  display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:center;
  margin:0;padding:12px 14px;background:#f6f5f8;border:1px solid #ebe7f4;border-radius:12px;
  font-size:15px;line-height:1.45;color:#56565f;
}
.section ul.guide-milestones>li::before,
.section ol.guide-steps ul.guide-milestones>li::before{content:none;display:none}
.guide-milestones__date{
  font-weight:700;font-size:14px;line-height:1.3;color:#503794;
}

/* Prompt plates — even padding; beat .section ul specificity */
.section ul.guide-prompts{
  list-style:none;margin:0 0 16px;padding:16px;display:grid;gap:10px;
  background:#f6f5f8;border:1px solid #ebe7f4;border-radius:18px;width:100%;
}
.section ul.guide-prompts>li,
.guide-prompt{
  display:block;margin:0;padding:14px 16px;
  background:#fff;border:1px solid #e8e4f0;border-radius:12px;
  font-size:15px;line-height:1.5;color:#1c1c22;box-shadow:none;
}
.guide-prompt{margin:0 0 14px}

/* FAQ accordion — white plates, circular icon like homepage */
.guide-faq{display:grid;gap:10px;margin:0 0 8px}
.guide-faq details{
  background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
}
.guide-faq details[open]{background:#fff;border-color:#d8d0ec}
.guide-faq summary{
  list-style:none;cursor:pointer;position:relative;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:16px 18px;
  font-size:16px;font-weight:600;line-height:1.35;color:#1c1c22;
}
.guide-faq summary::-webkit-details-marker{display:none}
.guide-faq summary::after{
  content:"";flex:0 0 auto;
  width:32px;height:32px;border-radius:50%;
  border:1px solid var(--line);
  background:transparent center/14px 14px no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.5L7 9.5L11 5.5' stroke='%23757575' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition:background .2s,border-color .2s,transform .3s;
}
.guide-faq details[open] summary::after{
  background-color:#1c1c22;border-color:#1c1c22;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.5L7 9.5L11 5.5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform:rotate(180deg);
}
.guide-faq__a{margin:0;padding:0 18px 16px;font-size:15px;line-height:1.65;color:#56565f}

.guide-table{width:100%;border-collapse:collapse;margin:8px 0 16px;font-size:14px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.guide-table th,.guide-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;color:#56565f}
.guide-table th{
  background:#efeaff;color:#503794;font-size:12px;font-weight:700;
  text-transform:uppercase;letter-spacing:.04em;
}
.guide-table tr:last-child th,.guide-table tr:last-child td{border-bottom:0}
.guide-table td:first-child{color:#1c1c22;font-weight:500}

.sidebar{position:sticky;top:84px;align-self:start}
.toc{display:flex;flex-direction:column;border-left:1px solid #e5e5e8}
.toc a{
  padding:10px 12px;font-size:13px;font-weight:500;line-height:1.35;color:#6f6f72;
  border-left:2px solid transparent;margin-left:-1px;
}
.toc a:hover{color:#1c1c22}
.toc a.active{font-weight:600;color:#1c1c22;border-left-color:#282828}

/* Footer uses .container from the shared partial */
.container{width:100%;max-width:1160px;margin:0 auto;padding:0 40px}
@media (max-width:720px){.container{padding:0 20px}}

/* Footer */
.footer{background:#111;border-top:1px solid #1E1E1E;padding-top:64px;margin-top:48px}
.footer a{text-decoration:none}
.footer__main{display:grid;grid-template-columns:1fr auto;gap:80px;align-items:start;padding-bottom:56px;border-bottom:1px solid #1E1E1E}
.footer__brand{display:flex;flex-direction:column;gap:14px;max-width:400px}
.footer__logo{display:inline-flex;align-items:center}
.footer__logo img{height:28px;width:auto;display:block;filter:brightness(0) invert(1)}
.footer__tagline,.footer__dev-site{margin:0;font-size:13.5px;line-height:1.6;color:#5A5A5A}
.footer__dev-site a{color:#9A9A9A;border-bottom:1px solid rgba(154,154,154,.35)}
.footer__socials{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px}
.footer__socials-label{font-size:13.5px;line-height:21.6px;color:#5A5A5A}
.footer__social{
  display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background-color:#fff;
  -webkit-mask-image:var(--footer-social-icon);mask-image:var(--footer-social-icon);
  -webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
}
.footer__social[aria-label="Telegram"]{--footer-social-icon:url("/pic/common/campaign/social-tg.svg")}
.footer__social[href*="vk.ru"]{--footer-social-icon:url("/pic/common/campaign/social-vk.svg")}
.footer__social[aria-label="Rutube"]{--footer-social-icon:url("/pic/common/campaign/social-rutube.svg")}
.footer__social img{display:none}
.footer__nav{display:grid;grid-template-columns:max-content max-content;column-gap:40px;row-gap:20px;justify-content:end}
.footer__col{display:flex;flex-direction:column;gap:8px}
.footer__col-title{margin:0;font-size:13px;font-weight:600;color:#fff}
.footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.footer__col a{font-size:13.5px;line-height:1.5;color:#5A5A5A}
.footer__bottom{padding:24px 0;text-align:center;border-top:1px solid #252525}
.footer__bottom p{margin:1em 0;font-size:14px;color:#8A8A8A;font-weight:500}

@media (max-width:1100px){
  .layout{grid-template-columns:1fr;width:min(864px,calc(100% - 48px))}
  .sidebar{display:none}
}
@media (max-width:900px){
  .article-hero{grid-template-columns:1fr;gap:24px}
  .article-rule{margin-top:32px}
}
@media (max-width:720px){
  .layout{width:calc(100% - 24px);margin-top:28px}
  .article-hero h1{font-size:clamp(22px,6vw,32px)}
  .article-hero .dek{font-size:15px;max-width:none}
  .section h2{font-size:24px}
  .footer__main{grid-template-columns:1fr;gap:32px}
  .footer__nav{justify-content:start;column-gap:24px}
}
