/* Presentation additions for SkyX Hub. */
.hub-story{--ink:#171534;--muted:#565774;--lav:#eeebff;--line:#dcdff0;--purple:#4736a8;max-width:1200px;margin:0 auto;padding:24px clamp(16px,3vw,40px) 64px;color:var(--ink);font-family:inherit}
.hub-story *,.hub-home-feature *,.hub-inline *{box-sizing:border-box}
.hub-story h1,.hub-story h2,.hub-story h3,.hub-home-feature h2{color:var(--ink,#171534);margin:0;text-wrap:balance;letter-spacing:-.035em}
.hub-story h1{font-size:clamp(2.3rem,4.2vw,4.15rem);line-height:1.04;font-weight:730}.hub-story h2,.hub-home-feature h2{font-size:clamp(1.65rem,3.1vw,2.5rem);line-height:1.12;font-weight:700}.hub-story h3{font-size:1.17rem;line-height:1.35;font-weight:650}
.hub-story p,.hub-home-feature p,.hub-inline p{margin:0;color:var(--muted,#52516b);line-height:1.6}.hub-story section+section{margin-top:clamp(42px,5.8vw,78px)}.hub-story .hub-lead,.hub-home-feature{background:linear-gradient(125deg,#f5f3ff,#f1f5ff 64%,#e6edff);border:1px solid #dadcf1;border-radius:24px;padding:clamp(20px,3vw,44px);display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);align-items:center;gap:clamp(16px,3vw,42px)}
.hub-lead-copy,.hub-feature-copy{display:grid;justify-items:start;gap:16px}.hub-story .hub-lead-copy p{font-size:1.05rem;max-width:37em}.hub-label{display:inline-flex;align-items:center;gap:8px;color:#493b87;background:#e8e3fa;padding:5px 11px;border-radius:99px;font-size:.85rem;font-weight:650;line-height:1.45}.hub-label::before{content:"";height:.5em;width:.5em;border-radius:50%;background:#7059b0;flex:none}
.hub-story figure,.hub-home-feature figure{margin:0;min-width:0}.hub-story figure img,.hub-home-feature figure img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid #d2d7e8;box-shadow:0 10px 26px #23205414}.hub-story figcaption,.hub-home-feature figcaption{margin:7px 2px 0;color:var(--muted,#52516b);font-size:.83rem;line-height:1.5}
.hub-story .hub-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hub-story .hub-action,.hub-home-feature a.hub-action,.hub-inline a.hub-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;margin:0;background:#40338c;color:#fff;border-radius:10px;text-decoration:none;font-weight:650;line-height:1.32}.hub-story .hub-action:hover,.hub-home-feature a.hub-action:hover,.hub-inline a.hub-action:hover{background:#312774;color:#fff}.hub-story a:focus-visible,.hub-home-feature a:focus-visible,.hub-inline a:focus-visible{outline:3px solid #7356cc;outline-offset:3px}
.hub-story .hub-chapter{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(22px,5vw,72px);align-items:center}.hub-story .hub-chapter-copy{display:grid;gap:16px;align-content:center}.hub-story .hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}.hub-story .hub-tile{padding:clamp(16px,2.5vw,28px);border:1px solid var(--line);border-radius:18px;background:#fafaff;display:grid;align-content:start;gap:12px}.hub-story .hub-tile figure{margin-top:7px}
.hub-story .hub-faq{border-bottom:1px solid var(--line);padding:18px 0;display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);gap:22px}.hub-story .hub-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.hub-story .hub-model{display:grid;align-content:start;gap:9px;background:#f8f8ff;color:var(--ink);border:1px solid var(--line);padding:16px;border-radius:16px;text-decoration:none}.hub-story .hub-model:hover{background:#eee9fb}.hub-story .hub-model img{display:block;width:100%;height:130px;object-fit:contain;mix-blend-mode:multiply}
.hub-home-feature{margin:clamp(42px,5.5vw,76px) 0;--ink:#171534}.hub-benefits{margin:0;padding-left:1.2rem;line-height:1.65;color:#292447}.hub-inline{display:flex;justify-content:space-between;align-items:center;gap:18px;border:1px solid #dcddef;border-radius:15px;background:#f5f3ff;margin:24px 0;padding:18px 22px}.hub-inline>div{display:grid;gap:4px}.hub-inline strong{font-size:1.12rem}.hub-inline .hub-action{flex:none}.hub-nav-end{display:inline-flex;align-items:center;min-height:40px;padding:8px 13px;border-radius:9px;text-decoration:none}.hub-nav-end:hover{background:#e6def6}.hub-nav-end:focus-visible{outline:2px solid #8169bc;outline-offset:2px}
@media(max-width:760px){.hub-story .hub-lead,.hub-home-feature,.hub-story .hub-chapter,.hub-story .hub-grid,.hub-story .hub-faq{grid-template-columns:1fr}.hub-story .hub-lead{padding:22px 16px}.hub-story .hub-faq{gap:7px}.hub-story .hub-products{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.hub-story .hub-products .hub-model img{height:105px}.hub-inline{align-items:flex-start;flex-direction:column}.hub-story{padding-top:14px}.hub-lead-copy,.hub-feature-copy{gap:12px}.hub-home-feature{padding:20px}.hub-story h1{font-size:clamp(2.05rem,8.9vw,3.4rem);line-height:1.09}}

@media(min-width:761px){.hub-story .hub-lead{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)}.hub-story .hub-lead h1{font-size:clamp(2.3rem,3.6vw,3.3rem);line-height:1.08}}

.hub-story .hub-tagline{font-size:clamp(1.15rem,2vw,1.55rem);line-height:1.3;color:#322957;font-weight:650}.hub-story .hub-status{border-left:3px solid #b6a7e2;padding-left:12px;font-size:.93rem}.hub-steps{margin:0;padding-inline-start:1.65em;display:grid;gap:.6rem;line-height:1.6}.hub-steps li::marker{color:#52409c;font-weight:700}
main .hub-inline{display:block;box-sizing:border-box;border:0;padding:0;margin:clamp(18px,3vw,32px) 0;background:transparent}
main .hub-inline a.hub-strip-link,main .hub-inline a.hub-badge-link{display:flex;align-items:center;justify-content:space-between;gap:.8rem;box-sizing:border-box;min-height:44px;padding:14px 20px;border:1px solid #dcd8ef;border-radius:12px;background:#f5f2ff;color:#372979;font-weight:650;line-height:1.4;text-decoration:none}
main .hub-inline a.hub-strip-link::after,main .hub-inline a.hub-badge-link::after{content:"→";flex:none;font-weight:500}
main .hub-inline a.hub-badge-link{display:inline-flex;padding:8px 14px;border-radius:999px}
main .hub-inline a:hover,main .hub-inline a:focus-visible{background:#e9e0fb;color:#25195e;text-decoration:none}
main a.hub-strip-link:focus-visible,main a.hub-badge-link:focus-visible{outline:3px solid #745bb0;outline-offset:3px}

@layer hub-navigation {
@media(min-width:641px){html body header nav.sx-main-menu:has(>a[href="/skyx-hub"]){gap:2px!important}html body header nav.sx-main-menu:has(>a[href="/skyx-hub"])>a[href]{padding-inline:5px!important;font-size:14.5px!important}}
@media(max-width:640px){html body header nav.sx-main-menu:has(>a[href="/skyx-hub"]),html body nav[aria-label="Быстрые переходы по сайту"]:has(>a[href="/skyx-hub"]){grid-template-columns:repeat(4,minmax(0,1fr))!important}html body header nav.sx-main-menu:has(>a[href="/skyx-hub"])>a[href],html body nav[aria-label="Быстрые переходы по сайту"]:has(>a[href="/skyx-hub"])>a[href]{padding:4px 2px!important;line-height:1.22!important;font-size:clamp(12px,3.45vw,14px)!important;min-height:44px!important;overflow-wrap:anywhere}}

}

@layer hub-navigation {
 @media (min-width:360px) and (max-width:640px){
  html body header nav.sx-main-menu:has(>a[href="/skyx-hub"]) > a[href]{min-height:49.8px!important}
  html body nav[aria-label="Быстрые переходы по сайту"]:has(>a[href="/skyx-hub"]) > a[href]:nth-child(-n+4){min-height:49.8px!important}
 }
}

@layer hub-navigation {
 @media (min-width:641px) and (max-width:1100px){
  html body nav[aria-label="Быстрые переходы по сайту"]:has(>a[href="/skyx-hub"]){gap:2px!important}
  html body nav[aria-label="Быстрые переходы по сайту"]:has(>a[href="/skyx-hub"])>a[href]{font-size:14px!important;padding-inline:4px!important}
 }
}
