/* Make Orbit Tech — V26.40 | One continuous, compact aurora from site header into each hero.
   Keep original header, navigation behaviour, themed surfaces, search and ChatMOT untouched. */

/* The gradient starts at the top edge of the document, not below the header. */
body.mot37-home,
body.mot39-page{
  --mot40-base:#f5f9fc;
  --mot40-nav:rgba(255,255,255,.64);
  background-color:var(--mot40-base)!important;
  background-image:
    radial-gradient(ellipse 46% 62% at 0% 2%,rgba(71,213,203,.67) 0%,rgba(71,213,203,.24) 47%,transparent 100%),
    radial-gradient(ellipse 45% 61% at 101% 2%,rgba(124,108,240,.44) 0%,rgba(124,108,240,.15) 53%,transparent 100%),
    radial-gradient(ellipse 43% 48% at 52% 74%,rgba(59,155,240,.32),transparent 82%),
    linear-gradient(var(--mot40-base),var(--mot40-base))!important;
  background-size:100% min(820px,95vh),100% min(820px,95vh),100% min(820px,95vh),100% 100%!important;
  background-repeat:no-repeat!important;
  background-attachment:scroll!important;
}
html[data-theme="dark"] body.mot37-home,
html[data-theme="dark"] body.mot39-page{
  --mot40-base:#071321;
  --mot40-nav:rgba(9,23,40,.70);
  background-image:
    radial-gradient(ellipse 48% 62% at 1% 2%,rgba(33,158,163,.37) 0%,rgba(33,158,163,.12) 49%,transparent 100%),
    radial-gradient(ellipse 45% 60% at 100% 4%,rgba(95,75,192,.38) 0%,rgba(95,75,192,.12) 51%,transparent 100%),
    radial-gradient(ellipse 43% 48% at 52% 78%,rgba(32,102,174,.25),transparent 80%),
    linear-gradient(var(--mot40-base),var(--mot40-base))!important;
}
/* One layer throughout the top of every public page: hero and header share the aurora. */
body.mot37-home > .mot37,
body.mot39-page > main{background:transparent!important;}
body.mot37-home .mot37 .hero,
body.mot39-page :where(.mot24-page-hero,.motblog-article-header){
  background:transparent!important;
}
body.mot37-home .mot37 .hero::before{opacity:0!important;animation:none!important;}
body.mot37-home .mot37 .hero .bl{opacity:.12;}
body.mot37-home.orbit-glass > header.topbar,
body.mot39-page.orbit-glass > header.topbar{
  background:var(--mot40-nav)!important;
  border-color:color-mix(in srgb,var(--mot39-line,#cfdde9) 68%,transparent)!important;
  box-shadow:0 12px 34px -30px rgba(8,40,59,.24)!important;
  backdrop-filter:blur(20px) saturate(1.18);
  -webkit-backdrop-filter:blur(20px) saturate(1.18);
}
/* Homepage: remove the redundant empty block between nav and hero while maintaining breathing room. */
body.mot37-home .mot37 .hero{
  min-height:0!important;
  padding-top:clamp(20px,2.5vw,42px)!important;
  padding-bottom:clamp(42px,4.6vw,72px)!important;
}
body.mot37-home .mot37 .hero h1{margin-bottom:clamp(17px,2vw,27px)!important;}
body.mot37-home .mot37 .hero .hl{gap:16px!important;}
/* Interior layouts: shift the content nearer to the floating header; preserve each hero's grid. */
body.mot39-page :where(.mot27-hero-inner,.mot263-hero-inner,.p-hero-grid,.innerhero-grid,.faq-hero-layout,.aiv-hero-grid,.mot-contact26-hero-grid,.motblog-hero-layout){
  padding-top:clamp(26px,3.6vw,54px)!important;
  padding-bottom:clamp(46px,5.8vw,86px)!important;
}
body.mot39-page :where(.mot24-page-hero h1,.motblog-article-header h1){margin-top:clamp(10px,1.6vw,22px)!important;}
/* Blog articles use a different template; pull their headline into the same top surface. */
body.mot39-page .motblog-article-header{
  padding-top:clamp(24px,3vw,45px)!important;
  padding-bottom:clamp(43px,5vw,74px)!important;
}
body.mot39-page .motblog-article-header::before{opacity:.38;}
/* SEO editorials use long-form layouts instead of an explicit hero section. */
body.mot39-page main:has(> .motseo-article) .motseo-article{
  padding-top:clamp(32px,4.3vw,63px)!important;
  background:transparent!important;
}
body.mot39-page .motseo-section.mot24-page-hero{
  padding-top:clamp(36px,4.5vw,64px)!important;
  padding-bottom:clamp(48px,5.5vw,80px)!important;
}
body.mot39-page .mot39-ledger{background:color-mix(in srgb,var(--mot39-surface) 72%,transparent)!important;}
@media(max-width:900px){
 body.mot39-page :where(.mot27-hero-inner,.mot263-hero-inner,.p-hero-grid,.innerhero-grid,.faq-hero-layout,.aiv-hero-grid,.mot-contact26-hero-grid,.motblog-hero-layout){padding-top:30px!important;padding-bottom:60px!important;}
}
@media(max-width:600px){
 body.mot37-home,body.mot39-page{
  background-size:100% 630px,100% 630px,100% 630px,100% 100%!important;
 }
 body.mot37-home .mot37 .hero{padding-top:22px!important;padding-bottom:44px!important;}
 body.mot39-page :where(.mot27-hero-inner,.mot263-hero-inner,.p-hero-grid,.innerhero-grid,.faq-hero-layout,.aiv-hero-grid,.mot-contact26-hero-grid,.motblog-hero-layout){padding-top:25px!important;padding-bottom:45px!important;}
 body.mot39-page .motblog-article-header{padding-top:24px!important;padding-bottom:38px!important;}
 body.mot39-page main:has(> .motseo-article) .motseo-article{padding-top:27px!important;}
}
@media(prefers-reduced-motion:reduce){body.mot37-home .mot37 .hero::before{animation:none!important;}}
/* Article templates originally placed a solid panel and extra top padding below the breadcrumb. */
body.mot39-page .motblog-article{background:transparent!important;}
body.mot39-page .motblog-article-header .motblog-article-heading{padding-top:clamp(22px,2.8vw,40px)!important;}
body.mot39-page .motblog-article-header .motblog-article-dek{color:var(--mot39-muted)!important;}
body.mot39-page .motblog-article-header .motblog-article-author :is(small,time,span){color:var(--mot39-muted)!important;}
html[data-theme="light"] body.mot39-page .motblog .motblog-article-header .motblog-article-dek,
html[data-theme="dark"] body.mot39-page .motblog .motblog-article-header .motblog-article-dek{color:var(--mot39-muted)!important;}
html[data-theme="light"] body.mot39-page .motblog .motblog-article-header :is(.motblog-article-author small,.motblog-author-date),
html[data-theme="dark"] body.mot39-page .motblog .motblog-article-header :is(.motblog-article-author small,.motblog-author-date){color:var(--mot39-muted)!important;}
