Onboarding Made Easy for Accountants | Nomi Software
Key Features
KYC/AML Checks
Nomi automates KYC and AML checks, helping you verify client identities and assess risks quickly. Ensure compliance and accuracy with minimal manual effort.
64-8 Agent Authorisation Requests
Process 64-8 Agent Authorisation Requests seamlessly with Nomi. Gain legal permission to act on behalf of clients for tax-related matters without delays.
Professional Clearance Letters
Request and manage professional clearance letters easily. Nomi ensures smooth client transitions, especially when they move from another firm to yours.
Compliance Sync
Keep all compliance data in sync with Nomi. Stay updated with regulatory standards and ensure smooth client onboarding every time.
Features designed to simplify your life
Frequently Asked Questions
Free trial
Free cookie consent management tool by TermsFeed Generator
, and delete
the old header/hero script blocks.
Every section checks its elements first, so a missing
section can never break the others.
========================================================= */
(() => {
'use strict';
const $ = (s, r = document) => r.querySelector(s);
const $$ = (s, r = document) => [...r.querySelectorAll(s)];
/* ---------- 1. Header: scroll shadow + mobile menu ---------- */
function initHeader() {
const hd = $('#hd'),
menu = $('#nm-menu'),
burger = $('#nm-bg');
if (!hd || !menu || !burger) return;
const mq = matchMedia('(max-width:960px)');
const onScroll = () => hd.classList.toggle('sc', scrollY > 8);
addEventListener('scroll', onScroll, {
passive: true
});
onScroll();
const closeMenu = () => {
menu.classList.remove('show');
burger.classList.remove('x');
burger.setAttribute('aria-expanded', 'false');
document.body.style.overflow = '';
};
burger.addEventListener('click', () => {
const o = menu.classList.toggle('show');
burger.classList.toggle('x', o);
burger.setAttribute('aria-expanded', o);
document.body.style.overflow = o ? 'hidden' : '';
});
menu.addEventListener('click', e => {
if (!mq.matches) return;
/* top-level accordion (only direct
> ) */
const b = e.target.closest('button');
if (b && b.parentElement.parentElement === menu) {
const li = b.parentElement,
was = li.classList.contains('open');
$$(':scope > li.open', menu).forEach(x => {
x.classList.remove('open');
const xb = x.querySelector(':scope > button');
if (xb) xb.setAttribute('aria-expanded', 'false');
});
if (!was) li.classList.add('open');
b.setAttribute('aria-expanded', String(!was));
return;
}
/* tapping a real link closes the menu */
if (e.target.closest('a[href]')) closeMenu();
});
document.addEventListener('keydown', e => {
if (e.key !== 'Escape') return;
if (document.activeElement) document.activeElement.blur();
$$('.nm-menu .open').forEach(x => x.classList.remove('open'));
if (mq.matches) closeMenu();
});
addEventListener('resize', () => {
if (!mq.matches) closeMenu();
});
}
/* ---------- 2. Mega menus (Products + Solutions, each handled separately) ---------- */
function initMega() {
const mq = matchMedia('(max-width:960px)');
$$('.mm-body').forEach(body => {
const mods = $$(':scope > .mm-mod', body);
if (!mods.length) return;
const panel = body.closest('.panel');
const note = panel && $('.sl-note', panel);
const cta = panel && $('.sl-cta', panel);
const open = m => {
mods.forEach(x => {
const on = x === m;
x.classList.toggle('on', on);
x.querySelector('.mm-tab').setAttribute('aria-expanded', String(on));
});
if (m && note) note.textContent = m.dataset.note || '';
if (m && cta) {
cta.textContent = m.dataset.cta || cta.textContent;
cta.href = m.dataset.href || '#';
}
};
mods.forEach((m, i) => {
const t = m.querySelector('.mm-tab');
t.addEventListener('mouseenter', () => {
if (!mq.matches) open(m);
});
t.addEventListener('focus', () => {
if (!mq.matches) open(m);
});
t.addEventListener('click', () => {
if (mq.matches) open(m.classList.contains('on') ? null : m);
else open(m);
});
t.addEventListener('keydown', e => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault();
t.click();
}
if (e.key === 'ArrowDown' || e.key === 'ArrowUp') {
e.preventDefault();
mods[(i + (e.key === 'ArrowDown' ? 1 : -1) + mods.length) % mods.length].querySelector('.mm-tab').focus();
}
});
});
const reset = () => open(mq.matches ? null : mods[0]);
mq.addEventListener('change', reset);
reset();
});
}
/* ---------- 3. Hero banner slider ---------- */
function initHero() {
const track = $('#track'),
hdots = $('#hdots');
if (!track || !hdots) return;
const slides = $$('.hs', track),
N = slides.length;
if (!N) return;
const hcount = $('#hcount'),
pv = $('#pv'),
nx = $('#nx');
/* make sure there is exactly one dot per slide */
let dots = $$('button', hdots);
while (dots.length < N) {
const b = document.createElement('button');
b.setAttribute('aria-label', 'Go to slide ' + (dots.length + 1));
hdots.insertBefore(b, hcount || null);
dots.push(b);
}
dots.slice(N).forEach(d => d.remove());
dots = dots.slice(0, N);
let hi = 0,
sx = null;
function go(i) {
hi = (i + N) % N;
slides.forEach((s, j) => {
s.classList.toggle('on', j === hi);
s.setAttribute('aria-hidden', String(j !== hi));
});
dots.forEach((d, j) => {
d.classList.remove('on');
if (j === hi) {
void d.offsetWidth;
d.classList.add('on');
} /* restart progress animation */
});
if (hcount) hcount.innerHTML = `${String(hi + 1).padStart(2, '0')} / ${String(N).padStart(2, '0')}`;
}
dots.forEach((d, i) => {
d.addEventListener('click', () => go(i));
d.addEventListener('animationend', () => go(hi + 1)); /* auto-advance */
});
if (pv) pv.addEventListener('click', () => go(hi - 1));
if (nx) nx.addEventListener('click', () => go(hi + 1));
/* swipe */
track.addEventListener('pointerdown', e => {
sx = e.clientX;
});
track.addEventListener('pointerup', e => {
if (sx !== null && Math.abs(e.clientX - sx) > 50) go(hi + (e.clientX < sx ? 1 : -1));
sx = null;
});
track.addEventListener('pointercancel', () => {
sx = null;
});
go(0);
track.classList.add('ready');
}
/* ---------- 4. Trust: video player + reveal on scroll ---------- */
function initTrust() {
const vid = $('#tsVid'),
poster = $('#tsPoster'),
who = $('#tsWho'),
time = $('#tsTime'),
play = $('#tsPlay'),
pl = $('#tsPl'),
tabs = $$('#tsPl .ts-card');
if (vid && poster && who && time && play && pl && tabs.length) {
let cur = 0;
const media = () => vid.querySelector('video, iframe');
const stop = () => {
const m = media();
if (m) {
if (m.tagName === 'VIDEO') m.pause();
m.remove();
}
vid.classList.remove('playing');
};
// Update the main poster image when selecting a thumbnail
const updatePoster = (d) => {
const img = poster.querySelector('img');
if (img && d.img) {
img.src = d.img;
}
poster.style.setProperty(
'--img',
d.img ? `url("${d.img}")` : 'none'
);
poster.style.setProperty('--g', d.g || 'none');
};
const start = () => {
const d = tabs[cur].dataset;
stop();
let el;
if (d.yt) {
el = document.createElement('iframe');
el.src = `https://www.youtube.com/embed/${d.yt}?autoplay=1&rel=0&modestbranding=1`;
el.allow = 'autoplay; encrypted-media; picture-in-picture; fullscreen';
el.allowFullscreen = true;
el.title = d.who || 'Video';
} else if (d.src) {
el = document.createElement('video');
el.src = d.src;
el.controls = true;
el.autoplay = true;
el.playsInline = true;
if (d.img) el.poster = d.img;
el.addEventListener('ended', stop);
} else {
return;
}
vid.appendChild(el);
vid.classList.add('playing');
if (el.play) {
const p = el.play();
if (p && p.catch) p.catch(() => {});
}
};
const select = (i, keepPlaying = false) => {
cur = i;
const d = tabs[i].dataset;
tabs.forEach((t, j) => {
t.classList.toggle('on', j === i);
t.setAttribute('aria-selected', String(j === i));
t.setAttribute('tabindex', j === i ? '0' : '-1');
});
// Update main image even when video is not playing
updatePoster(d);
who.textContent = d.who || '';
time.textContent = d.time || '';
stop();
if (keepPlaying) {
start();
}
if (window.innerWidth <= 600) {
tabs[i].scrollIntoView({
inline: 'center',
block: 'nearest',
behavior: 'smooth'
});
}
};
play.addEventListener('click', start);
tabs.forEach((t, i) => {
t.addEventListener('click', () => {
select(i, vid.classList.contains('playing'));
});
});
pl.addEventListener('keydown', e => {
if (e.key !== 'ArrowRight' && e.key !== 'ArrowLeft') return;
e.preventDefault();
const i = (
cur + (e.key === 'ArrowRight' ? 1 : -1) + tabs.length
) % tabs.length;
tabs[i].focus();
select(i, vid.classList.contains('playing'));
});
if ('IntersectionObserver' in window) {
new IntersectionObserver(entries => {
entries.forEach(e => {
const m = media();
if (!e.isIntersecting && m && m.tagName === 'VIDEO') {
m.pause();
}
});
}, {
threshold: 0.15
}).observe(vid);
}
// Initialise the main poster with the selected thumbnail
updatePoster(tabs[cur].dataset);
}
/* Reveal on scroll */
const rv = $$('.ts-rv');
if (rv.length) {
if (!('IntersectionObserver' in window)) {
rv.forEach(el => el.classList.add('in'));
return;
}
const io = new IntersectionObserver(entries => {
entries.forEach(e => {
if (e.isIntersecting) {
e.target.classList.add('in');
io.unobserve(e.target);
}
});
}, {
threshold: 0.12
});
rv.forEach((el, i) => {
el.style.transitionDelay = (i * 80) + 'ms';
io.observe(el);
});
}
}
/* ---------- 5. Integrations filter ---------- */
function initIntegrations() {
const pills = $$('.nm-int-filter-pill'),
cards = $$('.nm-int-card');
if (!pills.length) return;
const countSpan = $('#nm-int-count');
pills.forEach(btn => btn.addEventListener('click', () => {
pills.forEach(b => b.classList.remove('active'));
btn.classList.add('active');
const f = btn.getAttribute('data-filter');
cards.forEach(c => c.classList.toggle('hidden', !(f === 'all' || f === c.getAttribute('data-category'))));
if (f === 'all' && countSpan) countSpan.textContent = cards.length;
}));
}
/* ---------- 6. Logo slider (endless loop) ---------- */
function initLogos() {
const track = $('#lgTrack'),
lg = $('.lg');
if (!track || !lg || !track.firstElementChild) return;
const group = track.firstElementChild;
const speed = parseFloat(getComputedStyle(lg).getPropertyValue('--lg-speed')) || 60;
function build() {
[...track.children].slice(1).forEach(c => c.remove());
const gw = group.getBoundingClientRect().width;
if (!gw) return;
const copies = Math.ceil(innerWidth / gw) + 1;
for (let i = 0; i < copies; i++) {
const c = group.cloneNode(true);
c.setAttribute('aria-hidden', 'true');
$$('a,button', c).forEach(el => el.tabIndex = -1);
track.appendChild(c);
}
track.style.setProperty('--gw', gw + 'px');
track.style.setProperty('--dur', (gw / speed).toFixed(2) + 's');
}
let t;
addEventListener('resize', () => {
clearTimeout(t);
t = setTimeout(build, 150);
});
addEventListener('load', build);
if (document.fonts && document.fonts.ready) document.fonts.ready.then(build);
build();
}
/* ---------- 7. Pricing toggle ---------- */
function initPricing() {
const btns = $$('.nomi-pricing-toggle-btn'),
cards = $$('.nomi-pricing-card');
if (!btns.length) return;
btns.forEach(btn => btn.addEventListener('click', () => {
btns.forEach(b => b.classList.remove('active'));
btn.classList.add('active');
const target = btn.dataset.target;
cards.forEach(c => {
const g = c.dataset.group;
c.hidden = !!g && g !== 'all' && g !== target; /* no data-group or "all" = always show */
});
}));
}
/* ---------- 8. Services (sticky scroll tabs) ---------- */
function initServices() {
const servicesTrack = $('#servicesTrack'),
indicator = $('#indicator');
const buttons = $$('.service-btn'),
panels = $$('.service-panel');
const totalTabs = buttons.length;
if (!servicesTrack || !totalTabs) return;
let currentIndex = 0;
const updateTrackHeight = () => {
servicesTrack.style.height = innerWidth > 960 ? `${innerHeight * 0.8 * totalTabs}px` : 'auto';
};
function setActiveTab(index) {
currentIndex = index;
buttons.forEach((b, i) => b.classList.toggle('active', i === index));
panels.forEach((p, i) => p.classList.toggle('active', i === index));
if (indicator) indicator.style.transform = `translateY(${index * 44}px)`;
}
function handleScroll() {
if (innerWidth <= 960) return;
const rect = servicesTrack.getBoundingClientRect();
const dist = -rect.top,
total = rect.height - innerHeight;
if (total > 0 && dist >= 0 && dist <= total) {
const idx = Math.min(totalTabs - 1, Math.floor((dist / total) * totalTabs));
if (idx !== currentIndex) setActiveTab(idx);
}
}
window.jumpToTab = index => {
setActiveTab(index);
if (innerWidth > 960 && totalTabs > 1) {
const rect = servicesTrack.getBoundingClientRect();
const step = (rect.height - innerHeight) / (totalTabs - 1);
scrollTo({
top: scrollY + rect.top + index * step + 10,
behavior: 'smooth'
});
}
};
addEventListener('scroll', handleScroll, {
passive: true
});
addEventListener('resize', updateTrackHeight);
updateTrackHeight();
setActiveTab(0);
}
/* ---------- run everything (each in its own try/catch) ---------- */
function init() {
[initHeader, initMega, initHero, initTrust, initIntegrations, initLogos, initPricing, initServices]
.forEach(fn => {
try {
fn();
} catch (err) {
console.error('[nomi] ' + fn.name + ' failed:', err);
}
});
}
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', init);
else init();
})();
×