/* =============================================================
   V71 — LAYER ALIGNMENT + APPROVED ADIAL MARK
   Locks the layer to the original visual concept:
   people -> glowing Adial layer -> seven aligned app connectors.
   ============================================================= */

/* Triple-A brand motif using ONLY the approved A asset */
.brand-aaa{position:relative!important;width:230px!important;height:120px!important;margin-top:2.1rem!important;display:block!important}
.brand-aaa img{position:absolute!important;width:88px!important;height:auto!important;object-fit:contain!important;filter:drop-shadow(0 0 12px rgba(255,138,0,.38))!important;animation:none!important}
.brand-aaa img:nth-child(1){left:0!important;top:34px!important;opacity:1!important}
.brand-aaa img:nth-child(2){left:46px!important;top:14px!important;opacity:.48!important}
.brand-aaa img:nth-child(3){left:92px!important;top:0!important;opacity:.18!important}
.brand-aaa i{position:absolute!important;left:12px!important;right:0!important;bottom:8px!important;height:3px!important;border-radius:999px!important;background:linear-gradient(90deg,#ff8a00,rgba(255,138,0,.16),transparent)!important;box-shadow:0 0 14px rgba(255,138,0,.35)!important;animation:none!important}

/* Rebuild the layer as one coherent object, not an oversized orange pill. */
.live-layer{max-width:960px!important;padding:0 14px!important}
.layer-people{padding:0 48px!important;gap:18px!important}
.layer-people span{min-height:84px!important}

/* top connectors land exactly under the three people cards */
.layer-flows-top{width:100%!important;height:66px!important;padding:0 48px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.layer-flows-top i{justify-self:stretch!important;width:auto!important;background:none!important}
.layer-flows-top i:before{left:50%!important;width:2px!important;background:repeating-linear-gradient(to bottom,#ff9e32 0 5px,transparent 5px 9px)!important;box-shadow:0 0 6px rgba(255,138,0,.7)!important}

.layer-platform{min-height:185px!important;margin:-16px 0 -8px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.layer-platform:before{
  left:2%!important;right:2%!important;top:24px!important;height:142px!important;
  border-radius:50% / 22%!important;
  background:
    radial-gradient(ellipse at 50% 16%,rgba(255,244,222,.95) 0%,rgba(255,213,150,.92) 14%,rgba(255,176,74,.98) 34%,rgba(255,145,27,.99) 62%,#ff7f08 84%,#ed6900 100%)!important;
  border:1.5px solid rgba(255,245,226,.92)!important;
  box-shadow:0 0 24px rgba(255,138,0,.86),0 0 58px rgba(255,138,0,.31),inset 0 10px 26px rgba(255,255,255,.26),inset 0 -13px 22px rgba(123,47,0,.13)!important;
  transform:perspective(700px) rotateX(3deg)!important;
}
.layer-platform:after{left:8%!important;right:8%!important;top:47px!important;height:78px!important;border-color:rgba(255,242,222,.30)!important}
.layer-platform .layer-orbit{left:15%!important;right:15%!important;top:61px!important;height:51px!important;border-color:rgba(255,242,222,.23)!important}
.layer-platform img{content:normal!important;width:330px!important;max-width:48%!important;max-height:104px!important;height:auto!important;object-fit:contain!important;filter:none!important;z-index:7!important}

/* Seven outputs. Same seven columns are used by the app cards below. */
.layer-flows-bottom{width:100%!important;height:62px!important;padding:0 34px!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;margin:0!important}
.layer-flows-bottom i{justify-self:stretch!important;width:auto!important;background:none!important}
.layer-flows-bottom i:before{left:50%!important;width:2px!important;background:repeating-linear-gradient(to bottom,#ff9e32 0 5px,transparent 5px 9px)!important;box-shadow:0 0 7px rgba(255,138,0,.76)!important}
.layer-flows-bottom i:after{left:calc(50% - 4px)!important;top:42%!important}

/* One clean desktop row: each connector lands on the centre of its app tile. */
.layer-systems{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:10px!important;padding:0 34px!important;margin-top:-3px!important;align-items:stretch!important}
.layer-systems span,.layer-systems span:nth-child(-n+4),.layer-systems span:nth-child(n+5){grid-column:auto!important;min-width:0!important;min-height:64px!important;padding:8px 6px!important;border-radius:12px!important}
.layer-systems img{max-width:90px!important;max-height:31px!important;width:auto!important;height:auto!important}
.layer-systems small{font-size:.46rem!important}
.layer-systems .system-more b{font-size:1rem!important;letter-spacing:.15em!important;color:#ff8a00!important}

/* Prevent any older CSS from injecting the wrong Adial file. */
.layer-platform img[src*="adial_primary_correct_v71"]{content:normal!important}

@media(max-width:1100px){
  .layer-systems{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:0 22px!important}
  .layer-systems span:nth-child(n+5){grid-column:auto!important}
  .layer-flows-bottom{display:none!important}
  .layer-platform{margin:-14px 0 -2px!important}
}

@media(max-width:760px){
  .brand-aaa{display:none!important}
  .layer-people{padding:0!important;gap:8px!important}
  .layer-flows-top{padding:0!important;height:58px!important}
  .layer-platform{min-height:168px!important;margin:-20px -6px -8px!important}
  .layer-platform:before{left:-1%!important;right:-1%!important;top:19px!important;height:138px!important}
  .layer-platform img{width:250px!important;max-width:66%!important;max-height:78px!important}
  .layer-systems{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0!important}
  .layer-systems .system-more{grid-column:1 / -1!important}
}
