/*
 * Full-screen missing / error pages — stark, utilitarian, contaminated.
 * Not used by index.html or legacy pages.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: #ebe6dc;
}

html::before {
  content: "";
  display: block;
  height: 12px;
  background: #e4dfd4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body {
  min-height: 100%;
  margin: 0;
  background: #f2ede3;
  color: #141414;
  font-family: "Courier New", "Lucida Console", "IBM Plex Mono", monospace;
  font-size: 20px;
  line-height: 1.9;
  -webkit-font-smoothing: none;
}

.err-screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 42rem;
  padding: 16vh 32px 28px 28px;
}

.err-status {
  margin: 0 0 20px;
  font-size: clamp(3rem, 14vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
}

.err-title {
  margin: 0 0 14px;
  font-size: 1em;
  font-weight: 700;
}

.err-line {
  margin: 0 0 4px;
  font-size: 1em;
}

.err-line--spaced {
  margin-top: 14px;
}

.clue-letter {
  color: #9b2d2d;
  font-size: 1.06em;
  font-weight: 700;
  text-shadow: 0 0 2px rgba(155, 45, 45, 0.35);
}

.err-contaminate {
  margin: 22px 0 0;
  padding: 0;
  font-size: 0.85em;
  color: #4a4a4a;
  line-height: 1.75;
}

.err-back {
  margin-top: auto;
  padding-top: 28px;
  font-size: 0.75em;
}

.err-back a {
  color: #8a8a8a;
  text-decoration: none;
}

.err-back a:visited {
  color: #8a8a8a;
}

.err-back a:hover,
.err-back a:focus {
  color: #3a3a3a;
}
