/* ============================================================
   W-404 · Page Not Found — DS7-Web
   Minimal centred block on the dark chassis. Canonical tokens only.
   ============================================================ */

/* ===== §1 · NOT FOUND ===================================== */

/* The nav is position:sticky and occupies flow space, so the hero starts
   beneath it — no top padding is added for nav clearance. */
.nf{
  position:relative;
  overflow:hidden;
  background:var(--w-bg);
  padding-block:clamp(64px,9vh + 1rem,120px) clamp(72px,8vw,124px);
  text-align:center;
}

/* mesh + dot field, same family as the /contact/ hero */
.nf__bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 62% 55% at 50% 0%, rgba(152,135,244,.18), transparent 70%),
    radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.4px);
  background-size:auto, 26px 26px;
}
.nf__bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent, var(--w-bg));
}

.nf .w-container{position:relative; z-index:1}

.nf__inner{
  max-width:760px;
  margin-inline:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* --- the numeral -----------------------------------------
   background-clip:text — no positioned children inside, ever. */
.nf__num{
  margin:clamp(18px,2.4vw,30px) 0 0;
  font-size:clamp(104px,17vw,208px);
  font-weight:var(--w-fw-black);
  line-height:.86;
  letter-spacing:-.055em;
  background:var(--w-grad-brand);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}

.nf__h{
  margin-top:clamp(10px,1.4vw,18px);
  font-size:clamp(30px,4.4vw,58px);
  line-height:1.06;
  letter-spacing:-.03em;
  font-weight:var(--w-fw-black);
  color:#fff;
  text-wrap:balance;
}
/* hero-weight accent gradient on the dark chassis */
.nf__h .w-accent{
  font-family:var(--w-font-serif);
  font-style:italic;
  font-weight:400;
  letter-spacing:0;
  color:#c9bcff;
  -webkit-text-fill-color:#c9bcff;
  background:none;
}

.nf__lead{
  margin:16px auto 0;
  max-width:54ch;
  color:rgba(255,255,255,.84);
  text-wrap:pretty;
}

.nf__actions{
  margin-top:clamp(24px,2.6vw,34px);
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}

/* --- product recovery blocks ------------------------------ */
.nf__products{
  width:100%;
  margin-top:clamp(38px,4.4vw,58px);
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(14px,1.5vw,20px);
  text-align:left;
}

.nf-p{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:start;
  gap:14px;
  padding:clamp(18px,1.8vw,24px);
  text-decoration:none;
  color:inherit;
}

.nf-p__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px; height:40px;
  flex:none;
  border-radius:var(--w-r-md);
  background:var(--w-brand-soft);
  border:1px solid var(--w-brand-line);
}
.nf-p__icon .w-icon{width:20px; height:20px; color:var(--w-brand)}

.nf-p__body{display:flex; flex-direction:column; gap:5px; min-width:0}

.nf-p__title{
  font-size:var(--w-fs-h4);
  font-weight:var(--w-fw-semi);
  letter-spacing:-.01em;
  color:var(--w-text);
  line-height:1.2;
}

.nf-p__desc{
  font-size:var(--w-fs-sm);
  line-height:var(--w-lh-normal);
  color:var(--w-text-2);
}

.nf-p__go{
  width:18px; height:18px;
  margin-top:6px;
  color:var(--w-text-3);
  transition:transform var(--w-dur-fast, .18s) ease, color var(--w-dur-fast, .18s) ease;
}
.nf-p:hover .nf-p__go{transform:translateX(3px); color:var(--w-brand)}

/* --- closing line ----------------------------------------- */
.nf__foot{
  margin-top:clamp(26px,2.8vw,36px);
  font-size:var(--w-fs-sm);
  color:var(--w-text-3);
}
.nf__foot a{
  color:var(--w-text);
  font-weight:var(--w-fw-medium);
  text-decoration:none;
  border-bottom:1px solid var(--w-line-strong);
}
.nf__foot a:hover{color:var(--w-brand); border-bottom-color:var(--w-brand)}

/* ===== RESPONSIVE ========================================= */

@media (max-width:760px){
  .nf__products{grid-template-columns:minmax(0,1fr)}
}

@media (max-width:520px){
  .nf__actions{width:100%; flex-direction:column; align-items:stretch}
  .nf__actions .w-btn{justify-content:center}
  .nf-p{gap:12px}
  .nf-p__icon{width:36px; height:36px}
  .nf-p__icon .w-icon{width:18px; height:18px}
}

@media (prefers-reduced-motion:reduce){
  .nf-p__go{transition:none}
  .nf-p:hover .nf-p__go{transform:none}
}
