/* Ravi FaNum — licensed project webfont */
@font-face {
  font-family: 'Ravi FaNum';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src:
    url('https://sanadestan.space/assets/fonts/woff2/RaviFaNum-Regular.woff2') format('woff2'),
    url('https://sanadestan.space/assets/fonts/woff/RaviFaNum-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Ravi FaNum';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src:
    url('https://sanadestan.space/assets/fonts/woff2/RaviFaNum-Bold.woff2') format('woff2'),
    url('https://sanadestan.space/assets/fonts/woff/RaviFaNum-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Ravi FaNum';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src:
    url('https://sanadestan.space/assets/fonts/woff2/RaviFaNum-ExtraBlack.woff2') format('woff2'),
    url('https://sanadestan.space/assets/fonts/woff/RaviFaNum-ExtraBlack.woff') format('woff');
}

.not-found-page {
  position: relative;
  width: 95%;
  height: 95vh;
  min-height: 620px;
  margin: 2.5vh auto;
  border-radius: 6px;
  overflow: hidden;
  background: #b9e8fb url('https://sanadestan.space/assets/login-panel-background.jpg') center / cover no-repeat;
}

.not-found-page {
  display: grid;
  place-items: center;
}

.not-found-content {
  width: min(900px, calc(100% - 40px));
  padding: 32px 0;
  color: #171717;
  text-align: center;
}

.not-found-code {
  margin: 0 0 24px;
  color: #000;
  font-family: 'Ravi FaNum', Tahoma, Arial, sans-serif;
  font-size: clamp(64px, 12vw, 160px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.not-found-content h1 {
  margin: 0;
  color: #000;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.7px;
}

.not-found-promo {
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 10px 0;
  border-radius: 0;
  color: #000;
  background: transparent;
  font-size: 16px;
  line-height: 2;
}

.not-found-promo-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
  color: inherit;
  text-decoration: none;
}

.not-found-promo-brand span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.not-found-promo-brand img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}


.not-found-page { font-family: 'Ravi FaNum', Tahoma, Arial, sans-serif; }
.not-found-page, .not-found-page * { box-sizing: border-box; }
@media (max-width: 720px) {
  .not-found-page {
    width: calc(100% - 16px);
    height: calc(100svh - 16px);
    min-height: 584px;
    margin: 8px auto;
    border-radius: 4px;
  }
}
