.not-found-page {
  min-height: 100vh;
  background: #07162f;
  color: #f4f7fc;
}

.nf-shell {
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(300px, 540px);
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 8vw, 130px);
  padding: clamp(64px, 9vw, 126px) max(28px, calc((100vw - 1420px) / 2));
  overflow: hidden;
}

.nf-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #8eb9f4;
  font: 700 .72rem/1 'BBC Reith Sans', Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nf-kicker span { width: 34px; height: 3px; background: #16bdf5; }
.nf-copy h1 {
  max-width: 8ch;
  margin: 0;
  font-family: 'BBC Reith Sans', Arial, sans-serif;
  font-size: clamp(4rem, 7.5vw, 7.25rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.nf-dek {
  max-width: 620px;
  margin: 30px 0 0;
  color: #b8c7dc;
  font: 400 clamp(1.05rem, 1.4vw, 1.24rem)/1.55 'BBC Reith Sans', Arial, sans-serif;
}

.nf-search {
  width: min(100%, 620px);
  min-height: 58px;
  margin-top: 36px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 7px 8px 7px 18px;
  border: 1px solid rgba(197, 218, 245, .24);
  border-radius: 14px;
  background: rgba(4, 15, 34, .58);
}
.nf-search:focus-within { border-color: #16bdf5; box-shadow: 0 0 0 3px rgba(22, 189, 245, .12); }
.nf-search svg { width: 20px; color: #7f98ba; }
.nf-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: #f4f7fc; font: 500 .95rem 'BBC Reith Sans', Arial, sans-serif; }
.nf-search input::placeholder { color: #7f91aa; }
.nf-search button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 20px;
  background: #4c8dff;
  color: #05142b;
  font: 700 .88rem 'BBC Reith Sans', Arial, sans-serif;
  cursor: pointer;
}

.nf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.nf-actions a { color: #c1cde0; font: 600 .9rem 'BBC Reith Sans', Arial, sans-serif; }
.nf-actions .nf-primary { display: inline-flex; align-items: center; gap: 18px; padding: 12px 17px; border: 1px solid rgba(197, 218, 245, .24); border-radius: 10px; color: #fff; }
.nf-actions .nf-primary span { color: #67afff; }

.nf-art {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.nf-art::before {
  content: '';
  position: absolute;
  inset: 7% 3%;
  z-index: -2;
  border: 1px solid rgba(118, 165, 227, .18);
  background:
    linear-gradient(rgba(76, 141, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 141, 255, .1) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(700px) rotateY(-8deg) rotateX(5deg);
}
.nf-art__number {
  color: rgba(34, 88, 158, .55);
  font: 700 clamp(8rem, 16vw, 15rem)/1 'BBC Reith Sans', Arial, sans-serif;
  letter-spacing: -.09em;
  transform: translateX(-.06em);
}
.nf-art__scan { position: absolute; left: 8%; right: 4%; top: 51%; height: 8px; background: linear-gradient(90deg, #123ccb, #13cbd3, #174cff); box-shadow: 0 0 34px rgba(19, 203, 211, .38); }
.nf-art__label { position: absolute; right: 8%; bottom: 12%; color: #8ca6ca; font: 700 .65rem 'BBC Reith Sans', Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }

.nf-footer {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px max(28px, calc((100vw - 1420px) / 2));
  border-top: 1px solid rgba(197, 218, 245, .14);
  color: #7f91aa;
  font: 500 .78rem 'BBC Reith Sans', Arial, sans-serif;
}
.nf-footer nav { display: flex; gap: 22px; }
.nf-footer a { color: inherit; }

@media (max-width: 900px) {
  .nf-shell { grid-template-columns: 1fr; min-height: auto; padding: 64px 24px 96px; }
  .nf-copy { max-width: 680px; margin-inline: auto; }
  .nf-art { min-height: 280px; order: -1; }
  .nf-art__number { font-size: clamp(7rem, 28vw, 12rem); }
}
@media (max-width: 600px) {
  .nf-shell { gap: 34px; padding-top: 36px; }
  .nf-art { min-height: 210px; }
  .nf-copy h1 { font-size: clamp(3.35rem, 17vw, 5rem); }
  .nf-search { grid-template-columns: 20px minmax(0, 1fr); padding: 12px 16px; }
  .nf-search button { grid-column: 1 / -1; width: 100%; }
  .nf-footer { align-items: flex-start; flex-direction: column; padding-bottom: 92px; }
}
