/* TransVare Suite — "Product Portals" (final override, loaded last) */
html body #homepage-suite#homepage-suite .suite-discipline-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;
  background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:8px 0 0!important;overflow:visible!important;counter-reset:suite;
}
html body #homepage-suite#homepage-suite .suite-discipline-grid>.product-card{
  --pc:#1e3a8a;--pd:#0f1b3d;--pl:#dbe4ff;counter-increment:suite;position:relative!important;isolation:isolate;
  display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;margin:0!important;
  border-radius:24px!important;overflow:hidden!important;transform:translateY(0)!important;
  border:1px solid transparent!important;
  background:linear-gradient(#fff,#fff) padding-box,linear-gradient(160deg,color-mix(in oklab,var(--pc) 55%,transparent),rgba(15,27,61,.06) 45%,color-mix(in oklab,var(--pc) 35%,transparent)) border-box!important;
  box-shadow:0 1px 2px rgba(15,27,61,.05),0 24px 50px -30px color-mix(in oklab,var(--pd) 55%,transparent)!important;
  transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s ease!important;
}
html body #homepage-suite#homepage-suite .suite-discipline-grid>.product-card[href*="ermvare"]{--pc:#1f9d55;--pd:#0e4d2a;--pl:#d9f3e3}
html body #homepage-suite#homepage-suite .suite-discipline-grid>.product-card[href*="auditvare"]{--pc:#c99a1e;--pd:#5a2a6e;--pl:#f8edcf}
html body #homepage-suite#homepage-suite .suite-discipline-grid>.product-card[href*="compliancevare"]{--pc:#2563eb;--pd:#0b2a6b;--pl:#dbe7ff}
html body #homepage-suite#homepage-suite .suite-discipline-grid>.product-card[href*="governancevare"]{--pc:#4338ca;--pd:#1e1b6b;--pl:#e0defb}
html body #homepage-suite#homepage-suite .suite-discipline-grid>.product-card[href*="cybervare"]{--pc:#d0145a;--pd:#5c0a2c;--pl:#fbd9e6}
html body #homepage-suite#homepage-suite .suite-discipline-grid>.product-card[href*="incivare"]{--pc:#ef5a32;--pd:#7a2410;--pl:#fde2d8}
html body #homepage-suite#homepage-suite .product-card:hover{transform:translateY(-8px)!important;box-shadow:0 2px 4px rgba(15,27,61,.06),0 40px 70px -30px color-mix(in oklab,var(--pd) 70%,transparent)!important}
/* kill legacy decoration */
html body #homepage-suite#homepage-suite .product-card::before{content:none!important}
html body #homepage-suite#homepage-suite .product-card::after{
  content:""!important;position:absolute!important;inset:0!important;z-index:-1;pointer-events:none;opacity:0;transition:opacity .4s;
  background:radial-gradient(380px circle at var(--mx,50%) var(--my,0%),color-mix(in oklab,var(--pc) 12%,transparent),transparent 60%)!important;
}
html body #homepage-suite#homepage-suite .product-card:hover::after{opacity:1}

/* Portal header */
html body #homepage-suite#homepage-suite .product-card .sx-portal{display:block!important;
  position:relative;height:132px;margin:0;overflow:hidden;
  background:
    radial-gradient(120% 140% at 100% 0%,color-mix(in oklab,var(--pc) 85%,#fff) 0%,transparent 55%),
    linear-gradient(135deg,var(--pd) 0%,color-mix(in oklab,var(--pc) 75%,var(--pd)) 70%,var(--pc) 100%);
}
html body #homepage-suite .sx-portal svg{position:absolute;inset:0;width:100%;height:100%}
html body #homepage-suite .sx-portal .ln{stroke:rgba(255,255,255,.28);stroke-width:1}
html body #homepage-suite .sx-portal .nd{fill:#fff;opacity:.75;animation:sxPulse 3.2s ease-in-out infinite}
html body #homepage-suite .sx-portal .pk{fill:#fff;filter:drop-shadow(0 0 6px #fff)}
html body #homepage-suite .sx-portal::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.22) 48%,transparent 62%);transform:translateX(-100%);transition:transform 1.1s ease}
html body #homepage-suite .product-card:hover .sx-portal::after{transform:translateX(100%)}
html body #homepage-suite .sx-num{position:absolute;right:20px;top:14px;font:500 13px/1 "Space Grotesk",sans-serif;color:rgba(255,255,255,.75)}
@keyframes sxPulse{0%,100%{opacity:.35}50%{opacity:1}}

/* Logo chip overlapping header */
html body #homepage-suite#homepage-suite .suite-discipline-brand{
  position:relative;z-index:2;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important;
  margin:-34px 26px 14px!important;padding:0!important;background:none!important;
}
html body #homepage-suite#homepage-suite .suite-discipline-brand::after{content:none!important}
html body #homepage-suite#homepage-suite .suite-discipline-grid>.product-card .suite-discipline-brand img.logo.tv-product-logo{min-height:64px!important;max-height:none!important;min-width:0!important;
  height:64px!important;width:auto!important;max-width:260px!important;box-sizing:border-box;padding:16px 20px!important;margin:0!important;
  background:#fff!important;border-radius:16px!important;object-fit:contain;
  box-shadow:0 14px 30px -14px color-mix(in oklab,var(--pd) 60%,transparent),0 0 0 1px rgba(15,27,61,.06)!important;filter:none!important;
  transition:transform .5s cubic-bezier(.2,.8,.2,1)!important;
}
html body #homepage-suite .product-card:hover .suite-discipline-brand .logo{transform:translateY(-3px)}
html body #homepage-suite#homepage-suite .suite-discipline-brand .tag{
  display:inline-flex!important;align-items:center;gap:8px;background:var(--pl)!important;border:0!important;box-shadow:none!important;
  padding:6px 12px!important;border-radius:999px!important;font:600 14px/1.2 "DM Sans",sans-serif!important;text-transform:none!important;letter-spacing:0!important;color:var(--pd)!important;
}
html body #homepage-suite#homepage-suite .suite-discipline-brand .tag::before{content:""!important;display:block!important;width:7px;height:7px;border-radius:50%;background:var(--pc)!important;box-shadow:0 0 0 3px color-mix(in oklab,var(--pc) 25%,transparent)}

