/* Page surface override */
.error-page {
  background: var(--color-bg-off);
  overflow-y: auto;
}

/* Standalone variant — unauthenticated, rendered outside the .app shell */
.error-page--standalone {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Full-height centering stage */
.error-page__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20) var(--space-8);
  min-height: 0;
}

/* Constrained content column */
.error-page__content {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

/* Eyebrow — "Error 404" */
.error-page__eyebrow {
  font-size: var(--font-size-micro);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-uppercase);
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin: 0 0 var(--space-7) 0;
}

/* Display heading */
.error-page__title {
  font-family: var(--font-display);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h1);
  letter-spacing: var(--letter-spacing-h1);
  color: var(--color-text);
  margin: 0 0 var(--space-6) 0;
}

/* Body paragraph */
.error-page__body {
  font-size: var(--font-size-h5);
  line-height: var(--line-height-body-lg);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-10) 0;
}

/* Action button group */
.error-page__actions {
  display: inline-flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  justify-content: center;
}
