/* ==========================================================================
   monday.com replica — styles
   ========================================================================== */
:root{
  --purple:#6161ff;
  --purple-dark:#5250f7;
  --grad:linear-gradient(90deg,#8f6ffc 0%,#6161ff 100%);
  --ink:#181b34;
  --body:#323338;
  --muted:#676879;
  --line:#e6e9ef;
  --bg:#ffffff;
  --soft:#f6f7fb;
  --radius:12px;
  --header-h:70px;
  --maxw:1280px;
  --shadow-lg:0 18px 60px rgba(24,27,52,.14);
  --shadow-sm:0 4px 16px rgba(24,27,52,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:Poppins,-apple-system,"Segoe UI",Roboto,sans-serif;
  color:var(--body);background:var(--bg);-webkit-font-smoothing:antialiased;
  font-size:16px;line-height:1.55;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,h4{color:var(--ink);margin:0;font-weight:600;letter-spacing:-.02em}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;
  font-size:15px;font-weight:400;padding:9px 20px;border:1px solid transparent;
  transition:.18s ease;white-space:nowrap;cursor:pointer}
.btn-primary{background:var(--grad);color:#fff;box-shadow:0 6px 18px rgba(97,97,255,.28)}
.btn-primary:hover{filter:brightness(1.06);transform:translateY(-1px)}
.btn-outline{border-color:var(--purple);color:var(--purple);background:transparent}
.btn-outline:hover{background:rgba(97,97,255,.07)}
.btn-ghost{color:var(--body)}
.btn-lg{font-size:17px;padding:13px 28px}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid transparent}
.site-header.scrolled{border-bottom-color:var(--line);box-shadow:0 2px 10px rgba(24,27,52,.05)}
.header-inner{max-width:var(--maxw);margin:0 auto;height:var(--header-h);
  padding:0 24px;display:flex;align-items:center;gap:28px}
.logo img{height:26px;width:auto}
.main-nav{display:flex;align-items:center;flex:1}
.nav-list{display:flex;align-items:center;gap:6px}
.nav-item{position:relative}
.nav-link{display:inline-flex;align-items:center;gap:6px;background:none;border:0;
  font:inherit;font-size:15px;color:var(--body);padding:8px 12px;border-radius:8px;cursor:pointer}
.nav-link:hover{color:var(--purple)}
.chev{width:11px;height:8px;transition:transform .2s}
.nav-item.open .chev{transform:rotate(180deg)}
.nav-item.open > .nav-link{color:var(--purple)}
.header-actions{display:flex;align-items:center;gap:14px;margin-left:auto}
.header-actions .plain{padding:8px 4px}

/* ---------- mega panel (floating card, NOT full width) ---------- */
.mega{
  position:absolute;top:calc(var(--header-h) - 12px);left:0;
  transform:translateX(var(--mega-shift,0)) translateY(-6px);
  width:var(--mega-w,900px);max-width:calc(100vw - 32px);
  background:#fff;border:1px solid var(--line);border-radius:18px;
  box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
  max-height:calc(100vh - var(--header-h) - 24px);overflow:auto;
}
.mega::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
#mega-platform{--mega-w:1040px}
#mega-solutions{--mega-w:900px}
#mega-resources{--mega-w:820px}
.nav-item.open .mega{opacity:1;visibility:visible;
  transform:translateX(var(--mega-shift,0)) translateY(0)}
.mega-inner{padding:26px 26px 28px;
  display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px}

.mega-eyebrow{margin:0 0 14px;font-size:11px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--muted);font-weight:600}
.mega-eyebrow.mt{margin-top:26px}

.use-case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.use-case{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:14px;
  transition:.16s ease;border:1px solid transparent}
.use-case{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;column-gap:11px;row-gap:0;padding:9px 10px}
.use-case img{grid-row:span 2}
.use-case .uc-title{grid-column:2}
.use-case .uc-sub{grid-column:2}
.use-case img{border-radius:9px;width:34px;height:34px;flex:0 0 34px;object-fit:cover;margin:0}
.use-case span{display:block}
.use-case:hover{background:var(--soft);border-color:var(--line);transform:translateY(-2px)}
.uc-title{font-size:14px;font-weight:600;color:var(--ink)}
.uc-sub{font-size:12.5px;color:var(--muted);line-height:1.35}
.view-all{display:inline-block;margin-top:16px;color:var(--purple);font-size:14px;font-weight:500}
.view-all:hover{text-decoration:underline}

.mega-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;
  margin-top:30px;padding-top:26px;border-top:1px solid var(--line)}
