/* Site chrome: glass top nav + frosted-glass footer, in the TapGrid logo colors.
   Loaded last on every page. */
:root{--tg-blue:#2f7bff;--tg-cyan:#38e6da;--tg-ink:#eef4ff;--tg-muted:#b9c6dd}

/* ---------- Top header: main pages ---------- */
.site-header:not(.site-footer-bar) .topnav{gap:2px;padding:6px;border-radius:100px;background:linear-gradient(135deg,rgba(47,123,255,.16),rgba(56,230,218,.06)),rgba(8,12,28,.45);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 10px 30px rgba(0,0,0,.28)}
.site-header:not(.site-footer-bar) .topnav a{padding:9px 16px;border-radius:100px;font-size:.88rem;font-weight:550;color:#e6eefb;transition:background .18s,color .18s}
.site-header:not(.site-footer-bar) .topnav a:hover{background:rgba(56,230,218,.14);color:#fff}
.site-header .nav-cta{box-shadow:0 0 0 1px rgba(56,230,218,.35),0 8px 26px rgba(47,123,255,.35)}
.site-header .logo img{filter:drop-shadow(0 4px 18px rgba(47,123,255,.35))}
@media(max-width:850px){.site-header:not(.site-footer-bar) .topnav a{padding:8px 11px;font-size:.8rem}}
@media(max-width:560px){.site-header:not(.site-footer-bar) .topnav{padding:4px;gap:0}.site-header:not(.site-footer-bar) .topnav a{padding:7px 9px;font-size:.74rem}}

/* ---------- Top header: package pages ---------- */
header.industry-head,.industry .industry-head{background:linear-gradient(135deg,rgba(47,123,255,.12),rgba(56,230,218,.04)),rgba(6,10,24,.62);-webkit-backdrop-filter:blur(16px) saturate(150%);backdrop-filter:blur(16px) saturate(150%);border-bottom:1px solid rgba(255,255,255,.12);box-shadow:0 10px 30px rgba(0,0,0,.25)}
.industry-head .brand{width:168px}
.industry-head .brand img{filter:drop-shadow(0 4px 16px rgba(47,123,255,.35))}
.industry-head nav a,.industry-head .niche-menu summary{color:#e6eefb}
.industry-head nav a:hover,.industry-head .niche-menu summary:hover{color:var(--tg-cyan)}
.industry-head .head-cta{color:#fff;border-color:rgba(56,230,218,.55);background:rgba(56,230,218,.1)}
.industry-head .head-cta:hover{background:var(--tg-cyan);color:#06101c}
.niche-flyout{background:rgba(12,18,36,.88)!important;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.14)!important;border-radius:14px!important}
.niche-flyout a{border-radius:9px}.niche-flyout a:hover,.niche-flyout a:focus-visible{background:rgba(56,230,218,.14)!important}
@media(max-width:760px){.industry-head .brand{width:124px}}

/* ---------- Frosted-glass footer (all pages) ---------- */
footer.tg-footer{display:block;background:none;border:0;gap:0;padding:40px 0 34px;color:inherit;font-size:inherit}
footer.tg-footer p{flex:none}
.tg-footer{position:relative;isolation:isolate;width:min(1320px,calc(100% - 10vw));margin:30px auto 0;padding:40px 0 34px}
.tg-footer:before,.tg-footer:after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(40px);pointer-events:none}
.tg-footer:before{width:46%;height:70%;left:2%;top:18%;background:radial-gradient(closest-side,rgba(47,123,255,.55),transparent)}
.tg-footer:after{width:38%;height:60%;right:4%;top:6%;background:radial-gradient(closest-side,rgba(56,230,218,.42),transparent)}
.tg-glass{position:relative;overflow:hidden;padding:30px 34px 22px;border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.03) 40%,rgba(56,230,218,.06)),rgba(10,16,34,.42);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(56,230,218,.12),0 24px 60px rgba(0,0,0,.45)}
.tg-glass:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(56,230,218,.7),rgba(47,123,255,.7),transparent)}
.tg-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
.tg-logo{display:inline-flex;flex:none}
.tg-logo img{display:block;width:170px;height:auto;filter:drop-shadow(0 4px 18px rgba(47,123,255,.4))}
.tg-links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 6px}
.tg-footer .tg-links a{padding:8px 13px;border-radius:100px;font-size:.88rem;font-weight:550;color:var(--tg-ink);white-space:nowrap;transition:background .18s,color .18s}
.tg-footer .tg-links a:hover{background:rgba(56,230,218,.14);color:#fff}
.tg-socials{display:flex;gap:10px;flex:none}
.tg-footer .tg-socials a{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;font-size:.8rem;font-weight:700;color:#fff;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.2);transition:background .18s,color .18s,border-color .18s,transform .18s}
.tg-footer .tg-socials a:hover{background:linear-gradient(135deg,var(--tg-blue),var(--tg-cyan));border-color:transparent;color:#06101c;transform:translateY(-2px)}
.tg-sub{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 24px;margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1);font-size:.8rem;color:var(--tg-muted)}
.tg-pkgs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
.tg-pkgs b{font-weight:650;color:#dfe8f7}
.tg-footer .tg-pkgs a{padding:0;font-size:.8rem;font-weight:500;color:var(--tg-muted)}
.tg-footer .tg-pkgs a:hover{color:var(--tg-cyan)}
.tg-tag{letter-spacing:.18em;font-size:.68rem;font-weight:700;color:#cfe3f5}
.tg-footer a:focus-visible{outline:3px solid var(--tg-cyan);outline-offset:3px}
@media(max-width:980px){.tg-row{flex-wrap:wrap}.tg-links{order:3;width:100%;justify-content:flex-start;margin-left:-13px}}
@media(max-width:560px){footer.tg-footer{width:calc(100% - 28px);padding-top:30px}.tg-glass{padding:24px 20px 18px;border-radius:22px}.tg-logo img{width:132px}.tg-socials{gap:8px}.tg-footer .tg-socials a{width:40px;height:40px}.tg-sub{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.tg-footer .tg-socials a,.tg-footer .tg-links a,.site-header .topnav a{transition:none}}

/* ---------- One header everywhere (desktop + mobile) ---------- */
.site-header:not(.site-footer-bar) .topnav a[aria-current=page]{background:rgba(56,230,218,.16);color:#fff;box-shadow:inset 0 0 0 1px rgba(56,230,218,.35)}
/* package pages: same glass capsule as the main pages */
.industry-head nav[aria-label="Niche navigation"]{display:flex;align-items:center;gap:2px;padding:6px;border-radius:100px;background:linear-gradient(135deg,rgba(47,123,255,.16),rgba(56,230,218,.06)),rgba(8,12,28,.45);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 10px 30px rgba(0,0,0,.28)}
.industry-head nav[aria-label="Niche navigation"]>a,.industry-head .niche-menu summary{padding:9px 16px;border-radius:100px;font-size:.88rem;font-weight:550;color:#e6eefb}
.industry-head nav[aria-label="Niche navigation"]>a:hover,.industry-head .niche-menu summary:hover{background:rgba(56,230,218,.14);color:#fff}
.industry-head .head-cta{margin-left:4px}
.industry .home-nav{display:inline-flex!important}
@media(max-width:850px){.industry-head nav[aria-label="Niche navigation"]>a,.industry-head .niche-menu summary{padding:8px 11px;font-size:.8rem}}
@media(max-width:560px){
  .industry-head nav[aria-label="Niche navigation"]{padding:4px;gap:0}
  .industry-head nav[aria-label="Niche navigation"]>a,.industry-head .niche-menu summary{padding:7px 9px;font-size:.74rem}
  .industry-head .head-cta{padding:7px 10px!important}
  .industry-head .brand{width:116px}
}
@media(max-width:400px){
  .industry-head .brand{width:104px}
  .site-header:not(.site-footer-bar) .logo img{width:104px}
  .industry-head nav[aria-label="Niche navigation"]>a,.industry-head .niche-menu summary{padding:7px 7px;font-size:.72rem}
  .industry-head .niche-menu summary{gap:.3rem}
  .industry-head .head-cta{padding:7px 9px!important}
}
