.not-found-page {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

.not-found-main {
  position: relative;
  display: flex;
  width: min(100% - 32px, 1400px);
  min-height: min(690px, 64vh);
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 80px 16px;
  overflow: hidden;
  text-align: center;
}

.not-found-main::before {
  position: absolute;
  width: min(660px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d1fae5;
  content: "";
  filter: blur(100px);
  opacity: .7;
  pointer-events: none;
}

.not-found-code,
.not-found-content {
  position: relative;
  z-index: 1;
}

.not-found-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 24px);
  margin-bottom: 40px;
  color: #18181b;
  direction: ltr;
  font-family: Outfit, sans-serif;
  font-size: clamp(128px, 20vw, 224px);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: .72;
  text-shadow: 0 2px 2px rgba(24, 24, 27, .08);
  user-select: none;
}

.not-found-zero {
  display: grid;
  width: clamp(108px, 16vw, 208px);
  aspect-ratio: 1;
  place-items: center;
  border: clamp(8px, 1vw, 12px) solid #f4f4f5;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 10px 30px rgba(0, 0, 0, .05), 0 20px 40px -15px rgba(0, 0, 0, .1);
}

.not-found-zero::before {
  display: grid;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  place-items: center;
  border-radius: 50%;
  background: #fafafa;
  content: "";
}

.not-found-zero i {
  position: absolute;
  color: #059669;
  font-size: clamp(54px, 7vw, 96px);
  opacity: .8;
  animation: not-found-pulse 3s ease-in-out infinite;
}

.not-found-content {
  display: flex;
  max-width: 760px;
  flex-direction: column;
  align-items: center;
}

.not-found-eyebrow {
  margin-bottom: 16px;
  color: #059669;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .16em;
}

.not-found-content h1 {
  margin: 0 0 22px;
  color: #09090b;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.not-found-content p {
  max-width: 680px;
  margin: 0;
  color: #71717a;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-top: 44px;
}

.not-found-actions a {
  display: inline-flex;
  min-width: 200px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 16px 30px;
  font-size: 17px;
  font-weight: 800;
  transition: transform .2s, background-color .2s, border-color .2s, color .2s;
}

.not-found-actions a:hover {
  transform: translateY(-2px);
}

.not-found-actions i {
  font-size: 23px;
}

.not-found-primary {
  background: #18181b;
  box-shadow: 0 5px 12px rgba(24, 24, 27, .14);
  color: #fff;
}

.not-found-primary:hover {
  background: #059669;
}

@keyframes not-found-pulse {
  50% { opacity: .5; transform: scale(.94); }
}

@media (max-width: 700px) {
  .not-found-main {
    width: 100%;
    min-height: 590px;
    padding: 58px 24px;
  }

  .not-found-code {
    margin-bottom: 32px;
  }

  .not-found-eyebrow {
    font-size: 14px;
  }

  .not-found-actions {
    flex-direction: column;
    margin-top: 34px;
  }

  .not-found-actions a {
    width: 100%;
  }
}