.mega-columns.three{margin-top:0;padding-top:0;border-top:0}
.link-list li a{display:flex;gap:12px;padding:9px 10px;border-radius:10px;transition:.15s}
.link-list li a:hover{background:var(--soft)}
.link-list strong{display:block;font-size:14px;font-weight:500;color:var(--ink)}
.link-list em{display:block;font-style:normal;font-size:12.5px;color:var(--muted);margin-top:2px}
.link-list.compact li a{padding:7px 10px}
.ic{flex:0 0 22px;height:22px;border-radius:6px;background:var(--grad);opacity:.9;margin-top:2px}
.ic-spark,.ic-dash,.ic-shield,.ic-goal,.ic-cap,.ic-chat{background:linear-gradient(135deg,#00d2d3,#0086c0)}
.ic-board,.ic-plug,.ic-sales,.ic-smb,.ic-port,.ic-play,.ic-people{background:linear-gradient(135deg,#ffcb00,#ff9f1a)}
.ic-flow,.ic-apps,.ic-dev,.ic-ent,.ic-res,.ic-guide,.ic-partner{background:linear-gradient(135deg,#ff3d57,#ff7575)}
.ic-hr,.ic-npo,.ic-req,.ic-life,.ic-api,.ic-edu{background:linear-gradient(135deg,#00c875,#9cd326)}

.mega-aside{background:var(--soft);border-radius:16px;padding:22px}
.product-card{display:block;background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:13px 14px 14px;margin-bottom:10px;transition:.16s}
.product-card:hover{border-color:var(--purple);transform:translateY(-2px);box-shadow:var(--shadow-sm)}
.product-card strong{display:block;font-size:14px;color:var(--ink);font-weight:600}
.product-card em{display:block;font-style:normal;font-size:12.5px;color:var(--muted);margin-top:3px}
.pc-dot{display:inline-block;width:22px;height:6px;border-radius:3px;margin-bottom:8px}
.product-card.work .pc-dot{background:#6161ff}
.product-card.crm .pc-dot{background:#00c875}
.product-card.dev .pc-dot{background:#0086c0}
.product-card.service .pc-dot{background:#ff9f1a}
.feature-card{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;
  overflow:hidden;margin-bottom:14px;transition:.16s}
.feature-card img{width:100%;aspect-ratio:16/8;object-fit:cover}
.feature-card strong{display:block;font-size:14px;color:var(--ink);padding:12px 14px 0}
.feature-card em{display:block;font-style:normal;font-size:12.5px;color:var(--muted);padding:2px 14px 14px}
.feature-card:hover{border-color:var(--purple);transform:translateY(-2px);box-shadow:var(--shadow-sm)}

.mega-backdrop{position:fixed;inset:var(--header-h) 0 0;background:rgba(24,27,52,.14);
  opacity:0;visibility:hidden;transition:.2s;z-index:50}
.mega-backdrop.show{opacity:1;visibility:visible}

.burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;
  background:none;border:0;cursor:pointer;margin-left:auto}
.burger span{display:block;height:2px;background:var(--ink);border-radius:2px;transition:.22s}
.burger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.active span:nth-child(2){opacity:0}
.burger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.nav-actions-mobile{display:none}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{padding:70px 0 40px}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(38px,4.6vw,64px);line-height:1.08;font-weight:400}
.lead{font-size:19px;color:var(--body);margin:22px 0 26px;max-width:460px}
.pills{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px;max-width:470px}
.pill{border:0;background:#f1f2f6;color:var(--body);font:inherit;font-size:14.5px;
  padding:8px 18px;border-radius:999px;cursor:pointer;transition:.15s}
.pill:hover{background:#e8e9f3}
.pill.is-active{background:#eceafe;color:var(--purple);font-weight:500}
.pill.is-active::before{content:"✔";font-size:11px;margin-right:7px}
.fineprint{font-size:13.5px;color:var(--muted);margin-top:16px}
.fineprint.light{color:rgba(255,255,255,.8)}
.hero-visual img{width:100%;filter:drop-shadow(0 24px 60px rgba(24,27,52,.16))}

/* ---------- logos ---------- */
.logos{padding:50px 24px 70px;text-align:center}
.logos-title{font-size:18px;color:var(--ink);margin:0 0 34px;font-weight:500}
.logo-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:32px 44px;max-width:1220px;margin:0 auto}
.logo-row img{height:26px;width:auto;opacity:.78;filter:grayscale(1)}

/* ---------- sections ---------- */
.section{padding:80px 0}
.section.alt{background:var(--soft)}
.section-title{font-size:clamp(28px,3.4vw,44px);text-align:center;font-weight:400}
.section-sub{text-align:center;color:var(--muted);max-width:620px;margin:14px auto 46px;font-size:17px}
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;
  transition:.18s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.card img{width:100%;aspect-ratio:16/9;object-fit:cover}
.card h3{font-size:19px;padding:20px 22px 0}
.card p{margin:8px 22px 24px;color:var(--muted);font-size:15px}

.products{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.product{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;
  transition:.18s;display:block}
.product:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.badge{display:inline-block;font-size:12.5px;font-weight:600;padding:5px 12px;border-radius:999px;
  color:#fff;margin-bottom:14px}
.product.work .badge{background:#6161ff}
.product.crm .badge{background:#00c875}
.product.dev .badge{background:#0086c0}
.product.service .badge{background:#ff9f1a}
.product h3{font-size:21px;font-weight:500}
.product p{color:var(--muted);margin:8px 0 0;font-size:15px}

.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.stats strong{display:block;font-size:40px;color:var(--purple);font-weight:600;letter-spacing:-.03em}
.stats span{color:var(--muted);font-size:15px}

.cta{background:var(--grad);color:#fff;text-align:center;padding:90px 0}
.cta h2{color:#fff;font-size:clamp(28px,3.6vw,46px);font-weight:400;margin-bottom:30px}
.cta .btn-primary{background:#fff;color:var(--purple);box-shadow:0 8px 26px rgba(0,0,0,.18)}

/* ---------- footer ---------- */
.site-footer{background:#fff;border-top:1px solid var(--line);padding:60px 0 30px}
.footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:36px}
.footer-brand p{color:var(--muted);font-size:14.5px;margin-top:16px;max-width:280px}
.site-footer h4{font-size:14px;margin-bottom:14px}
.site-footer li{margin-bottom:9px}
.site-footer li a{color:var(--muted);font-size:14.5px}
.site-footer li a:hover{color:var(--purple)}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;
  margin-top:44px;padding-top:22px;border-top:1px solid var(--line);
  color:var(--muted);font-size:13.5px}
.footer-bottom ul{display:flex;gap:22px}

/* ==========================================================================
   RESPONSIVE — tablet
   ========================================================================== */
@media (max-width:1180px){
  #mega-platform{--mega-w:min(980px,calc(100vw - 32px))}
  #mega-solutions{--mega-w:min(840px,calc(100vw - 32px))}
  .mega-inner{grid-template-columns:minmax(0,1fr) 270px;gap:24px}
  .use-case-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1024px){
  :root{--header-h:64px}
  .burger{display:flex}
  .header-actions{display:none}
  .nav-actions-mobile{display:flex;flex-direction:column;gap:12px;padding:20px 20px 40px}
  .nav-actions-mobile .btn{justify-content:center;width:100%}

  .main-nav{
    position:fixed;top:var(--header-h);left:0;right:0;bottom:0;background:#fff;
    height:calc(100dvh - var(--header-h));
    display:block;overflow-y:auto;-webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;transform:translateX(100%);visibility:hidden;
    transition:transform .28s ease,visibility .28s;z-index:70;
  }
  .main-nav.open{visibility:visible}
  .main-nav.open{transform:translateX(0)}
  .nav-list{display:block;padding:8px 0}
  .nav-item{border-bottom:1px solid var(--line)}
  .nav-item > .nav-link{width:100%;justify-content:space-between;font-size:17px;padding:16px 20px;border-radius:0}
  .mega{position:static;box-shadow:none;border:0;border-radius:0;transform:none;display:none;
    width:auto;max-width:none;opacity:1;visibility:visible;max-height:none;overflow:visible}
  .nav-item.open .mega{display:block}
  .mega-inner{display:block;padding:0 20px 22px}
  .mega-columns,.mega-columns.three{display:block;margin-top:20px;padding-top:18px}
  .mega-col{margin-bottom:22px}
  .use-case-grid{grid-template-columns:repeat(2,1fr)}
  .mega-aside{margin-top:18px}
  .mega-backdrop{display:none}

  .hero{padding:44px 0 20px}
  .hero-grid{grid-template-columns:1fr;gap:36px}
  .lead,.pills{max-width:none}
  .cards-3{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr 1fr}
}

/* ==========================================================================
   RESPONSIVE — mobile
   ========================================================================== */
@media (max-width:640px){
  .container{padding:0 18px}
  .header-inner{padding:0 18px;gap:12px}
  .logo img{height:22px}
  .hero h1{font-size:34px}
  .lead{font-size:17px}
  .btn-lg{width:100%;justify-content:center}
  .logo-row{gap:26px 34px}
  .logo-row img{height:24px}
  .section{padding:56px 0}
  .cards-3,.products,.stats{grid-template-columns:1fr}
  .stats strong{font-size:34px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .use-case-grid{grid-template-columns:1fr 1fr;gap:10px}
  .use-case img{aspect-ratio:4/3}
  .cta{padding:64px 0}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ==========================================================================
   MEGA MENU v3 — pixel-matched to monday.com reference
   ========================================================================== */
:root{ --header-h:66px; --mm-max:1106px; }

.site-header{border-bottom:1px solid transparent}
.header-inner{max-width:1440px;padding:0 36px;gap:22px}
.logo img{height:24px}
.nav-list{gap:2px}
.nav-item{position:static}
.nav-link{font-size:15px;font-weight:400;color:#2b2b2b;padding:8px 14px;letter-spacing:0}
.nav-link:hover{color:#5034ff}
.nav-item.open > .nav-link{color:#5034ff}
.chev{width:10px;height:7px;opacity:.85}
.header-actions{gap:16px}
.header-actions .plain{font-size:15px;color:#2b2b2b}
.btn{font-size:15px;padding:9px 22px;font-weight:400}
.btn-outline{border-color:#5034ff;color:#5034ff}
.btn-primary{background:#5034ff;box-shadow:none}
.btn-primary:hover{background:#3f27db;transform:none;filter:none}

/* panel: centered container card, identical anchor for every tab */
.mega{
  position:absolute;top:var(--header-h);left:50%;right:auto;
  transform:translateX(-50%) translateY(-4px);
  width:min(var(--mm-max),calc(100vw - 64px));max-width:none;
  background:#fff;border:0;border-radius:0 0 14px 14px;
  box-shadow:0 24px 40px -18px rgba(0,0,0,.18);
  overflow:hidden;
}
#mega-platform,#mega-solutions,#mega-resources{--mega-w:auto}
.nav-item.open .mega{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.mega::before{content:"";position:absolute;inset:-10px 0 auto 0;height:10px}

.mm{display:grid;grid-template-columns:minmax(0,1fr) 1px minmax(0,1.06fr);
  gap:0;padding:32px 36px 34px}
.mm-left{padding-right:34px}
.mm-right{padding-left:34px}
.mm-div{background:#e6e9ef;width:1px;height:100%}

.eb{display:flex;align-items:center;gap:9px;margin:0 0 0;
  font-size:14px;font-weight:400;letter-spacing:.055em;text-transform:uppercase;color:#333}
.eb-ic{width:19px;height:19px;color:#5034ff}
.eb-sub{margin:14px 0 0;font-size:14px;color:#676879;font-weight:300}

.uc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:26px;row-gap:15px;margin-top:16px}
.uc{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;
  column-gap:12px;padding:9px 8px;border-radius:8px;transition:background .15s}
.uc img{grid-row:span 2;width:36px;height:36px;border-radius:8px;object-fit:cover}
.uc:hover{background:#f5f6f8}
.uc-t{grid-column:2;font-size:15px;font-weight:500;color:#181b34;line-height:1.3}
.uc-s{grid-column:2;font-size:13.5px;color:#676879;font-weight:300;line-height:1.35}
.viewall{display:inline-block;margin-top:22px;font-size:14px;color:#333;
  border-bottom:1px solid #9aa0ad;padding-bottom:2px}
.viewall:hover{color:#5034ff;border-bottom-color:#5034ff}

.cap-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:26px}
.cap-cols.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.cap-h{margin:0 0 10px;font-size:14px;font-weight:400;color:#676879}
.cap{display:flex;align-items:center;gap:11px;padding:8px 8px;margin:0 0 11px -8px;
  border-radius:8px;font-size:15px;color:#181b34;transition:background .15s}
.cap:last-child{margin-bottom:0}
.cap:hover{background:#f5f6f8;color:#5034ff}
.cap-ic{width:19px;height:19px;flex:0 0 19px;color:#333}
.cap:hover .cap-ic{color:#5034ff}

/* Elevate promo banner */
.promo{display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin-top:30px;background:#000;border-radius:8px;padding:12px 14px;color:#fff}
.promo-copy strong{display:block;font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1}
.promo-copy strong sup{font-size:17px;font-weight:400;top:-.55em;margin-left:1px}
.promo-copy em{display:block;font-style:normal;font-size:12.5px;font-weight:500;margin-top:5px}
.promo-copy em span{font-weight:300;opacity:.85}
.promo-art{display:flex;align-items:center;gap:8px}
.pa{width:34px;height:34px;border-radius:6px;display:block}
.pa1{background:#e2c2f5}
.pa2{background:#6c6cff}
.pa3{background:#0f3f2f}
.pa4{background:#00d647}
.promo-btn{background:#c6f36b;color:#111;font-size:13.5px;font-weight:500;
  padding:9px 16px;border-radius:6px;white-space:nowrap}
.promo:hover{filter:brightness(1.08)}

.mega-backdrop{top:var(--header-h)}

/* ---------- tablet / mobile ---------- */
@media (max-width:1180px){
  .header-inner{padding:0 20px;gap:14px}
  .mm{padding:26px 24px 28px}
  .mm-left{padding-right:24px}.mm-right{padding-left:24px}
  .cap-cols{gap:8px}
  .cap,.uc-t,.nav-link{font-size:14px}
}
@media (max-width:1024px){
  :root{--header-h:60px}
  .mega{position:static;transform:none;width:auto;border-radius:0;box-shadow:none;
    display:none;opacity:1;visibility:visible}
  .nav-item.acc-open .mega{display:block}
  .nav-item.acc-open > .nav-link .chev{transform:rotate(180deg)}
  .mm,.mm-3,.mm-platform{display:block;padding:4px 20px 22px}
  .mm-left,.mm-right{padding:0}
  .mm-div{display:none}
  .mm-right{margin-top:22px;padding-top:20px;border-top:1px solid #e6e9ef}
  .uc-grid{grid-template-columns:1fr}
  .uc{padding:8px}
  .cap-cols,.cap-cols.two{grid-template-columns:1fr;gap:6px;margin-top:16px}
  .cap-col{margin-bottom:8px}
  .cap{margin:0 0 12px -8px;padding:6px 8px}
  .promo{margin-top:20px;flex-wrap:wrap}
  .promo-art{gap:6px}
  .pa{width:28px;height:28px}
}
@media (max-width:640px){
  .promo-copy strong{font-size:22px}
  .promo-art .pa{display:none}
  .promo-btn{padding:8px 14px}
}

/* v3 fixes */
.uc-s,.promo-copy em{white-space:nowrap}
.uc-grid{column-gap:18px}
.mega-backdrop{position:fixed;left:0;right:0;top:var(--header-h);bottom:0;
  background:rgba(0,0,0,.42);opacity:0;visibility:hidden;z-index:50;
  transition:opacity .2s ease,visibility .2s}
.mega-backdrop.show{opacity:1;visibility:visible}
body.mega-open{overflow:hidden}
.site-header{z-index:60}
@media (max-width:1024px){.mega-backdrop{display:none}body.mega-open{overflow:auto}}
@media (max-width:1024px){
  .nav-item.open .mega,.nav-item.acc-open .mega{transform:none;left:auto}
  .uc-s,.promo-copy em{white-space:normal}
}
@media (min-width:641px) and (max-width:1024px){
  .uc-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
  .cap-cols,.cap-cols.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 28px}
  .mm,.mm-3,.mm-platform{padding:8px 28px 26px}
}

/* ==========================================================================
   v4 — pixel match: constant panel height, blue separator, mobile burger
   ========================================================================== */
:root{ --mm-max:1104px; --mm-h:448px; }

/* every mega panel is anchored identically and has the SAME height */
@media (min-width:1025px){
  .mega{
    position:absolute;top:var(--header-h);left:50%;
    width:min(var(--mm-max),calc(100vw - 64px));
    height:var(--mm-h);min-height:var(--mm-h);
    display:block;overflow:hidden;
    border-radius:0 0 14px 14px;
  }
  /* the soft blue separator strip monday.com draws under the header */
  .mega::after{
    content:"";position:absolute;top:0;left:0;right:0;height:8px;
    background:linear-gradient(180deg,#ebf5ff 0%,#eef6ff 25%,rgba(255,255,255,0) 100%);
    pointer-events:none;
  }
  .mm,.mm-3,.mm-platform{
    height:100%;min-height:100%;align-content:start;
    grid-template-rows:minmax(0,1fr);
  }
  .mm-left,.mm-right{min-height:0}
  .mm-div{height:100%}
}

/* ---------- mobile / tablet menu button ---------- */
@media (max-width:1024px){
  .header-inner{gap:12px}
  .main-nav{gap:0}
  .burger{
    display:flex!important;flex-direction:column;align-items:center;justify-content:center;
    gap:5px;width:44px;height:44px;margin-left:auto;
    background:transparent;border:0;border-radius:10px;cursor:pointer;
    -webkit-tap-highlight-color:transparent;z-index:80;position:relative;
  }
  .burger:active{background:#f2f3f7}
  .burger span{display:block;width:24px;height:2.5px;border-radius:2px;background:#181b34;
    transition:transform .22s ease,opacity .18s ease}
  .burger.is-open span:nth-child(1),.burger.active span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
  .burger.is-open span:nth-child(2),.burger.active span:nth-child(2){opacity:0}
  .burger.is-open span:nth-child(3),.burger.active span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
  body.nav-locked{overflow:hidden}
  /* blue separator also at the top of each expanded accordion panel */
  .nav-item.acc-open > .mega,.nav-item.open > .mega{
    box-shadow:inset 0 6px 8px -6px rgba(80,52,255,.18);
    border-top:1px solid #e3edff;
  }
}

/* ==========================================================================
   v5 — bottom-anchored CTA/promo (AI platform) + Solutions 3-column dividers
   ========================================================================== */
@media (min-width:1025px){
  /* columns become vertical flex so the last element can hug the bottom edge */
  .mm-left,.mm-right{display:flex;flex-direction:column;height:100%}
  .mm-left > .uc-grid,.mm-left > .cap-cols{flex:0 0 auto}

  /* "View all use cases →" sits near the bottom edge like monday.com */
  .mm-left > .viewall{margin-top:auto;margin-bottom:2px;align-self:flex-start}
  /* Elevate26 banner hugs the bottom edge of the panel */
  .mm-right > .promo{margin-top:auto;margin-bottom:0}

  /* ---------- Solutions: three columns with separators ---------- */
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;margin-top:22px;
  }
    border-left:1px solid #e6e9ef;
  }
  /* monday.com breathes more between the "Business size" heading and its links */
}
@media (min-width:1025px){
  /* Solutions: give the 3-column side more room so labels never wrap */
}
@media (min-width:1025px){
}
@media (min-width:1025px){
}


/* ==========================================================================
   v6 — Solutions tab rebuilt 1:1 with monday.com (3 groups, 2 divider lines)
   ========================================================================== */
#mega-solutions .mm.mm-sol{
  display:grid;
  grid-template-columns:357fr 1px 357fr 1px 388fr;
  gap:0;padding:0;
}
#mega-solutions .mm-sol > .mm-div{width:1px;height:100%;background:#e6e9ef}
.sol-col{padding:50px 40px 34px}
.sol-h{margin:0 0 42px;font-size:13px;font-weight:400;letter-spacing:.1em;
  text-transform:uppercase;color:#676879}
.sol-item{display:grid;grid-template-columns:22px minmax(0,1fr);
  column-gap:12px;row-gap:2px;align-items:start;
  padding:8px;margin:0 0 15px -8px;border-radius:8px;
  transition:background .15s,color .15s}
.sol-item:last-child{margin-bottom:0}
.sol-ic{grid-row:span 2;width:22px;height:22px;color:#181b34;margin-top:-1px}
.sol-t{grid-column:2;font-size:15px;font-weight:400;color:#181b34;line-height:1.25}
.sol-s{grid-column:2;font-size:13.5px;font-weight:300;color:#676879;line-height:1.3}
.sol-item:has(.sol-s) .sol-ic{grid-row:span 2}
.sol-item:not(:has(.sol-s)){align-items:center;margin-bottom:11px}
.sol-item:not(:has(.sol-s)) .sol-ic{grid-row:auto}
.sol-item:hover{background:#f5f6f8}
.sol-item:hover .sol-t{color:#5034ff}
.sol-item:hover .sol-ic{color:#5034ff}

@media (min-width:1025px){
  #mega-solutions .mm.mm-sol{height:100%;min-height:100%;align-content:start;grid-template-rows:minmax(0,1fr)}
  .sol-col{min-height:0}
}
@media (max-width:1024px){
  #mega-solutions .mm.mm-sol{display:block;padding:4px 20px 22px}
  #mega-solutions .mm-sol > .mm-div{display:none}
  .sol-col{padding:10px 0 6px}
  .sol-h{margin:0 0 10px}
  .sol-item{margin:0 0 12px -8px;padding:6px 8px}
}
