.premsox-404,
.premsox-404 * {
  box-sizing: border-box;
}

.premsox-404 {
  padding: 56px 16px 96px;
  background: #fff;
  color: #0d2640;
  font-family: "Noto Sans", system-ui, sans-serif;
}

.premsox-404__wrap {
  max-width: 1320px;
  margin: 0 auto;
}

.premsox-404__card {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 48px;
  background: #f5f7fa; /* как у карточек в эталоне */
  border: 1px solid rgba(13, 38, 64, 0.12);
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(13, 38, 64, 0.06);
}

.premsox-404__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 40px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #eef5fb;
  color: #0d2640;
  border: 1px solid rgba(13, 38, 64, 0.12);
  font-family: "Noto Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.premsox-404__title {
  margin: 0 0 14px;
  color: #0d2640;
  font-family: "Noto Sans", system-ui, sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.premsox-404__text {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(13, 38, 64, 0.45);
  font-family: "Noto Sans", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.premsox-404__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.premsox-404__btn {
  height: 44px;
  min-width: 180px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-family: "Noto Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.premsox-404__btn--primary {
  background: #b8d4f0;
  color: #0d2640;
  border: none;
}

.premsox-404__btn--primary:hover {
  background: #8ab9e0;
  transform: translateY(-1px);
}

.premsox-404__btn--ghost {
  background: #fff;
  color: #0d2640;
  border: 1px solid rgba(13, 38, 64, 0.12);
}

.premsox-404__btn--ghost:hover {
  background: #eef5fb;
  border-color: #6aa3d4;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .premsox-404 {
    padding: 32px 16px 64px;
  }

  .premsox-404__card {
    padding: 34px 22px;
    border-radius: 18px;
  }

  .premsox-404__text {
    font-size: 14px;
    line-height: 1.65;
  }

  .premsox-404__actions {
    flex-direction: column;
    gap: 10px;
  }

  .premsox-404__btn {
    width: 100%;
    min-width: 0;
  }
}