/* =====================================================================
   Nxt7a – Status & Response Pages (shared)
   Light mint treatment, matches operations.html. Works for both the
   marketing site (nxt7a.com) and the internal Operations area.
   Tokens come from ../assets/tokens.css.
   ===================================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f9fafb 0%, #f0fdf4 100%);
  font-family: var(--font-sans);
  color: var(--fg1);
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.err {
  position: relative;
  width: 100%;
  max-width: 580px;
  text-align: center;
}

.err__inner { position: relative; z-index: 1; }

.err__logo { height: 32px; margin: 0 auto 48px; display: block; }

.err__code {
  font-size: clamp(72px, 16vw, 116px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--nxt-forest);
  margin: 0;
}
.err__code span { color: var(--brand); }
.err__code--word { font-size: clamp(48px, 11vw, 84px); }

.err__kicker {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 600; color: var(--brand); margin: 22px 0 0;
}

.err__title {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.15;
  margin: 12px 0 0; color: var(--fg1);
}

.err__msg {
  font-size: 16px; line-height: 1.6; color: var(--fg2);
  margin: 16px auto 0; max-width: 46ch;
}

/* On-brand SDG / contact message block */
.err__brand {
  margin: 28px auto 0;
  max-width: 48ch;
  padding: 16px 20px;
  background: var(--nxt-mint-bg);
  border: 1px solid var(--border-green);
  border-radius: 12px;
  font-size: 13.5px; line-height: 1.55; color: var(--fg2);
}
.err__brand strong { color: var(--brand-strong); font-weight: 600; }

.err__actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 32px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: 10px;
  transition: all 180ms var(--ease-standard);
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--brand-strong); color: #fff; border: 1px solid var(--brand-strong); }
.btn--primary:hover { background: var(--nxt-forest); border-color: var(--nxt-forest); }
.btn--ghost { background: #fff; color: var(--fg1); border: 1px solid var(--border); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--border-green); box-shadow: var(--shadow-sm); }

.err__foot {
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  font-size: 12px; color: var(--fg3);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.err__foot a { color: var(--fg3); text-decoration: none; }
.err__foot a:hover { color: var(--brand-strong); }
.err__foot .sep { color: var(--nxt-gray-300); }

@media (max-width: 480px) {
  .err__foot { flex-direction: column; gap: 8px; }
  .err__foot .sep { display: none; }
}
