/* Route gates run before deferred controllers. Other pages keep their layout. */
:root[data-product-key]:not([data-product-key="home"]) .nb-home-account{display:none}
:root[data-product-key="home"] :is(#main,#portfolio),
:root[data-product-key="bac-music"] :is(#home,#portfolio),
:root[data-product-key]:not([data-product-key="home"]):not([data-product-key="bac-music"]) :is(#home,#main){display:none}
:root:is([data-product-key="home"],[data-product-key="countdown"],[data-product-key="keepalive"],[data-product-key="scanner"]) .nb-local{display:none}
/* Homepage composition. All product imagery remains unaltered. */
.atlas-site .nb-home{--home-hero:#f2f5f9;--home-cleaner:#f2f5f3;--home-network:#edf2f8;--home-node:#fff;--home-network-line:#718baa;--home-action:#244bdb;max-width:none;margin:0;padding:0;background:var(--paper);color:var(--ink)}
:root[data-theme=dark] .nb-home{--home-hero:#191e29;--home-cleaner:#192422;--home-network:#192536;--home-node:#25354b;--home-network-line:#93adc9;--home-action:#a4b6ff}
.nb-home[hidden]{display:none}
.nb-home :is(h1,h2,h3,p,figure){margin:0}
.nb-home .nb-home-hero{background:var(--home-hero)}
.nb-home .nb-home-hero-inner{max-width:1200px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:48px;padding:64px 48px 72px}
.nb-home .nb-home-copy{min-width:0}
.nb-home .nb-home-app-mark{display:block;width:48px;height:48px;margin-bottom:24px}
.nb-home .nb-home-lead h1{font-size:clamp(48px,5.5vw,72px);line-height:1.08;letter-spacing:-.045em;font-weight:600;text-wrap:balance}
.nb-home .nb-home-copy>p{color:var(--muted);font-size:17px;line-height:1.8;margin-top:16px;text-wrap:pretty}
.nb-home .nb-home-lead>p{font-size:20px;max-width:19em;margin-top:24px;text-wrap:balance}
.nb-home .nb-home-phrase{white-space:nowrap}
.nb-home .nb-home-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 24px;margin-top:32px;border:1px solid transparent;border-radius:999px;background:#244bdb;color:#fff;font-size:16px;line-height:1.5;text-decoration:none;transition:background-color 160ms ease,box-shadow 160ms ease}
.nb-home .nb-home-button:hover{background:#193bb4;box-shadow:0 3px 12px rgb(36 75 219 / .12)}
.nb-home .nb-home-button:active{background:#163398}
.nb-home .nb-home-browse{display:flex;align-items:center;gap:12px;width:fit-content;min-height:44px;margin-top:24px;color:var(--muted);font-size:14px;border:0;text-decoration:none}
.nb-home .nb-home-browse:hover{color:var(--ink);text-decoration:underline;text-underline-offset:5px}
.nb-home .nb-home-stage{display:flex;align-items:center;justify-content:center;gap:24px;min-width:0;padding:24px 0}
.nb-home .nb-home-phone{display:block;width:clamp(144px,18vw,224px);height:auto;aspect-ratio:575/1280;border:5px solid #252832;border-radius:28px;box-sizing:border-box;box-shadow:0 20px 36px rgb(17 24 39 / .1)}
.nb-home .nb-home-phone+img{width:clamp(128px,16vw,200px);margin-top:56px}
.nb-home .nb-home-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;scroll-margin-top:8px}
.nb-home .nb-home-products>section{display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-width:0;padding:56px 32px 40px;gap:32px}
.nb-home .nb-home-cleaner{background:var(--home-cleaner)}
.nb-home .nb-home-network{background:var(--home-network)}
.nb-home .nb-home-products .nb-home-copy{text-align:center;max-width:100%}
.nb-home .nb-home-products h2{font-size:clamp(28px,3vw,40px);line-height:1.25;letter-spacing:-.025em;font-weight:600;text-wrap:balance}
.nb-home .nb-inline-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:12px;border:0;color:var(--home-action);text-decoration:none;font-size:16px;line-height:1.5;transition:color 160ms ease}
.nb-home .nb-inline-link:hover{text-decoration:underline;text-underline-offset:5px}
.nb-home .nb-inline-link:active{opacity:.72}
.nb-home .nb-inline-link>span{font-size:24px;line-height:1}
.nb-home a:focus-visible{outline:2px solid var(--home-action);outline-offset:5px}
.nb-home .nb-home-cleaner-media{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;max-width:600px;flex:1;padding-block:24px}
.nb-home .nb-home-desktop{display:block;width:100%;height:auto;aspect-ratio:1336/820;border-radius:10px;box-shadow:0 12px 32px rgb(17 24 39 / .06)}
.nb-home .nb-home-topology{align-self:stretch;min-width:0;margin:auto 0;padding-block:24px}
.nb-home .nb-topology-map{position:relative;aspect-ratio:600/280;max-width:600px;margin-inline:auto}
.nb-home .nb-topology-links{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--home-network-line);stroke-width:1.5;vector-effect:non-scaling-stroke}
.nb-home .nb-topology-core,.nb-home .nb-topology-access{position:absolute;display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 16px;border:1px solid var(--home-network-line);background:var(--home-node);border-radius:8px;font-size:13px;white-space:nowrap;transform:translate(-50%,-50%)}
.nb-home .nb-topology-core{left:50%;top:15.7%;font-weight:600}
.nb-home .nb-topology-access{top:56.4%}
.nb-home .nb-topology-access-a{left:25%}.nb-home .nb-topology-access-b{left:75%}
.nb-home .nb-topology-endpoints{position:absolute;left:0;right:0;top:86%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));text-align:center;font-size:12px;color:var(--muted)}
.nb-home .nb-topology-endpoints span{justify-self:center;padding:8px 12px;background:var(--home-node);border:1px solid var(--home-network-line);border-radius:6px}
.nb-home .nb-home-topology figcaption{text-align:center;font-size:12px;color:var(--muted);margin-top:32px}
.nb-home .nb-home-tools{max-width:1200px;margin-inline:auto;padding:80px 48px 88px;display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:80px}
.nb-home .nb-home-tools-heading h2{font-size:32px;line-height:1.3;font-weight:600;letter-spacing:-.02em}
.nb-home .nb-home-tool{padding-block:24px;border-bottom:1px solid var(--line)}
.nb-home .nb-home-tool:first-child{padding-top:0}
.nb-home .nb-home-tool:last-child{padding-bottom:0;border-bottom:0}
.nb-home .nb-home-tool .nb-home-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px}
.nb-home .nb-home-tool h3{font-size:24px;line-height:1.4;font-weight:600;letter-spacing:-.02em}
.nb-home .nb-home-tool .nb-home-copy>p{grid-column:1;font-size:15px;margin-top:8px}
.nb-home .nb-home-tool .nb-home-status{grid-column:1;font-size:12px;line-height:1.8;color:var(--muted);margin-top:8px}
.nb-home .nb-home-tool .nb-inline-link{grid-column:2;grid-row:1/4;align-self:center;margin:0;font-size:14px}
:root[data-product-key=home] .nb-home-account{display:inline-flex;align-items:center;min-height:48px;margin-left:auto;font-size:16px;white-space:nowrap}
@media(prefers-reduced-motion:no-preference){
 .nb-home .nb-home-phone{animation:nb-home-float 7s ease-in-out infinite;animation-play-state:paused}
 .nb-home .nb-home-phone+img{animation-delay:-3.5s}
 .nb-home-feature.studio-motion-active .nb-home-phone{animation-play-state:running}
 :root[data-site-motion=paused] .nb-home .nb-home-phone{animation-play-state:paused}
 @keyframes nb-home-float{0%,100%{translate:0 0}50%{translate:0 -8px}}
}
@media(min-width:1600px){.nb-home .nb-home-hero-inner{padding-block:88px 96px}}
@media(max-width:1023px){
 .nb-home .nb-home-hero-inner{gap:24px;padding:56px 32px}
 .nb-home .nb-home-stage{gap:16px}
 .nb-home .nb-home-products>section{padding:40px 24px 32px}
 .nb-home .nb-home-products h2{font-size:30px}
 .nb-home .nb-home-copy>p{font-size:16px}
 .nb-home .nb-home-tools{padding:64px 32px;gap:40px}
}
@media(max-width:767px){
 .nb-home .nb-home-hero-inner{grid-template-columns:minmax(0,1fr);padding:40px 24px 48px;gap:24px}
 .nb-home .nb-home-lead{text-align:center}
 .nb-home .nb-home-app-mark{margin:0 auto 20px;width:40px;height:40px}
 .nb-home .nb-home-lead h1{font-size:48px}
 .nb-home .nb-home-lead>p{font-size:18px;max-width:18em;margin:20px auto 0}
 .nb-home .nb-home-button{margin-top:24px}
 .nb-home .nb-home-browse{margin:16px auto 0}
 .nb-home .nb-home-stage{gap:20px;padding:16px 0 8px}
 .nb-home .nb-home-phone{width:clamp(116px,34vw,196px);border-width:4px;border-radius:22px}
 .nb-home .nb-home-phone+img{width:clamp(104px,30vw,172px);margin-top:32px}
 .nb-home .nb-home-products{grid-template-columns:minmax(0,1fr);padding:8px;gap:8px}
 .nb-home .nb-home-products>section{padding:40px 24px 32px;gap:24px}
 .nb-home .nb-home-products h2{font-size:30px}
 .nb-home .nb-home-cleaner-media{padding-block:8px;max-width:520px}
 .nb-home .nb-home-topology{width:100%;max-width:520px;align-self:center;padding-block:8px 16px}
 .nb-home .nb-topology-core,.nb-home .nb-topology-access{font-size:11px;min-height:32px;padding:4px 8px}
 .nb-home .nb-topology-endpoints{font-size:11px}
 .nb-home .nb-topology-endpoints span{padding:4px 8px}
 .nb-home .nb-home-tools{grid-template-columns:minmax(0,1fr);padding:48px 24px 56px;gap:32px}
 .nb-home .nb-home-tools-heading h2{font-size:28px}
 .nb-home .nb-home-tool h3{font-size:22px}
 .nb-home .nb-home-tool .nb-home-copy{column-gap:16px}
 .nb-home .nb-home-tool .nb-inline-link{grid-column:1;grid-row:auto;justify-self:start;margin-top:8px}
}
@media(max-width:600px){
 :root[data-product-key=home] .nb-primary{grid-template-rows:48px 44px;padding-block:6px}
 :root[data-product-key=home] .nb-primary>.nb-brand{grid-row:1;align-self:center}
 :root[data-product-key=home] .nb-primary>.nb-toggle,:root[data-product-key=home] .nb-primary>.nb-daynight{grid-row:1}
 :root[data-product-key=home] .nb-home-account{grid-column:1/-1;grid-row:2;margin:0;min-height:44px;justify-self:start;font-size:14px}
 :root[data-product-key=home] .nb-products{top:104px}
}