html body #homepage-suite#homepage-suite .product-card>p{margin:0 26px 18px!important;color:#0f1b3d!important;font-size:17px!important;line-height:1.55!important}
html body #homepage-suite#homepage-suite .product-card ul{
  list-style:none!important;margin:0 26px 22px!important;padding:0!important;border:0!important;
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;
}
html body #homepage-suite#homepage-suite .product-card li{
  position:relative;display:flex!important;align-items:flex-start;gap:8px;margin:0!important;padding:10px 12px!important;
  background:color-mix(in oklab,var(--pl) 45%,#fff)!important;border:1px solid color-mix(in oklab,var(--pc) 14%,transparent)!important;border-radius:12px!important;
  color:#1f2a4a!important;font-size:14px!important;line-height:1.35!important;box-shadow:none!important;
  transition:background .3s,border-color .3s!important;
}
html body #homepage-suite#homepage-suite .product-card li::before{
  content:""!important;position:static!important;flex:0 0 14px;width:14px!important;height:14px!important;margin-top:2px!important;transform:none!important;border-radius:50%!important;
  background:var(--pc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.2' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat!important;
}
html body #homepage-suite .product-card:hover li{border-color:color-mix(in oklab,var(--pc) 30%,transparent)!important}

html body #homepage-suite#homepage-suite .product-card .text-link{
  margin:auto 0 0!important;padding:16px 26px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;
  border-top:1px solid rgba(15,27,61,.07)!important;background:linear-gradient(90deg,var(--pl),#fff 70%)!important;
  font:600 16px/1 "DM Sans",sans-serif!important;color:var(--pd)!important;transition:background .4s,color .4s!important;
}
html body #homepage-suite#homepage-suite .product-card .text-link::before{content:none!important}
html body #homepage-suite#homepage-suite .product-card .text-link::after{
  content:"→"!important;position:static!important;display:inline-grid!important;place-items:center;width:34px!important;height:34px!important;border-radius:50%!important;
  background:var(--pc)!important;color:#fff!important;border:0!important;font-size:16px!important;box-shadow:0 8px 18px -8px var(--pc)!important;transition:transform .35s ease!important;
}
html body #homepage-suite#homepage-suite .product-card:hover .text-link{background:linear-gradient(90deg,var(--pd),var(--pc))!important;color:#fff!important}
html body #homepage-suite#homepage-suite .product-card:hover .text-link::after{background:#fff!important;color:var(--pd)!important;transform:translateX(4px)}

@media (max-width:1100px){html body #homepage-suite#homepage-suite .suite-discipline-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){
  html body #homepage-suite#homepage-suite .suite-discipline-grid{grid-template-columns:1fr!important;gap:18px!important}
  html body #homepage-suite#homepage-suite .product-card ul{grid-template-columns:1fr!important}
}
@media (prefers-reduced-motion:reduce){
  html body #homepage-suite .sx-portal .nd{animation:none}
  html body #homepage-suite#homepage-suite .product-card,html body #homepage-suite .sx-portal::after{transition:none!important}
}

/* Compact pass: header -35%, tighter text so all six fit one screen (desktop) */
@media (min-width:900px){
html body #homepage-suite .suite-discipline-grid{gap:16px!important}
html body #homepage-suite .sx-portal{height:84px!important}
html body #homepage-suite#homepage-suite .suite-discipline-brand{margin:-26px 20px 8px!important;gap:8px!important}
html body #homepage-suite#homepage-suite .suite-discipline-grid>.product-card .suite-discipline-brand img.logo.tv-product-logo{height:48px!important;min-height:48px!important;padding:11px 16px!important;max-width:220px!important}
html body #homepage-suite#homepage-suite .suite-discipline-brand .tag{padding:3px 10px!important;font-size:13px!important}
html body #homepage-suite#homepage-suite .product-card>p{margin:0 20px 10px!important;font-size:15px!important;line-height:1.42!important}
html body #homepage-suite#homepage-suite .product-card>ul{margin:0 20px 12px!important;gap:6px!important}
html body #homepage-suite#homepage-suite .product-card>ul>li{padding:6px 10px!important;font-size:13px!important;line-height:1.3!important}
html body #homepage-suite#homepage-suite .product-card>a:last-child,html body #homepage-suite#homepage-suite .product-card .suite-explore{padding:10px 20px!important}
html body #homepage-suite#homepage-suite .product-card .text-link{padding:9px 20px!important;font-size:15px!important}
html body #homepage-suite#homepage-suite .product-card .text-link::after{width:28px!important;height:28px!important}
}
