.nf-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 134px 0 231px;
  position: relative;
  overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #E2E7F8 100%);
}

.nf-wrapper {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

/* Large background "404" number */
.nf-bg-text {
    font-size: 189px;
    font-weight: 600;
    background: linear-gradient(180.01deg, rgba(48, 64, 207, 0.20), rgba(48, 64, 207, 0) 80.01%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}

/* Foreground content sits above the bg text */
.nf-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
    margin: -12px 0 0 0;
}

.nf-title {
    font-size: 38px;
    font-weight: 500;
    color: #000;
    line-height: 50px;
    margin: 0 0 5px;
}

.nf-desc {
    max-width: 695px;
    margin: 0 0 44px;
}
.nf-desc p{
  font-size: 16px;
  color: rgba(0, 0, 0, 0.80);
  line-height: 28px;
    font-weight: 400;
  margin: 0;
}

a.nf-btn {
    display: inline-block;
    padding: 10px 28px 12px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    background: transparent;
    transition: all 0.3s ease 0s;
    white-space: nowrap;
    line-height: 18px;
    border: 1px solid #111827;
}

a.nf-btn:hover {
  background: #111827;
  color: #ffffff;
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .nf-section {
    padding: 40px 16px;
    min-height: 100svh;
  }
  .nf-bg-text {
    font-size: clamp(120px, 40vw, 200px);
  }
  .nf-title {
    font-size: 22px;
      line-height: 40px;
  }
  .nf-desc {
    font-size: 14px;
      margin: 0 0 28px;
  }
  a.nf-btn {
    font-size: 14px;
    padding: 12px 24px;
  }
}
