/* lost.css — the 404 page. Load after style.css, pages.css and lists.css.
 * GitHub Pages serves 404.html at whatever path was requested, so every URL on that page is root-relative. */

.lost-path, .lost-suggest {
  margin: 1.3rem 0 0;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  overflow-wrap: anywhere;
}
.lost-path[hidden], .lost-suggest[hidden] { display: none; }
.lost-path span {
  margin-right: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.lost-path code { padding: 0.1em 0.45em; font-size: 1em; color: var(--fg); }
.lost-suggest a { font-family: var(--f-display); font-size: 1.1em; letter-spacing: 0; }

.lost-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.lost-btn {
  display: inline-block;
  padding: 0.66rem 1.2rem;
  border: 1.5px solid var(--head);
  border-radius: 999px;
  background: var(--head);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lost-btn:hover { background: var(--link); border-color: var(--link); color: var(--bg); text-decoration: none; }
.lost-btn--ghost { background: transparent; color: var(--head); }
.lost-btn--ghost:hover { background: var(--head); border-color: var(--head); color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  .lost-btn { transition: none; }
}

/* the head is the whole page here: no rule under it, footer pinned to the bottom of short screens */
body { display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
main > .page-head { border-bottom: 0; }
