:root {
  --primary-font: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --h1-size: 48px;
  --h2-size: 36px;
  --h3-size: 28px;
  --h4-size: 22px;
  --h5-size: 18px;
  --h6-size: 16px;
  --line-heading-height: 1.3;

  --body-size: 16px;
  --line-height: 1.3;

  --heading-color: #032BA5;
  --sub-heading-color: #0A0A0A;
  --text-color: rgba(5, 7, 41, .6);

  --font-weight-regular: 400;
  --font-weight-bold: 600;
}

.home-page {
  --heading-color: #2755a6;
}

body {
  color: var(--text-color);
  font-family: var(--primary-font);
  font-size: var(--body-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height);
}

body .site .home-page {
  color: var(--text-color);
  line-height: var(--line-height);
}

body :not(.fas):not(.far):not(.fab):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.dashicons):not(.slick-arrow):not(pre):not(code):not(kbd):not(samp) {
  font-family: var(--primary-font);
}

body p,
body li,
body input,
body textarea,
body select,
body button {
  font-size: var(--body-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  color: var(--heading-color);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-heading-height);
}

body h1 {
  font-size: clamp(30px, 5vw, var(--h1-size));
}

body h2 {
  font-size: clamp(26px, 4vw, var(--h2-size));
}

body h3 {
  font-size: clamp(22px, 3vw, var(--h3-size));
}

body h4 {
  font-size: clamp(19px, 2.4vw, var(--h4-size));
}

body h5 {
  font-size: clamp(16px, 1.8vw, var(--h5-size));
}

body h6 {
  font-size: var(--h6-size);
}

body .site :is(h1, h2, h3, h4, h5, h6):not(.hm-header *):not(.hm-footer *) {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-heading-height);
}

body strong, body b {
  font-weight: var(--font-weight-bold);
}

body .site :is(h1):not(.hm-header *):not(.hm-footer *) {
  font-size: clamp(30px, 5vw, var(--h1-size));
}

body .site :is(h2):not(.hm-header *):not(.hm-footer *) {
  font-size: clamp(26px, 4vw, var(--h2-size));
}

body .site :is(h3):not(.hm-header *):not(.hm-footer *) {
  font-size: clamp(22px, 3vw, var(--h3-size));
}

body .site :is(h4):not(.hm-header *):not(.hm-footer *) {
  font-size: clamp(19px, 2.4vw, var(--h4-size));
}

body .site :is(h5):not(.hm-header *):not(.hm-footer *) {
  font-size: clamp(16px, 1.8vw, var(--h5-size));
}

body .site :is(h6):not(.hm-header *):not(.hm-footer *) {
  font-size: var(--h6-size);
}

body .site .home-page .nx-home-hero h1,
body .site .home-page .nx-home-hero h1 span,
body .site .home-page .nx-home-hero h1 strong,
body .site .home-page .nx-section-heading h2,
body .site .home-page .nx-techstack-heading h2,
body .site .home-page .nx-ai-copy h2,
body .site .home-page .nx-upgrade-copy h2,
body .site .home-page .nx-custom-intro h2,
body .site .home-page .nx-solution-card h3,
body .site .home-page .nx-service-text h4,
body .site .home-page .nx-techstack-card h3,
body .site .home-page .nx-process-heading h2,
body .site .home-page .nx-process-step h3,
body .site .home-page .case-content h3,
body .site .home-page .nx-why-head h2 {
  color: var(--heading-color);
}

body .site .home-page .nx-lead,
body .site .home-page .nx-solution-card p,
body .site .home-page .nx-service-text p,
body .site .home-page .nx-ai-copy > p:not(.nx-kicker),
body .site .home-page .nx-upgrade-copy > p:not(.nx-kicker),
body .site .home-page .nx-process-lead,
body .site .home-page .nx-process-aside-caption,
body .site .home-page .nx-process-step p,
body .site .home-page .nx-process-footer p {
  color: var(--text-color);
  font-size: var(--body-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height);
}

body .site .hm-header .contactlink a.cmodel {
  font-weight: var(--font-weight-bold);
}

body .site .home-page .nx-button,
body .site .home-page .nx-ai-showcase-cta,
body .site .hm-header .contactlink a,
body .site a.cbtn,
body .site input[type="submit"] {
  font-size: var(--body-size);
  font-weight: var(--font-weight-regular);
}

body .site .contactus-popup .input-wraper input[type="submit"],
body .site .hire-developer-section input[type="submit"] {
  font-size: var(--body-size);
  font-weight: var(--font-weight-regular);
}

body .site .home-page .nx-button,
body .site .home-page .nx-ai-showcase-cta,
body .site .hm-header .contactlink a {
  line-height: var(--line-height);
}

.home-page .nx-section-heading > p:last-child,
.home-page .nx-techstack-heading > p:last-child,
.home-page .nx-custom-intro > p:not(.nx-kicker) {
  color: var(--sub-heading-color);
  font-family: var(--primary-font);
  font-size: var(--body-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height);
}

.hm-header .hm-mega-sub {
  color: var(--sub-heading-color);
  font-family: var(--primary-font);
}
