/*
 * `tpl_404` — V2 not-found page.
 *
 * Swiss, calm, editorial: a huge ghost index, a clear message, useful routes
 * (latest / sections) and the subscribe CTA. No cartoon, no joke overload.
 */

.fm-404 { padding: 72px 0 24px; position: relative; }
.fm-404__ghost {
  font-family: var(--fm-font-disp);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: var(--fm-weight-bold);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: var(--fm-color-steel);
  opacity: 0.22;
  margin: 0;
}
.fm-404__body { margin-top: 8px; display: grid; gap: 18px; max-width: 720px; }
.fm-404__title { font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -0.03em; }
.fm-404__note { font-family: var(--fm-font-body); font-size: 19px; line-height: 1.6; color: var(--fm-color-steel); margin: 0; }
.fm-404__routes { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; border-top: var(--fm-line-hairline) solid var(--fm-color-grid); max-width: 560px; }
.fm-404__routes li { border-bottom: var(--fm-line-hairline) solid var(--fm-color-grid); }
.fm-404__routes a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; text-decoration: none; font-family: var(--fm-font-data); font-size: var(--fm-type-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fm-color-ink); }
.fm-404__routes span { color: var(--fm-color-amber-text); }
.fm-404__routes a:hover { color: var(--fm-color-amber-text); }
.fm-404__actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .fm-404 { padding-top: 48px; }
  .fm-404__ghost { font-size: 120px; }
}
