/* 404 page: exact numeral and desktop caption contours are extracted from the supplied Figma SVG. */
.error-main {
  --glass-bg: transparent;
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1900 / 1080;
  margin: 0;
  display: grid;
  place-items: center;
}
.error-main .page-back {
  z-index: 2;
  top: 4.62962963%;
  left: 2.63157895%;
  width: 2.84210526%;
  height: auto;
  aspect-ratio: 1;
}
/* SVG has 20px horizontal and 15px top whitespace: visible digits start at 50/135. */
.error-art {
  position: absolute;
  left: 1.57894737%;
  top: 11.11111111%;
  width: 96.84210526%;
  display: grid;
  place-items: center;
}
.error-art__digits {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}
.error-art__desktop {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}
.error-art__mobile,
.error-message {
  display: none;
}
.error-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 768px) {
  .error-main {
    --glass-radius: 20px;
    aspect-ratio: auto;
    min-height: clamp(360px, calc(100svh - 250px), 720px);
    padding: 64px 16px 32px;
  }
  .error-main .page-back {
    top: 18px;
    left: var(--section-content-inset);
    width: 32px;
    height: 32px;
  }
  .error-art {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 620px);
    gap: 16px;
  }
  .error-art__desktop { display: none; }
  .error-art__mobile {
    display: block;
    width: 100%;
    height: auto;
  }
  .error-message {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-ui);
    font-size: clamp(14px, 4.8vw, 22px);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
  }
}
